First commit of POC version
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ title or "L@PP" }}</title>
|
||||
|
||||
<link href="/static/bootstrap.min.css" rel="stylesheet">
|
||||
<script src="/static/jquery.min.js"></script>
|
||||
<script src="/static/bootstrap.min.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
padding-top: 64px;
|
||||
}
|
||||
.topbar {
|
||||
height: 56px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="bg-light">
|
||||
|
||||
<!-- Top Bar -->
|
||||
<nav class="navbar fixed-top navbar-light bg-white border-bottom topbar">
|
||||
<div class="container-fluid">
|
||||
<span class="navbar-brand fw-semibold">
|
||||
<a class="btn btn-light" href="{{ logo_url or '/' }}" role="button">L@PP</a>
|
||||
{% if button_top_url1 and button_top_txt1 %}
|
||||
<a href="{{ button_top_url1 }}"><img style="width: 2em; height: 2em" src="/static/{{ button_top_txt1 }}.svg"></a>
|
||||
{% endif %}
|
||||
{% if button_top_url2 and button_top_txt2 %}
|
||||
<a href="{{ button_top_url2 }}"><img style="width: 2em; height: 2em" src="/static/{{ button_top_txt2 }}.svg"></a>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
{% if current_user.is_authenticated %}
|
||||
<span class="text-muted small d-none d-sm-inline">
|
||||
{{ current_user.name }}
|
||||
</span>
|
||||
<a href="{{ url_for('auth.logout') }}"
|
||||
>
|
||||
<img style="width: 2em; height: 2em" src="/static/logout.svg">
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('auth.login') }}"
|
||||
>
|
||||
<img style="width: 2em; height: 2em" src="/static/login.svg"></a>
|
||||
</a>
|
||||
<a href="{{ url_for('auth.register') }}"
|
||||
>
|
||||
<img style="width: 2em; height: 2em" src="/static/register.svg"></a>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Main Content -->
|
||||
<div class="container py-4">
|
||||
<div class="mx-auto" style="max-width: 420px;">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user