487 lines
36 KiB
HTML
487 lines
36 KiB
HTML
{% load static %}
|
|
{% load navigation %}
|
|
{% load dbsetting %}
|
|
{% load permissions %}
|
|
{% dbsetting "core.title" as sitetitle %}
|
|
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="Content-Language" content="en">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>{% if title %}{{ title }} - {% endif %}{{ sitetitle }}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" />
|
|
<meta name="description" content="This is an example dashboard created using build-in elements and components.">
|
|
<meta name="msapplication-tap-highlight" content="no">
|
|
<!--
|
|
=========================================================
|
|
* ArchitectUI HTML Theme Dashboard - v1.0.0
|
|
=========================================================
|
|
* Product Page: https://dashboardpack.com
|
|
* Copyright 2019 DashboardPack (https://dashboardpack.com)
|
|
* Licensed under MIT (https://github.com/DashboardPack/architectui-html-theme-free/blob/master/LICENSE)
|
|
=========================================================
|
|
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
-->
|
|
<link href="{% static "backend/css/main.css" %}" rel="stylesheet">
|
|
<link href="https://fa.kumi.systems/css/all.css" rel="stylesheet">
|
|
{% block css %}{% endblock %}
|
|
<script src="{% static "backend/scripts/jquery-3.5.1.min.js" %}"></script>"
|
|
</head>
|
|
<body>
|
|
<div class="app-container app-theme-white body-tabs-shadow fixed-sidebar fixed-header">
|
|
<div class="app-header header-shadow">
|
|
<div class="app-header__logo">
|
|
<div class="logo-src" style="background:url({% static "backend/images/logo-inverse.png" %});background-size:100%;"></div>
|
|
<div class="header__pane ml-auto">
|
|
<div>
|
|
<button type="button" class="hamburger close-sidebar-btn hamburger--elastic" data-class="closed-sidebar">
|
|
<span class="hamburger-box">
|
|
<span class="hamburger-inner"></span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="app-header__mobile-menu">
|
|
<div>
|
|
<button type="button" class="hamburger hamburger--elastic mobile-toggle-nav">
|
|
<span class="hamburger-box">
|
|
<span class="hamburger-inner"></span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="app-header__menu">
|
|
<span>
|
|
<button type="button" class="btn-icon btn-icon-only btn btn-primary btn-sm mobile-toggle-header-nav">
|
|
<span class="btn-icon-wrapper">
|
|
<i class="fa fa-ellipsis-v fa-w-6"></i>
|
|
</span>
|
|
</button>
|
|
</span>
|
|
</div> <div class="app-header__content">
|
|
<div class="app-header-left">
|
|
<div class="search-wrapper">
|
|
<div class="input-holder">
|
|
<input type="text" class="search-input" placeholder="Type to search">
|
|
<button class="search-icon"><span></span></button>
|
|
</div>
|
|
<button class="close"></button>
|
|
</div>
|
|
<ul class="header-menu nav">
|
|
<li class="nav-iftem">
|
|
<a href="{% url "dashboard" %}" class="nav-link">
|
|
<i class="nav-link-icon fa fa-database"> </i>
|
|
Administration
|
|
</a>
|
|
</li>
|
|
<li class="btn-group nav-item">
|
|
<a href="{% url "backendni" %}" class="nav-link">
|
|
<i class="nav-link-icon fa fa-comment-dots"></i>
|
|
Chat
|
|
</a>
|
|
</li>
|
|
<li class="dropdown nav-item">
|
|
<a href="{% url "admins_edit" request.user.id %}" class="nav-link">
|
|
<i class="nav-link-icon fa fa-cog"></i>
|
|
User Settings
|
|
</a>
|
|
</li>
|
|
</ul> </div>
|
|
<div class="app-header-right">
|
|
<div class="header-btn-lg pr-0">
|
|
<div class="widget-content p-0">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left">
|
|
<div class="btn-group">
|
|
<a data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="p-0 btn">
|
|
<img width="42" class="rounded-circle" src="{% if request.user.profile.image %}{{ request.user.profile.image.url }}{% else %}{% static "backend/images/avatars/noimage.png" %}{% endif %}" alt="">
|
|
<i class="fa fa-angle-down ml-2 opacity-8"></i>
|
|
</a>
|
|
<div tabindex="-1" role="menu" aria-hidden="true" class="dropdown-menu dropdown-menu-right">
|
|
<a href="{% url "admins_edit" request.user.id %}" type="button" tabindex="0" class="dropdown-item">User Account</a>
|
|
<div tabindex="-1" class="dropdown-divider"></div>
|
|
<a href="{% url "logout" %}" type="button" tabindex="0" class="dropdown-item">Logout</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget-content-left ml-3 header-user-info">
|
|
<div class="widget-heading">
|
|
{{ request.user.profile.get_internal_name }}
|
|
</div>
|
|
<div class="widget-subheading">
|
|
{{ request.user.profile.role }}
|
|
</div>
|
|
</div>
|
|
<div class="widget-content-right header-user-info ml-3">
|
|
<button type="button" class="btn-shadow p-1 btn btn-primary btn-sm show-toastr-example">
|
|
<i class="fa text-white fa-calendar pr-1 pl-1"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> </div>
|
|
</div>
|
|
</div>
|
|
<div class="app-main">
|
|
<div class="app-sidebar sidebar-shadow">
|
|
<div class="app-header__logo">
|
|
<div class="logo-src"></div>
|
|
<div class="header__pane ml-auto">
|
|
<div>
|
|
<button type="button" class="hamburger close-sidebar-btn hamburger--elastic" data-class="closed-sidebar">
|
|
<span class="hamburger-box">
|
|
<span class="hamburger-inner"></span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="app-header__mobile-menu">
|
|
<div>
|
|
<button type="button" class="hamburger hamburger--elastic mobile-toggle-nav">
|
|
<span class="hamburger-box">
|
|
<span class="hamburger-inner"></span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="app-header__menu">
|
|
<span>
|
|
<button type="button" class="btn-icon btn-icon-only btn btn-primary btn-sm mobile-toggle-header-nav">
|
|
<span class="btn-icon-wrapper">
|
|
<i class="fa fa-ellipsis-v fa-w-6"></i>
|
|
</span>
|
|
</button>
|
|
</span>
|
|
</div> <div class="scrollbar-sidebar">
|
|
<div class="app-sidebar__inner">
|
|
<ul class="vertical-nav-menu">
|
|
{% get_nav_sections_by_name "backend_main" as nav %}
|
|
{% for section in nav %}
|
|
{% admin_has_permissions section.permissions as check %}
|
|
{% if check %}
|
|
<li class="app-sidebar__heading">{{ section.name }}</li>
|
|
{% for item in section.items %}
|
|
<li>
|
|
<a href="{{ item.path }}" {% if is_active %}class="mm-active"{% endif %}>
|
|
<i class="fa metismenu-icon {{ item.icon }}"></i>
|
|
{{ item.name }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div> <div class="app-main__outer">
|
|
<div class="app-main__inner">
|
|
{% block content %}{% endblock %}
|
|
<!-- No idea what part of it, but something in there makes the sidebar's scrollbar appear. So I'll just leave it there. -->
|
|
<div style="display:none;" class="row">
|
|
<div class="col-md-12 col-lg-6">
|
|
<div class="mb-3 card">
|
|
<div class="card-header-tab card-header-tab-animation card-header">
|
|
<div class="card-header-title">
|
|
<i class="header-icon lnr-apartment icon-gradient bg-love-kiss"> </i>
|
|
Sales Report
|
|
</div>
|
|
<ul class="nav">
|
|
<li class="nav-item"><a href="javascript:void(0);" class="active nav-link">Last</a></li>
|
|
<li class="nav-item"><a href="javascript:void(0);" class="nav-link second-tab-toggle">Current</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="tab-content">
|
|
<div class="tab-pane fade show active" id="tabs-eg-77">
|
|
<div class="card mb-3 widget-chart widget-chart2 text-left w-100">
|
|
<div class="widget-chat-wrapper-outer">
|
|
<div class="widget-chart-wrapper widget-chart-wrapper-lg opacity-10 m-0">
|
|
<canvas id="canvas"></canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h6 class="text-muted text-uppercase font-size-md opacity-5 font-weight-normal">Top Authors</h6>
|
|
<div class="scroll-area-sm">
|
|
<div class="scrollbar-container">
|
|
<ul class="rm-list-borders rm-list-borders-scroll list-group list-group-flush">
|
|
<li class="list-group-item">
|
|
<div class="widget-content p-0">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left mr-3">
|
|
<img width="42" class="rounded-circle" src="{% static "backend/images/blank.png" %}" alt="">
|
|
</div>
|
|
<div class="widget-content-left">
|
|
<div class="widget-heading">Ella-Rose Henry</div>
|
|
<div class="widget-subheading">Web Developer</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="font-size-xlg text-muted">
|
|
<small class="opacity-5 pr-1">$</small>
|
|
<span>129</span>
|
|
<small class="text-danger pl-2">
|
|
<i class="fa fa-angle-down"></i>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<div class="widget-content p-0">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left mr-3">
|
|
<img width="42" class="rounded-circle" src="{% static "backend/images/blank.png" %}" alt="">
|
|
</div>
|
|
<div class="widget-content-left">
|
|
<div class="widget-heading">Ruben Tillman</div>
|
|
<div class="widget-subheading">UI Designer</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="font-size-xlg text-muted">
|
|
<small class="opacity-5 pr-1">$</small>
|
|
<span>54</span>
|
|
<small class="text-success pl-2">
|
|
<i class="fa fa-angle-up"></i>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<div class="widget-content p-0">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left mr-3">
|
|
<img width="42" class="rounded-circle" src="{% static "backend/images/blank.png" %}" alt="">
|
|
</div>
|
|
<div class="widget-content-left">
|
|
<div class="widget-heading">Vinnie Wagstaff</div>
|
|
<div class="widget-subheading">Java Programmer</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="font-size-xlg text-muted">
|
|
<small class="opacity-5 pr-1">$</small>
|
|
<span>429</span>
|
|
<small class="text-warning pl-2">
|
|
<i class="fa fa-dot-circle"></i>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<div class="widget-content p-0">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left mr-3">
|
|
<img width="42" class="rounded-circle" src="{% static "backend/images/blank.png" %}" alt="">
|
|
</div>
|
|
<div class="widget-content-left">
|
|
<div class="widget-heading">Ella-Rose Henry</div>
|
|
<div class="widget-subheading">Web Developer</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="font-size-xlg text-muted">
|
|
<small class="opacity-5 pr-1">$</small>
|
|
<span>129</span>
|
|
<small class="text-danger pl-2">
|
|
<i class="fa fa-angle-down"></i>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<div class="widget-content p-0">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left mr-3">
|
|
<img width="42" class="rounded-circle" src="{% static "backend/images/blank.png" %}" alt="">
|
|
</div>
|
|
<div class="widget-content-left">
|
|
<div class="widget-heading">Ruben Tillman</div>
|
|
<div class="widget-subheading">UI Designer</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="font-size-xlg text-muted">
|
|
<small class="opacity-5 pr-1">$</small>
|
|
<span>54</span>
|
|
<small class="text-success pl-2">
|
|
<i class="fa fa-angle-up"></i>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12 col-lg-6">
|
|
<div class="mb-3 card">
|
|
<div class="card-header-tab card-header">
|
|
<div class="card-header-title">
|
|
<i class="header-icon lnr-rocket icon-gradient bg-tempting-azure"> </i>
|
|
Bandwidth Reports
|
|
</div>
|
|
<div class="btn-actions-pane-right">
|
|
<div class="nav">
|
|
<a href="javascript:void(0);" class="border-0 btn-pill btn-wide btn-transition active btn btn-outline-alternate">Tab 1</a>
|
|
<a href="javascript:void(0);" class="ml-1 btn-pill btn-wide border-0 btn-transition btn btn-outline-alternate second-tab-toggle-alt">Tab 2</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="tab-content">
|
|
<div class="tab-pane fade active show" id="tab-eg-55">
|
|
<div class="widget-chart p-3">
|
|
<div style="height: 350px">
|
|
<canvas id="line-chart"></canvas>
|
|
</div>
|
|
<div class="widget-chart-content text-center mt-5">
|
|
<div class="widget-description mt-0 text-warning">
|
|
<i class="fa fa-arrow-left"></i>
|
|
<span class="pl-1">175.5%</span>
|
|
<span class="text-muted opacity-8 pl-1">increased server resources</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="pt-2 card-body">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="widget-content">
|
|
<div class="widget-content-outer">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left">
|
|
<div class="widget-numbers fsize-3 text-muted">63%</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="text-muted opacity-6">Generated Leads</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget-progress-wrapper mt-1">
|
|
<div class="progress-bar-sm progress-bar-animated-alt progress">
|
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="63" aria-valuemin="0" aria-valuemax="100" style="width: 63%;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="widget-content">
|
|
<div class="widget-content-outer">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left">
|
|
<div class="widget-numbers fsize-3 text-muted">32%</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="text-muted opacity-6">Submitted Tickers</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget-progress-wrapper mt-1">
|
|
<div class="progress-bar-sm progress-bar-animated-alt progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="32" aria-valuemin="0" aria-valuemax="100" style="width: 32%;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="widget-content">
|
|
<div class="widget-content-outer">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left">
|
|
<div class="widget-numbers fsize-3 text-muted">71%</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="text-muted opacity-6">Server Allocation</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget-progress-wrapper mt-1">
|
|
<div class="progress-bar-sm progress-bar-animated-alt progress">
|
|
<div class="progress-bar bg-primary" role="progressbar" aria-valuenow="71" aria-valuemin="0" aria-valuemax="100" style="width: 71%;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="widget-content">
|
|
<div class="widget-content-outer">
|
|
<div class="widget-content-wrapper">
|
|
<div class="widget-content-left">
|
|
<div class="widget-numbers fsize-3 text-muted">41%</div>
|
|
</div>
|
|
<div class="widget-content-right">
|
|
<div class="text-muted opacity-6">Generated Leads</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget-progress-wrapper mt-1">
|
|
<div class="progress-bar-sm progress-bar-animated-alt progress">
|
|
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="41" aria-valuemin="0" aria-valuemax="100" style="width: 41%;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="app-wrapper-footer">
|
|
<div class="app-footer">
|
|
<div class="app-footer__inner">
|
|
<div class="app-footer-left">
|
|
<ul class="nav">
|
|
<li class="nav-item">
|
|
<a href="https://kumi.systems/" class="nav-link">
|
|
Kumi Systems e.U.
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a href="https://exp360.com/" class="nav-link">
|
|
EXP360
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div style="display:none;" class="app-footer-right">
|
|
<ul class="nav">
|
|
<li class="nav-item">
|
|
<a href="javascript:void(0);" class="nav-link">
|
|
Footer Link 3
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a href="javascript:void(0);" class="nav-link">
|
|
<div class="badge badge-success mr-1 ml-0">
|
|
<small>NEW</small>
|
|
</div>
|
|
Footer Link 4
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript" src="{% static "backend/scripts/main.js" %}"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|