Browse Source

lnurl template using index.html as base.

fee_issues
fiatjaf 5 years ago
parent
commit
098b681747
  1. 2
      lnbits/templates/index.html
  2. 91
      lnbits/templates/lnurl.html

2
lnbits/templates/index.html

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

91
lnbits/templates/lnurl.html

@ -1,90 +1,13 @@
<!-- @format --> <!-- @format -->
{% extends "base.html" %} {% block menuitems %} {% extends "base.html" %} {% block call_to_action %}
<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 }}"> <a href="lnurlwallet?lightning={{ lnurl }}">
<button type="button" class="btn btn-block btn-primary btn-lg" class="btn btn-primary"> <button
type="button"
class="btn btn-block btn-primary btn-lg"
class="btn btn-primary"
>
Press to claim bitcoin! Press to claim bitcoin!
</button></a> </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, it’s 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 -->
{% endblock %} {% endblock %}

Loading…
Cancel
Save