aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/devices/specs.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
commit63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch)
tree555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/devices/specs.html
downloadServo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip
Initial commit
First public commit
Diffstat (limited to 'servo/templates/devices/specs.html')
-rwxr-xr-xservo/templates/devices/specs.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/servo/templates/devices/specs.html b/servo/templates/devices/specs.html
new file mode 100755
index 0000000..dcad375
--- /dev/null
+++ b/servo/templates/devices/specs.html
@@ -0,0 +1,42 @@
+{% extends "devices/index.html" %}
+{% load mptt_tags %}
+{% load i18n %}
+
+{% block navtabs %}
+<ul class="nav nav-tabs" id="navtabs">
+ <li><a href="/devices/">{% trans "All" %}</a></li>
+ <li><a href="/devices/specs/">{% trans "Specs" %}</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans "Tagi" %} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ {% for t in tags %}
+ <li><a href="/customers/index/tag/{{ t.id }}/">{{ t.title }}</a></li>
+ {% endfor %}
+ </ul>
+ </li>
+ <li class="pull-right"><a href="/devices/specs/new/">{% trans "Luo malli" %}</a></li>
+</ul>
+{% endblock navtabs %}
+
+{% block content %}
+<div class="row">
+<div class="span3">
+ <ul>
+ {% recursetree specs %}
+ <li><a href="/devices/specs/{{ node.id }}/">{{ node.title }}</a>
+ {% if not node.is_leaf_node %}
+ <ul class="children">
+ {{ children }}
+ </ul>
+ {% endif %}
+ </li>
+ {% endrecursetree %}
+ </ul>
+ </div>
+
+ <div class="span9">
+ {% block specs %}
+ {% endblock specs %}
+ </div>
+</div>
+{% endblock content %}