[Mpuls-commits] r1322 - wasko/branches/2.0/mpulsweb/templates
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Feb 8 14:19:15 CET 2010
Author: torsten
Date: 2010-02-08 14:19:15 +0100 (Mon, 08 Feb 2010)
New Revision: 1322
Modified:
wasko/branches/2.0/mpulsweb/templates/main.mako
Log:
* mpulsweb/templates/main.mako: Inherit from base.mako
Modified: wasko/branches/2.0/mpulsweb/templates/main.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/main.mako 2010-02-08 13:15:06 UTC (rev 1321)
+++ wasko/branches/2.0/mpulsweb/templates/main.mako 2010-02-08 13:19:15 UTC (rev 1322)
@@ -1,4 +1,5 @@
## -*- coding: utf-8 -*-
+<%inherit file="base.mako" />
<%def name="buildStatusBar()">
<div id="statusbar">
${_('statusbar_logininfo')}:
@@ -211,102 +212,62 @@
<%def name="buildModusfield()">
</%def>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>TEST: ${h.get_app_title()}</title>
- <meta name="generator" content="vim">
- <meta name="author" content="Torsten Irlaender">
- <meta name="date" content="2007-08-07">
- <meta name="copyright" content="">
- <meta name="keywords" content="">
- <meta name="description" content="">
- <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta http-equiv="content-style-type" content="text/css">
- <meta http-equiv="expires" content="0">
- <link rel="shortcut icon" type="image/x-icon" href="/images/kompetenz3.ico">
- % if c.print_version:
- <link href="${h.url_for('/styles/all.css')}" media="all" rel="stylesheet"
- type="text/css">
- <link href="${h.url_for('/styles/print.css')}" media="screen"
- rel="stylesheet" type="text/css">
- <link href="${h.url_for('/styles/print.css')}" media="print"
- rel="stylesheet" type="text/css">
- % else:
- <link href="${h.url_for('/styles/all.css')}" media="all" rel="stylesheet"
- type="text/css">
- <link href="${h.url_for('/styles/screen.css')}" media="screen"
- rel="stylesheet" type="text/css">
- <link href="${h.url_for('/styles/print.css')}" media="print"
- rel="stylesheet" type="text/css">
- <!--[if gt IE 5]>
- <link href="${h.url_for('/styles/ie6.css')}" media="screen"
- rel="stylesheet" type="text/css">
- <![endif]-->
- % endif
- <script src="/js/check.js" type="text/javascript"></script>
- </head>
- <body onload="clearModification();">
- <span class="skiplink">
- <a href="#startmenu" title="Direkt zum Hauptmenü springen"
- tabindex="1">
- Zum Hauptmenü springen
- </a>
- </span>
- <span class="skiplink">
- <a href="#navigation" title="Direkt zum Bereichsmenü springen"
- tabindex="1">
- Zum Bereichsmenü springen
- </a>
- </span>
- <span class="skiplink">
- <a href="#content" title="Direkt zum Inhalt springen" tabindex="2">
- Zum Inhalt springen
- </a>
- </span>
- <div id="header">
- <div class="left" id="logo">
- <a href="${h.url_for(controller='/waska', action='start')}"
- onclick="return checkModification();">
- <img src="${h.url_for('/images/logo_ka_75.png')}"
- alt="Logo Einrichtung" border="0">
- </a>
- </div>
- <div id="rightheader">
- ${self.buildStartMenu()}
- ${self.buildStatusBar()}
- <div id="navipath">
- <ul>
- ${self.buildNavipath()}
- </ul>
- </div>
- </div>
+<span class="skiplink">
+ <a href="#startmenu" title="Direkt zum Hauptmenü springen"
+ tabindex="1">
+ Zum Hauptmenü springen
+ </a>
+</span>
+<span class="skiplink">
+ <a href="#navigation" title="Direkt zum Bereichsmenü springen"
+ tabindex="1">
+ Zum Bereichsmenü springen
+ </a>
+</span>
+<span class="skiplink">
+ <a href="#content" title="Direkt zum Inhalt springen" tabindex="2">
+ Zum Inhalt springen
+ </a>
+</span>
+<div id="header">
+ <div class="left" id="logo">
+ <a href="${h.url_for(controller='/waska', action='start')}"
+ onclick="return checkModification();">
+ <img src="${h.url_for('/images/logo_ka_75.png')}"
+ alt="Logo Einrichtung" border="0">
+ </a>
+ </div>
+ <div id="rightheader">
+ ${self.buildStartMenu()}
+ ${self.buildStatusBar()}
+ <div id="navipath">
+ <ul>
+ ${self.buildNavipath()}
+ </ul>
</div>
- <div id="main">
- <div class="left">
- <div class="navigation" id="navigation">
- % if h.hasRole(['cm_ka']):
- ${self.buildPrivacyfield()}
- % endif
- ${next.buildNavigation()}
- </div>
- </div>
- <div id="content" class="right">
- <div id="status_str_nofloat">
- % if c.status_msg:
- <span class="redcolor">${c.status_msg}</span>
- % else:
- <strong>Hinweis:</strong>
- Gegen ${h.get_logouttime()} Uhr wird diese Sitzung automatisch
- beendet. Speichern sie bitte vorher Ihre Eingaben!
- % endif
- </div>
- ${self.buildContentHeader()}
- ${self.body()}
- </div>
+ </div>
+</div>
+<div id="main">
+ <div class="left">
+ <div class="navigation" id="navigation">
+ % if h.hasRole(['cm_ka']):
+ ${self.buildPrivacyfield()}
+ % endif
+ ${next.buildNavigation()}
</div>
- ${self.buildFooter()}
- </body>
-</html>
-
+ </div>
+ <div id="content" class="right">
+ <div id="status_str_nofloat">
+ % if c.status_msg:
+ <span class="redcolor">${c.status_msg}</span>
+ % else:
+ <strong>Hinweis:</strong>
+ Gegen ${h.get_logouttime()} Uhr wird diese Sitzung automatisch
+ beendet. Speichern sie bitte vorher Ihre Eingaben!
+ % endif
+ </div>
+ ${self.buildContentHeader()}
+ ${self.body()}
+ </div>
+</div>
+${self.buildFooter()}
More information about the Mpuls-commits
mailing list