django/templates/partials/sidebar.html

257 lines
12 KiB
HTML
Raw Normal View History

2023-04-23 16:08:01 +00:00
{% load static %}
{% block sidebar %}
2023-05-30 09:30:00 +00:00
<div class="d-flex flex-column flex-lg-row h-lg-full">
<nav class="flex-none navbar navbar-vertical navbar-expand-lg navbar-light bg-transparent show h-lg-screen px-0 py-2 scrollbar" id="sidebar">
<div class="container-fluid px-3 px-md-4 px-lg-6">
<button class="navbar-toggler ms-n2" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarCollapse" aria-controls="sidebarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand d-inline-block py-lg-1 mb-lg-5" href="/pages/dashboard.html">
<img src="https://ik.imagekit.io/litepaych/assets/new/img/logo_litepay_2020_blue.png" class="h-8 h-md-10" alt="...">
</a>
<div class="navbar-user d-lg-none">
<div class="dropdown">
<a class="d-flex align-items-center" href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="false" aria-expanded="false">
<div>
<div class="avatar avatar-sm text-bg-secondary rounded-circle">
AE
2023-04-23 16:08:01 +00:00
</div>
2023-05-30 09:30:00 +00:00
</div>
<div class="d-none d-sm-block ms-3">
<span class="h6">Alexis</span>
</div>
<div class="d-none d-md-block ms-md-2">
<i class="bi bi-chevron-down text-muted text-xs"></i>
</div>
</a>
<div class="dropdown-menu dropdown-menu-end">
<div class="dropdown-header">
<span class="d-block text-sm text-muted mb-1">Signed in as</span>
<span class="d-block text-heading font-semibold">Alexis Enache</span>
</div>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">
<i class="bi bi-house me-3"></i>Home
</a>
<a class="dropdown-item" href="#">
<i class="bi bi-pencil me-3"></i>Edit profile
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">
<i class="bi bi-gear me-3"></i>Settings
</a>
<a class="dropdown-item" href="#">
<i class="bi bi-image me-3"></i>Media
</a>
<a class="dropdown-item" href="#">
<i class="bi bi-box-arrow-up me-3"></i>Share
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">
<i class="bi bi-person me-3"></i>Login
</a>
2023-04-23 16:08:01 +00:00
</div>
2023-05-30 09:30:00 +00:00
</div>
</div>
<div class="collapse navbar-collapse overflow-x-hidden" id="sidebarCollapse">
<ul class="navbar-nav">
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="/">
<i class="bi bi-houses-fill"></i>
<span>Dashboard</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto"></span>
</a>
</li>
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="/pages/analytics.html">
<i class="bi bi-pie-chart-fill"></i>
<span>Analytics</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto"></span>
</a>
</li>
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="/pages/wallet.html">
<i class="bi bi-wallet-fill"></i>
<span>Wallet</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto"></span>
</a>
</li>
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="{% url 'vendor' %}">
<i class="bi bi-wallet-fill"></i>
<span>Vendor</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto"></span>
</a>
</li>
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="#sidebar-exchange" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebar-exchange">
<i class="bi bi-bar-chart-fill"></i>
<span>Exchange</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto"></span>
</a>
<div class="collapse" id="sidebar-exchange">
<ul class="nav nav-sm flex-column mt-1">
<li class="nav-item">
<a href="/pages/exchange-watchlist.html" class="nav-link">
Watchlist
</a>
</li>
<li class="nav-item">
<a href="/pages/exchange-history.html" class="nav-link">
Trade History
</a>
</li>
<li class="nav-item">
<a href="/pages/exchange-details.html" class="nav-link">
Trade Details
</a>
</li>
<li class="nav-item">
<a href="/pages/exchange-create-form.html" class="nav-link">
Create Asset
</a>
</li>
<li class="nav-item">
<a href="/pages/exchange-staking.html" class="nav-link">
Staking
</a>
</li>
</ul>
</div>
</li>
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="#sidebar-account" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebar-account">
<i class="bi bi-gear-fill"></i>
<span>Account</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto"></span>
</a>
<div class="collapse" id="sidebar-account">
<ul class="nav nav-sm flex-column mt-1">
<li class="nav-item">
<a href="/pages/account-general.html" class="nav-link">
Settings
</a>
</li>
<li class="nav-item">
<a href="/pages/account-password.html" class="nav-link">
Password
</a>
</li>
<li class="nav-item">
<a href="/pages/account-billing.html" class="nav-link">
Billing
</a>
</li>
<li class="nav-item">
<a href="/pages/account-notifications.html" class="nav-link">
Notifications
</a>
</li>
<li class="nav-item">
<a href="/pages/login.html" class="nav-link">
Login
</a>
</li>
<li class="nav-item">
<a href="/pages/register.html" class="nav-link">
Register
</a>
</li>
2023-04-23 16:08:01 +00:00
</ul>
2023-05-30 09:30:00 +00:00
</div>
</li>
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="#sidebar-pages" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebar-pages">
<i class="bi bi-file-break-fill"></i>
<span>Pages</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto"></span>
</a>
<div class="collapse" id="sidebar-pages">
<ul class="nav nav-sm flex-column mt-1">
<li class="nav-item">
<a href="/pages/other-pricing.html" class="nav-link">
Pricing Plans
</a>
</li>
<li class="nav-item">
<a href="/pages/terms.html" class="nav-link">
Terms of Service
</a>
</li>
<li class="nav-item">
<a href="/pages/error.html" class="nav-link">
Error Page
</a>
</li>
<li class="nav-item">
<a href="/index.html" class="nav-link">
Landing Page
</a>
</li>
2023-04-23 16:08:01 +00:00
</ul>
2023-05-30 09:30:00 +00:00
</div>
</li>
</ul>
<!-- Divider -->
<hr class="navbar-divider my-5 opacity-70">
<ul class="navbar-nav">
<li>
<span class="nav-link text-xs font-semibold text-uppercase text-muted ls-wide">
Resources
</span>
</li>
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="{% url 'logout' %}">
<i class="bi bi-door-closed-fill"></i>
<span>Logout</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto"></span>
</a>
</li>
<li class="nav-item my-1">
<a class="nav-link d-flex align-items-center rounded-pill" href="https://themes.getbootstrap.com/product/satoshi-defi-and-crypto-exchange-theme">
<i class="bi bi-journal-album"></i>
<span>Changelog</span>
<span class="badge badge-sm bg-soft-success text-success rounded-pill ms-auto">v1.0</span>
</a>
</li>
</ul>
<div class="mt-auto"></div>
<div class="card bg-dark border-0 mt-5 mb-3">
<div class="card-body">
<div class="vstack gap-4">
<i class="bi bi-emoji-sunglasses-fill text-primary text-xl"></i>
<p class="text-sm text-white text-opacity-70">
Upgrade your account to Pro for even more examples.
</p>
<a href="/pages/pricing.html" class="btn btn-sm btn-primary w-full rounded-pill">
Upgade now<i class="bi bi-arrow-right ms-2"></i>
</a>
</div>
2023-04-23 16:08:01 +00:00
</div>
2023-05-30 09:30:00 +00:00
</div>
2023-04-23 16:08:01 +00:00
</div>
2023-05-30 09:30:00 +00:00
</div>
2023-04-23 16:08:01 +00:00
</nav>
2023-05-30 09:30:00 +00:00
<div class="flex-lg-fill overflow-x-auto vstack h-lg-screen">
<div class="d-none d-lg-flex py-4">
<div class="flex-none">
</div>
<div class=" d-lg-none d-xxl-flex align-items-center gap-4 px-4 scrollable-x">
<div class="d-flex gap-2 text-xs">
<span class="text-heading font-semibold">Cryptos:</span>
<span class="text-muted">21,713</span>
</div>
<div class="d-flex gap-2 text-xs">
<span class="text-heading font-semibold">Market Cap:</span>
<span class="text-muted">$871,322,862,585</span>
</div>
<div class="d-flex gap-2 text-xs">
<span class="text-heading font-semibold">24h Vol:</span>
<span class="text-muted">$180,639,667,232</span>
</div>
</div>
</div>
2023-04-23 16:08:01 +00:00
{% endblock sidebar %}