Commit 59d4f7ba authored by AK's avatar AK

add filter admin menu

parent 53162170
......@@ -135,7 +135,7 @@ a:hover {
.sectionedit1{
position: relative; /* Обеспечивает правильное позиционирование псевдоэлементов */
padding: 2px; /* Добавляет отступы для содержимого */
/* Добавляет отступы для содержимого */
font-size: 1.5rem;
font-weight: bold;
text-align: center;
......@@ -146,7 +146,7 @@ a:hover {
.sectionedit1::before {
content: '';
display: block; /* Для правильного отображения SVG */
width: 503px; /* Ширина SVG */
width: 505px; /* Ширина SVG */
height: 48px; /* Высота SVG */
background-image: url('/lib/tpl/archivarius/pub/img/pin2.svg'); /* Путь к вашему SVG */
background-size: contain; /* Масштабирование изображения */
......@@ -158,7 +158,7 @@ a:hover {
.sectionedit1::after {
content: '';
display: block; /* Для правильного отображения SVG */
width: 503px; /* Ширина SVG */
width: 495px; /* Ширина SVG */
height: 48px; /* Высота SVG */
background-image: url('/lib/tpl/archivarius/pub/img/pin2.svg'); /* Путь к вашему SVG */
transform: rotate(180deg);
......@@ -223,6 +223,10 @@ ul.tree li{
background-color: #333 !important;
}
a.urlextern{
color: red;
}
/* Футер */
footer {
background-color: #333;
......
......@@ -43,6 +43,8 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
</ul>
</nav>
<?if ($INFO['isadmin']):?>
<div class="local-nav desk">
......@@ -77,6 +79,9 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
</div>
</div>
<?endif?>
<div class="burger">
<svg width="23" height="16" viewBox="0 0 23 16" fill="none" xmlns="http://www.w3.org/2000/svg">
......@@ -115,8 +120,9 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
</ul>
</nav>
<?include ('partials/mobilemenu.php'); ?>
<? if ($INFO['isadmin']){
include ('partials/mobilemenu.php');
}?>
</div>
......@@ -133,6 +139,7 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
</ul>
</div>
</nav>
</header>
......
......@@ -2,6 +2,8 @@
// Fallback script for compatibility with Bootstrap Wrapper and Icons plugins
ini_set('display_errors','off');
define('VITE_ENV', 'dev');
define('VITE_SERVER', 'http://localhost:5173');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment