[Mpuls-commits] r1303 - in wasko/branches/2.0/mpulsweb: . templates templates/auth

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 8 12:27:41 CET 2010


Author: torsten
Date: 2010-02-08 12:27:39 +0100 (Mon, 08 Feb 2010)
New Revision: 1303

Added:
   wasko/branches/2.0/mpulsweb/templates/
   wasko/branches/2.0/mpulsweb/templates/auth/
   wasko/branches/2.0/mpulsweb/templates/auth/login.mako
   wasko/branches/2.0/mpulsweb/templates/auth/logout.mako
   wasko/branches/2.0/mpulsweb/templates/auth/main.mako
Log:
* mpulsweb/templates,
  mpulsweb/templates/auth,
  mpulsweb/templates/auth/logout.mako,
  mpulsweb/templates/auth/main.mako,
  mpulsweb/templates/auth/login.mako: Copied login and logout
  templates from waskaweb.


Copied: wasko/branches/2.0/mpulsweb/templates/auth/login.mako (from rev 1278, wasko/branches/2.0/waskaweb/templates/login.mako)
===================================================================
--- wasko/branches/2.0/waskaweb/templates/login.mako	2010-02-05 14:46:28 UTC (rev 1278)
+++ wasko/branches/2.0/mpulsweb/templates/auth/login.mako	2010-02-08 11:27:39 UTC (rev 1303)
@@ -0,0 +1,41 @@
+## -*- coding: utf-8 -*-
+<%! import mpulsweb.lib.helper.filters as F %>
+<%inherit file="main.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>


Property changes on: wasko/branches/2.0/mpulsweb/templates/auth/login.mako
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: wasko/branches/2.0/mpulsweb/templates/auth/logout.mako (from rev 1278, wasko/branches/2.0/waskaweb/templates/logout.mako)
===================================================================
--- wasko/branches/2.0/waskaweb/templates/logout.mako	2010-02-05 14:46:28 UTC (rev 1278)
+++ wasko/branches/2.0/mpulsweb/templates/auth/logout.mako	2010-02-08 11:27:39 UTC (rev 1303)
@@ -0,0 +1,9 @@
+## -*- coding: utf-8 -*-
+<%inherit file="main.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>


Property changes on: wasko/branches/2.0/mpulsweb/templates/auth/logout.mako
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: wasko/branches/2.0/mpulsweb/templates/auth/main.mako (from rev 1278, wasko/branches/2.0/waskaweb/templates/main_login.mako)


Property changes on: wasko/branches/2.0/mpulsweb/templates/auth/main.mako
___________________________________________________________________
Name: svn:mergeinfo
   + 



More information about the Mpuls-commits mailing list