Added .env for theme

This commit is contained in:
benarc 2022-04-20 11:20:39 +01:00
parent e6432f0e29
commit a36ad05fe0
2 changed files with 38 additions and 23 deletions

View File

@ -32,8 +32,8 @@ LNBITS_SERVICE_FEE="0.0"
LNBITS_SITE_TITLE="LNbits"
LNBITS_SITE_TAGLINE="free and open-source lightning wallet"
LNBITS_SITE_DESCRIPTION="Some description about your service, will display if title is not 'LNbits'"
# Choose from mint, flamingo, salvador, autumn, monochrome, classic
LNBITS_THEME_OPTIONS="classic, bitcoin, flamingo, mint, autumn, monochrome, salvador"
# Choose from mint, flamingo, freedom, salvador, autumn, monochrome, classic
LNBITS_THEME_OPTIONS="classic, bitcoin, freedom, mint, autumn, monochrome, salvador"
# Choose from LNPayWallet, OpenNodeWallet, LntxbotWallet,
# LndRestWallet, CLightningWallet, LNbitsWallet, SparkWallet, FakeWallet

View File

@ -1,17 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% for url in VENDORED_CSS %}
<link rel="stylesheet" type="text/css" href="{{ url }}" /> {% endfor %}
<link rel="stylesheet" type="text/css" href="{{ url }}" />
{% endfor %}
<!---->
<link rel="stylesheet" type="text/css" href="/static/css/base.css" /> {% block styles %}{% endblock %}
<link rel="stylesheet" type="text/css" href="/static/css/base.css" />
{% block styles %}{% endblock %}
<title>{% block title %}{{ SITE_TITLE }}{% endblock %}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" /> {% block head_scripts %}{% endblock %}
<meta name="apple-mobile-web-app-capable" content="yes" />
{% block head_scripts %}{% endblock %}
</head>
<body data-theme="bitcoin">
@ -19,15 +24,25 @@
<q-header bordered class="bg-marginal-bg">
<q-toolbar>
{% block drawer_toggle %}
<q-btn dense flat round icon="menu" @click="g.visibleDrawer = !g.visibleDrawer"></q-btn>
<q-btn
dense
flat
round
icon="menu"
@click="g.visibleDrawer = !g.visibleDrawer"
></q-btn>
{% endblock %}
<q-toolbar-title>
<q-btn flat no-caps dense size="lg" type="a" href="/">
{% block toolbar_title %} {% if SITE_TITLE != 'LNbits' %} {{ SITE_TITLE }} {% else %} <strong>LN</strong>bits {% endif %} {% endblock %}</q-btn>
{% block toolbar_title %} {% if SITE_TITLE != 'LNbits' %} {{
SITE_TITLE }} {% else %} <strong>LN</strong>bits {% endif %} {%
endblock %}</q-btn
>
</q-toolbar-title>
{% block beta %}
<q-badge color="yellow" text-color="black" class="q-mr-md">
<span><span v-show="$q.screen.gt.sm"
<span
><span v-show="$q.screen.gt.sm"
>USE WITH CAUTION - {{SITE_TITLE}} wallet is still in </span
>BETA</span
>