]> mj.ucw.cz Git - gallery.git/commitdiff
Gallery2: Missing bits
authorMartin Mares <mj@ucw.cz>
Wed, 26 Dec 2012 11:44:06 +0000 (12:44 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:14:08 +0000 (21:14 +0100)
18 files changed:
gal2/Makefile [new file with mode: 0644]
gal2/nrt-blue/back.png [new file with mode: 0644]
gal2/nrt-blue/back.xcf [new file with mode: 0644]
gal2/nrt-blue/bot.png [new file with mode: 0644]
gal2/nrt-blue/bot.xcf [new file with mode: 0644]
gal2/nrt-blue/left.png [new file with mode: 0644]
gal2/nrt-blue/left.xcf [new file with mode: 0644]
gal2/nrt-blue/next.png [new file with mode: 0644]
gal2/nrt-blue/next.xcf [new file with mode: 0644]
gal2/nrt-blue/prev.png [new file with mode: 0644]
gal2/nrt-blue/prev.xcf [new file with mode: 0644]
gal2/nrt-blue/right.png [new file with mode: 0644]
gal2/nrt-blue/right.xcf [new file with mode: 0644]
gal2/nrt-blue/style.css [new file with mode: 0644]
gal2/nrt-blue/theme.conf [new file with mode: 0644]
gal2/nrt-blue/theme.pm [new file with mode: 0644]
gal2/nrt-blue/top.png [new file with mode: 0644]
gal2/nrt-blue/top.xcf [new file with mode: 0644]

diff --git a/gal2/Makefile b/gal2/Makefile
new file mode 100644 (file)
index 0000000..264a0af
--- /dev/null
@@ -0,0 +1,6 @@
+$(eval $(dir-setup))
+
+$(call lib-copy, Gallery.pm)
+$(call lib-copy, $(addprefix Gallery/,Archive.pm Generator.pm Web.pm))
+
+$(call copy, $(addprefix nrt-blue/,back.png bot.png left.png next.png prev.png right.png top.png theme.pm style.css))
diff --git a/gal2/nrt-blue/back.png b/gal2/nrt-blue/back.png
new file mode 100644 (file)
index 0000000..501909c
Binary files /dev/null and b/gal2/nrt-blue/back.png differ
diff --git a/gal2/nrt-blue/back.xcf b/gal2/nrt-blue/back.xcf
new file mode 100644 (file)
index 0000000..5d8848d
Binary files /dev/null and b/gal2/nrt-blue/back.xcf differ
diff --git a/gal2/nrt-blue/bot.png b/gal2/nrt-blue/bot.png
new file mode 100644 (file)
index 0000000..86bb5f2
Binary files /dev/null and b/gal2/nrt-blue/bot.png differ
diff --git a/gal2/nrt-blue/bot.xcf b/gal2/nrt-blue/bot.xcf
new file mode 100644 (file)
index 0000000..a3dbedc
Binary files /dev/null and b/gal2/nrt-blue/bot.xcf differ
diff --git a/gal2/nrt-blue/left.png b/gal2/nrt-blue/left.png
new file mode 100644 (file)
index 0000000..a9852c7
Binary files /dev/null and b/gal2/nrt-blue/left.png differ
diff --git a/gal2/nrt-blue/left.xcf b/gal2/nrt-blue/left.xcf
new file mode 100644 (file)
index 0000000..76912ed
Binary files /dev/null and b/gal2/nrt-blue/left.xcf differ
diff --git a/gal2/nrt-blue/next.png b/gal2/nrt-blue/next.png
new file mode 100644 (file)
index 0000000..bdd1011
Binary files /dev/null and b/gal2/nrt-blue/next.png differ
diff --git a/gal2/nrt-blue/next.xcf b/gal2/nrt-blue/next.xcf
new file mode 100644 (file)
index 0000000..ad06333
Binary files /dev/null and b/gal2/nrt-blue/next.xcf differ
diff --git a/gal2/nrt-blue/prev.png b/gal2/nrt-blue/prev.png
new file mode 100644 (file)
index 0000000..68b2514
Binary files /dev/null and b/gal2/nrt-blue/prev.png differ
diff --git a/gal2/nrt-blue/prev.xcf b/gal2/nrt-blue/prev.xcf
new file mode 100644 (file)
index 0000000..dbf35d5
Binary files /dev/null and b/gal2/nrt-blue/prev.xcf differ
diff --git a/gal2/nrt-blue/right.png b/gal2/nrt-blue/right.png
new file mode 100644 (file)
index 0000000..7af66ba
Binary files /dev/null and b/gal2/nrt-blue/right.png differ
diff --git a/gal2/nrt-blue/right.xcf b/gal2/nrt-blue/right.xcf
new file mode 100644 (file)
index 0000000..0668d05
Binary files /dev/null and b/gal2/nrt-blue/right.xcf differ
diff --git a/gal2/nrt-blue/style.css b/gal2/nrt-blue/style.css
new file mode 100644 (file)
index 0000000..ce8d2de
--- /dev/null
@@ -0,0 +1,18 @@
+.thf    { margin: 0 0 0 0; padding: 0 0 0 0; float: left; border: none; }
+.thumb  { position: relative; width: 154px; height: 134px; background-color: black; }
+.tt     { position: absolute; top: 0; left: 0; }
+.tl     { position: absolute; top: 14px; left: 0; }
+.ti     { position: absolute; }
+.tr     { position: absolute; top: 14px; right: 0; }
+.tb     { position: absolute; bottom: 0; right: 0; }
+.annot  { width: 154px; text-align: center; }
+IMG     { border: none; }
+H1      { text-align: center; }
+H2      { text-align: center; margin-bottom: 3ex; }
+P      { clear: both; }
+H2     { clear: both; }
+.parent        { text-align: center; }
+.large { text-align: center; }
+.back  { float: left; }
+.fwd   { float: right; }
+A[href]:hover { background-color: #11001d; }
diff --git a/gal2/nrt-blue/theme.conf b/gal2/nrt-blue/theme.conf
new file mode 100644 (file)
index 0000000..4242eba
--- /dev/null
@@ -0,0 +1,40 @@
+
+PicturesPerRow: 5
+BGColor: #ffffff
+TextColor: #000000
+CommentColor: #000000
+FilmBGColor: #322207
+LinkColor: #000000
+ALinkColor: gold
+VLinkColor: #000000
+LinkSize: 1
+
+#                   linksize               | top
+#                       |                  v
+#     ------------------|---------------- ---
+#     |                 |               |  |
+#     ------------------v---------------- ---
+#     |   | ______________________  |   |  ^
+#     |   | |   ^                 | |   |  |
+#     |   | |   | height          | |   |
+#     |   | |   |                 | |   |
+#  l  |   | |   |                 | |   | right
+# --->|---| |<--|----width------->| |---|<-----
+#     |   | |   |                 | |   |
+#     |   | |   |                 | |   |
+#     |   | |   |                 | |   |
+#     |   | |   v                 | |   |
+#     |   | |---------------------| |   |  |
+#     |   |                         |   |  v
+#     ----------------------------------- ---
+#     |                                 |  |
+#     ----------------------------------- ---
+#                                          ^
+#                                          | bottom
+#
+# total = left + linksize + width + linksize + right
+
+# Decorations: top bottom left right
+Decorations: 14 18 14 18
+ThumbWidth: 120
+ThumbHeight: 100
diff --git a/gal2/nrt-blue/theme.pm b/gal2/nrt-blue/theme.pm
new file mode 100644 (file)
index 0000000..f9674ad
--- /dev/null
@@ -0,0 +1,40 @@
+# NRT Theme for MJ's Photo Gallery
+# (c) 2003--2004 Martin Mares <mj@ucw.cz>; GPL'ed
+# Theme images taken from the cthumb package (c) Carlos Puchol
+
+package UCW::Gallery::Theme;
+
+use strict;
+use warnings;
+
+use UCW::Gallery;
+
+sub Init($) {
+       my ($u) = @_;
+       UCW::Gallery::SetOptions(
+               "StyleSheet" => "$u/style.css",
+               "ThumbW" => 114,
+               "ThumbH" => 94,
+               "TopImg" => "$u/top.png",
+               "TopH" => 14,
+               "BotImg" => "$u/bot.png",
+               "BotH" => 18,
+               "LeftImg" => "$u/left.png",
+               "LeftW" => 14,
+               "RightImg" => "$u/right.png",
+               "RightW" => 18,
+               "InteriorMargin" => 4,
+               "ParentImg" => "$u/back.png",
+               "ParentH" => 48,
+               "ParentW" => 48,
+               "BackImg" => "$u/prev.png",
+               "BackH" => 48,
+               "BackW" => 48,
+               "FwdImg" => "$u/next.png",
+               "FwdH" => 48,
+               "FwdW" => 48
+       );
+       UCW::Gallery::RequireThumbnails(114, 94);
+}
+
+1;
diff --git a/gal2/nrt-blue/top.png b/gal2/nrt-blue/top.png
new file mode 100644 (file)
index 0000000..db5a677
Binary files /dev/null and b/gal2/nrt-blue/top.png differ
diff --git a/gal2/nrt-blue/top.xcf b/gal2/nrt-blue/top.xcf
new file mode 100644 (file)
index 0000000..8298369
Binary files /dev/null and b/gal2/nrt-blue/top.xcf differ