mappa-ricezione-radio/rxmap/rxmapp/templates/base.html
2020-03-07 19:22:25 +01:00

76 lines
2.3 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
{% block all_css %}
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
{% block extra_css %}
{% endblock extra_css %}
{% endblock all_css %}
<style>
#mapid { height: 700px; z-index: 2;}
.hidden { display: none; }
nav > ul {
background: #fbfbfb;
padding: 1em 0;
}
nav li { display: inline; }
nav li.brand { padding-right: 2em; }
nav li.navigation {
border: 1px solid gray;
border-radius: 0.4em;
padding: 0.1em 1em;
}
nav a[href] {
color: darkred;
font-size: 1.4em;
font-family: Verdana, sans-serif;
text-decoration: none;
}
footer {
text-align: right;
padding-top: 1em;
}
/*.ui-dialog, .ui-front, #dialog { z-index: 1000 !important; }*/
</style>
</head>
<body>
<nav>
<ul>
<li class="brand"><strong>WomMap</strong></li>
<li class="navigation"><a href="{% url 'home' %}">Vedi</a></li>
<li class="navigation"><a href="{% url 'add' %}">Aggiungi</a></li>
</ul>
</nav>
{% block main %}
<div id="main">
<div id="content">
{% block content %}
{% endblock content %}
</div>
<div id="mapid"></div>
</div>
{% endblock main %}
{% block all_scripts %}
<!-- Make sure you put this AFTER Leaflet's CSS -->
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"
integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
crossorigin=""></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
{% block extra_scripts %}
{% endblock extra_scripts %}
{% endblock %}
<footer>
<span style="float:left;">
<a href="{% url 'admin:index' %}">Admin</a>
</span>
<span>
<a title="Show us the code" href="https://git.lattuga.net/boyska/mappa-ricezione-radio">Talk is cheap</a>
</span>
</footer>
</body>
</html>