From 3e2fb90a16de767fa62b4ec4d7bd82d6e9ff12d2 Mon Sep 17 00:00:00 2001 From: Juhana Luomanen Date: Sat, 27 May 2017 13:53:33 +0300 Subject: [PATCH] Add tab for rotation management --- infoscreen/templates/infoscreen_admin.html | 58 ++++++++++++++++++++-- 1 file changed, 53 insertions(+), 5 deletions(-) diff --git a/infoscreen/templates/infoscreen_admin.html b/infoscreen/templates/infoscreen_admin.html index 032550f..04e80d9 100644 --- a/infoscreen/templates/infoscreen_admin.html +++ b/infoscreen/templates/infoscreen_admin.html @@ -34,6 +34,8 @@
@@ -59,15 +61,11 @@ {% trans "Item" %} {% trans "Type" %} - {% trans "Set duration" %} - {% trans "Add to rotation" %} {% trans "Delete" %} {$ i.name $} {$ i.display_name $} - - @@ -75,7 +73,28 @@
-
+
+
+

{% trans "Info items" %}

+
{% trans "Infoitems available for rotations" %}
+ + + + + + + + + + + + + + + +
{% trans "Item" %}{% trans "Type" %}{% trans "Set duration" %}{% trans "Add to rotation" %}{% trans "Delete" %}
{$ i.name $}{$ i.display_name $}
+ +

{% trans "Rotations" %}

@@ -106,6 +125,7 @@
+

{% trans "Rotation" %}: {$ selected_rot.name $}

{% trans "Instances in currently selected rotation" %}:
@@ -122,6 +142,34 @@
+
+
+

{% trans "Rotations" %}

+
+ {% trans "Select rotation to edit" %}: +
+ + + + + + + + + + + + + + + + + + + +
{% trans "Rotation" %}{% trans "id" %}{% trans "Preview" %}{% trans "Delete" %}
{$ r.name $}{$ r.id $}
+
+