From fa170afd817648f306e322802ca85b6abbd37f74 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 Jun 2011 16:33:26 +0200 Subject: Initial commit --- templates/album.template | 58 ++++++++++ templates/albumnarrow.template | 46 ++++++++ templates/artist.template | 59 ++++++++++ templates/artistnarrow.template | 56 ++++++++++ templates/error.template | 17 +++ templates/front.template | 216 +++++++++++++++++++++++++++++++++++ templates/hosts.template | 38 +++++++ templates/news.template | 86 ++++++++++++++ templates/search.template | 20 ++++ templates/searchplugin.template | 13 +++ templates/servernews.template | 99 ++++++++++++++++ templates/settings.template | 242 ++++++++++++++++++++++++++++++++++++++++ templates/trawl.template | 42 +++++++ 13 files changed, 992 insertions(+) create mode 100644 templates/album.template create mode 100644 templates/albumnarrow.template create mode 100644 templates/artist.template create mode 100644 templates/artistnarrow.template create mode 100644 templates/error.template create mode 100644 templates/front.template create mode 100644 templates/hosts.template create mode 100644 templates/news.template create mode 100644 templates/search.template create mode 100644 templates/searchplugin.template create mode 100644 templates/servernews.template create mode 100644 templates/settings.template create mode 100644 templates/trawl.template (limited to 'templates') diff --git a/templates/album.template b/templates/album.template new file mode 100644 index 0000000..f623c7e --- /dev/null +++ b/templates/album.template @@ -0,0 +1,58 @@ + + + + + + + + + + + +
%PLAYBUTTON%%INFOBUTTON% %HTMLALBUM%%FOREIGN%%YEAR%
+ + + + + + + + + + +
+
    %TRACKS%
+
+ %COVER% +
+ %HOST% +
+
+ Info + %INFO% +
+ + diff --git a/templates/albumnarrow.template b/templates/albumnarrow.template new file mode 100644 index 0000000..9c9e378 --- /dev/null +++ b/templates/albumnarrow.template @@ -0,0 +1,46 @@ + + + + + + + + + + + + + +
%PLAYBUTTON%%INFOBUTTON% %HTMLALBUM%%FOREIGN%%YEAR%
+
%COVER%
+
    %TRACKS%
+%HOST% +
+Info +%INFO% + + + diff --git a/templates/artist.template b/templates/artist.template new file mode 100644 index 0000000..a5adf18 --- /dev/null +++ b/templates/artist.template @@ -0,0 +1,59 @@ +HTTP/1.0 200 OK +Content-Type:text/html + + + + + + distroplat - %ARTIST% + + + + + + + + + + + + + + + + + + +
+ + +

%ARTIST%

+
%ABC%
Albums:
%SECTIONS%%COUNT% +
+ Random Selection: 102030 +
+ +
+ + + + + diff --git a/templates/artistnarrow.template b/templates/artistnarrow.template new file mode 100644 index 0000000..6853a5e --- /dev/null +++ b/templates/artistnarrow.template @@ -0,0 +1,56 @@ +HTTP/1.0 200 OK +Content-Type:text/html + + + + + + + + + + + + + + + + + + + + +
+ + +

%ARTIST%

+ %COUNT% - Random Selection: 102030 +
+ %SECTIONS% +
+ +
+ + + + + diff --git a/templates/error.template b/templates/error.template new file mode 100644 index 0000000..c5eb805 --- /dev/null +++ b/templates/error.template @@ -0,0 +1,17 @@ + + + + + + + +

Invalid Renderer: '%NAME%'

+

Distroplat either could find, or couldn't create the track renderer you were looking for. If you were expecting a playlist, please check your selection on the Formats page. Note: The playlist cookie from distroplat v2 is not compatible with v3. You will just have to quickly check back and choose again. +

Otherwise, someone has been messing about with the '%NAME%' template and it is not working. Shout loudly until someone fixes it. +

+ + + diff --git a/templates/front.template b/templates/front.template new file mode 100644 index 0000000..c66249f --- /dev/null +++ b/templates/front.template @@ -0,0 +1,216 @@ +HTTP/1.0 200 OK +Content-Type:text/html + + + + + + + + + + distroplat + + + + + + + + + + + + + + + + + +
+ + Headlines: + %HEADLINES% + +

Welcome

+
    +
  1. Platter News
  2. +
  3. Server News
  4. +
  5. Settings
  6. +
  7. Content Trawler
  8. +
+
  + %IFRAME% +
+ + + + + +
+

Search

+
+ Simple - Advanced +
+ + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Artist:
Title:
Album:
Date Range:  - 
Scope: All  Albums  Misc +
Search for: Artists  Tracks
Results: Page  Playlist
Random: + + + +   + +
+
+
+ + + + + + + + + + + + +
Artist:
Title:
+ + + + + +   + +
+ + Popular Searches
+ +  • Full Directory
+  • Album Directory
+  • Random Artist
+  • Random Artist excluding misc
+ Random Music Playlist: + 10, + 20, + 30 +

+
+
+
+ %CUSTOM% +
+ Version: %VERSION%
+ User: %USER%
+ Mobile
+
+ + + + + diff --git a/templates/hosts.template b/templates/hosts.template new file mode 100644 index 0000000..9d70fa1 --- /dev/null +++ b/templates/hosts.template @@ -0,0 +1,38 @@ +HTTP/1.0 200 OK +Content-Type:text/html + + + + + distroplat - Hosts & Users + + + + +

Hosts & Users

+ +

+The following people are those who have been granted access by +Adminipotato. Also listed are their hostnames and IP addresses +for reference/firewall configuration purposes. Anyone else who attempts +to access your platter is a naughty hacker. +

+ + + + + + + + + + +%USERLIST% +
User nameHostnameIP address

+ + + diff --git a/templates/news.template b/templates/news.template new file mode 100644 index 0000000..19f5ed3 --- /dev/null +++ b/templates/news.template @@ -0,0 +1,86 @@ +HTTP/1.0 200 OK +Content-Type:text/html + + + + + distroplat - News + + + + + + +

News

+ +

+Shatner +
+%SHATNER% +

+ +
+  +
+ +%NEWS% + + diff --git a/templates/search.template b/templates/search.template new file mode 100644 index 0000000..ab04352 --- /dev/null +++ b/templates/search.template @@ -0,0 +1,20 @@ + + + + distroplat - Search Results + + + + + +

Search Results

+

%COUNT% +%SHORTCUTS% +

diff --git a/templates/searchplugin.template b/templates/searchplugin.template new file mode 100644 index 0000000..de58135 --- /dev/null +++ b/templates/searchplugin.template @@ -0,0 +1,13 @@ +HTTP/1.0 200 OK +Content-Type:text/xml + + + +Distroplat +Distroplat Artist Search +utf-8 +data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAABGdBTUEAALGPC/xhBQAAAXxJREFUeJy1kk1LAmEUhWfecT50Gm0yUTIlzfzAVGgXUSEFEbSLNv2S/kK7lkGrdoVthHZtchlIVovKCkKj7G2GxtGZcfyYeVsECWWRQWd1F+fhcu85OEII60egL/dfAMvHhEyzJgn1qqjUZETQ/mCYHeC+BSQRFnJZeH9Rr6sPFTE0tUgx7Hg42hu4PM+fHWfaTVVvtBAgh90jM/Ppnm4Mw3AIn7c3NygSU7QWMgyKoYCJ7CQ+vbQWiCU5B49MZOUc3Q2lUkmSqy0DSDXF53FaAanrDdxGwavc3ekRaSEQTuuuRDQSs7K2pt60JJOpfGqucnsivDRYK4FhpqqrxbJcuH502hkCAL+Hl2VK05qarifjcRwh9CoK2d0tQYDFMuQ5hiY6HE0+VSRRkqM+Pr2wzMdmx0IRiiQpmsbfk25oSqdjqqp6kNkfRTeBUEJrMyw36J2YHPIGcYLoHv2pGoZhHO7tEIx9ZXW995e+dglCCADmcrl/C/ys/y/fG7qDqJb+EthBAAAAAElFTkSuQmCC +http://%CGIROOT%/%APPNAME%/front.plx + + + \ No newline at end of file diff --git a/templates/servernews.template b/templates/servernews.template new file mode 100644 index 0000000..959cb83 --- /dev/null +++ b/templates/servernews.template @@ -0,0 +1,99 @@ +HTTP/1.0 200 OK +Content-Type:text/html + + + + + distroplat - Server News + + + + + + +

Server News

+ +To include the latest news from your own server write some HTML in to a file called +info.txt and save it to your platters' root folder. Then retrawl. +
+
+ Start distroplat on this page +
+ +
+%SERVERS% +
+ + + diff --git a/templates/settings.template b/templates/settings.template new file mode 100644 index 0000000..b9343e3 --- /dev/null +++ b/templates/settings.template @@ -0,0 +1,242 @@ +HTTP/1.0 200 OK +Content-Type:text/html + + + + + distroplat - Settings + + + + + + + +

Settings +
+ +Servers - +Playlists - +Screen Size - +Start Page +

+ +

+

+Servers  +
+Choose which platters you want to include in your searches and artist views. +
+%SERVERS% +All: [on]  +[off]  +[toggle] +
+ +

+

+Playlist Formats  +
+These are the playlists currently supported in Distroplat. Choose the one that best suits your +media application. +
+ +%FORMATS% +
+
+ +

+ +

+

+File Types  +
+Uncheck any file types you cannot play. +%EXTS% +
+ +

+

+Screen Size  +
+If this right hand frame is too small to display artist pages and search results on +your screen, select 'Small screen' below and they will be opened full frame. +You must refresh this entire window +for the setting to take effect. +
+ Big Screen
+ Big Screen (Narrow Format)
+ Small Screen +
+ +

+

+Start Page  +
+Choose whether you want distroplat to start on platter news or server news. +
+ Platter News
+ Server News +
+ + diff --git a/templates/trawl.template b/templates/trawl.template new file mode 100644 index 0000000..7030756 --- /dev/null +++ b/templates/trawl.template @@ -0,0 +1,42 @@ +HTTP/1.0 200 OK +Content-Type:text/html + + + + + distroplat - Content Trawler + + + + + +

Content Trawler

+

+Use this to update a server's content. Choose servers from the list below and +hit the button. Minimum time between trawls of a specific server is %MINTRAWL% minutes +for the sake of the children. +

+
-- cgit v1.2.3