chiark / gitweb /
cgi css: tighten up spacing in status boxes etc
[disorder] / templates / choose.html
CommitLineData
460b9539 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
4Copyright (C) 2004, 2005 Richard Kettlewell
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:choose.title@</title>
25 </head>
26 <body>
e12da4d9 27@include{topbar}@
460b9539 28 <h1 class=title>@label:choose.title@</h1>
328248ba 29
30 @#{always have the first-letter bar, if choosealpha enabled}@
31 @if{@eq{@label:sidebar.choosewhich@}{choosealpha}@}{
32
33 <p class=choosealpha>
34 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?a">A</a> |
35 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?b">B</a> |
36 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?c">C</a> |
37 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?d">D</a> |
38 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?e">E</a> |
39 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?f">F</a> |
40 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?g">G</a> |
41 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?h">H</a> |
42 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?i">I</a> |
43 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?j">J</a> |
44 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?k">K</a> |
45 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?l">L</a> |
46 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?m">M</a> |
47 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?n">N</a> |
48 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?o">O</a> |
49 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?p">P</a> |
50 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?q">Q</a> |
51 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?r">R</a> |
52 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?s">S</a> |
53 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(?!the [^t])t">T</a> |
54 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?u">U</a> |
55 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?v">V</a> |
56 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?w">W</a> |
57 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?x">X</a> |
58 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?y">Y</a> |
59 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?z">Z</a> |
60 <a class=choosealpha href="@url@?action=choose&#38;regexp=^[^a-z]">*</a>
61 </p>
62 }@
460b9539 63
64 @if{@ne{@arg:directory@}{}@}{
65 <p class=directoryname>@navigate{@arg:directory@}{/<a
66 class=directory
b415c101 67 href="@url@?action=choose&#38;directory=@urlquote{@fullname@}@&#38;nonce=@nonce@">@basename@</a>}@:</p>
460b9539 68 }@
69
70 @if{@isdirectories@}{
71 <div class=directories>
72 <p class=directories>
73 @label:choose.directories@
74 </p>
75 @choose{directories}{
76 <p class=directory>
b415c101 77 <a class=directory href="@url@?action=choose&#38;directory=@urlquote{@file@}@&#38;nonce=@nonce@">
460b9539 78 @transform{@file@}{dir}{display}@
79 </a>
80 </p>
81 }@
82 </div>
83 }@
84 @if{@isfiles@}{
85 <div class=files>
86 <p class=files>
87 @label:choose.files@
88 </p>
89 @choose{files}{
90 <p class=file>
6e261971 91 @right{prefs}{<a class=imgprefs
92 href="@url@?action=prefs&#38;0_file=@urlquote{@resolve{@file@}@}@&#38;nonce=@nonce@"
93 ><img class=button
8f9616f1 94 src="@@image:edit@"
6e261971 95 title="@label:choose.prefsverbose@"
96 alt="@label:choose.prefs@"></a>}@
78efa64e
RK
97 <a class=file
98 href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@&#38;nonce=@nonce@"
99 title="@label:choose.play@">@transform{@file@}{track}{display}@</a>
460b9539 100 @if{@eq{@trackstate{@file@}@}{playing}@}{[<b>playing</b>]}@
101 @if{@eq{@trackstate{@file@}@}{queued}@}{[<b>queued</b>]}@
102 </p>
103 }@
104 </div>
105 <p class=allfiles>
6e261971 106 @right{prefs}{<a class=imgprefs
107 href="@url@?action=prefs&#38;directory=@urlquote{@arg:directory@}@&#38;nonce=@nonce@&#38;back=@urlquote{@thisurl@}@"
108 ><img class=button
8f9616f1 109 src="@@image:edit@"
6e261971 110 title="@label:choose.allprefsverbose@"
111 alt="@label:choose.allprefs@"></a>}@
b415c101 112 <a class=allfiles href="@url@?action=play&#38;directory=@urlquote{@arg:directory@}@&#38;nonce=@nonce@&#38;back=@urlquote{@thisurl@}@">
460b9539 113 @label:choose.playall@
114 </a>
115 </p>
116 }@
117
e12da4d9 118@include{topbarend}@
460b9539 119 </body>
120</html>
121@@
122<!--
123Local variables:
124mode:sgml
125sgml-always-quote-attributes:nil
126sgml-indent-step:1
127sgml-indent-data:t
128End:
129-->