diff options
Diffstat (limited to 'templates/agenda/map_view.html')
-rwxr-xr-x | templates/agenda/map_view.html | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/templates/agenda/map_view.html b/templates/agenda/map_view.html new file mode 100755 index 0000000..6e6eb99 --- /dev/null +++ b/templates/agenda/map_view.html @@ -0,0 +1,89 @@ +{% extends "agenda/billboard_base.html" %} +{% load i18n %} +{% load comments %} + +{% block refresh %}{{ style.refresh }}{% endblock %} +{% block body_style %}" background="/media/{{ event.location.picture }}{% endblock %} +{% block style %} +body { + font-family: Verdana, Arial, sans-serif; +} +#title { + color: #{{ style.color1 }}; + background-color: #{{ style.color2 }}; + position: absolute; + left: 300px; + top: 100px; + {% if style.csstitle %}{{ style.csstitle }}{% endif %} + width: 500px; height: 90px; + z-index:3; +} +#location { + color: #{{ style.color2 }}; + background-color: #{{ style.color1 }}; + position: absolute; + right: 50px; + bottom: 50px; + {% if style.csslocation %} {{ style.csslocation }}{% endif %} + width: 210px; + {% if event.location.picture %}height: 190px;{% else %}height: 50px;{% endif %} + display: block; + z-index:4; + +} + +#date { + color: #{{ style.color1 }}; + background-color: #{{ style.color2 }}; + left: 200px; + top: 100px; + {% if style.cssdate %}{{ style.cssdate }}{% endif %} + width: 180px; height: 50px; + display: block; + +} +#description { + color: #{{ style.color3 }}; + background-color: #{{ style.color1 }}; + position: absolute; + left: 150px; + {% if style.cssdescription %}{{ style.cssdescription }}{% endif %} + top: 280px; + width: 300px; height: 150px; + display: block; + z-index:2; + +} + + {% endblock %} + +{% block content %} +{% if location %} location: {{ location }} {% endif %} +{% if list %} list: {{ list }} {% endif %} +<div id='title'><h1>{{ event.title }}</h1></div> +<!--<A HREF="/media/maps/event_{{ event.id }}.map"><img src="/media/maps/event_{{ event.id }}.png" ismap="ismap" border="0"></A> !--> +<img src="/media/maps/event_{{ event.id }}.png" USEMAP="#ismap" border="0"> +<map name="ismap"> + {{ map_coordinates|safe }} +</map> + + +{% if event.location %}<div id='location'>{{ event.location }} + + {% if event.location.picture %} + <img src="/media/{{ event.location.picture }}" width="200px"> + {% endif %} +</div> +{% endif %} +<p><p><p><p> +{% if event.start_date %}<div id='date'>{% trans 'When' %}: {{ event.start_date|date }}</div>{% endif %} + +{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} +{% if event.description %}<div id='description'>{% trans 'Description' %}: {{ event.description|truncatewords:"30"|escape }}</div>{% endif %} + +{% if event.picture %}<img src="/media/{{ event.picture }}" width="300px"><br>{% endif %} + {% endblock %} + {% block endscript %} + {% endblock %} + + {{ event.group.all.iterator.networkevent.all }} |