lnurl template using index.html as base.

This commit is contained in:
fiatjaf 2019-12-18 13:44:26 +00:00
parent a5fb10d288
commit 098b681747
3 changed files with 13 additions and 88 deletions

View File

@ -30,6 +30,7 @@
<!-- Default box -->
<div class="box">
<div class="box-header">
{% block call_to_action %}
<h1>
<small>Make a wallet</small>
</h1>
@ -45,6 +46,7 @@
<button type="button" class="btn btn-primary" onclick="newwallet()">
Submit
</button>
{% endblock %}
</div>
<!-- /.box-body -->
</div>

View File

@ -1,90 +1,13 @@
<!-- @format -->
{% extends "base.html" %} {% block menuitems %}
<li>
<a href="/"><i class="fa fa-book"></i> Home</a>
</li>
{% endblock %} {% block body %}
<!-- Right side column. Contains the navbar and content of the page -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<ol class="breadcrumb">
<li>
<a href="/"><i class="fa fa-dashboard"></i> Home</a>
</li>
</ol>
<br /><br />
<div class="alert alert-danger alert-dismissable">
<h4>
Warning - Wallet is still in BETA and very, very #reckless, please be
careful with your funds!
</h4>
</div>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-3">
<!-- Default box -->
<div class="box">
<div class="box-header">
<a href="lnurlwallet?lightning={{ lnurl }}">
<button type="button" class="btn btn-block btn-primary btn-lg" class="btn btn-primary">
Press to claim bitcoin!
</button></a>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
<div class="row">
<div class="col-md-6">
<!-- Default box -->
<div class="box">
<div class="box-header">
<h1>
<a href="index.html" class="logo"><b>LN</b>bits</a>
<small>free and open-source lightning wallet</small>
</h1>
<p>
LNbits is a simple, free and open-source lightning-network wallet
for bits and bobs. You can run it on your own server, or use this
one.
<br /><br />
The wallet can be used in a variety of ways, an instant wallet for
LN demonstrations, a fallback wallet for the LNURL scheme, an
accounts system to mitigate the risk of exposing applications to
your full balance.
<br /><br />
The wallet can run on top of LND, lntxbot, paywall, opennode
<br /><br />
Please note that although one of the aims of this wallet is to
mitigate exposure of all your funds, its still very BETA and may
in fact do the opposite!
<br />
<a href="https://github.com/arcbtc/lnbits"
>https://github.com/arcbtc/lnbits</a
>
</p>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
{% extends "base.html" %} {% block call_to_action %}
<a href="lnurlwallet?lightning={{ lnurl }}">
<button
type="button"
class="btn btn-block btn-primary btn-lg"
class="btn btn-primary"
>
Press to claim bitcoin!
</button></a
>
{% endblock %}

View File

@ -55,7 +55,7 @@
{{ wallet.name }}
</li>
</ol>
<br /><br />
<br /><br />
<div class="alert alert-danger alert-dismissable">
<h4>
Bookmark to save your wallet. Wallet is in BETA, use with caution.