From: rjk@greenend.org.uk <>
Date: Tue, 1 Jan 2008 18:55:51 +0000 (+0000)
Subject: Various visual improvements to web interface
X-Git-Tag: 3.0~100
X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/328248baff5193180b6658e15503053ea8eeeb3f?ds=sidebyside
Various visual improvements to web interface
---
diff --git a/templates/about.html b/templates/about.html
index 5022e35..8d0db92 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -30,6 +30,7 @@ USA
Copyright
DisOrder
version @version@ - select and play digital
audio files
diff --git a/templates/choose.html b/templates/choose.html
index 394397e..7b8e786 100644
--- a/templates/choose.html
+++ b/templates/choose.html
@@ -26,6 +26,40 @@ USA
@include{topbar}@
@label:choose.title@
+
+ @#{always have the first-letter bar, if choosealpha enabled}@
+ @if{@eq{@label:sidebar.choosewhich@}{choosealpha}@}{
+
+
+ A |
+ B |
+ C |
+ D |
+ E |
+ F |
+ G |
+ H |
+ I |
+ J |
+ K |
+ L |
+ M |
+ N |
+ O |
+ P |
+ Q |
+ R |
+ S |
+ T |
+ U |
+ V |
+ W |
+ X |
+ Y |
+ Z |
+ *
+
+ }@
@if{@ne{@arg:directory@}{}@}{
@navigate{@arg:directory@}{/@label:error.title@
+
@label{error.@label:error@}@
@label:error.generic@
+
@include{topbarend}@
diff --git a/templates/login.html b/templates/login.html
index ab943f9..8516de2 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -29,12 +29,16 @@ USA
@if{@ne{@label:error@}{error}@}{
@#{error reporting from some earlier operation}@
- @label{error.@label:error@}@
+
+
@label{error.@label:error@}@
+
}@
@if{@ne{@label:status@}{status}@}{
@#{some action succeeded}@
- @label{login.@label:status@}@
+
+
@label{login.@label:status@}@
+
}@
@if{@eq{@user@}{guest}@}{
diff --git a/templates/options.labels b/templates/options.labels
index cb41b62..d81f7be 100644
--- a/templates/options.labels
+++ b/templates/options.labels
@@ -79,10 +79,10 @@ label playing.albumverbose "more tracks from this album"
label recent.title "Recently Played"
# for new tracks page
-label new.title "New tracks"
+label new.title "New Tracks"
# for choose track page
-label choose.title "Pick track"
+label choose.title "Pick Track"
# Text for play all button
label choose.playall "Play all"
@@ -130,7 +130,7 @@ label prefs.random "Random play"
label prefs.tags "Tags"
# for help page
-label help.title "DisOrder help"
+label help.title "DisOrder Help"
# for login page
label login.title "DisOrder Login"
diff --git a/templates/playing.html b/templates/playing.html
index 19e0861..b0b186f 100644
--- a/templates/playing.html
+++ b/templates/playing.html
@@ -29,6 +29,7 @@ USA
@#{extra control buttons for the management page}@
@if{@arg:mgmt@}{
+
@if{@paused@}{
@@ -110,6 +111,8 @@ USA
}{
}@
+
+
}@
@#{only display the table if there is something to put in it}@
diff --git a/templates/search.html b/templates/search.html
index f1f7d5e..457186d 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -29,14 +29,14 @@ USA
diff --git a/templates/topbar.html b/templates/topbar.html
index 4935829..a1e89ee 100644
--- a/templates/topbar.html
+++ b/templates/topbar.html
@@ -31,7 +31,10 @@
-