chiark / gitweb /
Style button as well. Consistent in IE and FF, a bit off in Safari.
[disorder] / templates / new.tmpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <!--
3 This file is part of DisOrder.
4 Copyright (C) 2004-2008 Richard Kettlewell
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19 USA
20 -->
21 <html>
22  <head>
23 @stdhead{new}
24  </head>
25  <body>
26 @stdmenu{new}
27   <h1>@label{new.title}</h1>
28
29 @# Only display the table if there is something to put in it
30 @if{@isnew}{
31   <table class=new>
32     <tr class=headings>
33      <th class=artist>@label{heading.artist}</th>
34      <th class=album>@label{heading.album}</th>
35      <th class=title>@label{heading.title}</th>
36      <th class=length>@label{heading.length}</th>
37 @right{prefs}{
38      <th class=button>&nbsp;</th>}
39     </tr>
40     @new{
41     <tr class=@parity>
42      <td class=artist>@martist{new}{@track}</td>
43      <td class=album>@malbum{new}{@track}</td>
44      <td class=title>@mtitleplay{new}{@track}</td>
45      <td class=length>@length{@track}</td>
46      @right{prefs}{
47      <td class=imgbutton>
48       <a class=imgbutton
49          href="@url?action=prefs&#38;track=@urlquote{@track}">
50        <img class=button src="@image{edit}"
51             title="@label{choose.prefsverbose}"
52             alt="@label{choose.prefs}">
53       </a>
54      </td>
55     </tr>}
56     }
57   </table>
58 }
59
60 @credits
61  </body>
62 </html>
63 @discard{
64 Local variables:
65 mode:sgml
66 sgml-always-quote-attributes:nil
67 sgml-indent-step:1
68 sgml-indent-data:t
69 indent-tabs-mode:nil
70 fill-column:79
71 End:
72 }@#