From 2049f4d8f8f41d897d2bc0376e32804f31a11b87 Mon Sep 17 00:00:00 2001 From: Simon McFarlane Date: Sat, 14 Feb 2015 06:12:54 +0100 Subject: Update templates for new stylesheets --- templates/themes/irc/info.php | 23 ++++++++++++++++ templates/themes/irc/irc.html | 58 ++++++++++++++++++++++++++++++++++++++++ templates/themes/irc/radio.html | 29 ++++++++++++++++++++ templates/themes/irc/theme.php | 27 +++++++++++++++++++ templates/themes/irc/thumb.png | Bin 0 -> 10730 bytes 5 files changed, 137 insertions(+) create mode 100644 templates/themes/irc/info.php create mode 100644 templates/themes/irc/irc.html create mode 100644 templates/themes/irc/radio.html create mode 100644 templates/themes/irc/theme.php create mode 100644 templates/themes/irc/thumb.png (limited to 'templates/themes/irc') diff --git a/templates/themes/irc/info.php b/templates/themes/irc/info.php new file mode 100644 index 00000000..8b31b011 --- /dev/null +++ b/templates/themes/irc/info.php @@ -0,0 +1,23 @@ + 'IRC', + 'description' => 'Display a link to the lainchan irc', + 'version' => 'v1', + + 'config' => array( + array('title' => 'Page title', + 'name' => 'title', + 'type' => 'text'), + + array('title' => 'Slogan', + 'name' => 'subtitle', + 'type' => 'text', + 'comment' => '(optional)'), + + array('title' => 'File', + 'name' => 'file', + 'type' => 'text', + 'default' => 'irc.html')), + + 'build_function' => 'irc_build'); +?> diff --git a/templates/themes/irc/irc.html b/templates/themes/irc/irc.html new file mode 100644 index 00000000..ed9dc5ff --- /dev/null +++ b/templates/themes/irc/irc.html @@ -0,0 +1,58 @@ +{% filter remove_whitespace %} + + + + + {{ settings.title }} + + + + + + +
+ {{ boardlist.top }} +
+ + {% if config.url_banner %}{% endif %} +
+

{{ settings.title }}

+
{{ settings.subtitle }}
+
+ + mascot + +
+

WELCOME TO CYBERIA

+ +

Welcome to lainchan's very own internet radio!
+ Unfortunately, due to our usage of HSTS, and the fact that our radio is http-only means that we can't properly place a player <audio> element at the current moment. In the next few days, we should have a proper reverse proxy set up, and the player will support https and therefore work on this page. Until then, please use any of the following playlists in your media player of choice. +

+ + + + + + +
+ + +{% endfilter %} diff --git a/templates/themes/irc/radio.html b/templates/themes/irc/radio.html new file mode 100644 index 00000000..7f84134b --- /dev/null +++ b/templates/themes/irc/radio.html @@ -0,0 +1,29 @@ +{% filter remove_whitespace %} + + + + + {{ settings.title }} + + + + + + +
+ {{ boardlist.top }} +
+ +
+

{{ settings.title }}

+
{{ settings.subtitle }}
+
+ + +
+

Web Client - Point your own clients to #lainchan on irc.freenode.net.

+ +
+ + +{% endfilter %} diff --git a/templates/themes/irc/theme.php b/templates/themes/irc/theme.php new file mode 100644 index 00000000..c9b45c33 --- /dev/null +++ b/templates/themes/irc/theme.php @@ -0,0 +1,27 @@ + $settings, + 'config' => $config, + 'boardlist' => createBoardlist())); + } +} + +?> diff --git a/templates/themes/irc/thumb.png b/templates/themes/irc/thumb.png new file mode 100644 index 00000000..0988ca68 Binary files /dev/null and b/templates/themes/irc/thumb.png differ -- cgit v1.3