diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-01-31 20:08:20 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-01-31 20:08:20 +0200 |
commit | c0121b9b7f5041f6434a2e2dd24d3c68ed84b582 (patch) | |
tree | e3e8d0a05c45dabcc2a0399f902c6a59c92a9f4f /timer/templates/labels.html | |
parent | e613dc2b8b17e6f58a9666bee03578bb7ffc4067 (diff) | |
download | opus-c0121b9b7f5041f6434a2e2dd24d3c68ed84b582.tar.gz opus-c0121b9b7f5041f6434a2e2dd24d3c68ed84b582.tar.bz2 opus-c0121b9b7f5041f6434a2e2dd24d3c68ed84b582.zip |
Initial commit
Diffstat (limited to 'timer/templates/labels.html')
-rw-r--r-- | timer/templates/labels.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/timer/templates/labels.html b/timer/templates/labels.html new file mode 100644 index 0000000..325f5e7 --- /dev/null +++ b/timer/templates/labels.html @@ -0,0 +1,31 @@ +{% extends "timer.html" %} + +{% block content %} +<div data-role="page"> + <div data-role="header"> + <h1>Labels</h1> + <a href="#labelPopup" data-icon="plus" data-rel="popup" data-position-to="window">Add</a> + </div> + <div data-role="content"> + <ul data-role="listview" id="labelList"> + {% include "label_list.html" %} + </ul> + </div> + <div data-role="popup" id="labelPopup" class="ui-content"> + <form method="post" action="/timer/labels/new/"> + {% csrf_token %} + <input type="text" name="title"/> + <select name="color"> + <option>Red</option> + <option>Orange</option> + <option>Yellow</option> + <option>Green</option> + <option>Blue</option> + <option>Purple</option> + <option>Brown</option> + </select> + <button type="submit">Save</button> + </form> + </div> +</div> +{% endblock content %} |