Commit 59d4f7ba authored by AK's avatar AK

add filter admin menu

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