*** empty log message ***
authorgc <gc>
Mon, 28 Mar 2005 00:34:43 +0000 (00:34 +0000)
committergc <gc>
Mon, 28 Mar 2005 00:34:43 +0000 (00:34 +0000)
data/booh/themes/simple/parameters.rb [new file with mode: 0644]
data/booh/themes/simple/skeleton_image.html [new file with mode: 0644]
data/booh/themes/simple/skeleton_index.html [new file with mode: 0644]
data/booh/themes/simple/skeleton_thumbnails.html [new file with mode: 0644]
data/booh/themes/simple/video.png [new file with mode: 0644]

diff --git a/data/booh/themes/simple/parameters.rb b/data/booh/themes/simple/parameters.rb
new file mode 100644 (file)
index 0000000..fdac890
--- /dev/null
@@ -0,0 +1,45 @@
+#
+#                         *  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.
+
+
+#- 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
+$images_size = [
+    {
+        'name' => 'small',
+        'fullscreen' => '552x414',
+        'thumbnails' => '192x144',
+    },
+    {
+        'name' => 'medium',
+        'fullscreen' => '704x528',
+        'thumbnails' => '240x180',
+        'default' => true,
+    },
+    {
+        'name' => 'large',
+        'fullscreen' => '880x660',
+        'thumbnails' => '300x225',
+    }
+]
+
+$albums_thumbnail_size = '300x225'
diff --git a/data/booh/themes/simple/skeleton_image.html b/data/booh/themes/simple/skeleton_image.html
new file mode 100644 (file)
index 0000000..169824f
--- /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="`Simple' theme - Guillaume Cottenceau">
+    ~~~head_code~~~
+    <style type="text/css" media="screen">
+    <!--
+body {
+        background-color: #ffffff;
+        color: #000000;
+        font-family: Verdana, Arial, Helvetica, sans-serif, monospace;
+}
+
+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;
+}
+    -->
+    </style>
+</head>
+
+<body bgcolor="#FFFFFF" ~~~body_additions~~~>
+
+<table 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">~~size_small~~ | ~~size_medium~~ | ~~size_large~~</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>
+<!-- <p id="dbg_text">&nbsp;</p> -->
+<tr>
+    <td align="center" colspan="9">
+        ~~~image~~~
+    </td>
+</tr>
+<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~~~
+        <font size="-1">~~thumbnails~~</font>
+    </td>
+</tr>
+</table>
+</html>
diff --git a/data/booh/themes/simple/skeleton_index.html b/data/booh/themes/simple/skeleton_index.html
new file mode 100644 (file)
index 0000000..434af35
--- /dev/null
@@ -0,0 +1,57 @@
+<!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"/>
+    <style type="text/css" media="screen">
+    <!--
+body {
+        background-color: #ffffff;
+        color: #000000;
+        font-family: Verdana, Arial, Helvetica, sans-serif, monospace;
+}
+
+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;
+}
+    -->
+    </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">
+       ~~image_iteration~~
+    </td>
+    <td width="50%" align="left">
+       <p>~~caption_iteration~~</p>
+    </td>
+</tr>
+~~iterate1_close~~
+</table>
+
+</body>
+</html>
diff --git a/data/booh/themes/simple/skeleton_thumbnails.html b/data/booh/themes/simple/skeleton_thumbnails.html
new file mode 100644 (file)
index 0000000..a0e0f7c
--- /dev/null
@@ -0,0 +1,64 @@
+<!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"/>
+    <style type="text/css" media="screen">
+    <!--
+body {
+        background-color: #ffffff;
+        color: #000000;
+        font-family: Verdana, Arial, Helvetica, sans-serif, monospace;
+}
+
+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;
+}
+    -->
+    </style>
+</head>
+
+<body bgcolor="#FFFFFF">
+
+<p align="center">
+    <font size="+3">~~title~~</font>
+    <br/>
+    <font size="-2">~~size_small~~ | ~~size_medium~~ | ~~size_large~~</font>
+    <br/>
+    <br/>
+    ~~run_slideshow~~
+</p>
+
+<table width="100%">
+~~iterate1_open~~
+<tr>
+    ~~iterate2_open_max4~~
+    <td width="25%" align="center" valign="top">
+       ~~image_iteration~~
+       <p>~~ifvideo?~~<img src="video.png"/>~~fi~~ ~~caption_iteration~~</p>
+    </td>
+    ~~iterate2_close~~
+</tr>
+~~iterate1_close~~
+</table>
+
+<p align="center">~~return_to_albums~~</p>
+
+</body>
+</html>
diff --git a/data/booh/themes/simple/video.png b/data/booh/themes/simple/video.png
new file mode 100644 (file)
index 0000000..074cc97
Binary files /dev/null and b/data/booh/themes/simple/video.png differ