123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <!DOCTYPE html>
- <html lang="en" data-bs-theme="dark">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link href="{{ url_for('static', filename='bootstrap.min.css') }}" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
- <script src="{{ url_for('static', filename='bootstrap.bundle.min.js') }}" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
-
- <link rel="stylesheet" href="{{ url_for('static', filename='bootstrap-icons.css') }}">
- <link rel="stylesheet" href="{{ url_for('static', filename='theme/base-bs.css') }}">
- {% if visjs_enabled %}
-
- <script src="{{ url_for('visjs.static', filename='vis-timeline-graph2d.min.js') }}"></script>
- <link href="{{ url_for('visjs.static', filename='vis-timeline-graph2d.min.css') }}" rel="stylesheet" type="text/css" />
-
- {% endif %}
- <script src="{{ url_for('static', filename='htmx.js') }}"></script>
- {% block head %}
- <title>{{ title | default('No Title') }}</title>
- {% endblock %}
-
-
- {% if opengraph_info %}
- {% for prop, content in opengraph_info.items() %}
- <meta property="og:{{prop}}" content="{{content}}" />
- {% endfor %}
- {% endif %}
-
- <script>
- const Toast = Swal.mixin({
- toast: true,
- position: 'top-end',
- showConfirmButton: false,
- timer: 3000,
- timerProgressBar: true,
- didOpen: (toast) => {
- toast.addEventListener('mouseenter', Swal.stopTimer)
- toast.addEventListener('mouseleave', Swal.resumeTimer)
- }
- })
- </script>
- </head>
- <body>
- <div class="container">
- <div class="row">
- <div class="col-lg-3 fixed-lg p-lg-4">
- <h1>Hogumathi</h1>
- <ul>
- {% if nav_items %}
- {% for nav_item in nav_items|sort(attribute='order') %}
- <li><a href="{{ nav_item.href }}">{{ nav_item.label }}</a></li>
- {% endfor %}
- {% endif %}
-
- <!--
- <li><a href="javascript:document.body.classList.toggle('theme-dark')">Toggle Dark Mode</a></li>
- <li><a href="javascript:document.location.reload()">Refresh</a></li>
- -->
- </ul>
- {% if twitter_user or mastodon_user %}
- {% include "partial/compose-form.html" %}
- {% endif %}
- {% if False %}
- <!--
- {% include "partial/media-upload-form.html" %}
- -->
- {% endif %}
- <h2>Accounts</h2>
- {% include "partial/user-picker.html" %}
- {% if add_account_enabled %}
- <a href="{{ url_for('get_login_html') }}">Add account</a>
- {% endif %}
- </div>
- <div class="col-lg-9">
- {% block content %}{% endblock %}
- </div>
- </div>
- </div>
- </body>
- </html>
|