aboutsummaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-05-16 16:44:29 +0000
committerRomain d'Alverny <rda@mageia.org>2012-05-16 16:44:29 +0000
commitf39202cdc7f84f00139cb8bfdb0adc9a77a6dc34 (patch)
treeb85e4c7ffcda5e6e16a30a37d094704b54f34724 /root
parent70c9443f69df8abb3b48629eab16e5870d867806 (diff)
downloadidentity-f39202cdc7f84f00139cb8bfdb0adc9a77a6dc34.tar
identity-f39202cdc7f84f00139cb8bfdb0adc9a77a6dc34.tar.gz
identity-f39202cdc7f84f00139cb8bfdb0adc9a77a6dc34.tar.bz2
identity-f39202cdc7f84f00139cb8bfdb0adc9a77a6dc34.tar.xz
identity-f39202cdc7f84f00139cb8bfdb0adc9a77a6dc34.zip
add global nav bar
Diffstat (limited to 'root')
-rw-r--r--root/static/style/ttsite.css2
-rw-r--r--root/template/html25
2 files changed, 15 insertions, 12 deletions
diff --git a/root/static/style/ttsite.css b/root/static/style/ttsite.css
index 2d1c734..6136357 100644
--- a/root/static/style/ttsite.css
+++ b/root/static/style/ttsite.css
@@ -1,7 +1,9 @@
/* begin changes obgr_seneca */
html, body {
background: #ddd;
+ margin: 0; padding: 0;
}
+#mgnavdoc { margin: 10px; }
#doc {
-webkit-box-shadow: 0 0 10px #444;
diff --git a/root/template/html b/root/template/html
index 5aaa478..facc555 100644
--- a/root/template/html
+++ b/root/template/html
@@ -1,18 +1,19 @@
-<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr">
+<html lang="en" dir="ltr">
<head>
- <meta charset="utf-8" />
+ <meta charset="utf-8">
<title>[% template.title or site.title or c.config.apptitle %]</title>
- <meta name="description" content="Mageia.org online user account panel" />
- <meta name="keywords" content="mageia, user, account, password" />
- <meta name="robots" content="index,nofollow" />
- <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" />
- <link rel="icon" type="image/png" href="/g/favicon.png" />
+ <meta name="description" content="Mageia.org online user account panel">
+ <meta name="keywords" content="mageia, user, account, password">
+ <meta name="robots" content="index,nofollow">
+ <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">
+ <link rel="icon" type="image/png" href="/g/favicon.png">
</head>
-<body>
-[% content %]
+<body class="you">
+ <div id="mgnavdoc">[% content %]</div>
+
+ <script src="//nav.mageia.org/js/"></script>
</body>
</html>