chiark / gitweb /
Half way through rewriting web interface. Don't even think about
[disorder] / templates / prefs.html
diff --git a/templates/prefs.html b/templates/prefs.html
deleted file mode 100644 (file)
index 5e88890..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
-<!--
-This file is part of DisOrder.
-Copyright (C) 2004-2008 Richard Kettlewell
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
--->
-<html>
- <head>
-@include:stdhead@
-  <title>@label:prefs.title@</title>
- </head>
- <body>
-@include{topbar}@
-   <h1>@label:prefs.title@</h1>
-
-   <form class=prefs action="@url@" method=POST
-         enctype="multipart/form-data" accept-charset=utf-8>
-    <input type=hidden name="files" value="@nfiles@">
-    <input type=hidden name=parts value="artist album title">
-   @files{
-   <p class="prefs_head">Preferences for <span class="prefs_track">@arg{@index@_file}@</span></p>
-    <input type=hidden name="@index@_file" value="@arg{@index@_file}@">
-    <table class=prefs>
-      <tr class="headings">
-       <th class="prefs_name">@label:prefs.name@</th>
-       <th class="prefs_value">@label:prefs.value@</th>
-      </tr>
-      <tr class=even>
-       <td class="prefs_name">@label:heading.title@</td>
-       <td class="prefs_value"><input size=40 type=text name="@index@_title" value="@part{display}{title}{@arg{@index@_file}@}@"></td>
-      </tr>
-      <tr class=odd>
-       <td class="prefs_name">@label:heading.album@</td>
-       <td class="prefs_value"><input size=40 type=text name="@index@_album" value="@part{display}{album}{@arg{@index@_file}@}@"></td>
-      </tr>
-      <tr class=even>
-       <td class="prefs_name">@label:heading.artist@</td>
-       <td class="prefs_value"><input size=40 type=text name="@index@_artist" value="@part{display}{artist}{@arg{@index@_file}@}@"></td>
-      </tr>
-      <tr class=odd>
-       <td class="prefs_name">@label:prefs.tags@</td>
-       <td class="prefs_value"><input size=40 type=text name="@index@_tags" value="@pref{@arg{@index@_file}@}{tags}@"></td>
-      </tr>
-      <tr class=even>
-       <td class="prefs_name">@label:prefs.weight@</td>
-       <td class="prefs_value"><input size=40 type=text name="@index@_weight" value="@pref{@arg{@index@_file}@}{weight}@"></td>
-      </tr>
-      <tr class=odd>
-       <td class="prefs_name">@label:prefs.random@</td>
-       <td class="prefs_value"><input type=checkbox
-        name="@index@_random" value=true
-       @if{@ne{@pref{@arg{@index@_file}@}{pick_at_random}@}{0}@}{ checked}{}@></td>
-    </table>
-   }@
-    
-    <p>
-     <button type=submit name=submit>
-      @label:prefs.set@
-     </button>
-     <input name=action type=hidden value=prefs>
-    </p>
-   </form>
-
-@include{topbarend}@
- </body>
-</html>
-@@
-<!--
-Local variables:
-mode:sgml
-sgml-always-quote-attributes:nil
-sgml-indent-step:1
-sgml-indent-data:t
-End:
--->