Merge branch 'geo' of https://git.xpub.nl/XPUB/XPPL into geo
commit
6c7e6f0f60
Binary file not shown.
Binary file not shown.
@ -1,9 +1,14 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<h1 class="page-header">About</h1>
|
<div class="content_container">
|
||||||
<div style="width: 900px;">
|
<h1 class="page-header">About</h1>
|
||||||
<p>About</p>
|
<div style="max-width: 900px;">
|
||||||
|
<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