From 454bc84b3f772eca3afe7d7d378b922917e7f885 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 14 Sep 2006 15:17:05 +0000 Subject: [PATCH] New --- web/htdocs/chrome/bannerrow.mc | 13 +++++++++++++ web/htdocs/chrome/head.mc | 17 +++++++++++++++++ web/htdocs/chrome/layout.mc | 38 ++++++++++++++++++++++++++++++++++++++ web/htdocs/chrome/lmenu.mc | 12 ++++++++++++ web/htdocs/chrome/menu.mc | 2 ++ web/htdocs/chrome/pmenu.mc | 2 ++ web/htdocs/chrome/poweredby.mc | 10 ++++++++++ web/htdocs/chrome/style.mc | 22 ++++++++++++++++++++++ web/htdocs/chrome/tail.mc | 3 +++ web/htdocs/details/home.mc | 1 + 10 files changed, 120 insertions(+) create mode 100644 web/htdocs/chrome/bannerrow.mc create mode 100644 web/htdocs/chrome/head.mc create mode 100644 web/htdocs/chrome/layout.mc create mode 100644 web/htdocs/chrome/lmenu.mc create mode 100644 web/htdocs/chrome/menu.mc create mode 100644 web/htdocs/chrome/pmenu.mc create mode 100644 web/htdocs/chrome/poweredby.mc create mode 100644 web/htdocs/chrome/style.mc create mode 100644 web/htdocs/chrome/tail.mc create mode 100644 web/htdocs/details/home.mc diff --git a/web/htdocs/chrome/bannerrow.mc b/web/htdocs/chrome/bannerrow.mc new file mode 100644 index 0000000..74ee8ec --- /dev/null +++ b/web/htdocs/chrome/bannerrow.mc @@ -0,0 +1,13 @@ +%# $Id: bannerrow.mc,v 1.1 2006-09-14 15:17:48 mike Exp $ +<%args> +$title + +% my $agent = $m->notes("agent"); + + + + +

<% $title %>

+ + + diff --git a/web/htdocs/chrome/head.mc b/web/htdocs/chrome/head.mc new file mode 100644 index 0000000..49f5800 --- /dev/null +++ b/web/htdocs/chrome/head.mc @@ -0,0 +1,17 @@ +%# $Id: head.mc,v 1.1 2006-09-14 15:17:48 mike Exp $ +<%args> +$title + +% my $agent = $m->notes("agent"); + + + + + IRSpy: <% $title %> + + + diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc new file mode 100644 index 0000000..c9931bc --- /dev/null +++ b/web/htdocs/chrome/layout.mc @@ -0,0 +1,38 @@ +%# $Id: layout.mc,v 1.1 2006-09-14 15:17:48 mike Exp $ +<%args> +$debug => undef +$title +$component + +<%once> +use lib "/usr/local/src/cvs/irspy/lib"; +use ZOOM::IRSpy; + +<%perl> +my $text = $m->scomp($component, %ARGS); + +<& /chrome/head.mc, title => $title &> + + <& /chrome/bannerrow.mc, title => $title &> +
+ + <& /chrome/lmenu.mc &> +
+

+ + + + + + + + +
+ <& /chrome/menu.mc &> + + <% $text %> + + + <& /chrome/pmenu.mc &> +
+<& /chrome/tail.mc &> diff --git a/web/htdocs/chrome/lmenu.mc b/web/htdocs/chrome/lmenu.mc new file mode 100644 index 0000000..88465f3 --- /dev/null +++ b/web/htdocs/chrome/lmenu.mc @@ -0,0 +1,12 @@ +%# $Id: lmenu.mc,v 1.1 2006-09-14 15:17:48 mike Exp $ + + + Lmenu left + + + Lmenu middle + + + Lmenu right + + diff --git a/web/htdocs/chrome/menu.mc b/web/htdocs/chrome/menu.mc new file mode 100644 index 0000000..5bf10ea --- /dev/null +++ b/web/htdocs/chrome/menu.mc @@ -0,0 +1,2 @@ +%# $Id: menu.mc,v 1.1 2006-09-14 15:17:48 mike Exp $ + Menu diff --git a/web/htdocs/chrome/pmenu.mc b/web/htdocs/chrome/pmenu.mc new file mode 100644 index 0000000..6443d08 --- /dev/null +++ b/web/htdocs/chrome/pmenu.mc @@ -0,0 +1,2 @@ +%# $Id: pmenu.mc,v 1.1 2006-09-14 15:17:48 mike Exp $ + Pmenu diff --git a/web/htdocs/chrome/poweredby.mc b/web/htdocs/chrome/poweredby.mc new file mode 100644 index 0000000..b7cbf60 --- /dev/null +++ b/web/htdocs/chrome/poweredby.mc @@ -0,0 +1,10 @@ +%# $Id: poweredby.mc,v 1.1 2006-09-14 15:17:48 mike Exp $ +

+


+
+ + Powered by Index Data + +
diff --git a/web/htdocs/chrome/style.mc b/web/htdocs/chrome/style.mc new file mode 100644 index 0000000..4bad3d3 --- /dev/null +++ b/web/htdocs/chrome/style.mc @@ -0,0 +1,22 @@ +/* $Id: style.mc,v 1.1 2006-09-14 15:17:48 mike Exp $ */ +body { + color: darkblue; + background: white; +} + +.banner { background: yellow } +.panel1 { background: lightblue } +.panel2 { background: lightgreen } +.panel3 { background: pink } + +<%doc>Fixing the layout +.panel1, .panel2 { width: 100px } +.spacer { width: 1em } + +<%doc>Why isn't this the default? +img { border: 0 } + +<%doc>These are just so we can set alignment in an XHTMLish way +.left { text-align: left } +.center { text-align: center } +.right { text-align: right } diff --git a/web/htdocs/chrome/tail.mc b/web/htdocs/chrome/tail.mc new file mode 100644 index 0000000..6b3d8ca --- /dev/null +++ b/web/htdocs/chrome/tail.mc @@ -0,0 +1,3 @@ + <& poweredby.mc &> + + diff --git a/web/htdocs/details/home.mc b/web/htdocs/details/home.mc new file mode 100644 index 0000000..3d7b6c4 --- /dev/null +++ b/web/htdocs/details/home.mc @@ -0,0 +1 @@ +Hello and welcome to IRSpy -- 1.7.10.4