summaryrefslogtreecommitdiff
path: root/tpls
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-09-01 01:18:14 +0200
committerKevin Chabowski <kevin@kch42.de>2013-09-01 01:18:14 +0200
commite48fbb7d9d4c659890b8f49210bdbcd4b8fbacb2 (patch)
treee08789b590c29fcb096f40b04734cf53a2336461 /tpls
parentf68f1f326a196882383e534ff5166bf91b4e079d (diff)
downloadmailremind-e48fbb7d9d4c659890b8f49210bdbcd4b8fbacb2.tar.gz
mailremind-e48fbb7d9d4c659890b8f49210bdbcd4b8fbacb2.tar.bz2
mailremind-e48fbb7d9d4c659890b8f49210bdbcd4b8fbacb2.zip
Jobeditor can now actually edit jobs.
Diffstat (limited to 'tpls')
-rw-r--r--tpls/jobedit.tpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/tpls/jobedit.tpl b/tpls/jobedit.tpl
index ef1d394..5896db9 100644
--- a/tpls/jobedit.tpl
+++ b/tpls/jobedit.tpl
@@ -26,7 +26,10 @@
<p>
<strong>Start:</strong>
<input type="text" name="Start" value="{{.Start}}" /><br />
- <input type="checkbox" name="RepetitionEnabled"{{if .RepetitionEnabled}} checked="checked"{{end}} />
+ <select name="RepetitionEnabled" size="0">
+ <option value="no"{{if not .RepetitionEnabled}} selected="selected"{{end}}>Off</option>
+ <option value="yes"{{if .RepetitionEnabled}} selected="selected"{{end}}>On</option>
+ </select>
<strong>Repetition:</strong>
<input type="text" name="Count" value="{{.Count}}" />
<select name="Unit" size="0">
@@ -38,7 +41,10 @@
<option value="Year"{{if .UnitIsYear}} selected="selected"{{end}}>Year(s)</option>
</select>
<br />
- <input type="checkbox" name="EndEnabled"{{if .EndEnabled}} checked="checked"{{end}} />
+ <select name="EndEnabled" size="0">
+ <option value="no"{{if not .EndEnabled}} selected="selected"{{end}}>Off</option>
+ <option value="yes"{{if .EndEnabled}} selected="selected"{{end}}>On</option>
+ </select>
<strong>End:</strong>
<input type="text" name="End" value="{{.End}}" />
</p>