From 1a8f201e4c1cef9da601d44873c6e0a352f6da24 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" Date: Sat, 15 Jan 2005 13:13:10 +0000 Subject: [PATCH] Rearrange skins files, add new skin, improved text based on feedback from blog, license tweaks. --- webtools/hendrix/hendrix.css | 0 webtools/hendrix/hendrix.jpg | 0 webtools/hendrix/index.cgi | 3 +- webtools/hendrix/skin/default.css | 63 +++++++++++++++++ webtools/hendrix/skin/hendrix.jpg | Bin 0 -> 6779 bytes webtools/hendrix/skin/planet.css | 66 ++++++++++++++++++ webtools/hendrix/template/error.html.tmpl | 1 + webtools/hendrix/template/footer.html.tmpl | 3 +- webtools/hendrix/template/header.html.tmpl | 14 +++- webtools/hendrix/template/index.html.tmpl | 18 ++--- .../hendrix/template/message-headers.txt.tmpl | 1 + webtools/hendrix/template/message.txt.tmpl | 1 + .../template/submit-successful.html.tmpl | 1 + 13 files changed, 159 insertions(+), 12 deletions(-) delete mode 100644 webtools/hendrix/hendrix.css delete mode 100644 webtools/hendrix/hendrix.jpg create mode 100644 webtools/hendrix/skin/default.css create mode 100644 webtools/hendrix/skin/hendrix.jpg create mode 100644 webtools/hendrix/skin/planet.css diff --git a/webtools/hendrix/hendrix.css b/webtools/hendrix/hendrix.css deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/webtools/hendrix/hendrix.jpg b/webtools/hendrix/hendrix.jpg deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/webtools/hendrix/index.cgi b/webtools/hendrix/index.cgi index d02a1a16bfc..c103afe4060 100755 --- a/webtools/hendrix/index.cgi +++ b/webtools/hendrix/index.cgi @@ -23,6 +23,7 @@ # # Contributor(s): # +# The Initial Developer wrote this software to the Glory of God. # ***** END LICENSE BLOCK ***** use strict; @@ -44,7 +45,7 @@ my $form = $cgi->Vars; my $vars; $vars->{'form'} = $form; $vars->{'newsgroup'} = $newsgroup; -$vars->{'stylesheet'} = $form->{'stylesheet'} || "hendrix.css"; +$vars->{'stylesheet'} = $form->{'stylesheet'} || "skin/default.css"; my $template = Template->new({ INCLUDE_PATH => ["template"], diff --git a/webtools/hendrix/skin/default.css b/webtools/hendrix/skin/default.css new file mode 100644 index 00000000000..46dbf5394ac --- /dev/null +++ b/webtools/hendrix/skin/default.css @@ -0,0 +1,63 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Hendrix Feedback System. + * + * The Initial Developer of the Original Code is + * Gervase Markham. + * Portions created by the Initial Developer are Copyright (C) 2004 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * ***** END LICENSE BLOCK ***** */ + +.sidebar { + float: right; + width: 200px; + font-size: small; + text-align: center; +} + +#header-img { + border: 1px grey solid; + margin-left: 10px; +} + +p.error { + color: red; +} + +h1 { + font-size: x-large; +} + +input[type="text"] { + font-family: monospace; +} + +#name, #email { + width: 25em; +} + +#subject, #comments { + width: 45em; +} + +#comments { + height: 20ex; +} + +.newsgroup { + font-family: monospace; +} diff --git a/webtools/hendrix/skin/hendrix.jpg b/webtools/hendrix/skin/hendrix.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e15a535efcf9fbda25a9f42f29451973bd041bfe GIT binary patch literal 6779 zcmb7oWmFUZ)9x+{EG;daiy&Q+($Wgcf^h5&qZQ0)qVi z5dmUjW8>lCQQ+fK@H5gd^8bJ1={tZ33(yQm2LYJ?Xhc8|5%8%8Kmz~(G5*u-{{sd9 zgpLVD17iL2N)iIlfFLyV{{;rdzbGIY2!Kw6!H7xBCqu%dVG1U74Q1v}`a&jKHwiQQ zu?`V%OD<%QgV+B&`z2>7op5D`EMu&fs~IQk|tBR87f zFNJlx%jgU1Fm{s}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ndO2`ucq;%(1{+HV(Y2+*|L*b`%6=h7DIYTmESMy~x4f|0uUQt0GkfN7ei|Fm} zCZ~23B9wzO2Fy;f(4jtkswU%*wm%eN8EOmJtBR+m$)2e1Ku#aZE40eUd`2S8RZ`KS n>Xlf++l4h#T^F;Hq7&. + * Portions created by the Initial Developer are Copyright (C) 2005 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Gervase Markham + * + * ***** END LICENSE BLOCK ***** */ + +@import url("http://planet.mozilla.org/planet2.css"); + +input[type="text"] { + font-family: monospace; +} + +#name:focus, #email:focus, #subject:focus, #comments:focus{ + background-color: #e4ecec; +} + +#name, #email { + width: 25em; +} + +#subject, #comments { + width: 40em; +} + +#comments { + height: 20ex; +} + +#header-img { + padding: 2px; + border: 2px solid #455372; + background: #e4ecec; +} + +div.sidebar { + float: right; + text-align: center; +} + +.newsgroup { + font-family: monospace; +} + +p.error { + color: red; +} + diff --git a/webtools/hendrix/template/error.html.tmpl b/webtools/hendrix/template/error.html.tmpl index a86ed6edd7c..219f741655b 100644 --- a/webtools/hendrix/template/error.html.tmpl +++ b/webtools/hendrix/template/error.html.tmpl @@ -20,6 +20,7 @@ # # Contributor(s): # + # The Initial Developer wrote this software to the Glory of God. # ***** END LICENSE BLOCK ***** %] [% PROCESS header.html.tmpl diff --git a/webtools/hendrix/template/footer.html.tmpl b/webtools/hendrix/template/footer.html.tmpl index e9e1c7e0288..c142bfb9d83 100644 --- a/webtools/hendrix/template/footer.html.tmpl +++ b/webtools/hendrix/template/footer.html.tmpl @@ -20,7 +20,8 @@ # # Contributor(s): # + # The Initial Developer wrote this software to the Glory of God. # ***** END LICENSE BLOCK ***** %] - + diff --git a/webtools/hendrix/template/header.html.tmpl b/webtools/hendrix/template/header.html.tmpl index 5ec7df535ba..44828bdfb7c 100644 --- a/webtools/hendrix/template/header.html.tmpl +++ b/webtools/hendrix/template/header.html.tmpl @@ -20,6 +20,7 @@ # # Contributor(s): # + # The Initial Developer wrote this software to the Glory of God. # ***** END LICENSE BLOCK ***** %] - [% IF NOT h1 AND title %] [% h1 = title %] [% END %] @@ -43,3 +43,15 @@ [% IF h1 %]

[% h1 %]

[% END %] + + diff --git a/webtools/hendrix/template/index.html.tmpl b/webtools/hendrix/template/index.html.tmpl index 37987f74902..d5ee9106f09 100644 --- a/webtools/hendrix/template/index.html.tmpl +++ b/webtools/hendrix/template/index.html.tmpl @@ -20,6 +20,7 @@ # # Contributor(s): # + # The Initial Developer wrote this software to the Glory of God. # ***** END LICENSE BLOCK ***** %] [% script = BLOCK %] @@ -112,20 +113,19 @@ function onLoad() { >[% form.comments FILTER html %] + + + + + + - - - [%# Add JS to only enable button when form is filled in %] - - + +

Information from this form will be published to the newsgroup [% newsgroup %] so project contributors can read it. Do not submit any information unless you wish it to be made public. Your email address will be spam-proofed.

-

Why "Hendrix"? The late -Jimi Hendrix -is credited with making popular the technique of making feedback useful in the creation of music :-).

- [% PROCESS footer.html.tmpl %] diff --git a/webtools/hendrix/template/message-headers.txt.tmpl b/webtools/hendrix/template/message-headers.txt.tmpl index 07d852c080d..eee2bfa4d0c 100644 --- a/webtools/hendrix/template/message-headers.txt.tmpl +++ b/webtools/hendrix/template/message-headers.txt.tmpl @@ -20,6 +20,7 @@ # # Contributor(s): # + # The Initial Developer wrote this software to the Glory of God. # ***** END LICENSE BLOCK ***** %] [% from = form.name %] [% IF form.email %] diff --git a/webtools/hendrix/template/message.txt.tmpl b/webtools/hendrix/template/message.txt.tmpl index 09941e0b7f8..3f6ab540bae 100644 --- a/webtools/hendrix/template/message.txt.tmpl +++ b/webtools/hendrix/template/message.txt.tmpl @@ -20,6 +20,7 @@ # # Contributor(s): # + # The Initial Developer wrote this software to the Glory of God. # ***** END LICENSE BLOCK ***** %] Name: [% form.name %] [% IF form.email %] diff --git a/webtools/hendrix/template/submit-successful.html.tmpl b/webtools/hendrix/template/submit-successful.html.tmpl index 75f2bef531f..ac5994b83b8 100644 --- a/webtools/hendrix/template/submit-successful.html.tmpl +++ b/webtools/hendrix/template/submit-successful.html.tmpl @@ -20,6 +20,7 @@ # # Contributor(s): # + # The Initial Developer wrote this software to the Glory of God. # ***** END LICENSE BLOCK ***** %] [% PROCESS header.html.tmpl