add sbs theme by erik ramseth
authorgc <gc>
Tue, 29 Nov 2005 21:18:52 +0000 (21:18 +0000)
committergc <gc>
Tue, 29 Nov 2005 21:18:52 +0000 (21:18 +0000)
AUTHORS
data/booh/themes/sbs/metadata/parameters.rb [new file with mode: 0644]
data/booh/themes/sbs/metadata/screenshot-1.png [new file with mode: 0644]
data/booh/themes/sbs/metadata/screenshot-2.png [new file with mode: 0644]
data/booh/themes/sbs/metadata/screenshot-3.png [new file with mode: 0644]
data/booh/themes/sbs/skeleton_image.html [new file with mode: 0644]
data/booh/themes/sbs/skeleton_index.html [new file with mode: 0644]
data/booh/themes/sbs/skeleton_thumbnails.html [new file with mode: 0644]
data/booh/themes/sbs/video.png [new file with mode: 0644]

diff --git a/AUTHORS b/AUTHORS
index bbb993e..05ba8ce 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -3,6 +3,10 @@ Guillaume Cottenceau <http://zarb.org/~gc/resource/gc_mail.png>
 artwork:
 Ayo73 http://www.73lab.com/
 
+themes:
+simple, dark - Guillaume Cottenceau
+sbs - Erik Ramseth <ramseth foo umd bar edu>
+
 i18n:
 Japanese: Masao Mutoh <mutoh foo highway bar ne bar jp>
 German: Roland Eckert <roland foo eckert bar gmail foo com>
diff --git a/data/booh/themes/sbs/metadata/parameters.rb b/data/booh/themes/sbs/metadata/parameters.rb
new file mode 100644 (file)
index 0000000..de334b8
--- /dev/null
@@ -0,0 +1,69 @@
+#
+#                         *  BOOH  *
+#
+# A.k.a `Best web-album Of the world, Or your money back, Humerus'.
+#
+# The acronyn sucks, however this is a tribute to Dragon Ball by
+# Akira Toriyama, where the last enemy beaten by heroes of Dragon
+# Ball is named "Boo". But there was already a free software project
+# called Boo, so this one will be it "Booh". Or whatever.
+#
+#
+# Copyright (c) 2004 Guillaume Cottenceau <gc3 at bluewin.ch>
+#
+# This software may be freely redistributed under the terms of the GNU
+# public license version 2.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+bindtextdomain("booh")
+
+#- we often will want to have one size to nicely fit 800x600 screens,
+#- one for 1024x768 and one for 1280x1024
+#- it's necessary to fit according to the typical space taken by
+#- widgets defined in the skeleton of the theme
+#-
+#- ***IMPORTANT***: CHOOSE 4/3 ASPECT RATIO SIZES!
+$images_size = [
+    {
+        'name' => 'small',
+        'description' => _("Fullscreen 552x414, thumbnails 192x144, should fit 800x600 screens"),
+        'fullscreen' => '552x414',
+        'thumbnails' => '184x138',
+        'optional' => true,
+    },
+    {
+        'name' => 'medium',
+        'description' => _("Fullscreen 704x528, thumbnails 240x180, should fit 1024x768 screens"),
+        'fullscreen' => '704x528',
+        'thumbnails' => '232x174',
+        'default' => true,
+    },
+    {
+        'name' => 'large',
+        'description' => _("Fullscreen 880x660, thumbnails 300x225, should fit 1280x1024 screens"),
+        'fullscreen' => '880x660',
+        'thumbnails' => '292x219',
+    },
+    {
+        'name' => 'x-large',
+        'description' => _("Fullscreen 962x721, thumbnails 328x245, should fit 1400x1050 screens"),
+        'fullscreen' => '962x721',
+        'thumbnails' => '320x240',
+        'optional' => true,
+    },
+    {
+        'name' => 'xx-large',
+        'description' => _("Fullscreen 1100x825, thumbnails 375x281, should fit 1600x1200 screens"),
+        'fullscreen' => '1100x825',
+        'thumbnails' => '368x276',
+        'optional' => true,
+    }
+]
+
+$allowed_N_values = [ 3, 4, 5, 6, 8, 12 ]
+$default_N = 4
+
+$albums_thumbnail_size = '300x225'
diff --git a/data/booh/themes/sbs/metadata/screenshot-1.png b/data/booh/themes/sbs/metadata/screenshot-1.png
new file mode 100644 (file)
index 0000000..7c8a35e
Binary files /dev/null and b/data/booh/themes/sbs/metadata/screenshot-1.png differ
diff --git a/data/booh/themes/sbs/metadata/screenshot-2.png b/data/booh/themes/sbs/metadata/screenshot-2.png
new file mode 100644 (file)
index 0000000..7b95593
Binary files /dev/null and b/data/booh/themes/sbs/metadata/screenshot-2.png differ
diff --git a/data/booh/themes/sbs/metadata/screenshot-3.png b/data/booh/themes/sbs/metadata/screenshot-3.png
new file mode 100644 (file)
index 0000000..47d4e49
Binary files /dev/null and b/data/booh/themes/sbs/metadata/screenshot-3.png differ
diff --git a/data/booh/themes/sbs/skeleton_image.html b/data/booh/themes/sbs/skeleton_image.html
new file mode 100644 (file)
index 0000000..0e581e0
--- /dev/null
@@ -0,0 +1,108 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+    <title>~~title~~</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+    <meta name="author" content="sbs theme, by Erik Ramseth -- based heavily on `Simple' theme by Guillaume Cottenceau">
+    ~~~image_head_code~~~
+    <style type="text/css" media="screen">
+    <!--
+body {
+        background-color: #ffffff;
+        color: #000000;
+        font-family: "Bitstream Vera Sans", "Lucida Sans", Geneva, Arial, Helvetica, sans-serif;
+}
+
+a:link {
+        color: #7B7BA8;
+        text-decoration: none;
+}
+
+a:visited {
+        color: #7B7BA8;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #7B7BA8;
+        text-decoration: underline;
+}
+
+.image {
+        border: solid 1px;
+        color: #000000;
+}
+
+input {
+        border: solid 1px;
+        background-color: #DEDAD6;
+}
+input:hover {
+        background-color: #E8E8E8;
+}
+.disabled {
+        font-style: italic;
+}
+.disabled:hover {
+        background-color: #DEDAD6;
+}
+.imager {
+  float: left;
+  background-color: lightgrey;
+}
+
+.imager img {
+  background-color: #fff;
+  border: 1px solid #a9a9a9;
+  margin: -3px 3px 3px -3px;
+  padding: 5px;
+}
+
+
+    -->
+    </style>
+</head>
+
+<body bgcolor="#FFFFFF" ~~~body_additions~~~>
+
+<table align="center" width="100%">
+<tr>
+    <td width="10%">&nbsp;</td>
+    <td width="1%">~~~button_first~~~</td>
+    <td width="3%">&nbsp;</td>
+    <td width="1%">~~~button_previous~~~</td>
+    <td align="center"><font size="-2">~~sizes~~ | ~~</font></td>
+    <td width="1%">~~~button_next~~~</td>
+    <td width="3%">&nbsp;</td>
+    <td width="1%">~~~button_last~~~</td>
+    <td width="10%">&nbsp;</td>
+</tr>
+</table>
+<table align="center">
+<!-- <p id="dbg_text">&nbsp;</p> -->
+<tr>
+    <td align="center" colspan="9">
+        <div class="imager">~~~image~~~</div>
+    </td>
+</tr>
+</table>
+<table align="center">
+<tr>
+    <td align="center" colspan="9">
+        <font size="+1" ~~~caption_additions~~~>&nbsp;</font>
+        <font size="-2" ~~~image_counter_additions~~~>&nbsp;</font>
+    </td>
+</tr>
+
+~~~body_code~~~
+
+<tr>
+    <td colspan="9" align="center">
+        ~~~button_slideshow~~~
+        ~~~pause_slideshow~~~
+        <br/>
+        <font size="-1">~~previous_album~~ ~~ifprevious_album?~~|~~fi~~ ~~thumbnails~~ ~~ifnext_album?~~|~~fi~~ ~~next_album~~</font>
+</tr>
+</table>
+</html>
diff --git a/data/booh/themes/sbs/skeleton_index.html b/data/booh/themes/sbs/skeleton_index.html
new file mode 100644 (file)
index 0000000..c9f5c4b
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+    <title>~~title~~</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+    <meta name="author" content="sbs theme, by Erik Ramseth -- based heavily on `Simple' theme by Guillaume Cottenceau">
+    <style type="text/css" media="screen">
+    <!--
+body {
+        background-color: #ffffff;
+        color: #000000;
+        font-family: "Bitstream Vera Sans", "Lucida Sans", Geneva, Arial, Helvetica, sans-serif;
+}
+
+a:link {
+        color: #7B7BA8;
+        text-decoration: none;
+}
+
+a:visited {
+        color: #7B7BA8;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #7B7BA8;
+        text-decoration: underline;
+}
+
+input {
+        border: solid 1px;
+}
+
+.image {
+        border: solid 1px;
+        color: #000000;
+}
+
+.imager {
+  float: right;
+  background-color: lightgrey;
+}
+
+.imager img {
+  background-color: #fff;
+  border: 1px solid #a9a9a9;
+  margin: -3px 3px 3px -3px;
+  padding: 5px;
+}
+    -->
+    </style>
+</head>
+
+<body bgcolor="#FFFFFF">
+
+~~ifnavigation?~~<p>~~navigation~~</p>~~fi~~
+
+<p align="center"><font size="+3">~~title~~</font></p>
+
+<table width="100%" cellpadding="10" border="0">
+~~iterate1_open~~
+<tr>
+    <td width="50%" align="right" valign="top">
+       <div class="imager">~~image_iteration~~</div>
+    </td>
+    <td width="50%" align="left">
+       <p>~~caption_iteration~~</p>
+    </td>
+</tr>
+~~iterate1_close~~
+</table>
+
+</body>
+</html>
diff --git a/data/booh/themes/sbs/skeleton_thumbnails.html b/data/booh/themes/sbs/skeleton_thumbnails.html
new file mode 100644 (file)
index 0000000..126a87c
--- /dev/null
@@ -0,0 +1,83 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+    <title>~~title~~</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+    <meta name="author" content="sbs theme, by Erik Ramseth -- based heavily on 'Simple' theme by Guillaume Cottenceau">
+    ~~~thumbnails_head_code~~~
+    <style type="text/css" media="screen">
+    <!--
+body {
+        background-color: #ffffff;
+        color: #000000;
+        font-family: "Bitstream Vera Sans", "Lucida Sans", Geneva, Arial, Helvetica, sans-serif;
+}
+
+a:link {
+        color: #7B7BA8;
+        text-decoration: none;
+}
+
+a:visited {
+        color: #7B7BA8;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #7B7BA8;
+        text-decoration: underline;
+}
+
+input {
+        border: solid 1px;
+}
+
+.image {
+        border: solid 1px;
+        color: #000000;
+}
+
+.imager {
+  display: table-cell;
+  background-color: lightgrey;
+}
+
+.imager img {
+  background-color: #fff;
+  border: 1px solid #a9a9a9;
+  margin: -3px 3px 3px -3px;
+  padding: 3px;
+}
+    -->
+    </style>
+</head>
+
+<body bgcolor="#FFFFFF">
+
+<p align="center">
+    <font size="+3">~~title~~</font>
+    <br/>
+    <font size="-2">~~sizes~~ | ~~</font>
+    <br/>
+    <br/>
+    ~~run_slideshow~~
+</p>
+
+<table width="100%">
+~~iterate1_open~~
+<tr>
+    ~~iterate2_open_maxN~~
+    <td align="center" valign="top" ~~colspan~~>
+       <div class="imager">~~image_iteration~~</div>
+       ~~ifvideo?~~<img src="video.png"/>~~fi~~ ~~caption_iteration~~
+    </td>
+    ~~iterate2_close~~
+</tr>
+~~iterate1_close~~
+</table>
+
+<p align="center">~~previous_album~~ ~~ifprevious_album?~~|~~fi~~ ~~return_to_albums~~ ~~ifnext_album?~~|~~fi~~ ~~next_album~~</p>
+
+</body>
+</html>
diff --git a/data/booh/themes/sbs/video.png b/data/booh/themes/sbs/video.png
new file mode 100644 (file)
index 0000000..074cc97
Binary files /dev/null and b/data/booh/themes/sbs/video.png differ