| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <!DOCTYPE html>
- <html lang="ru">
- <head>
- <meta charset="UTF-8"/>
- <link rel="stylesheet" href="../../../../static/css/base.css"/>
- <link
- rel="stylesheet"
- href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
- integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
- crossorigin="anonymous"
- />
- <link rel="icon" href="../../../static/images/logo_b.ico" type="image/x-icon"/>
- <title>{{title}}</title>
- </head>
- <body>
- <div class="alert alert-danger mess_block" role="alert">
- <h4 style="text-align:center;">Это деманстрационная версия сайта, пока что мы не рекомендуем сохранять здесь важные данные</h4>
- </div>
- <script
- src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js"
- integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8"
- crossorigin="anonymous"
- ></script>
- {% if current_user.is_authenticated %}
- <nav class="navbar">
- <div class="nav_panel">
- <a class="nav_chapter" href="/profile">
- <div class="nav_user">
- <div class="nav_user_name_div"><p class="nav_user_name nav_chapter_text">{{current_user.name}}</p></div>
- </div>
- </a>
- <a class="nav_chapter" href="/projects">
- <p class="nav_chapter_text">Проекты</p>
- </a>
- <a class="nav_chapter" href="/showcase">
- <p class="nav_chapter_text">Витрина</p>
- </a>
- </div>
- </nav>
- {% else %}
- <nav class="navbar" id="navbar">
- <div class="container-fluid">
- <a class="navbar-brand" href="/">
- <img src="../../../../static/images/logo_b.png" class="nav_logo"/>
- </a>
- <a class="auth_button" href="/login">Авторизация</a>
- </div>
- </nav>
- {% endif %}
- <!-- Begin page content -->
- <main role="main">{% block content %}{% endblock %}</main>
- <footer class="footer">
- <div class="footer_block">
- <a href="/#header_block"
- ><img class="footer_logo" src="../../../../static/images/logo_w.png"
- /></a>
- <strong class="footer_rights">© All rights reserved</strong>
- </div>
- </footer>
- </body>
- </html>
|