]> code.octet-stream.net Git - broadcaster/blobdiff - server/templates/playlist.html
Make headings consistent in UI
[broadcaster] / server / templates / playlist.html
index d778250ac609e5ba1e1b8147c34ca79ad4c5520f..4917a30228e3573a855891fadc03b5dc3ab6e8bf 100644 (file)
     }
     </script>
 
     }
     </script>
 
-    <h1>A specific playlist</h1>
-      <h2>
+      <h1>
       {{if .Playlist.Id}}
       Edit Playlist
       {{else}}
       Create New Playlist
       {{end}}
       {{if .Playlist.Id}}
       Edit Playlist
       {{else}}
       Create New Playlist
       {{end}}
-      </h2>
+      </h1>
       <form action="/playlists/submit" method="POST">
         <input type="hidden" name="playlistId" value="{{.Playlist.Id}}">
         <p>
       <form action="/playlists/submit" method="POST">
         <input type="hidden" name="playlistId" value="{{.Playlist.Id}}">
         <p>
         {{range .Entries}}
         <p>
         Wait until
         {{range .Entries}}
         <p>
         Wait until
-        <input type="text" name="delaySeconds" value="{{.DelaySeconds}}">
-        seconds from
+        <input type="text" name="delaySeconds" value="{{.DelaySeconds}}" class="seconds">
+        seconds
         <select name="isRelative">
         <select name="isRelative">
-          <option value="1">previous item</option>
-          <option value="0" {{if not .IsRelative}} selected="selected" {{end}}>start of transmission</option>
+          <option value="1">from previous</option>
+          <option value="0" {{if not .IsRelative}} selected="selected" {{end}}>from start</option>
         </select>
         then play
         <select name="filename">{{$f := .Filename}}
         </select>
         then play
         <select name="filename">{{$f := .Filename}}
@@ -52,7 +51,7 @@
           <option value="{{.}}" {{if eq . $f }} selected="selected" {{end}}>{{.}}</option>
           {{end}}
         </select>
           <option value="{{.}}" {{if eq . $f }} selected="selected" {{end}}>{{.}}</option>
           {{end}}
         </select>
-        <a href="#" onclick="deleteItem(this)">(Delete Item)</a>
+        <a href="#" onclick="deleteItem(this)">(Delete)</a>
         </p>
         {{end}}
         <p>
         </p>
         {{end}}
         <p>
       {{end}}
       <template id="item-template">
         Wait until
       {{end}}
       <template id="item-template">
         Wait until
-        <input type="text" name="delaySeconds" value="0">
-        seconds from
+        <input type="text" name="delaySeconds" value="0" class="seconds">
+        seconds
         <select name="isRelative">
         <select name="isRelative">
-          <option value="1">previous item</option>
-          <option value="0">start of transmission</option>
+          <option value="1">from previous</option>
+          <option value="0">from start</option>
         </select>
         then play
         <select name="filename">
         </select>
         then play
         <select name="filename">
@@ -86,5 +85,5 @@
           <option value="{{.}}">{{.}}</option>
           {{end}}
         </select>
           <option value="{{.}}">{{.}}</option>
           {{end}}
         </select>
-        <a href="#" onclick="deleteItem(this)">(Delete Item)</a>
+        <a href="#" onclick="deleteItem(this)">(Delete)</a>
       </template>
       </template>