diff --git a/templates/maps/dot.html b/templates/maps/dot.html new file mode 100644 index 0000000..00dcabb --- /dev/null +++ b/templates/maps/dot.html @@ -0,0 +1,63 @@ +{% extends 'base.html' %} +{% block main %} + + + + + {% include 'message_block.html' %} + +
+
+

Точка топологии

+
+
+ + {% if dot.id %} +
+ {% else %} + + {% endif %} + {% csrf_token %} + +
+ +
+ + {{ form.title }}{{ form.title.errors }} +
+
+ +
+ +
+ + {{ form.longitude }}{{ form.longitude.errors }} +
+
+ +
+ +
+ + {{ form.latitude }}{{ form.latitude.errors }} +
+
+ +
+ + +
+ +
+
+
+ +{% endblock %} \ No newline at end of file diff --git a/templates/maps/modal_add_dot.html b/templates/maps/modal_add_dot.html new file mode 100644 index 0000000..ed41cc0 --- /dev/null +++ b/templates/maps/modal_add_dot.html @@ -0,0 +1,16 @@ +
{% csrf_token %} + + +
diff --git a/templates/maps/options.html b/templates/maps/options.html new file mode 100644 index 0000000..65451bd --- /dev/null +++ b/templates/maps/options.html @@ -0,0 +1,67 @@ +{% extends 'base.html' %} +{% block main %} + + + + + {% include 'message_block.html' %} + +

Точки топологии

+
+ + + + + + + + + + + + + {% for dot in dots %} + + + + + + {% empty %} + + + + {% endfor %} + + + + + + +
НазваниеLongitudelatitudeРед.Уд.
{{ dot.title }}{{ dot.longitude }}{{ dot.latitude }} + + {% if perms.mapapp.change_dot %} + + + + {% endif %} + + {% if perms.mapapp.delete_dot %} + + + + {% endif %} + +
Вы ещё не создавали точки топологии. Создать
+ + + +
+
+ + {% include 'toolbar_page.html' with pag=dots %} +{% endblock %} diff --git a/templates/maps/ya_index.html b/templates/maps/ya_index.html new file mode 100644 index 0000000..cc4dd25 --- /dev/null +++ b/templates/maps/ya_index.html @@ -0,0 +1,54 @@ +{% extends 'base_no_lmenu.html' %} +{% block main %} + + + + + +
+ +{% endblock %} \ No newline at end of file