Hype/web/templates/base.html

47 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2023-06-22 13:30:22 +00:00
<!DOCTYPE html>
<html>
<head>
<!-- -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<!-- -->
<link href="{{url_for('static', filename = 'style.css')}}" rel="stylesheet">
{{ fontawesome_css() }}
{{ dropzone.load_css() }}
{{ dropzone.style('border: 2px dashed #000; min-height: 200px;text-align:center;') }}
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<title>{{ title }}</title>
<br>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
<body>
<div class="logout">
<ul>
{% for item in nav.top %}
<li class="{{ 'active' if item.is_active else '' }}">
<a href="{{ item.url }}">{{ item.label }}</a>
</li>
{% endfor %}
<li style="float:right;">
<a href="logout"><span class="fas fa-user" style="display: inline;"></span> Logout</a>
</li>
<li style="float:right;">
<a href="javascript:window.location.href=window.location.href"><span class="fas fa-sync" style="display: inline;"></span></a>
</li>
</ul>
</div>
<!-- <div id="titre">{{ title }}</div> -->
<div class="space"></div>
{{ alertmessage | safe }}
<div id="loading"><center><img src="{{url_for('static', filename = 'logo.gif')}}"></center></div>
<div id="content">
<center>