Add file download ability
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>The Villages Import Tools</title>
|
||||
<title>OSM Import Tools</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
@@ -63,6 +63,7 @@
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
transition: background 0.2s;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.script-button:hover {
|
||||
@@ -167,7 +168,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>The Villages Import Tools</h1>
|
||||
<h1>OSM Import Tools</h1>
|
||||
<p class="subtitle">Run data processing scripts and view results</p>
|
||||
|
||||
<div class="section">
|
||||
@@ -214,6 +215,31 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h2>Data Downloads</h2>
|
||||
|
||||
{% for county, file_names in data_files.items() %}
|
||||
<div class="county-group">
|
||||
<h3>{{ county|title }}</h3>
|
||||
|
||||
{% for file_name in file_names %}
|
||||
<div class="button-grid">
|
||||
{% if 'lake' in county %}
|
||||
<a class="script-button lake" href="/data/latest/{{ county }}/{{ file_name }}">
|
||||
{{ file_name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if 'sumter' in county %}
|
||||
<a class="script-button sumter" href="/data/latest/{{ county }}/{{ file_name }}">
|
||||
{{ file_name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="log-viewer">
|
||||
<h2>Script Output</h2>
|
||||
<div id="status" class="status-message"></div>
|
||||
|
||||
Reference in New Issue
Block a user