[Mpuls-commits] r2104 - in wasko/branches/2.0: jmdweb/templates mpulsweb/templates mpulsweb/templates/evaluation

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 24 14:08:42 CET 2010


Author: torsten
Date: 2010-03-24 14:08:41 +0100 (Wed, 24 Mar 2010)
New Revision: 2104

Added:
   wasko/branches/2.0/mpulsweb/templates/evaluation/
   wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate.mako
   wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate_adele.mako
   wasko/branches/2.0/mpulsweb/templates/evaluation/result.mako
Removed:
   wasko/branches/2.0/jmdweb/templates/evaluation/
   wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate.mako
   wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate_adele.mako
   wasko/branches/2.0/mpulsweb/templates/evaluation/result.mako
Log:
Updated template for evaluation to mpulsweb


Copied: wasko/branches/2.0/mpulsweb/templates/evaluation (from rev 2096, wasko/branches/2.0/jmdweb/templates/evaluation)


Property changes on: wasko/branches/2.0/mpulsweb/templates/evaluation
___________________________________________________________________
Name: svn:mergeinfo
   + 

Deleted: wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate.mako
===================================================================
--- wasko/branches/2.0/jmdweb/templates/evaluation/evaluate.mako	2010-03-23 18:26:20 UTC (rev 2096)
+++ wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate.mako	2010-03-24 13:08:41 UTC (rev 2104)
@@ -1,95 +0,0 @@
-## -*- coding: utf-8 -*-
-<%inherit file="/main.mako"/>
-<%!  import mpulsweb.lib.helper.filters as F %>
-<div>
-  ##<div class="widget modusfield actions">
-  ##  <ul>
-  ##    <li><a href="/administration/resetPassword/${c.user.id}">${_('Reset password')}</a></li>
-  ##    <li><a href="/administration/listUsers">${_('Back to userlist')}</a></li>
-  ##  </ul>
-  ##</div>
-  <div class="header">
-    <h1>${_('Evaluation configuration')}</h1>
-  </div>
-</div>
-<div>
-<form action="/evaluate/evaluateAction" method="POST" target="_blank">
-<input type="hidden" name="id">
-<table>
-  <tr>
-    <td class="label">${_('Name')}</td>
-    <td>${c.evalconfig.get_setname()}</td>
-  </tr>
-  <tr>
-    <td class="label">${_('Description')}</td>
-    <td>${c.evalconfig.get_setdesc()}</td>
-  </tr>
-  <tr>
-  <tr>
-    <td class="label">Phase</td>
-    <td>
-      <input type="checkbox" value="-1" name="phase"/> Unbekannt<br/>
-      <input type="checkbox" checked="checked" value="0" name="phase"/> Eingangsanamnese<br/>
-      <input type="checkbox" checked="checked" value="2" name="phase"/> Case Management<br/>
-      <input type="checkbox" checked="checked" value="4" name="phase"/> Nachbetreuung<br/>
-      <input type="checkbox" checked="checked" value="6" name="phase"/> Beratung<br/>
-    </td>
-  </tr>
-  <tr>
-    <td class="label">Start</td>
-    <td>
-      <input type="text" name="start_date" class="datefield"><form:error name="start_date" format="">
-    </td>
-  </tr>
-  <tr>
-    <td class="label">Ende</td>
-    <td>
-      <input type="text" name="end_date" class="datefield"><form:error name="end_date" format="">
-    </td>
-  </tr>
-  <tr>
-    <td class="label">Art der Beendigung</td>
-    <td>
-      <input type="checkbox" value="0" name="type_ending"/> erfolgreiche Reintegration in die Schule<br/>
-      <input type="checkbox" value="2" name="type_ending"/> sonstige Beendigung<br/> 
-      <input type="checkbox" value="1" name="type_ending"/> Abbruch<br/>
-    </td>
-  </tr>
-  % if session.has_key('evaluation.options'):
-  <tr>
-    <td class="label">${_('Filter')}</td>
-    <td>
-      Yes (<a href="/evaluate/resetFilter/${c.evalconfig.get_setid()}">Reset</a>)<br>
-      ${session['evaluation.options'].get('sql')}
-    </td>
-  </tr>
-  % endif
-</table>
-<h2>${_('Available evaluations')}</h2>
-<p>${_('Please select one or more evaluations')}</p>
-<table style="table-layout:auto">
-  <tr>
-    <th colspan="2">${_('Evaluations')}</th>
-  </tr>
-  % for num, id in enumerate(c.evalconfig.get_evaluations()):
-  <tr>
-    <td class="${num%2 and 'hl' or ''}">
-      <input type="checkbox" name="typelist" value="${id}" id="${id}">
-    </td>
-    <td class="${num%2 and 'hl' or ''}">
-      <h3><label for="${id}">${c.evalconfig.get_name(id)}</label></h3>
-      <p><label for="${id}">${c.evalconfig.get_desc(id)}</label></p>
-    </td>
-  </tr>
-  % endfor
-</table>
-<table>
-  <tr>
-    <td colspan="3"><input type="checkbox" name="show_percent" id="show_percent"> <label for="show_percent">${_('Show percent')}</label></td> 
-  </tr>
-  <tr>
-    <td colspan="3"><input type="submit" name="setup_evaluation" value="${_('evaluate')}"></td> 
-  </tr>
-</table>
-</form>
-</div>

Copied: wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate.mako (from rev 2100, wasko/branches/2.0/jmdweb/templates/evaluation/evaluate.mako)

Deleted: wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate_adele.mako
===================================================================
--- wasko/branches/2.0/jmdweb/templates/evaluation/evaluate_adele.mako	2010-03-23 18:26:20 UTC (rev 2096)
+++ wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate_adele.mako	2010-03-24 13:08:41 UTC (rev 2104)
@@ -1,97 +0,0 @@
-## -*- coding: utf-8 -*-
-<%inherit file="/main.mako"/>
-<%!  import mpulsweb.lib.helper.filters as F %>
-<div>
-  ##<div class="widget modusfield actions">
-  ##  <ul>
-  ##    <li><a href="/administration/resetPassword/${c.user.id}">${_('Reset password')}</a></li>
-  ##    <li><a href="/administration/listUsers">${_('Back to userlist')}</a></li>
-  ##  </ul>
-  ##</div>
-  <div class="header">
-    <h1>${_('Evaluation configuration')}</h1>
-  </div>
-</div>
-<div>
-<form action="/evaluate/evaluateAction" method="POST" target="_blank">
-<input type="hidden" name="id">
-<table>
-  <tr>
-    <td class="label">${_('Name')}</td>
-    <td>${c.evalconfig.get_setname()}</td>
-  </tr>
-  <tr>
-    <td class="label">${_('Description')}</td>
-    <td>${c.evalconfig.get_setdesc()}</td>
-  </tr>
-  <tr>
-    <td class="label">Phase</td>
-    <td>
-      <input type="hidden" name="phase" value="2">
-      <input type="checkbox" value="-1" name="phase" disabled="disabled"/> Unbekannt<br/>
-      <input type="checkbox" value="0"  name="phase" disabled="disabled"/> Eingangsanamnese<br/>
-      <input type="checkbox" value="2"  name="phase" disabled="disabled"/> Case Management<br/>
-      <input type="checkbox" value="4"  name="phase" disabled="disabled"/> Nachbetreuung<br/>
-      <input type="checkbox" value="6"  name="phase" disabled="disabled"/> Beratung<br/>
-    </td>
-  </tr>
-  <tr>
-    <td class="label">Start</td>
-    <td>
-      <input type="hidden" name="start_date">
-      <input type="text" name="start_date" class="datefield" disabled="disabled"><form:error name="start_date" format="">
-    </td>
-  </tr>
-  <tr>
-    <td class="label">Ende</td>
-    <td>
-      <input type="hidden" name="end_date">
-      <input type="text" name="end_date" class="datefield" disabled="disabled"><form:error name="end_date" format="">
-    </td>
-  </tr>
-  <tr>
-    <td class="label">Art der Beendigung</td>
-    <td>
-      <input type="checkbox" value="0" name="type_ending" disabled="disabled"/> erfolgreiche Reintegration in die Schule<br/>
-      <input type="checkbox" value="2" name="type_ending" disabled="disabled"/> sonstige Beendigung<br/> 
-      <input type="checkbox" value="1" name="type_ending" disabled="disabled"/> Abbruch<br/>
-    </td>
-  </tr>
-  % if session.has_key('evaluation.options'):
-  <tr>
-    <td class="label">${_('Filter')}</td>
-    <td>
-      Yes (<a href="/evaluate/resetFilter/${c.evalconfig.get_setid()}">Reset</a>)<br>
-      ${session['evaluation.options'].get('sql')}
-    </td>
-  </tr>
-  % endif
-</table>
-<h2>${_('Available evaluations')}</h2>
-<p>${_('Please select one or more evaluations')}</p>
-<table style="table-layout:auto">
-  <tr>
-    <th colspan="2">${_('Evaluations')}</th>
-  </tr>
-  % for num, id in enumerate(c.evalconfig.get_evaluations()):
-  <tr>
-    <td class="${num%2 and 'hl' or ''}">
-      <input type="checkbox" name="typelist" value="${id}" id="${id}">
-    </td>
-    <td class="${num%2 and 'hl' or ''}">
-      <h3><label for="${id}">${c.evalconfig.get_name(id)}</label></h3>
-      <p><label for="${id}">${c.evalconfig.get_desc(id)}</label></p>
-    </td>
-  </tr>
-  % endfor
-</table>
-<table>
-  <tr>
-    <td colspan="3"><input type="checkbox" name="show_percent" id="show_percent"> <label for="show_percent">${_('Show percent')}</label></td> 
-  </tr>
-  <tr>
-    <td colspan="3"><input type="submit" name="setup_evaluation" value="${_('evaluate')}"></td> 
-  </tr>
-</table>
-</form>
-</div>

Copied: wasko/branches/2.0/mpulsweb/templates/evaluation/evaluate_adele.mako (from rev 2100, wasko/branches/2.0/jmdweb/templates/evaluation/evaluate_adele.mako)

Deleted: wasko/branches/2.0/mpulsweb/templates/evaluation/result.mako
===================================================================
--- wasko/branches/2.0/jmdweb/templates/evaluation/result.mako	2010-03-23 18:26:20 UTC (rev 2096)
+++ wasko/branches/2.0/mpulsweb/templates/evaluation/result.mako	2010-03-24 13:08:41 UTC (rev 2104)
@@ -1,28 +0,0 @@
-## -*- coding: utf-8 -*-
-<html>
-  <head>
-    <title>WASKO Auswertung Ergebnis</title>
-    <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">
-    <link href="/styles/all.css" media="all" rel="stylesheet" type="text/css">
-    <link href="/styles/screen.css" media="screen" rel="stylesheet" type="text/css">
-    <link href="/styles/print.css" media="print" rel="stylesheet" type="text/css">
-  </head>
-  <body>
-    <div id="content_header_large">
-    <div id="modusfield">
-      <div class="actions">
-        <ul>
-          <li><a href="/evaluate/exportXML/evaluation_export.xml" target="_blank">${_('Export XML')}</a></li>
-          <li><a href="/evaluate/exportCSV/evaluation_export.csv" target="_blank">${_('Export CSV')}</a></li>
-        </ul>
-      </div>
-    </div>
-    </div>
-    ${c.result}
-  </body>
-</html>

Copied: wasko/branches/2.0/mpulsweb/templates/evaluation/result.mako (from rev 2100, wasko/branches/2.0/jmdweb/templates/evaluation/result.mako)



More information about the Mpuls-commits mailing list