done!
This commit is contained in:
parent
46dc0f6ab6
commit
d19cfd103d
@ -2,57 +2,57 @@
|
|||||||
|
|
||||||
<html lang="ru" class="h-100">
|
<html lang="ru" class="h-100">
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>{% block title %}{% endblock %}</title>
|
<title>{% block title %}{% endblock %}</title>
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css"
|
||||||
href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
|
integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous">
|
||||||
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
|
|
||||||
crossorigin="anonymous">
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.bd-placeholder-img {
|
.bd-placeholder-img {
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
text-anchor: middle;
|
text-anchor: middle;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.bd-placeholder-img-lg {
|
.bd-placeholder-img-lg {
|
||||||
font-size: 3.5rem;
|
font-size: 3.5rem;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
{% block extra_css %}{% endblock %}
|
{% block extra_css %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="d-flex flex-column h-100">
|
<body class="d-flex flex-column h-100">
|
||||||
{% include 'base/menu.html' %}
|
{% include 'base/menu.html' %}
|
||||||
|
|
||||||
<main class="flex-shrink-0">
|
<main class="flex-shrink-0">
|
||||||
<div class="container mt-4 mb-4">
|
<div class="container mt-4 mb-4">
|
||||||
<h1 class="mb-4 text-center">
|
<h1 class="mb-4 text-center">
|
||||||
{% block heading %}
|
{% block heading %}
|
||||||
|
{% endblock %}
|
||||||
|
</h1>
|
||||||
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</h1>
|
</div>
|
||||||
{% block content %}
|
</main>
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-3 bg-light">
|
<footer class="footer mt-auto py-3 bg-light">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<small class="text-muted mt-auto">Сайт сделан учениками Школы Программистов (Группа №02)</small>
|
<small class="text-muted mt-auto">Сайт сделан учениками Школы Программистов (Группа №02)</small>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"
|
||||||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"
|
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous">
|
||||||
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW"
|
</script>
|
||||||
crossorigin="anonymous"
|
|
||||||
></script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
77
main/templates/pages/adm_ruleset.html
Normal file
77
main/templates/pages/adm_ruleset.html
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
{% extends 'base/base.html' %}
|
||||||
|
|
||||||
|
{% load static %}
|
||||||
|
|
||||||
|
{% block title %}{{ pagename }}{% endblock %}
|
||||||
|
|
||||||
|
{% block heading %}Управление{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_css %}
|
||||||
|
<link rel="stylesheet" href="{% static 'main/css/work.css' %}">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="container-md">
|
||||||
|
|
||||||
|
<div class="new-section">
|
||||||
|
<p class="row page-description">Основаная информация о странице</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row justify-content-center new-section">
|
||||||
|
<div class="col-10">
|
||||||
|
<h6 class="table-title">Список сотрудников</h6>
|
||||||
|
<table class="light-table">
|
||||||
|
<thead>
|
||||||
|
<th>ID</th>
|
||||||
|
<th>Email</th>
|
||||||
|
<th>Role</th>
|
||||||
|
<th>Name(link to profile)</th>
|
||||||
|
<th>Checked</th>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>1</td>
|
||||||
|
<td>big_boss123@example.ru</td>
|
||||||
|
<td>engineer</td>
|
||||||
|
<td><a href="#">Иван Иванов</a></td>
|
||||||
|
<td><input class="form-check-input" type="checkbox" value=""></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>2</td>
|
||||||
|
<td>gachi_cool456@example.ru</td>
|
||||||
|
<td>light engineer</td>
|
||||||
|
<td><a href="#">Пётр Петров</a></td>
|
||||||
|
<td><input class="form-check-input" type="checkbox"value=""></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row justify-content-center new-section">
|
||||||
|
<div class="col-5">
|
||||||
|
<div class="info">
|
||||||
|
<div class="info-row">
|
||||||
|
<div class="info-target">Инженеров:</div>
|
||||||
|
<div class="info-quantity">
|
||||||
|
<div class="status-circle-small light-green"></div>
|
||||||
|
<span class="info-quantity-value">13</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="info-row">
|
||||||
|
<div class="info-target">Легких агентов:</div>
|
||||||
|
<div class="info-quantity">
|
||||||
|
<div class="status-circle-small light-yellow"></div>
|
||||||
|
<span class="info-quantity-value">22</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-5">
|
||||||
|
<button class="request-acess-button default-button">Назначить выбранных на роль инженера</button>
|
||||||
|
<button class="hand-over-acess-button default-button">Назначить выбранных на роль легкого агента</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
@ -12,6 +12,13 @@
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: #45729C;
|
background: #45729C;
|
||||||
} */
|
} */
|
||||||
|
.form-check-input {
|
||||||
|
border-radius: 0px;
|
||||||
|
background-image: url("../img/check.png");
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
background-size: 20px auto;
|
||||||
|
}
|
||||||
|
|
||||||
.page-title {
|
.page-title {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
BIN
static/main/img/check.png
Normal file
BIN
static/main/img/check.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 222 B |
Loading…
x
Reference in New Issue
Block a user