From 575aeb7b980bfb1e93bce8a2c06534c7840653df Mon Sep 17 00:00:00 2001 From: Sean O'Brien Date: Fri, 24 Feb 2012 17:18:33 -0500 Subject: [PATCH] Added HTML5-Reset code http://html5reset.org Removed robots.txt (we have "noindex,nofollow" in the template meta tags, do we need this?) Added meta noindex,nofollow,noarchive tags for specific robots (googlebot etc.) Removed extraneous meta tags useful only for indexing Removed HTML5-Reset "_" directory. Not sure why it's useful to add an ambiguous folder to the directory tree. Made sure no Google-y code wasn't included (analytics, remote copy of JQuery, etc.) Fixed symbolic link docs/style.css New favicon and iOS "web clip" button --- plinth.py | 2 +- templates/base.tmpl | 269 +++++++++++------- templates/two_col.tmpl | 2 +- themes/default/2col.css | 30 -- themes/default/favicon.ico | Bin 4710 -> 0 bytes themes/default/images/freedombox-logotype.png | Bin 10596 -> 0 bytes themes/default/images/freedombox.png | Bin 22097 -> 0 bytes themes/default/menu.js | 54 ---- themes/default/plinth.js | 16 -- 9 files changed, 172 insertions(+), 201 deletions(-) delete mode 100644 themes/default/2col.css delete mode 100644 themes/default/favicon.ico delete mode 100644 themes/default/images/freedombox-logotype.png delete mode 100755 themes/default/images/freedombox.png delete mode 100644 themes/default/menu.js delete mode 100644 themes/default/plinth.js diff --git a/plinth.py b/plinth.py index b8afa7582..b912dc09e 100755 --- a/plinth.py +++ b/plinth.py @@ -68,7 +68,7 @@ def load_modules(): cfg.log("skipping %s" % name) def parse_arguments(): - parser = argparse.ArgumentParser(description='Plinht web interface for the FreedomBox.') + parser = argparse.ArgumentParser(description='Plinth web interface for the FreedomBox.') parser.add_argument('--pidfile', default="", help='specify a file in which the server may write its pid') args=parser.parse_args() diff --git a/templates/base.tmpl b/templates/base.tmpl index aac469157..29602fd90 100644 --- a/templates/base.tmpl +++ b/templates/base.tmpl @@ -5,108 +5,179 @@ $default #end if #end def - - - - $default($title, "Plinth Front End to the Freedom Box") - - - - - - - $css - - - $js - $main_menu_js - $sub_menu_js - + + + + + + + + + + + + + + + + + $default($title, "Plinth Front End to the Freedom Box") + + + + + + + + + + + + + + + + + + + + + + + + + + $css + + + + + + + + + + + + $js + $main_menu_js + $sub_menu_js + - -