You are here: GSI Wiki>System Web>Plugins>CommentPlugin>UserCommentsTemplate (revision 4)EditAttach

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%

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

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

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

-- ChristopherHuhn - 06 Mar 2006
Edit | Attach | Print version |  PDF | History: r7 | r5 < r4 < r3 < r2 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r4 - 2016-09-27, StefanHaller
 
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