This commit is contained in:
vladislav 2026-09-10 08:00:22 -04:00
parent 71ac5c62a5
commit da15dc7fb1
Signed by: Vladislav
GPG Key ID: D97C9E5E4860EE45

View File

@ -7,7 +7,6 @@
{% block title %}Пользователи{% endblock %} {% block title %}Пользователи{% endblock %}
{% block content %} {% block content %}
{{ header.section(user) }} {{ header.section(user) }}
<section class="c_dg3k4"> <section class="c_dg3k4">
@ -16,22 +15,7 @@
<div class="c_ru432"> <div class="c_ru432">
{{ profile_nav.profile_nav(user, 'users') }} {{ profile_nav.profile_nav(user, 'users') }}
<div class="c_tihtk" id="main"> <div class="c_tihtk" id="main">
<style>
input { padding: 8px; width: 300px; margin-bottom: 10px; border-bottom: 1px solid #5f1798;position: sticky;
left: 10px;}
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid #ccc; padding: 8px; text-align: left; }
th { background-color: #f4f4f4; }
tr.hidden { display: none; }
.highlight { background-color: #ffeb3b; padding: 2px 4px; border-radius: 3px; }
</style>
<input type="text" id="searchInput" placeholder="Поиск ..." onkeyup="searchTable()"> <input type="text" id="searchInput" placeholder="Поиск ..." onkeyup="searchTable()">
<table id="dataTable"> <table id="dataTable">
<thead> <thead>
<tr> <tr>
@ -85,7 +69,7 @@ async function deleteUser(params) {
} }
// @license-end // @license-end
</script> </script>
<script> <script>
// @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause // @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
function normalizeText(str) { function normalizeText(str) {
return str return str
@ -134,15 +118,10 @@ function normalizeText(str) {
} }
// @license-end // @license-end
</script> </script>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
{{ footer.section(user) }} {{ footer.section(user) }}
{% endblock %} {% endblock %}
@ -150,6 +129,42 @@ function normalizeText(str) {
{{ header.style() }} {{ header.style() }}
{{ profile_nav.style() }} {{ profile_nav.style() }}
{{ footer.style() }} {{ footer.style() }}
<style>
input {
padding: 8px;
width: 300px;
margin-bottom: 10px;
border-bottom: 1px solid #5f1798;
position: sticky;
left: 10px;
}
table {
width: 100%;
border-collapse: collapse;
}
th,
td {
border: 1px solid #ccc;
padding: 8px;
text-align: left;
}
th {
background-color: #f4f4f4;
}
tr.hidden {
display: none;
}
.highlight {
background-color: #ffeb3b;
padding: 2px 4px;
border-radius: 3px;
}
</style>
<style> <style>
@media (max-width: 699px) { @media (max-width: 699px) {
.c_tihtk { .c_tihtk {