]> code.octet-stream.net Git - broadcaster/blobdiff - templates/playlist.html
Allow web user to cancel transmission in progress
[broadcaster] / templates / playlist.html
index 88f17b74d815b320e893d8b9c816acc05e555f9c..1e550ca2263b23267c7cf4587101b0bf50e3ed2e 100644 (file)
@@ -49,8 +49,8 @@
         <input type="text" name="delaySeconds" value="{{.DelaySeconds}}">
         seconds from
         <select name="isRelative">
         <input type="text" name="delaySeconds" value="{{.DelaySeconds}}">
         seconds from
         <select name="isRelative">
-          <option value="0">start of transmission</option>
-          <option value="1" {{if .IsRelative}} selected="selected" {{end}}>previous item</option>
+          <option value="1">previous item</option>
+          <option value="0" {{if not .IsRelative}} selected="selected" {{end}}>start of transmission</option>
         </select>
         then play
         <select name="filename">{{$f := .Filename}}
         </select>
         then play
         <select name="filename">{{$f := .Filename}}
@@ -83,8 +83,8 @@
         <input type="text" name="delaySeconds" value="0">
         seconds from
         <select name="isRelative">
         <input type="text" name="delaySeconds" value="0">
         seconds from
         <select name="isRelative">
-          <option value="0">start of transmission</option>
           <option value="1">previous item</option>
           <option value="1">previous item</option>
+          <option value="0">start of transmission</option>
         </select>
         then play
         <select name="filename">
         </select>
         then play
         <select name="filename">