aboutsummaryrefslogtreecommitdiffstats
path: root/root/template
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2010-11-05 10:37:53 +0000
committerRomain d'Alverny <rda@mageia.org>2010-11-05 10:37:53 +0000
commitac10cc90fe99a465aaba747a32f469237bcd723e (patch)
treeffa123e7c4e65edb4e6bf913b5e4d807075473fc /root/template
parenta546329d576bba67b4c2f32e414d50cdbf11766f (diff)
downloadidentity-ac10cc90fe99a465aaba747a32f469237bcd723e.tar
identity-ac10cc90fe99a465aaba747a32f469237bcd723e.tar.gz
identity-ac10cc90fe99a465aaba747a32f469237bcd723e.tar.bz2
identity-ac10cc90fe99a465aaba747a32f469237bcd723e.tar.xz
identity-ac10cc90fe99a465aaba747a32f469237bcd723e.zip
quick HTML cleanup
Diffstat (limited to 'root/template')
-rw-r--r--root/template/footer4
-rw-r--r--root/template/header22
-rw-r--r--root/template/html25
-rw-r--r--root/template/layout57
4 files changed, 51 insertions, 57 deletions
diff --git a/root/template/footer b/root/template/footer
index 78203d5..0e1dc01 100644
--- a/root/template/footer
+++ b/root/template/footer
@@ -1,3 +1 @@
-<!-- BEGIN site/footer -->
-<!-- div id="copyright">&copy; [% c.config.organisation %] 2010</div -->
-<!-- END site/footer -->
+<!-- div id="copyright">&copy; [% c.config.organisation %] 2010</div --> \ No newline at end of file
diff --git a/root/template/header b/root/template/header
index a80c079..4812ea7 100644
--- a/root/template/header
+++ b/root/template/header
@@ -1,16 +1,14 @@
-<!-- BEGIN template/header -->
<div class="masthead">
-<h1>[% c.config.apptitle %]</h1>
+ <h1>[% c.config.apptitle %]</h1>
</div>
<div class="hnav">
-<!--div class="hnav" -->
-<ul class="hnav">
-[% FOREACH page IN pages %]
-<li><a href="[% c.uri_for(page.page) %]">[% page.title %]</a></li>
-[% END %]
-[% IF c.user.username %]
-<li>[ <a href="[% c.uri_for("/user") %]">[% c.user.username %]</a> ]<a href="/user/logout">[% l('Log out') %]</a></li>
-[% END %]
-</ul>
+ <!--div class="hnav" -->
+ <ul class="hnav">
+ [% FOREACH page IN pages %]
+ <li><a href="[% c.uri_for(page.page) %]">[% page.title %]</a></li>
+ [% END %]
+ [% IF c.user.username %]
+ <li>[ <a href="[% c.uri_for("/user") %]">[% c.user.username %]</a> ]<a href="/user/logout">[% l('Log out') %]</a></li>
+ [% END %]
+ </ul>
</div>
-<!-- END template/header -->
diff --git a/root/template/html b/root/template/html
index c23fcfb..d28ca35 100644
--- a/root/template/html
+++ b/root/template/html
@@ -1,13 +1,14 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>[% template.title or site.title %]</title>
- <link rel="Stylesheet" href="/ttsite.css">
- <!-- style type="text/css" -->
- <!--% PROCESS ttsite.css %-->
- <!-- /style -->
- </head>
- <body>
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+<head>
+ <meta charset="utf-8" />
+ <title>[% template.title or site.title %]</title>
+ <meta content="description" value="" />
+ <meta content="robots" value="index,nofollow" />
+ <link rel="stylesheet" href="/ttsite.css" />
+</head>
+<body>
[% content %]
- </body>
-</html>
+</body>
+</html> \ No newline at end of file
diff --git a/root/template/layout b/root/template/layout
index 53d0202..3d7bc10 100644
--- a/root/template/layout
+++ b/root/template/layout
@@ -1,40 +1,37 @@
-<!-- BEGIN template/header -->
<div id="header">[% PROCESS template/header %]</div>
-<!-- END template/header -->
<div id="outerColumnContainer">
- <div id="leftColumn">
+ <div id="leftColumn">
<div class="inside">
- <div class="vnav">
- <ul>
- [% FOREACH subpage IN subpages %]
- <li><a href="[% c.uri_for(subpage.page) %]">[% l(subpage.title) %]</a></li>
- [% END %]
- </ul>
- </div>
+ <div class="vnav">
+ <ul>
+ [% FOREACH subpage IN subpages %]
+ <li><a href="[% c.uri_for(subpage.page) %]">[% l(subpage.title) %]</a></li>
+ [% END %]
+ </ul>
+ </div>
</div>
- </div>
+ </div>
- <div id="innerColumnContainer">
- <!-- div id="SOWrap" -->
- <div id="middleColumn">
- <div class="inside">
- [% IF errors %]
- <span class="error">
- [% FOREACH error IN errors %]
- [% error %]<br/>
- [% END %]
- </span>
- [% END %]
- <div id="content">
- [% content %]
- </div>
- </div>
- <div class="clear"></div>
+ <div id="innerColumnContainer">
+ <!-- div id="SOWrap" -->
+ <div id="middleColumn">
+ <div class="inside">
+ [% IF errors %]
+ <span class="error">
+ [% FOREACH error IN errors %]
+ [% error %]<br/>
+ [% END %]
+ </span>
+ [% END %]
+ <div id="content">
+ [% content %]
+ </div>
+ </div>
+ <div class="clear"></div>
</div>
<div class="clear"></div>
- </div>
- <!-- /div -->
- </div>
+ </div>
</div>
+
<!-- div id="footer">[% PROCESS template/footer %]</div -->