Vorlage:BV-BgTausch
Aus BogenWiki
(Unterschied zwischen Versionen)
Nugman (Diskussion | Beiträge) |
Nugman (Diskussion | Beiträge) |
||
(Der Versionsvergleich bezieht 86 dazwischenliegende Versionen mit ein.) | |||
Zeile 3: | Zeile 3: | ||
<tr style="background:white" valign=top> | <tr style="background:white" valign=top> | ||
<td id="Frame.TopLeft" width=200px> | <td id="Frame.TopLeft" width=200px> | ||
- | <div id=" | + | <div id="BVTAM.TauschList" style="width:100%;">BVTAM.TauschList</div> |
</td> | </td> | ||
<td id="Frame.TopRight" width=100%> | <td id="Frame.TopRight" width=100%> | ||
- | <div id=" | + | <div id="BVTAM.TauschDaten" style="width:100%;">BVTAM.TauschDaten</div> |
- | <div id=" | + | <div id="BVTAM.TauschBogenListe" style="width:100%;">BVTAM.TauschBogenListe</div> |
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | <template id=" | + | <template id="BVTAM.TauschList.Template"> |
<template id="Head"></template> | <template id="Head"></template> | ||
<table style="background:silver;" width=100% cellspacing=1 cellpadding=4> | <table style="background:silver;" width=100% cellspacing=1 cellpadding=4> | ||
<tr style="background:#E0E0E0;" valign=top> | <tr style="background:#E0E0E0;" valign=top> | ||
- | <td style="padding:2px 6px 1px 6px"><b> | + | <td style="padding:2px 6px 1px 6px"><b>Übersicht</b></td> |
- | + | ||
- | + | ||
- | + | ||
</tr> | </tr> | ||
- | |||
<tr style="background:#F8F8F8;" valign=top> | <tr style="background:#F8F8F8;" valign=top> | ||
- | <td style="padding:2px 6px 1px 6px" nowrap>%%Tausch.Datum%%</td> | + | <td> |
- | + | <div style="padding-bottom:8px;padding-top:4px;"> | |
- | + | <button id="BVTAM.TA.Create.Button" type="button" | |
- | + | onclick="BVTAMOnClick(this)">Neue Tauschaktion</button> | |
+ | </div> | ||
+ | <table id="BVTAM.TA.Table" style="background:silver;" width=100% cellspacing=1 cellpadding=4> | ||
+ | <thead> | ||
+ | <tr style="background:#E0E0E0;" valign=top> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Datum</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Tauschpartner</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Status</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Fkt.</b></td> | ||
+ | </tr> | ||
+ | </thead> | ||
+ | <tbody> | ||
+ | <template id="Body"></template> | ||
+ | <tr style="background:#F8F8F8;" valign=top bvid="%%Tausch.ID%%"> | ||
+ | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'TA');">%%Tausch.Datum%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'TA');">%%Tausch.Partner%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'TA');">%%Tausch.Status%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'TA');" align=center> | ||
+ | <span id="BVTAM.TA.Fkt.%%Tausch.ID%%">%%Tausch.Fkt%%</span> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <template id="Empty"></template> | ||
+ | <tr style="background:#F8F8F8;" valign=top> | ||
+ | <td colspan=4 style="padding:2px 6px 1px 6px"><i>Keine Tauschaktionen vorhanden</i></td> | ||
+ | </tr> | ||
+ | <template id="Foot"></template> | ||
+ | </tbody> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <template id="StatusEditBtn"></template> | ||
+ | <img id="BVTAM.TA.Edit.Button" bvid="%%Tausch.ID%%" title="Daten bearbeiten" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaEdit%%BtnState%%_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <template id="StatusNBtn"></template> | ||
+ | <img id="BVTAM.TA.Status.OK.Button" bvid="%%Tausch.ID%%" title="Tauschaktion akzeptieren" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaOK%%BtnState%%_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <img id="BVTAM.TA.Status.NOK.Button" bvid="%%Tausch.ID%%" title="Tauschaktion ablehnen" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaNOK%%BtnState%%_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <template id="StatusMBtn"></template> | ||
+ | <img id="BVTAM.TA.Status.OK.Button" bvid="%%Tausch.ID%%" title="Änderungen akzeptieren" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaOK%%BtnState%%_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <img id="BVTAM.TA.Status.NOK.Button" bvid="%%Tausch.ID%%" title="Änderungen ablehnen" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaNOK%%BtnState%%_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | </template> | ||
+ | <template id="BVTAM.TauschDaten.View.Template"> | ||
+ | <template id="Body"></template> | ||
+ | <table style="background:silver;" width=100% cellspacing=1 cellpadding=4> | ||
+ | <tr style="background:#E0E0E0;" valign=top> | ||
+ | <td style="padding:2px 6px 1px 6px"><b>Daten der Tauschaktion</b></td> | ||
</tr> | </tr> | ||
- | |||
<tr style="background:#F8F8F8;" valign=top> | <tr style="background:#F8F8F8;" valign=top> | ||
- | <td | + | <td> |
+ | <table cellspacing=0 cellpadding=2> | ||
+ | <tr valign=top> | ||
+ | <td> | ||
+ | <table cellspacing=0 cellpadding=2> | ||
+ | <tr valign=top> | ||
+ | <td nowrap>Tauschpartner: </td><td> </td><td>%%Tausch.Partner%%</td> | ||
+ | </tr> | ||
+ | <tr valign=top> | ||
+ | <td nowrap>Startdatum:</td><td> </td><td>%%Tausch.StartDatum.de%%</td> | ||
+ | </tr> | ||
+ | <tr valign=top> | ||
+ | <td nowrap>Endedatum:</td><td> </td><td>%%Tausch.EndeDatum.de%%</td> | ||
+ | </tr> | ||
+ | <tr valign=top> | ||
+ | <td nowrap>Status:</td><td> </td><td><span id="BVTAM.TD.Status.Span">%%Tausch.Status%%</span></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | <td> </td> | ||
+ | <td nowrap>%%Tausch.KommentarHTML%%</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
</tr> | </tr> | ||
- | |||
</table> | </table> | ||
+ | <template id="KommentarAkt"></template> | ||
+ | Beschreibung, Bedingungen, Kommentare: <br> | ||
+ | <textarea name="TauschKommentar" id="BVTAM.TD.Kommentar.Text" cols="80" rows="5" readonly | ||
+ | style="font-family:arial,sans-serif;font-size:small;">%%Tausch.Kommentar%%</textarea> | ||
+ | <template id="KommentarAltNeu"></template> | ||
+ | Beschreibung, Bedingungen, Kommentare (geändert): <br> | ||
+ | <textarea name="TauschKommentarNeu" id="BVTAM.TD.KommentarNeu.Text" cols="80" rows="5" readonly | ||
+ | style="font-family:arial,sans-serif;font-size:small;">%%Tausch.KommentarNeu%%</textarea> | ||
+ | <div style="margin-top:4px;"> | ||
+ | Alter Text:<br> | ||
+ | <textarea name="TauschKommentar" id="BVTAM.TD.Kommentar.Text" cols="80" rows="5" readonly | ||
+ | style="font-family:arial,sans-serif;font-size:small;color:#808080;">%%Tausch.Kommentar%%</textarea> | ||
+ | </div> | ||
+ | </template> | ||
+ | <template id="BVTAM.TauschDaten.Edit.Template"> | ||
+ | <template id="Body"></template> | ||
+ | <table style="background:silver;" width=100% cellspacing=1 cellpadding=4> | ||
+ | <tr style="background:#E0E0E0;" valign=top> | ||
+ | <td style="padding:2px 6px 1px 6px"><b>Daten der Tauschaktion</b></td> | ||
+ | </tr> | ||
+ | <tr style="background:#F8F8F8;" valign=top> | ||
+ | <td> | ||
+ | <table cellspacing=0 cellpadding=2> | ||
+ | <tr valign=top> | ||
+ | <td nowrap>Tauschpartner: </td><td> </td> | ||
+ | <td> | ||
+ | <select id="BVTAM.TD.Partner.Select" name="Tauschpartner" onchange="BVTAMOnChange(this)"> | ||
+ | <option value="-">bitte auswählen</option> | ||
+ | </select> | ||
+ | </td> | ||
+ | <td> </td> | ||
+ | <td rowspan=4 nowrap> | ||
+ | %%Tausch.KommentarHTML%% | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign=top> | ||
+ | <td nowrap>Startdatum:</td><td> </td> | ||
+ | <td> | ||
+ | <input type="date" id="BVTAM.TD.StartDatum.Date" name="StartDatum" style="margin:0px" value="%%Tausch.StartDatum.db%%" | ||
+ | onchange="BVTAMOnChange(this)" oninput="BVTAMOnChange(this)"> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign=top> | ||
+ | <td nowrap>Endedatum:</td><td> </td> | ||
+ | <td> | ||
+ | <input type="date" id="BVTAM.TD.EndeDatum.Date" name="EndeDatum" style="margin:0px" value="%%Tausch.EndeDatum.db%%" | ||
+ | onchange="BVTAMOnChange(this)" oninput="BVTAMOnChange(this)"> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign=top> | ||
+ | <td nowrap>Status:</td><td> </td> | ||
+ | <td><span id="BVTAM.TD.Status.Span">%%Tausch.Status%%</span></td> | ||
+ | </tr> | ||
+ | <tr valign=top> | ||
+ | <td colspan=5 nowrap> | ||
+ | <div id="BVTAM.TD.New.Div" style="display:%%Tausch.New.Div%%"> | ||
+ | <button id="BVTAM.TD.New.Button" type="button" | ||
+ | onclick="BVTAMOnClick(this)">Tauschaktion erstellen</button> | ||
+ | </div> | ||
+ | <div id="BVTAM.TD.Save.Div" style="display:%%Tausch.Save.Div%%"> | ||
+ | <button id="BVTAM.TD.Save.Button" type="button" | ||
+ | onclick="BVTAMOnClick(this)">Änderungen speichern</button> | ||
+ | </div> | ||
+ | <button id="BVTAM.TD.Abort.Button" type="button" | ||
+ | onclick="BVTAMOnClick(this)">Abbrechen</button> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <template id="KommentarAkt"></template> | ||
+ | Beschreibung, Bedingungen, Kommentare: <br> | ||
+ | <textarea name="TauschKommentar" id="BVTAM.TD.Kommentar.Text" cols="80" rows="5" | ||
+ | style="font-family:arial,sans-serif;font-size:small;">%%Tausch.Kommentar%%</textarea> | ||
+ | </template> | ||
+ | <template id="BVTAM.TauschBogen.Template"> | ||
+ | <template id="Head"></template> | ||
+ | <p><b>%%Title%% (%%Anzahl%%):</b></p> | ||
+ | <table id="BVTAM.%%BogenListe%%.Table" style="background:silver;" cellspacing=1 cellpadding=4> | ||
+ | <thead> | ||
+ | <tr style="background:#E0E0E0;" valign=top> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Gebiet</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>KatNr.</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Erh.</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Bogen-Nr.</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Status</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Kat-Wert</b></td> | ||
+ | <th style="padding:2px 6px 1px 6px"><b>Kommentar</b></td> | ||
+ | </tr> | ||
+ | <thead> | ||
+ | <tbody> | ||
+ | <template id="Bogen"></template> | ||
+ | <tr style="background:#F8F8F8;" valign=top bvid="%%Bogen.ID%%"> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap>%%Bogen.Gebiet%% %%Bogen.Gebiet1%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap>%%Bogen.KatNr%%%%Bogen.EM.UnterArt%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap align=center> | ||
+ | <div style="padding-top:2px"><img src="%%Bogen.Erhaltung.Img%%" alt="%%Bogen.Erhaltung.Key%%" title="%%Bogen.Erhaltung.Text%%"></div> | ||
+ | </td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap><span title="%%Bogen.ID%%">%%Bogen.BogenNr%%</span></td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap>%%Bogen.Status%%%%Bogen.StatusBtn%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap align=right>%%Bogen.KatWert%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap>%%Bogen.Kommentar%%</td> | ||
+ | </tr> | ||
+ | <template id="BogenZweiZeilen"></template> | ||
+ | <tr style="background:#F8F8F8;" valign=top bvid="%%Bogen.ID%%"> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap rowspan=2>%%Bogen.Gebiet%% %%Bogen.Gebiet1%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap rowspan=2>%%Bogen.KatNr%%%%Bogen.EM.UnterArt%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap rowspan=2 align=center> | ||
+ | <div style="padding-top:2px"><img src="%%Bogen.Erhaltung.Img%%" alt="%%Bogen.Erhaltung.Key%%" title="%%Bogen.Erhaltung.Text%%"></div> | ||
+ | </td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap rowspan=2><span title="%%Bogen.ID%%">%%Bogen.BogenNr%%</span></td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap>%%Bogen.Status%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap align=right>%%Bogen.KatWert%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap>%%Bogen.Kommentar%%</td> | ||
+ | </tr> | ||
+ | <tr style="background:#F8F8F8;" valign=top bvid="%%Bogen.ID%%"> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap>%%Bogen.StatusBtn%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap align=right>%%Bogen.KatWertNeu%%</td> | ||
+ | <td style="padding:2px 6px 1px 6px;" nowrap>%%Bogen.KommentarNeu%%</td> | ||
+ | </tr> | ||
+ | <template id="KatWertSum"></template> | ||
+ | <tr style="background:#F8F8F8;" valign=top> | ||
+ | <td colspan=5 style="padding:2px 6px 1px 6px" align=right>Summe:</td> | ||
+ | <td colspan=1 style="padding:2px 6px 1px 6px" align=right>%%Bogen.KatWertSumme%%</td> | ||
+ | <td colspan=1 style="padding:2px 6px 1px 6px"> </td> | ||
+ | </tr> | ||
+ | <template id="Empty"></template> | ||
+ | <tr style="background:#F8F8F8;" valign=top> | ||
+ | <td colspan=7 style="padding:2px 6px 1px 6px"><i>Keine Bögen vorhanden</i></td> | ||
+ | </tr> | ||
+ | <template id="Foot"></template> | ||
+ | <tbody> | ||
+ | </table> | ||
+ | <template id="StatusNBtn"></template> | ||
+ | <img id="BVTAM.%%BogenListe%%.Status.OK.Button" bvid="%%Bogen.ID%%" title="Bogen akzeptieren" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaOK_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <img id="BVTAM.%%BogenListe%%.Status.NOK.Button" bvid="%%Bogen.ID%%" title="Bogen ablehnen" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaNOK_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <template id="StatusMBtn"></template> | ||
+ | <img id="BVTAM.%%BogenListe%%.Status.OK.Button" bvid="%%Bogen.ID%%" title="Änderung akzeptieren" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaOK_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <img id="BVTAM.%%BogenListe%%.Status.NOK.Button" bvid="%%Bogen.ID%%" title="Änderung ablehnen" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaNOK_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <template id="StatusDBtn"></template> | ||
+ | <img id="BVTAM.%%BogenListe%%.Status.OK.Button" bvid="%%Bogen.ID%%" title="Löschen akzeptieren" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaOK_14x14.png" onclick="BVTAMOnClick(this)"> | ||
+ | <img id="BVTAM.%%BogenListe%%.Status.NOK.Button" bvid="%%Bogen.ID%%" title="Löschen ablehnen" style="cursor:pointer;" | ||
+ | src="/bogenwiki_bv/images/TaNOK_14x14.png" onclick="BVTAMOnClick(this)"> | ||
</template> | </template> | ||
<script src="/bogenwiki_bv/bv_bgtausch.js"></script> | <script src="/bogenwiki_bv/bv_bgtausch.js"></script> | ||
Zeile 38: | Zeile 253: | ||
<script src="/bogenwiki_lib/bw_guilib.js"></script> | <script src="/bogenwiki_lib/bw_guilib.js"></script> | ||
<script> | <script> | ||
- | + | BVTAMInit(wgUserName,wgUserGroups); | |
- | + | ||
</script> | </script> | ||
</html> | </html> |
Aktuelle Version vom 09:10, 18. Dez. 2023
BVTAM.TauschList
|
BVTAM.TauschDaten
BVTAM.TauschBogenListe
|
Übersicht | ||||||||||||
|
Daten der Tauschaktion | |||||||||||||||
|
Beschreibung, Bedingungen, Kommentare (geändert):
Alter Text:
Daten der Tauschaktion | |||||||||||||||||||
|
%%Title%% (%%Anzahl%%):
Gebiet | KatNr. | Erh. | Bogen-Nr. | Status | Kat-Wert | Kommentar |
---|---|---|---|---|---|---|
%%Bogen.Gebiet%% %%Bogen.Gebiet1%% | %%Bogen.KatNr%%%%Bogen.EM.UnterArt%% | %%Bogen.BogenNr%% | %%Bogen.Status%%%%Bogen.StatusBtn%% | %%Bogen.KatWert%% | %%Bogen.Kommentar%% | |
%%Bogen.Gebiet%% %%Bogen.Gebiet1%% | %%Bogen.KatNr%%%%Bogen.EM.UnterArt%% | %%Bogen.BogenNr%% | %%Bogen.Status%% | %%Bogen.KatWert%% | %%Bogen.Kommentar%% | |
%%Bogen.StatusBtn%% | %%Bogen.KatWertNeu%% | %%Bogen.KommentarNeu%% | ||||
Summe: | %%Bogen.KatWertSumme%% | |||||
Keine Bögen vorhanden |