[Mpuls-commits] r721 - in wasko/branches/2.0/waskaweb/templates: . evaluation

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 2 09:45:42 CET 2009


Author: torsten
Date: 2009-12-02 09:45:41 +0100 (Wed, 02 Dec 2009)
New Revision: 721

Added:
   wasko/branches/2.0/waskaweb/templates/evaluation/
   wasko/branches/2.0/waskaweb/templates/evaluation/evaluate.mako
   wasko/branches/2.0/waskaweb/templates/evaluation/evaluate_adele.mako
   wasko/branches/2.0/waskaweb/templates/evaluation/logbook.mako
   wasko/branches/2.0/waskaweb/templates/evaluation/result.mako
Removed:
   wasko/branches/2.0/waskaweb/templates/evaluation/
Log:
Added evaluation-template files


Added: wasko/branches/2.0/waskaweb/templates/evaluation/evaluate.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/evaluation/evaluate.mako	2009-12-02 08:20:50 UTC (rev 720)
+++ wasko/branches/2.0/waskaweb/templates/evaluation/evaluate.mako	2009-12-02 08:45:41 UTC (rev 721)
@@ -0,0 +1,95 @@
+## -*- coding: utf-8 -*-
+<%inherit file="/main.mako"/>
+<%!  import waskaweb.lib.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>

Added: wasko/branches/2.0/waskaweb/templates/evaluation/evaluate_adele.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/evaluation/evaluate_adele.mako	2009-12-02 08:20:50 UTC (rev 720)
+++ wasko/branches/2.0/waskaweb/templates/evaluation/evaluate_adele.mako	2009-12-02 08:45:41 UTC (rev 721)
@@ -0,0 +1,97 @@
+## -*- coding: utf-8 -*-
+<%inherit file="/main.mako"/>
+<%!  import waskaweb.lib.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>

Added: wasko/branches/2.0/waskaweb/templates/evaluation/logbook.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/evaluation/logbook.mako	2009-12-02 08:20:50 UTC (rev 720)
+++ wasko/branches/2.0/waskaweb/templates/evaluation/logbook.mako	2009-12-02 08:45:41 UTC (rev 721)
@@ -0,0 +1,84 @@
+## -*- coding: utf-8 -*-
+<table class="evaluation">
+  <tr>
+    <th class="table_header_h ">Aktivität</th>
+    <th class="table_header_h table_width_mid_s num">Anzahl</th>
+    <th class="table_header_h table_width_mid_s num">Aufwand (Minuten)</th>
+  </tr>
+  ## Unmittelbare Arbeit mit dem Jugendlichen
+  <tr>
+    <td><b>unmittelbare Arbeit mit dem Jugendlichen:</b></td><td class="num"><b>${c.eval_effort['sum_cat1'][0]}</b></td><td class="num"><b>${c.eval_effort['sum_cat1'][1]}</b></td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Gespräch mit dem/der Jugendlichen</td><td class="num">${c.eval_effort['1'][0]}</td><td class="num">${c.eval_effort['1'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Kompetenzfeststellung</td><td class="num">${c.eval_effort['2'][0]}</td><td class="num">${c.eval_effort['2'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Korrespondenz mit dem/der Jugendlichen (Telefonate/Schriftverkehr)</td><td class="num">${c.eval_effort['3'][0]}</td><td class="num">${c.eval_effort['3'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Begleitung des/der Jugendlichen zu externen Stellen</td><td class="num">${c.eval_effort['4'][0]}</td><td class="num">${c.eval_effort['4'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Sonstige Betreuung des Jugendlichen</td><td class="num">${c.eval_effort['5'][0]}</td><td class="num">${c.eval_effort['5'][1]}</td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td><b>Arbeit mit Eltern/Personensorgeberechtigte:</b></td><td class="num"><b>${c.eval_effort['sum_cat2'][0]}</b></td><td class="num"><b>${c.eval_effort['sum_cat2'][1]}</b></td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td style="padding-left:1em;">Gespräch mit Eltern/Personensorgeberechtigten</td><td class="num">${c.eval_effort['6'][0]}</td><td class="num">${c.eval_effort['6'][1]}</td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td style="padding-left:1em;">Korrespondenz mit Eltern/Personensorgeberechtigten (Telefonat/Schriftverkehr)</td><td class="num">${c.eval_effort['7'][0]}</td><td class="num">${c.eval_effort['7'][1]}</td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td style="padding-left:1em;">Sonstige Maßnahmen der Elternarbeit</td><td class="num">${c.eval_effort['8'][0]}</td><td class="num">${c.eval_effort['8'][1]}</td>
+  </tr>
+  <tr>
+    <td><b>Arbeit mit Dritten:</b></td><td class="num"><b>${c.eval_effort['sum_cat3'][0]}</b></td><td class="num"><b>${c.eval_effort['sum_cat3'][1]}</b></td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Gespräch mit schulischen Mitarbeiter/-innen</td><td class="num">${c.eval_effort['9'][0]}</td><td class="num">${c.eval_effort['9'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Korrespondenz mit Schule (Telefonat/Schriftverkehr)</td><td class="num">${c.eval_effort['10'][0]}</td><td class="num">${c.eval_effort['10'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Gespräch mit Mitarbeiter/-innen der Jugendhilfe</td><td class="num">${c.eval_effort['18'][0]}</td><td class="num">${c.eval_effort['18'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Korrespondenz mit Jugendhilfe (Telefonat/Schriftverkehr)</td><td class="num">${c.eval_effort['11'][0]}</td><td class="num">${c.eval_effort['11'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Gespräch mit beteiligten Dritten/Kooperationspartnern</td><td class="num">${c.eval_effort['12'][0]}</td><td class="num">${c.eval_effort['12'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Korrespondenz mit beteiligten Dritten/Kooperationspartnern (Telefonat/Schriftverkehr)</td><td class="num">${c.eval_effort['13'][0]}</td><td class="num">${c.eval_effort['13'][1]}</td>
+  </tr>
+  <tr>
+    <td style="padding-left:1em;">Förder- und Fallkonferenz</td><td class="num">${c.eval_effort['14'][0]}</td><td class="num">${c.eval_effort['14'][1]}</td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td><b>Sonstiges:</b></td><td class="num"><b>${c.eval_effort['sum_cat4'][0]}</b></td><td class="num"><b>${c.eval_effort['sum_cat4'][1]}</b></td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td style="padding-left:1em;">Fahrtwege</td><td class="num">${c.eval_effort['15'][0]}</td><td class="num">${c.eval_effort['15'][1]}</td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td style="padding-left:1em;">Dokumentation WASKO</td><td class="num">${c.eval_effort['16'][0]}</td><td class="num">${c.eval_effort['16'][1]}</td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td style="padding-left:1em;">Teambesprechung</td><td class="num">${c.eval_effort['17'][0]}</td><td class="num">${c.eval_effort['17'][1]}</td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td style="padding-left:1em;">Sonstige Angaben</td><td class="num">${c.eval_effort['-2'][0]}</td><td class="num">${c.eval_effort['-2'][1]}</td>
+  </tr>
+  <tr>
+    <td><b>Keine Angabe:</b></td><td class="num"><b>${c.eval_effort['sum_cat5'][0]}</b></td><td class="num"><b>${c.eval_effort['sum_cat5'][1]}</b></td>
+  </tr>
+  <tr class="table_row_v_12">
+    <td><b>GESAMT</b></td><td class="num"><b>${c.eval_effort['sum_all'][0]}</b></td><td class="num"><b>${c.eval_effort['sum_all'][1]}</b></td>
+  </tr>
+</table>

Added: wasko/branches/2.0/waskaweb/templates/evaluation/result.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/evaluation/result.mako	2009-12-02 08:20:50 UTC (rev 720)
+++ wasko/branches/2.0/waskaweb/templates/evaluation/result.mako	2009-12-02 08:45:41 UTC (rev 721)
@@ -0,0 +1,28 @@
+## -*- 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>



More information about the Mpuls-commits mailing list