diff options
author | Filipp Lepalaan <f@230.to> | 2013-11-27 13:35:55 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-11-27 13:35:55 +0200 |
commit | 1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d (patch) | |
tree | 715bb49e2521b2ed9ebbaf5585ef43c7848e41da /templates/issues/device.html | |
parent | 8782fbe4766dc57e517eec622879d672d6d68378 (diff) | |
download | motor.old-1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d.tar.gz motor.old-1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d.tar.bz2 motor.old-1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d.zip |
A bunch of fixes
Diffstat (limited to 'templates/issues/device.html')
-rw-r--r-- | templates/issues/device.html | 44 |
1 files changed, 40 insertions, 4 deletions
diff --git a/templates/issues/device.html b/templates/issues/device.html index def5b8b..66830d3 100644 --- a/templates/issues/device.html +++ b/templates/issues/device.html @@ -1,7 +1,43 @@ -{% extends "issues/index.html" %} +{% extends "issues/warranty.html" %} +{% load i18n %} {% block main %} - {% for k, v in models.items %} - <a href="{% url 'issues-choose_device' k %}">{{ v.name }}</a> - {% endfor %} +<h2>{% trans "Choose Your Device" %}</h2> +<p>Help text..</p> +<div class="devices"> + <div class="row"> + <div class="col-md-3"> + <a href="{% url 'issues-choose_device' 'mac' %}"> + <img src="{{ STATIC_URL }}img/products/mac.png"/> + <div>{% trans "Mac" %}</div> + </a> + </div> + <div class="col-md-3"> + <a href="{% url 'issues-choose_device' 'ipod' %}"> + <img src="{{ STATIC_URL }}img/products/ipod.png"/> + <div>{% trans "iPod" %}</div> + </a> + </div> + <div class="col-md-3"> + <a href="{% url 'issues-choose_device' 'iphone' %}"> + <img src="{{ STATIC_URL }}img/products/iphone.png"/> + <div>{% trans "iPhone" %}</div> + </a> + </div> + <div class="col-md-3"> + <a href="{% url 'issues-choose_device' 'ipad' %}"> + <img src="{{ STATIC_URL }}img/products/ipad.png"/> + <div>{% trans "iPad" %}</div> + </a> + </div> + </div> + <div class="row"> + <div class="col-md-3"> + <a href="{% url 'issues-choose_device' 'other' %}"> + <img src="{{ STATIC_URL }}img/products/other.png"/> + <div>{% trans "Other" %}</div> + </a> + </div> + </div> +</div> {% endblock main %} |