mostly working templating for landing page
This commit is contained in:
36
web/base.html.jinja
Normal file
36
web/base.html.jinja
Normal file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=\, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css')}}">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
|
||||
<script src="{{ url_for('static', filename='scripts.js') }}"></script>
|
||||
<title>{{ pagetitle }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main-flex">
|
||||
<div class="navbar">
|
||||
<div class="topbranding">{{ top_branding }}</div>
|
||||
<div class="navbar-inner">
|
||||
<b><a href="index.html">Home</a></b><br>
|
||||
<i class="bi bi-arrow-down-square-fill"> </i>Rooms<br>
|
||||
<hr>
|
||||
<a href="device.html">Device Management</a><br>
|
||||
<a href="users.html">User Management</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right-flex">
|
||||
<div class="topline">
|
||||
<div class="user section"> {{ userinfo.name }}</div>
|
||||
<div class="logout section"> <a href="logout">
|
||||
Logout <i class="bi bi-power"></i>
|
||||
</a></div>
|
||||
</div>
|
||||
{% block content %}
|
||||
|
||||
{% endblock content %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user