aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/devices/summary.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/summary.html
downloadServo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip
Initial commit
First public commit
Diffstat (limited to 'servo/templates/devices/summary.html')
-rwxr-xr-xservo/templates/devices/summary.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/servo/templates/devices/summary.html b/servo/templates/devices/summary.html
new file mode 100755
index 0000000..cc6b4dc
--- /dev/null
+++ b/servo/templates/devices/summary.html
@@ -0,0 +1,48 @@
+{% load i18n %}
+<div class="row-fluid">
+ <div class="span3">
+ <img src="{{ device.get_photo }}" alt="{{ device.description }}" title="{{ device.description }}" class="img-rounded"/>
+ </div>
+ <div class="span9">
+ <h3>{{ device.description }}</h3>
+ <dl class="dl-horizontal">
+ <dt>{% trans "Warranty Status" %}</dt>
+ <dd>{{ device.get_warranty_status_display }}</dd>
+ <dt>{% trans "Purchase Date" %}</dt>
+ <dd>{{ device.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ device.get_purchase_country|default:"-" }}</dd>
+ <dt>{% trans "Serial Number" %}</dt>
+ <dd>{{ device.sn|default:"-" }}</dd>
+ {% if device.configuration %}
+ <dt>{% trans "Configration" %}</dt>
+ <dd>{{ device.configuration }}</dd>
+ {% endif %}
+ {% if device.username %}
+ <dt>{% trans "Username" %}</dt>
+ <dd>{{ device.username }}</dd>
+ {% endif %}
+ {% if device.password %}
+ <dt>{% trans "Password" %}</dt>
+ <dd>{{ device.password }}</dd>
+ {% endif %}
+ {% if device.imei %}
+ <dt>{% trans "IMEI" %}</dt>
+ <dd>{{ device.imei }}</dd>
+ <dt>{% trans "Applied Activation Policy" %}</dt>
+ <dd>{{ device.applied_activation_policy }}</dd>
+ <dt>{% trans "Initial Activation Policy" %}</dt>
+ <dd>{{ device.initial_activation_policy }}</dd>
+ <dt>{% trans "Find My iPhone" %}</dt>
+ <dd>{{ device.get_fmip_status }}</dd>
+ <dt>{% trans "Unlocked" %}</dt>
+ <dd>{{ device.unlocked }}</dd>
+ {% endif %}
+ {% if device.notes %}
+ <dt>{% trans "Notes" %}</dt>
+ <dd>{{ device.notes }}</dd>
+ {% endif %}
+ </dl>
+ {% for t in device.tags.all %}
+ <span class="label">{{ t.tag }}</span>
+ {% endfor %}
+ </div>
+</div>