Added Copying to app

- Added Copying to sidebar in the running application
- Added source link to comply with the AGPL
This commit is contained in:
Johannes Randerath
2024-07-09 02:36:07 +02:00
parent 3853d25c1e
commit 91253f033a
10 changed files with 173 additions and 138 deletions

View File

@@ -27,41 +27,30 @@
<link rel="stylesheet" href="https://unpkg.com/leaflet-draw/dist/leaflet.draw.css" />
<link rel="stylesheet" href="https://unpkg.com/leaflet-routing-machine/dist/leaflet-routing-machine.css" />
<style>
body, html {
height: 100%;
margin: 0;
}
#map {
height: 100%;
width: 100%;
}
.sidebar {
height: 100%;
position: fixed;
top: 0;
left: 0;
width: 250px;
background-color: #f8f9fa;
border-right: 1px solid #dee2e6;
padding-top: 20px;
}
.content {
margin-left: 250px;
height: 100%;
}
.modal-body {
max-height: 60vh;
overflow-y: auto;
}
.route-list {
max-height: 400px;
overflow-y: scroll;
}
</style>
<link rel="stylesheet" href="{% static 'pt_map/style/style.css'%}" />
</head>
<body>
{% block content %}{% endblock %}
<script type="text/javascript" id="cookiebanner" data-zindex="1000" src="https://cdn.jsdelivr.net/gh/dobarkod/cookie-banner@1.2.2/dist/cookiebanner.min.js"></script>
<footer>
<table>
<tr>
<td>
Copyright (C) 2024 Janek Kiljanski, Johannes Randerath
</td>
<td></td>
<td>
This is free software. License: <a href="">AGPL</a>.
</td>
</tr>
<tr>
<td></td>
<td></td>
<td>
Download source code
</td>
</tr>
</table>
</footer>
</body>
</html>