fine tuning + privacy
parent
cd3de08c4f
commit
96e1f8d02a
Binary file not shown.
Binary file not shown.
@ -1,9 +1,14 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
<div class="content_container">
|
||||||
<h1 class="page-header">About</h1>
|
<h1 class="page-header">About</h1>
|
||||||
<div style="width: 900px;">
|
<div style="max-width: 900px;">
|
||||||
<p>About</p>
|
<p>This webpage is part of the projekt Hunting Mosquitos by Angeliki Diakrousi</p>
|
||||||
|
<p>
|
||||||
|
The site is running on a flask instance, storing data in a SQLite database. The location is tracked using the geolocation API. Audio is recorded through the WebAudio API.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block main %}
|
||||||
|
{% from "_formhelpers.html" import render_field %}
|
||||||
|
<div class="content_container">
|
||||||
|
<h1 class="page-header">Add Hangout</h1>
|
||||||
|
{% with messages = get_flashed_messages() %}
|
||||||
|
{% if messages %}
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
<ul>
|
||||||
|
{% for message in messages %}
|
||||||
|
<li>{{ message }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
|
{% block privacy_note_submit %}
|
||||||
|
{% include "privacy_note_submit.html" %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
<form method="POST" action="{{ url_for('add_hangout', lng=longitude, lat=latitude) }}" enctype=multipart/form-data>
|
||||||
|
{{ form.csrf_token }}
|
||||||
|
<input type="hidden" name="longitude" value="{{ longitude }}" />
|
||||||
|
<input type="hidden" name="latitude" value="{{ latitude }}" />
|
||||||
|
<button type="submit">Submit</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<clear>
|
||||||
|
{% endblock main %}
|
||||||
|
|
@ -0,0 +1,30 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block main %}
|
||||||
|
{% from "_formhelpers.html" import render_field %}
|
||||||
|
<div class="content_container">
|
||||||
|
<h1 class="page-header">Add Mosquito</h1>
|
||||||
|
{% with messages = get_flashed_messages() %}
|
||||||
|
{% if messages %}
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
<ul>
|
||||||
|
{% for message in messages %}
|
||||||
|
<li>{{ message }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
|
{% block privacy_note_submit %}
|
||||||
|
{% include "privacy_note_submit.html" %}
|
||||||
|
{% endblock %}
|
||||||
|
<form method="POST" action="{{ url_for('add_mosquito', lng=longitude, lat=latitude) }}" enctype=multipart/form-data>
|
||||||
|
{{ form.csrf_token }}
|
||||||
|
<input type="hidden" name="longitude" value="{{ longitude }}" />
|
||||||
|
<input type="hidden" name="latitude" value="{{ latitude }}" />
|
||||||
|
<button type="submit">Submit</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<clear>
|
||||||
|
{% endblock main %}
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block main %}
|
||||||
|
<div class="content_container">
|
||||||
|
<h1 class="page-header">Privacy Statement</h1>
|
||||||
|
<div style="max-width: 900px;">
|
||||||
|
<p>Please note that all data submitted to this platform will be part of the exhibition.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endblock %}
|
@ -0,0 +1,2 @@
|
|||||||
|
<p>Are you sure you want to add <strong>{{ longitude }}, {{ latitude }}</strong> to the map?</p>
|
||||||
|
<p>Please note that all data submitted need to conform to the privacy statement. By submitting you agree that you have read and understood the statement. </p>
|
Loading…
Reference in New Issue