GSI-spezifische Templates für's CommentPlugin

Template für die AbwesenheitsListe (Test)

%TMPL:DEF{PROMPT:vacation}%%MESSAGE%<input %DISABLED% type="text" name="from" value="%DATE%" id="fromdate"/><button type="reset" onclick="return showCalendar('fromdate','%e %B %Y')"><img src="%PUBURL%/%TWIKIWEB%/JSCalendarContrib/img.gif" alt="Calendar"/></button>
<input %DISABLED% name="to" value="" id="todate" /><button type="reset" onclick="return showCalendar('todate','%e %B %Y')"><img src="%PUBURL%/%TWIKIWEB%/JSCalendarContrib/img.gif" alt="Calendar"/></button>
<input %DISABLED% name="who" value="%WIKIUSERNAME%"/>
<input %DISABLED% name="reason" value="Urlaub"/>
<input %DISABLED% type="submit" value="Add" />
%TMPL:END%

%TMPL:DEF{OUTPUT:vacation}%%POS:AFTER%
   * %URLPARAM{"from"}% - %URLPARAM{"to"}% - %URLPARAM{"who"}% - %URLPARAM{"reason"}% %TMPL:END%

meeting_top

Für die aktuellen Punkte im ItMeeting

%TMPL:DEF{PROMPT:meeting_top}%<input %DISABLED% type="text" size="32" name="comment" /><input %DISABLED% type="submit" value="%button|Punkt hinzufügen%" />%TMPL:END%
%TMPL:DEF{OUTPUT:meeting_top}%%POS:BEFORE%   * %URLPARAM{"comment"}% (%WIKIUSERNAME% - %DATE%)
%TMPL:END%

op_log

Für die Betriebslogbücher der Operateure.

%TMPL:DEF{PROMPT:op_log}%<select name="status">
<option value="%<nop>Y%" style="background-color:green">Alles OK</option>
<option value="%<nop>X%" style="background-color:red">Achtung: Fehler!</option>
</select>%TMPL:P{promptbox}%%TMPL:END%
%TMPL:DEF{OUTPUT:op_log}%%POS:AFTER%| %URLPARAM{"status"}% </td><td> %DATE% %TIME% </td><td> %WIKIUSERNAME% </td><td>  %URLPARAM{"comment" newline="<br />"}% |
%TMPL:END%

logbook

Für Logbücher, bspw. Einträge für Linux-Maschinen (siehe ServerList)

%TMPL:DEF{PROMPT:logbook}%%TMPL:P{promptbox}%%TMPL:END%

%TMPL:DEF{OUTPUT:logbook}%%POS:AFTER%
---+++ %SERVERTIME% - %WIKIUSERNAME%

%URLPARAM{"comment"}%

%TMPL:END%

nis_log

Für die Betriebslogbücher der Operateure.

%TMPL:DEF{PROMPT:nis_log}%
Account: <input %DISABLED% type="text" size="8" name="account" />  <select name="status"> <option value="freigegeben" style="background-color:green">freigegeben</option><option value="gesperrt" style="background-color:red">gesperrt</option></select> <select name="aktion"> <option value="-">voruebergehend sperren</option><option value="archivieren">endgueltig archivieren</option></select> %BR%
Datum: <input %DISABLED% type="text" name="date" value="%DATE%" id="date"/> %BR%
Von: <input %DISABLED% type="text" size="32" name="who" value="%WIKIUSERNAME%"/> %BR%
Veranlasst von: <input %DISABLED% type="text" size="32" name="initiator" value="Main.WalterSchoen"/> %BR%
Kommentar: %TMPL:P{promptbox}%
%TMPL:END% 
%TMPL:DEF{OUTPUT:nis_log}%%POS:AFTER%<tr><td> %URLPARAM{"account"}% </td><td> %URLPARAM{"status"}% </td><td> %URLPARAM{"aktion"}% </td><td> %URLPARAM{"date"}%  </td><td>  %URLPARAM{"who"}%  </td><td>  %URLPARAM{"initiator"}%  </td><td>  %URLPARAM{"comment" newline="<br />"}% </td></tr>%TMPL:END%

%TMPL:INCLUDE{"TWiki.CommentTmplIncident"}%

%TMPL:INCLUDE{"Proz.CommentTmplProz"}%

%TMPL:INCLUDE{"Proz.ProzTemplate"}%

misc_log

Merkliste gesperrter misc - Homedirs

%TMPL:DEF{PROMPT:misc_log}%
Misc-Dir: <input %DISABLED% type="text" size="8" name="account" /> Maschine: <input %DISABLED% type="text" size="8" name="client" /> <select name="status"> <option value="freigegeben" style="background-color:green">freigegeben</option><option value="gesperrt" style="background-color:red">gesperrt</option></select> <select name="aktion"> <option value="-">voruebergehend sperren</option><option value="archivieren">endgueltig archivieren</option></select> %BR%
Datum: <input %DISABLED% type="text" name="date" value="%DATE%" id="date"/> %BR%
Von: <input %DISABLED% type="text" size="32" name="who" value="%WIKIUSERNAME%"/> %BR%
Veranlasst von: <input %DISABLED% type="text" size="32" name="initiator" value="Main.WalterSchoen"/> %BR%
Kommentar: %TMPL:P{promptbox}%
%TMPL:END% 
%TMPL:DEF{OUTPUT:misc_log}%%POS:AFTER%<tr><td> %URLPARAM{"account"}% </td><td> %URLPARAM{"client"}% </td><td> %URLPARAM{"status"}% </td><td> %URLPARAM{"aktion"}% </td><td> %URLPARAM{"date"}%  </td><td>  %URLPARAM{"who"}%  </td><td>  %URLPARAM{"initiator"}%  </td><td>  %URLPARAM{"comment" newline="<br />"}% </td></tr>%TMPL:END%

Projekte

Items generieren als Bullet mit textbox

%TMPL:DEF{PROMPT:projectbullet}%
| <label for="project_thema">Thema/Topic</label>| <input class="foswikiInputField" name="project_item" id="bullet_above_item" type="text" size="%inputsize|40%" value="%URLPARAM{"project_item"}%" required />|
| <label for="project_detail">Erläuterung</label> | <input class="foswikiInputField" name="project_detail" type="text" size="%inputsize|80%" value="%URLPARAM{"project_detail"}%" required />|
<input %DISABLED% type="submit" value="%button|Add item%" class="foswikiButton" /> %TMPL:END%

%TMPL:DEF{OUTPUT:projectbullet}%%POS:BEFORE%<blockquote  style="background-color: #CAFF70;"> *%URLPARAM{"project_item" encode="off"}%*  (%WIKIUSERNAME% - %DATE%)</blockquote>
   * %URLPARAM{"project_detail"}%
<blockquote style="margin-left:20px;">  *Aktionen/Beschlüsse:* %URLPARAM{"project_item"}%
   * Dummy
</blockquote> %BR%
%TMPL:END%

Includes

%TMPL:INCLUDE{"TWiki.CommentTmplIncident"}%

%TMPL:INCLUDE{"Proz.CommentTmplProz"}%

%TMPL:INCLUDE{"Proz.ProzTemplate"}%

-- ChristopherHuhn - 06 Mar 2006
Topic revision: r6 - 2016-10-04, ChristianWolbert
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback