mirror of
https://github.com/Labelbase/Labelbase.git
synced 2026-08-18 13:09:04 +02:00
352 lines
9.5 KiB
HTML
352 lines
9.5 KiB
HTML
{% load i18n %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{% block title %}{% endblock %}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
|
|
|
|
<!--link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.0/css/bootstrap.min.css" rel="stylesheet"-->
|
|
<link href="https://cdn.datatables.net/1.13.1/css/dataTables.bootstrap5.min.css" rel="stylesheet">
|
|
|
|
|
|
{% block extra_media %}{% endblock %}
|
|
|
|
<style>
|
|
|
|
/* dashboard */
|
|
|
|
body {
|
|
font-size: .875rem;
|
|
}
|
|
|
|
.feather {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
/*
|
|
* Sidebar
|
|
*/
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
/* rtl:raw:
|
|
right: 0;
|
|
*/
|
|
bottom: 0;
|
|
/* rtl:remove */
|
|
left: 0;
|
|
z-index: 100; /* Behind the navbar */
|
|
padding: 48px 0 0; /* Height of navbar */
|
|
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.sidebar {
|
|
top: 5rem;
|
|
}
|
|
}
|
|
|
|
.sidebar-sticky {
|
|
height: calc(100vh - 48px);
|
|
overflow-x: hidden;
|
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.sidebar .nav-link .feather {
|
|
margin-right: 4px;
|
|
color: #727272;
|
|
}
|
|
|
|
.sidebar .nav-link.active {
|
|
color: #2470dc;
|
|
}
|
|
|
|
.sidebar .nav-link:hover .feather,
|
|
.sidebar .nav-link.active .feather {
|
|
color: inherit;
|
|
}
|
|
|
|
.sidebar-heading {
|
|
font-size: .75rem;
|
|
}
|
|
|
|
/*
|
|
* Navbar
|
|
*/
|
|
|
|
.navbar-brand {
|
|
padding-top: .75rem;
|
|
padding-bottom: .75rem;
|
|
background-color: rgba(0, 0, 0, .25);
|
|
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
|
|
}
|
|
|
|
.navbar .navbar-toggler {
|
|
top: .25rem;
|
|
right: 1rem;
|
|
}
|
|
|
|
.navbar .form-control {
|
|
padding: .75rem 1rem;
|
|
}
|
|
|
|
.form-control-dark {
|
|
color: #fff;
|
|
background-color: rgba(255, 255, 255, .1);
|
|
border-color: rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
.form-control-dark:focus {
|
|
border-color: transparent;
|
|
box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
|
|
}
|
|
|
|
/* end dashboard */
|
|
|
|
|
|
.bd-placeholder-img {
|
|
font-size: 1.125rem;
|
|
text-anchor: middle;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.bd-placeholder-img-lg {
|
|
font-size: 3.5rem;
|
|
}
|
|
}
|
|
|
|
.b-example-divider {
|
|
height: 3rem;
|
|
background-color: rgba(0, 0, 0, .1);
|
|
border: solid rgba(0, 0, 0, .15);
|
|
border-width: 1px 0;
|
|
box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
|
|
}
|
|
|
|
.b-example-vr {
|
|
flex-shrink: 0;
|
|
width: 1.5rem;
|
|
height: 100vh;
|
|
}
|
|
|
|
.bi {
|
|
vertical-align: -.125em;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.nav-scroller {
|
|
position: relative;
|
|
z-index: 2;
|
|
height: 2.75rem;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.nav-scroller .nav {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
padding-bottom: 1rem;
|
|
margin-top: -1px;
|
|
overflow-x: auto;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
</style>
|
|
|
|
<link href="dashboard.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
{% block content_wrapper %}
|
|
|
|
<header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
|
|
<a class="navbar-brand col-md-3 col-lg-2 me-0 px-3 fs-6" href="{% url 'home' %}"
|
|
style="font-weight:800;">L<span style="height:1.12em; width:1.25em" data-feather="tag" class="align-text-bottom"></span>BELBASE
|
|
</a>
|
|
<button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
|
|
<div class="nav-item text-nowrap">
|
|
<a class="nav-link " href="">-</a>
|
|
</div>
|
|
|
|
</header>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
|
|
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
|
|
<div class="position-sticky pt-3 sidebar-sticky">
|
|
|
|
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted text-uppercase">
|
|
<span>Wallets / Labelbases</span>
|
|
<a class="link-secondary" href="#" aria-label="Add a new wallet">
|
|
<span data-feather="plus-circle" class="align-text-bottom"></span>
|
|
</a>
|
|
</h6>
|
|
|
|
<ul class="nav flex-column mb-2">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="#">
|
|
<span data-feather="database" class="align-text-bottom"></span>
|
|
LazyTiger 90A1C200
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="#">
|
|
<span data-feather="file-text" class="align-text-bottom"></span>
|
|
ExitedCow 2AEDB33F
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="position-sticky pt-3 sidebar-sticky sticky-bottom">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link {% block nav_home %}{% endblock %}" href="{% url 'home' %}">{% trans "Home" %}</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link {% block nav_secret %}{% endblock %}" href="{% url 'secret' %}">{% trans "Secret Page" %}</a>
|
|
</li>
|
|
|
|
|
|
{% if user.is_authenticated %}
|
|
<li class="nav-item">
|
|
<a class="nav-link">{{ user }} {% if user.otp_device %}🔒{% endif %}</a>
|
|
</li>
|
|
<li class="nav-item {% block nav_profile %}{% endblock %}">
|
|
<a class="nav-link" href="{% url 'two_factor:profile' %}">{% trans "Account Security" %}</a></li>
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'logout' %}">{% trans "Logout" %}</a>
|
|
</li>
|
|
{% else %}
|
|
<li class="nav-item">
|
|
<span class="navbar-text">{% trans "Not logged in" %}</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'two_factor:login' %}">{% trans "Login" %}</a>
|
|
</li>
|
|
{% endif %}
|
|
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
<main class="col-md-9 ms-sm-auto col-lg-10 px-md-4">
|
|
|
|
|
|
<div class="table-responsive" style="padding-top:1em" >
|
|
<table id="bip329labels" class="table table-striped table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">#</th>
|
|
<th scope="col">type</th>
|
|
<th scope="col">ref</th>
|
|
<th scope="col">label</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td>1,001</td>
|
|
<td>tx</td>
|
|
<td>f91d0a8a78462bc59398f2c5d7a84fcff491c26ba54c4833478b202796c8aafd</td>
|
|
<td>Transaction</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>1,001</td>
|
|
<td>addr</td>
|
|
<td>bc1q34aq5drpuwy3wgl9lhup9892qp6svr8ldzyy7c</td>
|
|
<td>Address</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>1,001</td>
|
|
<td>input</td>
|
|
<td>0283409659355b6d1cc3c32decd5d561abaac86c37a353b52895a5e6c196d6f448</td>
|
|
<td>placeholder</td>
|
|
|
|
</tr><tr>
|
|
<td>1,001</td>
|
|
<td>random</td>
|
|
<td>f91d0a8a78462bc59398f2c5d7a84fcff491c26ba54c4833478b202796c8aafd</td>
|
|
<td>placeholder</td>
|
|
|
|
</tr><tr>
|
|
<td>1,001</td>
|
|
<td>output</td>
|
|
<td>f91d0a8a78462bc59398f2c5d7a84fcff491c26ba54c4833478b202796c8aafd</td>
|
|
<td>placeholder</td>
|
|
|
|
</tr><tr>
|
|
<td>1,001</td>
|
|
<td>xpub</td>
|
|
<td>xpub661MyMwAqRbcFtXgS5sYJABqqG9YLmC4Q1Rdap9gSE8NqtwybGhePY2gZ29ESFjqJoCu1Rupje8YtGqsefD265TMg7usUDFdp6W1EGMcet8</td>
|
|
<td>Extended Public Key</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
</main>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons@4.28.0/dist/feather.min.js" integrity="sha384-uO3SXW5IuS1ZpFPKugNNWqTZRRglnUJK6UAZ/gxOX80nxEkN9NcGZTftn6RzhGWE" crossorigin="anonymous"></script><script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.4/dist/Chart.min.js" integrity="sha384-zNy6FEbO50N+Cg5wap8IKA4M/ZnLJgzc6w2NqACZaK0u0FXfOWRRJOnQtpZun8ha" crossorigin="anonymous"></script><script src="dashboard.js"></script>
|
|
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
|
|
<script src="https://cdn.datatables.net/1.13.1/js/jquery.dataTables.min.js"></script>
|
|
<script src="https://cdn.datatables.net/1.13.1/js/dataTables.bootstrap5.min.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
/* globals Chart:false, feather:false */
|
|
(() => {
|
|
'use strict'
|
|
|
|
feather.replace({ 'aria-hidden': 'true' })
|
|
|
|
})()
|
|
|
|
|
|
$(document).ready(function () {
|
|
$('#bip329labels').DataTable();
|
|
});
|
|
</script>
|
|
<!--
|
|
https://datatables.net/examples/styling/bootstrap5.html
|
|
-->
|
|
</body>
|
|
</html>
|