diff options
author | Romain d'Alverny <rda@mageia.org> | 2010-11-06 16:51:58 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2010-11-06 16:51:58 +0000 |
commit | cad400d456ba9171abf1ee087a011dbb4409a439 (patch) | |
tree | 6abc29b4c2ef954a3dae85c85b0b19c634dc9c1a /root/template | |
parent | ae4009c1052d9e6163a24c2668dd4d9e039bf3fc (diff) | |
download | identity-cad400d456ba9171abf1ee087a011dbb4409a439.tar identity-cad400d456ba9171abf1ee087a011dbb4409a439.tar.gz identity-cad400d456ba9171abf1ee087a011dbb4409a439.tar.bz2 identity-cad400d456ba9171abf1ee087a011dbb4409a439.tar.xz identity-cad400d456ba9171abf1ee087a011dbb4409a439.zip |
new layout based on YUI CSS reset/fonts/grids
Diffstat (limited to 'root/template')
-rw-r--r-- | root/template/header | 5 | ||||
-rw-r--r-- | root/template/html | 7 | ||||
-rw-r--r-- | root/template/layout | 59 |
3 files changed, 45 insertions, 26 deletions
diff --git a/root/template/header b/root/template/header index 84b795d..9bfe555 100644 --- a/root/template/header +++ b/root/template/header @@ -6,7 +6,10 @@ <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> + <li><strong><a href="[% c.uri_for("/user") %]">[% c.user.username %]</a></strong></li> + <li><a href="/user/logout">[% l('Log out') %]</a></li> + [% ELSE %] + <li><a href="/">[% l('Login') %]</a></li> [% END %] </ul> </div> diff --git a/root/template/html b/root/template/html index 93488ef..abac43a 100644 --- a/root/template/html +++ b/root/template/html @@ -4,9 +4,12 @@ <head> <meta charset="utf-8" /> <title>[% template.title or site.title or c.config.apptitle %]</title> - <meta content="description" value="" /> + <meta content="description" value="Mageia.org online user account panel" /> + <meta content="keywords" value="mageia, user, account, password" /> <meta content="robots" value="index,nofollow" /> - <link rel="stylesheet" href="/ttsite.css" /> + <link rel="stylesheet" type="text/css" href="/static/style/yui/reset-fonts-grids.css"> + <link rel="stylesheet" type="text/css" href="/static/style/yui/base-min.css"> + <link rel="stylesheet" type="text/css" href="/static/style/ttsite.css" /> </head> <body> [% content %] diff --git a/root/template/layout b/root/template/layout index 8c80b34..a097a47 100644 --- a/root/template/layout +++ b/root/template/layout @@ -1,24 +1,37 @@ -<div id="header">[% PROCESS template/header %]</div> - -<ul id="nav"> -[% FOREACH subpage IN subpages %] - <li><a href="[% c.uri_for(subpage.page) %]">[% l(subpage.title) %]</a></li> -[% END %] -</ul> - -<div class="inside"> -[% IF errors %] - <span class="error"> - [% FOREACH error IN errors %] - [% error %] - <br/> - [% END %] - </span> -[% END %] +<div id="doc4" class="yui-t7"> + <div id="hd" role="banner"> + [% PROCESS template/header %] + </div> + <div id="bd" role="main"> + <div class="yui-g"> + <ul id="nav"> + [% FOREACH subpage IN subpages %] + <li><a href="[% c.uri_for(subpage.page) %]">[% l(subpage.title) %]</a></li> + [% END %] + </ul> + + <div class="inside"> + [% IF errors %] + <span class="error"> + [% FOREACH error IN errors %] + [% error %] + <br/> + [% END %] + </span> + [% END %] + </div> + <div id="content">[% content %]</div> + </div> + <div class="yui-g"> + <div class="yui-u first"> + <!-- YOUR DATA GOES HERE --> + </div> + <div class="yui-u"> + <!-- YOUR DATA GOES HERE --> + </div> + </div> + </div> + <div id="ft" role="contentinfo"> + [% PROCESS template/footer %] + </div> </div> - -<div id="content"> - [% content %] -</div> - -<div id="footer">[% PROCESS template/footer %]</div> |