From f294a74d9a91f2ee875a64d83cb3cffe5be7b33e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 14 Feb 2007 22:21:03 +0000 Subject: [PATCH] template out the header & footer, write a quick build script, fix copy and keywords in header, fix titles on all pages --- BUILD | 18 ++++++++++++++++ about.html | 50 +++--------------------------------------- contact.html | 50 +++--------------------------------------- css/cssfreeside2.css | 24 +++++++++++++-------- webdemo.html => demo.html | 50 +++--------------------------------------- developers.html | 50 ++++-------------------------------------- elements/footer.html | 12 +++++++++++ elements/header.html | 30 ++++++++++++++++++++++++++ index.html | 55 +++++++---------------------------------------- products.html | 51 ++++++------------------------------------- services.html | 51 +++---------------------------------------- 11 files changed, 106 insertions(+), 335 deletions(-) create mode 100755 BUILD rename webdemo.html => demo.html (52%) create mode 100644 elements/footer.html create mode 100644 elements/header.html diff --git a/BUILD b/BUILD new file mode 100755 index 0000000..f46449b --- /dev/null +++ b/BUILD @@ -0,0 +1,18 @@ +#!/usr/bin/perl + +use Text::Template; + +system("[ -d target ] || mkdir target"); + +system("cp -pr css imgs target"); + +*Q::include = \&Text::Template::_load_text; + +foreach my $file ( glob("*.html") ) { + warn "$file\n"; + my $t = new Text::Template( TYPE=>'FILE', SOURCE=>$file ); + open(TARGET,">target/$file") or die $!; + print TARGET $t->fill_in(PACKAGE=>'Q'); + close TARGET or die $!; +} + diff --git a/about.html b/about.html index 93233ab..eeb70e2 100644 --- a/about.html +++ b/about.html @@ -1,36 +1,9 @@ -About Freeside Inc. - - - +About Freeside Internet Services, Inc. +{ include('elements/header.html'); } - - - - - - - - - -
- - - - - -
Welcome to Freeside. -

Open-source billing, ticketing - and automation for ISPS and online businesses  

-
-
- - -
About Freeside Internet Services, Inc. and the Freeside project
@@ -92,21 +65,4 @@
- - - - - - - - +{ include('elements/footer.html'); } diff --git a/contact.html b/contact.html index 5a506ce..fdcdc5a 100644 --- a/contact.html +++ b/contact.html @@ -1,36 +1,9 @@ -Contact Freeside Inc. - - - +Contact Freeside Internet Services, Inc. +{ include('elements/header.html'); } - - - - - - - - - -
- - - - - -
Welcome to Freeside. -

Open-source billing, ticketing - and automation for ISPS and online businesses  

-
-
- - -
@@ -64,21 +37,4 @@

- - - - - - - - \ No newline at end of file +{ include('elements/footer.html'); } diff --git a/css/cssfreeside2.css b/css/cssfreeside2.css index 51840fb..778fb74 100644 --- a/css/cssfreeside2.css +++ b/css/cssfreeside2.css @@ -257,13 +257,14 @@ a:hover { h1 { - font: bold Verdana, Arial, Sans-serif; + font: Verdana, Arial, sans-serif; + font-weight: bold; font-size: 20px; line-height: 20px; color: #fff; padding: 0; margin: 0; - margin-top: 2.05em; + /* margin-top: 2.05em; */ margin-left: 0; margin-right: 1em; @@ -273,7 +274,8 @@ h1 { } h2 { - font: bold, Verdana, Arial, Sans-serif; + font: Verdana, Arial, sans-serif; + font-weight: bold; font-size: 150%; color: #ffffff ; padding: 0; @@ -283,7 +285,8 @@ h2 { } h3 { - font: bold Verdana, Arial, Sans-serif; + font: Verdana, Arial, sans-serif; + font-weight: bold; font-size: 110%; color: #fff; padding: .5; @@ -295,7 +298,8 @@ h3 { h4 { - font: bold Verdana, Arial, Sans-serif; + font: Verdana, Arial, sans-serif; + font-weight: bold; font-size: 120%; color: #336666; padding: 0; @@ -311,7 +315,8 @@ b.h4 { } h5 { - font: bold Verdana, Arial, Sans-serif; + font: Verdana, Arial, sans-serif; + font-weight: bold; font-size: 120%; color: #336666; padding: 0; @@ -325,7 +330,8 @@ b.h6 { } h6 { - font: bold, Verdana, Arial, Sans-serif; + font: Verdana, Arial, sans-serif; + font-weight: bold; font-size: 140%; color: #5E355D; padding: 0; @@ -380,7 +386,7 @@ body { .block { background: #B7B7B7; padding: 5px; - font: 140%; + font-size: 140%; margin-left: 20px; text-align: center middle; } @@ -672,4 +678,4 @@ table.dev td { border-color: gray gray gray gray; background-color: #ccc; -} \ No newline at end of file +} diff --git a/webdemo.html b/demo.html similarity index 52% rename from webdemo.html rename to demo.html index 9d5045e..143aee1 100644 --- a/webdemo.html +++ b/demo.html @@ -1,36 +1,9 @@ -Freeside Inc. Web Demo - - - +Freeside Web Demo +{ include('elements/header.html'); } - - - - - - - - - -
- - - - - -
Welcome to Freeside. -

Open-source billing, ticketing - and automation for ISPS and online businesses  

-
-
- - -
Check Out Freeside's Web Demos
@@ -80,21 +53,4 @@
- - - - - - - - +{ include('elements/footer.html'); } diff --git a/developers.html b/developers.html index cb3778c..1ba67e8 100644 --- a/developers.html +++ b/developers.html @@ -1,36 +1,9 @@ -Freeside Developers Welcome! - - - +Freeside Developers and Open-Source Community +{ include('elements/header.html'); } - - - - - - - - - -
- - - - - -
Welcome to Freeside. -

Open-source billing, ticketing - and automation for ISPS and online businesses  

-
-
- - -
@@ -89,6 +62,7 @@
- - - - - - - - +{ include('elements/footer.html'); } diff --git a/elements/footer.html b/elements/footer.html new file mode 100644 index 0000000..55cf8f8 --- /dev/null +++ b/elements/footer.html @@ -0,0 +1,12 @@ + + diff --git a/elements/header.html b/elements/header.html new file mode 100644 index 0000000..e58dbc3 --- /dev/null +++ b/elements/header.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+ + + + + +
Welcome to Freeside. + +

Open-source billing, trouble ticketing + and automation


+

for ISPs, VoIP, service and content providers + and online businesses

+
+
+
+ + +
+ diff --git a/index.html b/index.html index 3783618..baff6c1 100644 --- a/index.html +++ b/index.html @@ -1,37 +1,8 @@ -Freeside Developers Welcome! - - - - - - - - - - - - - -
- - - - - -
Welcome to Freeside. -

Open-source billing, ticketing - and automation for ISPS and online businesses  

-
-
- - -
- +Freeside billing and trouble ticketing +{ include('elements/header.html'); }
@@ -56,12 +27,13 @@   - - + - + @@ -195,16 +167,5 @@
Jan ?? 2007:
Jan ?? 2007:Feb 7 2007: New web site!
- - - + +{ include('elements/footer.html'); } diff --git a/products.html b/products.html index 05cfd2f..c9d51e3 100644 --- a/products.html +++ b/products.html @@ -1,36 +1,9 @@ -Freeside Inc. - - - +Freeside Products +{ include('elements/header.html'); } - - - - - - - - - -
- - - - - -
Welcome to Freeside. -

Open-source billing, ticketing - and automation for ISPS and online businesses  

-
-
- - -
@@ -83,8 +56,8 @@ USD $3200 $2950 introductory price free shipping (north america) - USD $3200 - $2950 introductory price
+ USD $4900 + $4400 introductory price
free shipping (north america) USD $8900 $7900 introductory price
@@ -150,7 +123,7 @@ 1Gb RAM hardware 1U rackmount (22.6" deep)
160gb Hotswap RAID1 SATA (2x 160gb 7200rpm)
- Dual-core&nbspOpteron 170 (2x2Ghz)
+ Dual-core Opteron 170 (2x2Ghz)
2Gb ECC RAM hardware 1U rackmount (25.6" deep) 222gb Hotswap RAID5 SATA (4x 74gb 10000rpm)
@@ -181,15 +154,5 @@
- - + +{ include('elements/footer.html'); } diff --git a/services.html b/services.html index e679341..4c0b707 100644 --- a/services.html +++ b/services.html @@ -1,36 +1,9 @@ -Freeside Inc. Services - - - +Freeside Services +{ include('elements/header.html'); } - - - - - - - - - -
- - - - - -
Welcome to Freeside. -

Open-source billing, ticketing - and automation for ISPS and online businesses  

-
-
- - -
@@ -171,22 +144,4 @@

 

- - - - - - - - - +{ include('elements/footer.html'); } -- 2.11.0