summaryrefslogtreecommitdiff
path: root/templates/main_map.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/main_map.html')
-rw-r--r--templates/main_map.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/main_map.html b/templates/main_map.html
new file mode 100644
index 0000000..3f43131
--- /dev/null
+++ b/templates/main_map.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% block sidebar %}
+<div id='panel'>
+<form method='post' name='frm_categories' id='frm_categories'>
+<ul id='categories'>{% for category, lst_sub_categories in sub_categories %}
+ <li>{% trans category.name %}
+ <ul class='subcategories'>{% for sub_category in lst_sub_categories %}
+ <li><input type='checkbox' onclick='loadMarkers()' name='category_{{sub_category.id}}' id='{{sub_category.id}}'{% if sub_category.selected %} checked='checked'{% endif %}/> <label for='{{sub_category.id}}'><img alt='{{sub_category.name}}' src='{{media_path}}{{sub_category.icon.image}}'/> {% trans sub_category.name %}</label></li>{% endfor %}
+ </ul>
+ </li>{% endfor %}
+</ul>
+</form>
+</div>
+<div id='detail'>
+<h2>{% trans "Detail" %}</h2>
+<div id='detail_content'>
+</div>
+</div>{% endblock %}
+{% block content %}<div id='map'></div>
+<script type='text/javascript'><!--
+init();
+// --> </script>{% endblock %}