remove unused files
This commit is contained in:
parent
5d4d95fb99
commit
0e324b57a6
BIN
apps/static/images/favicon/android-chrome-192x192.png
Normal file
BIN
apps/static/images/favicon/android-chrome-192x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
apps/static/images/favicon/android-chrome-512x512.png
Normal file
BIN
apps/static/images/favicon/android-chrome-512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
BIN
apps/static/images/favicon/apple-touch-icon.png
Normal file
BIN
apps/static/images/favicon/apple-touch-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
apps/static/images/favicon/favicon-16x16.png
Normal file
BIN
apps/static/images/favicon/favicon-16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 697 B |
BIN
apps/static/images/favicon/favicon-32x32.png
Normal file
BIN
apps/static/images/favicon/favicon-32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
apps/static/images/favicon/favicon.ico
Normal file
BIN
apps/static/images/favicon/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
1
apps/static/images/favicon/site.webmanifest
Normal file
1
apps/static/images/favicon/site.webmanifest
Normal file
@ -0,0 +1 @@
|
||||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
@ -1,192 +0,0 @@
|
||||
{% extends "layouts/base.html" %}
|
||||
|
||||
{% load static %}
|
||||
|
||||
{% block title %} Blank Page {% endblock title %}
|
||||
|
||||
<!-- Specific CSS goes HERE -->
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" href="{% static 'css/home/main.css' %}">
|
||||
<link rel="stylesheet" href="{% static '/css/select2-bootstrap.min.css' %}">
|
||||
{% endblock stylesheets %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<!-- ### $App Screen Content ### -->
|
||||
<main class="main-content bg-body-tertiary">
|
||||
<div id="mainContent">
|
||||
<div class="full-container d-flex">
|
||||
|
||||
<div class="peers flex-nowrap as-s ai-s w-100">
|
||||
<div class="peer bg-body-secondary">
|
||||
<div id="serverList" class="p-2 layers border-end h-100">
|
||||
<div class="layer mb-2">
|
||||
<button type="button" id="newServerBtn" class="btn bg-body rounded-circle bd" style="width: 50px; height: 50px;">
|
||||
<span class="d-flex jc-c ai-c">
|
||||
<i class="bi bi-plus-lg fs-5"></i>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="noSelectedServer" class="peer-greed">
|
||||
Select a server or add one
|
||||
</div>
|
||||
<div id="selectedServerContainer" class="peer-greed" data-guild-id="" style="display: none;">
|
||||
<header class="px-4 py-3 border-bottom">
|
||||
<div class="peers">
|
||||
<div class="peer-greed">
|
||||
<div class="peers ai-c">
|
||||
<div class="peer">
|
||||
<img class="selected-server-icon rounded-3" src="" alt="server icon" width="80">
|
||||
</div>
|
||||
<div class="peer-greed ms-4">
|
||||
<h3 class="selected-server-name mb-1">none</h3>
|
||||
<h6 class="selected-server-id mb-0">none</h6>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="peer d-flex as-s ai-c">
|
||||
<button type="button" id="newSubscriptionBtn" class="btn btn-primary">New Subscription</button>
|
||||
<button type="button" id="deleteSelectedServerBtn" class="btn btn-danger ms-2">
|
||||
<i class="bi bi-trash3"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="serverAlertContainer" class="px-4 pt-3">
|
||||
<div class="alert alert-warning d-flex ai-c">
|
||||
<span>
|
||||
<b>PYRSS</b> can't seem to access this server!
|
||||
Please ensure the server is public, or <b>PYRSS</b> is a member.
|
||||
</span>
|
||||
<button class="ms-auto btn btn-sm btn-warning">
|
||||
Invite PYRSS
|
||||
<i class="ms-2 bi bi-person-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="alert alert-danger">
|
||||
Critical Error
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mx-4 rounded-3 border ov-h">
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="text-center">
|
||||
<input type="checkbox" class="form-check-input" />
|
||||
</th>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">RSS URL</th>
|
||||
<th scope="col">Channels</th>
|
||||
<th scope="col">Created</th>
|
||||
<th scope="col">Notes</th>
|
||||
<th scope="col">Active</th>
|
||||
<th scope="col" class="text-center">
|
||||
<a href="#" class="text-body">
|
||||
<i class="bi bi-plus-lg"></i>
|
||||
</a>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" class="text-center">
|
||||
<input type="checkbox" class="form-check-input" />
|
||||
</th>
|
||||
<td>
|
||||
<a href="#">BBC News - Top Stories</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="http://feeds.bbci.co.uk/news.rss">http://feeds.bbci.co.uk/news.rss</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#">3</a>
|
||||
</td>
|
||||
<td>2024-03-14</td>
|
||||
<td>
|
||||
<a href="#" class="text-body">
|
||||
<i class="bi bi-chat-left-text"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" class="form-check-input" />
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a href="#" class="text-body">
|
||||
<i class="bi bi-pencil"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" class="text-center">
|
||||
<input type="checkbox" class="form-check-input" />
|
||||
</th>
|
||||
<td>
|
||||
<a href="#">BBC News - Entertainment & Arts</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="http://feeds.bbci.co.uk/news.rss">http://feeds.bbci.co.uk/news/entertainment_and_arts/.rss</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#">2</a>
|
||||
</td>
|
||||
<td>2024-03-15</td>
|
||||
<td>
|
||||
<a href="#" class="text-body">
|
||||
<i class="bi bi-chat-left-text"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" class="form-check-input" />
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a href="#" class="text-body">
|
||||
<i class="bi bi-pencil"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% comment %} <div id="subscriptionContainer" class="container-fluid px-4">
|
||||
<div class="row">
|
||||
<div class="col-3 mb-4">
|
||||
<div class="bg-body px-4 py-3 bd rounded-3">
|
||||
add
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> {% endcomment %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% include "home/includes/servermodal.html" %}
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
<!-- Specific Page JS goes HERE -->
|
||||
{% block javascripts %}
|
||||
|
||||
<script id="serverItemTemplate" type="text/template">
|
||||
<div class="server-item layer mb-2" data-id="" data-guild-id="" data-name="" data-icon="">
|
||||
<button type="button" class="bg-none border-0">
|
||||
<img src="" class="rounded-circle" alt="" width="50" height="50">
|
||||
</button>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script src="{% static 'js/api.js' %}"></script>
|
||||
<script src="{% static 'js/home.js' %}"></script>
|
||||
|
||||
{% endblock javascripts %}
|
@ -1,225 +0,0 @@
|
||||
{% extends "layouts/base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %} Main Page {% endblock title %}
|
||||
|
||||
<!-- Specific CSS goes HERE -->
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" href="{% static 'css/home/main.css' %}">
|
||||
<link rel="stylesheet" href="{% static '/css/select2-bootstrap.min.css' %}">
|
||||
{% endblock stylesheets %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<!-- ### $App Screen Content ### -->
|
||||
<main class="main-content bg-body-tertiary" style="padding-top: 65px">
|
||||
<div id="mainContent">
|
||||
<div class="container-fluid pX-0">
|
||||
<div class="lh-1 pX-5 my-4 peers">
|
||||
<div class="peer peer-greed">
|
||||
<h3 class="mB-0">Subscriptions</h3>
|
||||
</div>
|
||||
<div class="peer fs-5 fw-bold">
|
||||
<button class="btn bg-body mR-3 rounded-3 waves-effect bd" onclick="subEditModal(-1);">
|
||||
<i class="bi bi-plus"></i>
|
||||
New Subscription
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="subscriptionContainer" class="row gap-20">
|
||||
|
||||
<!-- Subscriptions Here! -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div id="subEditModal" class="modal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content rounded-3 bd">
|
||||
<div class="modal-header px-4 py-3">
|
||||
<h5 class="modal-title"></h5>
|
||||
</div>
|
||||
<nav>
|
||||
<div class="nav nav-pills nav-fill modal-tabs px-4 pt-3" role="tablist">
|
||||
<button id="navDetailsTab" class="nav-link" data-bs-toggle="tab" data-bs-target="#navDetailsPanel" type="button" role="tab" aria-controls="navDetailsPanel" aria-selected="true">Details</button>
|
||||
<button id="navChannelTab" class="nav-link" data-bs-toggle="tab" data-bs-target="#navChannelPanel" type="button" role="tab" aria-controls="navChannelPanel" aria-selected="true">Channels</button>
|
||||
<button id="navExtrasTab" class="nav-link" data-bs-toggle="tab" data-bs-target="#navExtrasPanel" type="button" role="tab" aria-controls="navExtrasPanel" aria-selected="true">Extras</button>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="modal-body px-4 py-3">
|
||||
<form id="subEditForm" class="needs-validation" novalidate>
|
||||
<div class="tab-content">
|
||||
<div id="navDetailsPanel" class="tab-pane fade" role="tabpanel" aria-labelledby="navDetailsTab" tabindex="0">
|
||||
<div class="mb-3">
|
||||
<label for="editSubName" class="form-label">Name</label>
|
||||
<input type="text" name="editSubName" id="editSubName" class="form-control border-3 bd" required maxlength="32">
|
||||
<div class="invalid-feedback">Required, Maximum of 32 Characters.</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="editSubURL" class="form-label">URL</label>
|
||||
<input type="url" name="editSubURL" id="editSubURL" class="form-control border-3 bd" required>
|
||||
<div class="invalid-feedback">Please Enter a Valid URL.</div>
|
||||
</div>
|
||||
<div>
|
||||
<label for="editSubImage" class="form-label">Image</label>
|
||||
<input type="file" name="editSubImage" id="editSubImage" class="form-control border-3 bd">
|
||||
<div class="form-text">Optional</div>
|
||||
<div class="invalid-feedback">This Image Is Invalid.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navChannelPanel" class="tab-pane fade" role="tabpanel" aria-labelledby="navChannelTab" tabindex="0">
|
||||
<div class="mb-3">
|
||||
<label for="editSubServer" class="form-label">Server</label>
|
||||
<select name="editSubServer" id="editSubServer" class="border-3 bd select-2" data-dropdownparent="#subEditModal" required>
|
||||
<option value="">Select a server</option>
|
||||
</select>
|
||||
<div class="form-help">Ensure that PYRSS Bot is a member of the selected server.</div>
|
||||
<div class="invalid-feedback">Please Select a Server.</div>
|
||||
</div>
|
||||
<div>
|
||||
<label for="editSubChannels">Channels</label>
|
||||
<select name="editSubChannels" id="editSubChannels" class="border-3 bd select-2" data-dropdownparent="#subEditModal" required multiple>
|
||||
</select>
|
||||
<div class="invalid-feedback">Please Select one or more Channels.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navExtrasPanel" class="tab-pane fade" role="tabpanel" aria-labelledby="navExtrasTab" tabindex="0">
|
||||
<div>
|
||||
<label for="editSubNotes" class="form-label">Notes</label>
|
||||
<textarea name="editSubNotes" id="editSubNotes" class="form-control" style="height: 200px;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer px-4 py-3">
|
||||
<button class="btn bg-body-tertiary rounded-3 waves-effect bd" onclick="submitSubEditModal();">
|
||||
<i class="bi bi-check me-1`"></i>
|
||||
Submit
|
||||
</button>
|
||||
<button class="btn bg-body-tertiary rounded-3 waves-effect bd ms-3" data-bs-dismiss="modal">
|
||||
<i class="bi bi-x me-1`"></i>
|
||||
Cancel
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="subDeleteModal" class="modal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content rounded-3 bd">
|
||||
<div class="modal-header px-4 py-3">
|
||||
<h5 class="modal-title">Delete Subscription</h5>
|
||||
</div>
|
||||
<div class="modal-body px-4 py-3">
|
||||
<p class="mb-3">
|
||||
The following subscriptions will be permanently deleted, do you want to continue?
|
||||
</p>
|
||||
<p class="mb-0">To be erased:</p>
|
||||
<ul class="mb-0 text-danger">
|
||||
<li>
|
||||
<span class="del-sub-name"></span> (<span class="del-sub-uuid"></span>)
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="modal-footer px-4 py-3">
|
||||
<button class="del-sub-confirm btn bg-body-tertiary rounded-3 waves-effect bd" onclick="alert('no sub selected');">
|
||||
<i class="bi bi-check me-1`"></i>
|
||||
Yes, Delete!
|
||||
</button>
|
||||
<button class="btn bg-body-tertiary rounded-3 waves-effect bd ms-3" data-bs-dismiss="modal">
|
||||
<i class="bi bi-x me-1`"></i>
|
||||
Cancel
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
<!-- Specific Page JS goes HERE -->
|
||||
{% block javascripts %}
|
||||
<script id="subCategoryTemplate" type="text/template">
|
||||
<div class="col-12">
|
||||
<hr class="my-0">
|
||||
<div class="peers my-4 bg-body p-3 w-fc rounded-3 bd ai-c" style="margin: 0 0.75rem;">
|
||||
<div class="peer">
|
||||
<img class="cat-icon rounded-3" width="50" height="50">
|
||||
</div>
|
||||
<div class="peer ps-3">
|
||||
<div class="layers align-items-start">
|
||||
<h6 class="layer cat-name mb-1"></h6>
|
||||
<p class="layer cat-id mb-0"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row sub-container">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script id="subItemTemplate" type="text/template">
|
||||
<div class="col-md-6 col-lg-4 col-xxl-3 mb-4">
|
||||
<div class="sub-item layers bd bg-body h-100 rounded-3" data-uuid="">
|
||||
<div class="layer w-100">
|
||||
<div class="peers px-4 py-3 flex-nowrap">
|
||||
<div class="peer peer-greed me-4 text-wrap overflow-hidden">
|
||||
<h5 class="sub-name"></h5>
|
||||
<div class="sub-uuid mb-2"></div>
|
||||
<div class="d-flex sub-datetime"></div>
|
||||
</div>
|
||||
<div class="peer">
|
||||
<img src="" alt="" class="sub-img rounded-3" width="100" height="100" style="object-fit: cover; ">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layer w-100 px-4 py-3 bdT">
|
||||
<p class="sub-desc mb-2"></p>
|
||||
<a class="sub-rss"></a>
|
||||
</div>
|
||||
<div class="layer w-100 bdT px-4 py-3 mt-auto">
|
||||
<div class="peers ai-c">
|
||||
<div class="peer peer-greed">
|
||||
<div class="form-check form-switch ms-2 mb-0">
|
||||
<input type="checkbox" class="sub-active form-check-input shadow-none" style="transform: scale(1.5);">
|
||||
</div>
|
||||
</div>
|
||||
<div class="peer">
|
||||
<button type="button" class="btn bg-body-tertiary waves-effect bd rounded-3 border-0" onclick="showToast('warning', 'Warning', 'Activity History not implemented yet');">
|
||||
<i class="bi bi-clock-history"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="peer ms-3">
|
||||
<div class="vr mx-0"></div>
|
||||
</div>
|
||||
<div class="peer ms-3">
|
||||
<button type="button" class="sub-edit btn bg-body-tertiary waves-effect bd rounded-3 border-0">
|
||||
<i class="bi bi-pencil"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="peer ms-3">
|
||||
<button type="button" class="sub-copy btn bg-body-tertiary waves-effect bd rounded-3 border-0">
|
||||
<i class="bi bi-copy"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="peer ms-3">
|
||||
<button type="button" class="sub-delete btn bg-body-tertiary waves-effect bd rounded-3 border-0">
|
||||
<i class="bi bi-trash3"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
<script src="{% static 'js/api.js' %}"></script>
|
||||
<script src="{% static 'js/subscriptions.js' %}"></script>
|
||||
{% endblock javascripts %}
|
@ -1,104 +0,0 @@
|
||||
<div class="header navbar bg-body">
|
||||
<div class="header-container">
|
||||
<ul class="nav-left">
|
||||
<li>
|
||||
<a id="sidebar-toggle" class="sidebar-toggle" href="javascript:void(0);">
|
||||
<i class="ti-menu"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="search-box">
|
||||
<a class="search-toggle no-pdd-right" href="javascript:void(0);">
|
||||
<i class="search-icon ti-search pdd-right-10"></i>
|
||||
<i class="search-icon-close ti-close pdd-right-10"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="search-input">
|
||||
<input class="form-control" type="text" placeholder="Search...">
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav-right">
|
||||
<li>
|
||||
<a href="" id="themeToggle" data-bs-toggle="dropdown">
|
||||
<i class="ti-shine"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="notifications dropdown">
|
||||
<!-- <span class="counter bgc-red">3</span> -->
|
||||
<a href="" class="dropdown-toggle no-after" data-bs-toggle="dropdown">
|
||||
<i class="ti-bell"></i>
|
||||
</a>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
<li class="pX-20 pY-15 bdB">
|
||||
<i class="ti-bell pR-10"></i>
|
||||
<span class="fsz-sm fw-600 c-grey-900">Notifications</span>
|
||||
</li>
|
||||
<li>
|
||||
<ul class="ovY-a pos-r scrollable lis-n p-0 m-0 fsz-sm">
|
||||
<!-- <li>
|
||||
<a href="" class='peers fxw-nw td-n p-20 bdB c-grey-800 cH-blue bgcH-grey-100'>
|
||||
<div class="peer mR-15">
|
||||
<img class="w-3r bdrs-50p" src="{{ ASSETS_ROOT }}/images/defaultuser.webp" alt="">
|
||||
</div>
|
||||
<div class="peer peer-greed">
|
||||
<span>
|
||||
<span class="fw-500">John Doe</span>
|
||||
<span class="c-grey-600">liked your <span class="text-dark">post</span>
|
||||
</span>
|
||||
</span>
|
||||
<p class="m-0">
|
||||
<small class="fsz-xs">5 mins ago</small>
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
</li> -->
|
||||
</ul>
|
||||
</li>
|
||||
<li class="pX-20 pY-15 ta-c bdT">
|
||||
<span>
|
||||
<a href="" class="c-grey-600 cH-blue fsz-sm td-n">View All Notifications <i class="ti-angle-right fsz-xs mL-10"></i></a>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="" class="dropdown-toggle no-after peers fxw-nw ai-c lh-1" data-bs-toggle="dropdown">
|
||||
<div class="peer mR-10">
|
||||
<img class="w-2r h-2r bdrs-50p" src="{{ request.user.avatar_url }}" style="object-fit: cover;" alt="">
|
||||
</div>
|
||||
<div class="peer">
|
||||
<span class="fsz-sm">{{ request.user }}</span>
|
||||
</div>
|
||||
</a>
|
||||
<ul class="dropdown-menu fsz-sm">
|
||||
<li>
|
||||
<a href="" class="d-b td-n pY-5 bgcH-grey-100 c-grey-700">
|
||||
<i class="ti-settings mR-10"></i>
|
||||
<span>Setting</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="d-b td-n pY-5 bgcH-grey-100 c-grey-700">
|
||||
<i class="ti-user mR-10"></i>
|
||||
<span>Profile</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="d-b td-n pY-5 bgcH-grey-100 c-grey-700">
|
||||
<i class="ti-email mR-10"></i>
|
||||
<span>Messages</span>
|
||||
</a>
|
||||
</li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li>
|
||||
<a href="#" class="d-b td-n pY-5 bgcH-grey-100 c-grey-700">
|
||||
<i class="ti-power-off mR-10"></i>
|
||||
<span>Logout</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,19 +0,0 @@
|
||||
{% load static %}
|
||||
|
||||
<script src="{% static '/js/jquery-3.6.0.min.js' %}"></script>
|
||||
|
||||
<script src="{% static '/js/jquery.dataTables.min.js' %}"></script>
|
||||
|
||||
<script src="{% static '/js/ckeditor.js' %}"></script>
|
||||
|
||||
<script src="{% static '/js/select2.min.js' %}"></script>
|
||||
|
||||
<script src="{% static '/js/perfectscrollbar.js' %}"></script>
|
||||
|
||||
<script src="{% static 'js/wavebtn.js' %}"></script>
|
||||
|
||||
<script src="{% static '/js/index.js' %}"></script>
|
||||
|
||||
<script src="{% static '/js/base.js' %}"></script>
|
||||
|
||||
<script src="{% static '/js/toasts.js' %}"></script>
|
@ -1,218 +0,0 @@
|
||||
{% load static %}
|
||||
<div class="sidebar bg-body bdR">
|
||||
<div class="sidebar-inner">
|
||||
<!-- ### $Sidebar Header ### -->
|
||||
<div class="sidebar-logo">
|
||||
<div class="peers ai-c fxw-nw">
|
||||
<div class="peer peer-greed">
|
||||
<a class="sidebar-link td-n" href="/">
|
||||
<div class="peers ai-c fxw-nw">
|
||||
<div class="peer">
|
||||
<div class="logo">
|
||||
<img src="{% static '/images/pyrss_logo.webp' %}" width="70" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="peer peer-greed">
|
||||
<h5 class="lh-1 mB-0 text-body-tertiary text-nowrap">PYRSS WEBSITE</h5>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="peer">
|
||||
<div class="mobile-toggle sidebar-toggle">
|
||||
<a href="" class="td-n">
|
||||
<i class="ti-arrow-circle-left"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="sidebar-menu">
|
||||
<li class="nav-item">
|
||||
<a class="sidebar-link" href="/">
|
||||
<span class="icon-holder">
|
||||
<i class="c-blue-500 ti-home"></i>
|
||||
</span>
|
||||
<span class="title">Subscriptions</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ### $Sidebar Menu ### -->
|
||||
<!-- <li class="nav-item">
|
||||
<hr class="bgc-grey-500">
|
||||
</li> -->
|
||||
<!-- <li class="nav-item">
|
||||
<a class="sidebar-link" href="/index.html">
|
||||
<span class="icon-holder">
|
||||
<i class="c-blue-500 ti-home"></i>
|
||||
</span>
|
||||
<span class="title">Template Dashboard</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class='sidebar-link' href="/email.html">
|
||||
<span class="icon-holder">
|
||||
<i class="c-brown-500 ti-email"></i>
|
||||
</span>
|
||||
<span class="title">Email</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class='sidebar-link' href="/compose.html">
|
||||
<span class="icon-holder">
|
||||
<i class="c-blue-500 ti-share"></i>
|
||||
</span>
|
||||
<span class="title">Compose</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class='sidebar-link' href="/calendar.html">
|
||||
<span class="icon-holder">
|
||||
<i class="c-deep-orange-500 ti-calendar"></i>
|
||||
</span>
|
||||
<span class="title">Calendar</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class='sidebar-link' href="/chat.html">
|
||||
<span class="icon-holder">
|
||||
<i class="c-deep-purple-500 ti-comment-alt"></i>
|
||||
</span>
|
||||
<span class="title">Chat</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class='sidebar-link' href="/charts.html">
|
||||
<span class="icon-holder">
|
||||
<i class="c-indigo-500 ti-bar-chart"></i>
|
||||
</span>
|
||||
<span class="title">Charts</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class='sidebar-link' href="/forms.html">
|
||||
<span class="icon-holder">
|
||||
<i class="c-light-blue-500 ti-pencil"></i>
|
||||
</span>
|
||||
<span class="title">Forms</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="sidebar-link" href="/ui.html">
|
||||
<span class="icon-holder">
|
||||
<i class="c-pink-500 ti-palette"></i>
|
||||
</span>
|
||||
<span class="title">UI Elements</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-toggle" href="javascript:void(0);">
|
||||
<span class="icon-holder">
|
||||
<i class="c-orange-500 ti-layout-list-thumb"></i>
|
||||
</span>
|
||||
<span class="title">Tables</span>
|
||||
<span class="arrow">
|
||||
<i class="ti-angle-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a class='sidebar-link' href="/basic-table.html">Basic Table</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class='sidebar-link' href="/datatable.html">Data Table</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-toggle" href="javascript:void(0);">
|
||||
<span class="icon-holder">
|
||||
<i class="c-purple-500 ti-map"></i>
|
||||
</span>
|
||||
<span class="title">Maps</span>
|
||||
<span class="arrow">
|
||||
<i class="ti-angle-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="/google-maps.html">Google Map</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/vector-maps.html">Vector Map</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-toggle" href="javascript:void(0);">
|
||||
<span class="icon-holder">
|
||||
<i class="c-red-500 ti-files"></i>
|
||||
</span>
|
||||
<span class="title">Pages</span>
|
||||
<span class="arrow">
|
||||
<i class="ti-angle-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a class='sidebar-link' href="/blank.html">Blank</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class='sidebar-link' href="/page-404.html">404</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class='sidebar-link' href="/page-500.html">500</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class='sidebar-link' href="/signin.html">Sign In</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class='sidebar-link' href="/signup.html">Sign Up</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-toggle" href="javascript:void(0);">
|
||||
<span class="icon-holder">
|
||||
<i class="c-teal-500 ti-view-list-alt"></i>
|
||||
</span>
|
||||
<span class="title">Multiple Levels</span>
|
||||
<span class="arrow">
|
||||
<i class="ti-angle-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="nav-item dropdown">
|
||||
<a href="javascript:void(0);">
|
||||
<span>Menu Item</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a href="javascript:void(0);">
|
||||
<span>Menu Item</span>
|
||||
<span class="arrow">
|
||||
<i class="ti-angle-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="javascript:void(0);">Menu Item</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0);">Menu Item</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item mT-30 actived">
|
||||
<a class="sidebar-link" target="_blank" href="https://appseed.us/product/adminator/django/">
|
||||
<span class="icon-holder">
|
||||
<i class="c-blue-500 ti-download"></i>
|
||||
</span>
|
||||
<span class="title">Download</span>
|
||||
</a>
|
||||
</li> -->
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
@ -1,108 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
{% load static %}
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>
|
||||
Django Adminator - {% block title %}{% endblock %}
|
||||
</title>
|
||||
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/bootstrap.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/colours.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/datepicker.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/fontawesome.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/themify-icons.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/perfectscrollbar.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/adminator.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/jquery.dataTables.min.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/select2.min.css' %}" />
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/wavebtn.css' %}">
|
||||
<link type="text/css" rel="stylesheet" href="{% static '/css/index.css' %}" />
|
||||
|
||||
<!-- Specific Page CSS goes HERE -->
|
||||
{% block stylesheets %}{% endblock stylesheets %}
|
||||
|
||||
</head>
|
||||
<body class="app" data-bs-theme="light">
|
||||
|
||||
<!-- @TOC -->
|
||||
<!-- =================================================== -->
|
||||
<!--
|
||||
+ @Page Loader
|
||||
+ @App Content
|
||||
- #Left Sidebar
|
||||
> $Sidebar Header
|
||||
> $Sidebar Menu
|
||||
|
||||
- #Main
|
||||
> $Topbar
|
||||
> $App Screen Content
|
||||
-->
|
||||
|
||||
<!-- @Page Loader -->
|
||||
<!-- =================================================== -->
|
||||
<div id='loader' class="bg-body">
|
||||
<div class="spinner"></div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.addEventListener('load', function load() {
|
||||
const loader = document.getElementById('loader');
|
||||
setTimeout(function() {
|
||||
loader.classList.add('fadeOut');
|
||||
}, 300);
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- @App Content -->
|
||||
<!-- =================================================== -->
|
||||
<div>
|
||||
|
||||
{% include 'includes/sidebar.html' %}
|
||||
|
||||
<!-- #Main ============================ -->
|
||||
<div class="page-container">
|
||||
|
||||
{% include 'includes/navigation.html' %}
|
||||
|
||||
{% block content %}{% endblock content %}
|
||||
|
||||
{% include 'includes/footer.html' %}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% include 'includes/toasts.html' %}
|
||||
|
||||
<script>
|
||||
const CSRF_MiddlewareToken = "{{ csrf_token }}";
|
||||
const currentUserId = "{{ request.user.id }}";
|
||||
</script>
|
||||
|
||||
{% include 'includes/scripts.html' %}
|
||||
|
||||
<!-- Specific Page JS goes HERE -->
|
||||
{% block javascripts %}{% endblock javascripts %}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".select-2").each(function() {
|
||||
var dropdownParent = $(this).attr("data-dropdownparent");
|
||||
$(this).select2({
|
||||
theme: "bootstrap",
|
||||
minimumResultsForSearch: 5,
|
||||
dropdownParent: dropdownParent
|
||||
})
|
||||
})
|
||||
// $(".select-2").select2({
|
||||
// theme: "bootstrap",
|
||||
// minimumResultsForSearch: 5
|
||||
// });
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -41,7 +41,6 @@
|
||||
|
||||
{% block content %}{% endblock content %}
|
||||
|
||||
{% include 'includes/scripts.html' %}
|
||||
|
||||
<!-- Specific Page JS goes HERE -->
|
||||
{% block javascripts %}{% endblock javascripts %}
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
{% block content %}{% endblock content %}
|
||||
|
||||
{% include 'includes/scripts.html' %}
|
||||
|
||||
<!-- Specific Page JS goes HERE -->
|
||||
{% block javascripts %}{% endblock javascripts %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user