123456789101112131415161718192021222324252627282930313233343536373839404142 |
- {{ $v := version }}{{ $sTag := "tag" }}{{ $sArticle := "article" }}<!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Панель администрирования</title>
- <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
- <link href="/static/admin/css/bootstrap.min.css?v={{ $v }}" rel="stylesheet">
- <link href="/static/admin/css/dashboard.css?v={{ $v }}" rel="stylesheet">
- </head>
- <body>
- <div class="container-fluid">
- <div class="row">
- <nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block sidebar collapse bg-light">
- <div class="position-sticky pt-3 sidebar-sticky">
- <ul class="nav flex-column">
- <li class="nav-item">
- <a class="nav-link {{ if eq .section $sArticle }}active{{ end }}" href="/admin/">
- Статьи
- </a>
- </li>
- <li class="nav-item">
- <a class="nav-link {{ if eq .section $sTag }}active{{ end }}" href="/admin/tag">
- Теги
- </a>
- </li>
- <li class="nav-item mt-3 pt-3 border-top">
- <a class="nav-link" href="/admin/logout">
- Выход
- </a>
- </li>
- </ul>
- </div>
- </nav>
- {{ embed }}
- </div>
- </div>
- <script src="/static/admin/js/bootstrap.bundle.min.js?v={{ $v }}"></script>
- <script src="/static/admin/tinymce/tinymce.min.js?v={{ $v }}"></script>
- {{ block "admin/custom_bottom_static" . }}{{ end }}
- </body>
- </html>
|