[Mpuls-commits] r1316 - wasko/branches/2.0/waskaweb/templates
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Feb 8 12:47:13 CET 2010
Author: torsten
Date: 2010-02-08 12:47:13 +0100 (Mon, 08 Feb 2010)
New Revision: 1316
Removed:
wasko/branches/2.0/waskaweb/templates/login.mako
wasko/branches/2.0/waskaweb/templates/logout.mako
wasko/branches/2.0/waskaweb/templates/main_login.mako
Log:
Deleted old templates for login and logout
Deleted: wasko/branches/2.0/waskaweb/templates/login.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/login.mako 2010-02-08 11:46:43 UTC (rev 1315)
+++ wasko/branches/2.0/waskaweb/templates/login.mako 2010-02-08 11:47:13 UTC (rev 1316)
@@ -1,39 +0,0 @@
-## -*- coding: utf-8 -*-
-<%! import mpulsweb.lib.helper.filters as F %>
-<%inherit file="main_login.mako" />
-<h1>${_('login_header_waska_login')}</h1>
-<div id="waska_form_login">
-
-% if c.login_failed:
- <div class="form_errors">
- <a name="error_list"><h1>${_('login_input_error')}</h1></a>
- <ul>
- <li>${_('login_input_error_message')}</li>
- </ul>
- </div>
-% endif
-
-<p><strong>Einrichtung: ${F.H(h.getKAName())}</strong><br>${_('login_p_insert_pw_and_identifier')}</p>
-<form name="login" action="${h.url_for(controller='/auth', action='loginAction')}" accept-charset="UTF-8" method="POST">
-<div class="label">
- <label for="login">${_('login_label_identifier')}</label>
-
-</div>
-<div class="input">
- <input type="text" size="20" name="username" maxlength="64">
-</div>
-<div class="clearer"> </div>
-<div class="label">
- <label for="pass">${_('login_label_pw')}</label>
-
-</div>
-
-<div class="input">
- <input type="password" size="20" name="password">
- </div>
-<div class="clearer"> </div>
-<p id="login_btn">
-<input type="submit" value="Anmelden" name="authform">
-</p>
-</form>
-</div>
Deleted: wasko/branches/2.0/waskaweb/templates/logout.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/logout.mako 2010-02-08 11:46:43 UTC (rev 1315)
+++ wasko/branches/2.0/waskaweb/templates/logout.mako 2010-02-08 11:47:13 UTC (rev 1316)
@@ -1,6 +0,0 @@
-## -*- coding: utf-8 -*-
-<%inherit file="main_login.mako" />
-<h1>${_('logout_header_waska_logout')}</h1>
-<div id="waska_form_login">
-<p>${_('logout_p_logout successful')} <a href="/">${_('logout_a_login')}</a>${_('logout_p_login_again')}.</p>
-</div>
Deleted: wasko/branches/2.0/waskaweb/templates/main_login.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/main_login.mako 2010-02-08 11:46:43 UTC (rev 1315)
+++ wasko/branches/2.0/waskaweb/templates/main_login.mako 2010-02-08 11:47:13 UTC (rev 1316)
@@ -1,68 +0,0 @@
-## -*- coding: utf-8 -*-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>WASKO</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
- </head>
- <body>
- <div id="wrapper_login" >
- <div id="header_login">
- <div id="logo_login">
- <img src="${h.url_for('/images/logo_ka_75.png')}" alt="Logo Einrichtung" border="0">
- </div>
- </div>
- <div id="content_login">
- ${self.body()}
- </div>
- <div id="footer_login">
- <p>${_('main_login_bmf_phrase')}</p>
- <a target="_blank" href="http://www.bmfsfj.de">
- <img src="/images/BMFSFJ_C_M_web.jpg" alt="Logo Bundesministerium für Familie, Senioren, Frauen und Jugend" border="0">
- </a>
- <a target="_blank" href="http://ec.europa.eu/employment_social/esf2000/index_de.html">
- <img src="/images/eu_logo_4c_pos_web2.jpg" alt="Logo Europäische Union - Europäische Sozialfonds" border="0">
- </a>
- </div>
- </div>
- </body>
-</html>
-<%def name="buildFormErrors()">
- <%
- # Please fill this dictionary in the templates if you want to substitute
- # the formular identifier
- formular_labels = {'passwd': 'adm_form_newuser_passwd',
- 'passwd2': 'adm_form_newuser_passwd_confirm'
- }
- %>
- % if len(c.form_errors) > 0:
- <div class="form_errors">
- <a name="error_list"><h1>${_('main_login_formular_input_error')}</h1></a>
- <ul>
- % for key, value in c.form_errors.iteritems():
- <li>${_(formular_labels.get(key, '%s' % key))}: ${value}</li>
- % endfor
- </ul>
- </div>
- % endif
-</%def>
More information about the Mpuls-commits
mailing list