chiark / gitweb /
Go through CSS and rationalize it. Some cosmetic improvements too.
[disorder] / templates / prefs.html
CommitLineData
460b9539 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
3225872d 4Copyright (C) 2004, 2005, 2006, 2008 Richard Kettlewell
460b9539 5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19USA
20-->
21<html>
22 <head>
23@include:stdhead@
24 <title>@label:prefs.title@</title>
25 </head>
26 <body>
e12da4d9 27@include{topbar}@
3225872d 28 <h1>@label:prefs.title@</h1>
460b9539 29
30 <form class=prefs action="@url@" method=POST
31 enctype="multipart/form-data" accept-charset=utf-8>
32 <input type=hidden name="files" value="@nfiles@">
460b9539 33 <input type=hidden name=parts value="artist album title">
34 @files{
35 <p class="prefs_head">Preferences for <span class="prefs_track">@arg{@index@_file}@</span></p>
36 <input type=hidden name="@index@_file" value="@arg{@index@_file}@">
37 <table class=prefs>
3225872d 38 <tr class="headings">
460b9539 39 <th class="prefs_name">@label:prefs.name@</th>
40 <th class="prefs_value">@label:prefs.value@</th>
41 </tr>
42 <tr class=even>
43 <td class="prefs_name">@label:heading.title@</td>
3225872d 44 <td class="prefs_value"><input size=40 type=text name="@index@_title" value="@part{display}{title}{@arg{@index@_file}@}@"></td>
460b9539 45 </tr>
46 <tr class=odd>
47 <td class="prefs_name">@label:heading.album@</td>
3225872d 48 <td class="prefs_value"><input size=40 type=text name="@index@_album" value="@part{display}{album}{@arg{@index@_file}@}@"></td>
460b9539 49 </tr>
50 <tr class=even>
51 <td class="prefs_name">@label:heading.artist@</td>
3225872d 52 <td class="prefs_value"><input size=40 type=text name="@index@_artist" value="@part{display}{artist}{@arg{@index@_file}@}@"></td>
460b9539 53 </tr>
54 <tr class=odd>
55 <td class="prefs_name">@label:prefs.tags@</td>
3225872d 56 <td class="prefs_value"><input size=40 type=text name="@index@_tags" value="@pref{@arg{@index@_file}@}{tags}@"></td>
460b9539 57 </tr>
58 <tr class=even>
59 <td class="prefs_name">@label:prefs.random@</td>
3225872d 60 <td class="prefs_value"><input type=checkbox
460b9539 61 name="@index@_random" value=true
62 @if{@ne{@pref{@arg{@index@_file}@}{pick_at_random}@}{0}@}{ checked}{}@></td>
63 </table>
64 }@
65
66 <p>
3225872d 67 <button type=submit name=submit>
460b9539 68 @label:prefs.set@
69 </button>
bf9df44a 70 <input name=action type=hidden value=prefs>
460b9539 71 </p>
72 </form>
73
e12da4d9 74@include{topbarend}@
460b9539 75 </body>
76</html>
77@@
78<!--
79Local variables:
80mode:sgml
81sgml-always-quote-attributes:nil
82sgml-indent-step:1
83sgml-indent-data:t
84End:
85-->