Vorlage:BV-BgTausch
Aus BogenWiki
(Unterschied zwischen Versionen)
Nugman (Diskussion | Beiträge) |
Nugman (Diskussion | Beiträge) |
||
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 id=" | + | <table id="BVTAM.TA.Table" style="background:silver;" width=100% cellspacing=1 cellpadding=4> |
<thead> | <thead> | ||
<tr style="background:#E0E0E0;" valign=top> | <tr style="background:#E0E0E0;" valign=top> | ||
Zeile 25: | Zeile 25: | ||
<template id="Body"></template> | <template id="Body"></template> | ||
<tr style="background:#F8F8F8;" valign=top bvid="%%Tausch.ID%%"> | <tr style="background:#F8F8F8;" valign=top bvid="%%Tausch.ID%%"> | ||
- | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick=" | + | <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=" | + | <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=" | + | <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=" | + | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'TA');">[Btn]</td> |
</tr> | </tr> | ||
<template id="Empty"></template> | <template id="Empty"></template> | ||
Zeile 38: | Zeile 38: | ||
</table> | </table> | ||
</template> | </template> | ||
- | <template id=" | + | <template id="BVTAM.TauschDaten.Template"> |
<template id="Body"></template> | <template id="Body"></template> | ||
<table style="background:silver;" width=100% cellspacing=1 cellpadding=4> | <table style="background:silver;" width=100% cellspacing=1 cellpadding=4> | ||
Zeile 50: | Zeile 50: | ||
<td nowrap>Tauschpartner: </td><td> </td> | <td nowrap>Tauschpartner: </td><td> </td> | ||
<td> | <td> | ||
- | <select id=" | + | <select id="BVTAM.TauschPartner.Select" name="Tauschpartner" onchange="BV_BTB_OnChange(this)"> |
<option value="-">bitte auswählen</option> | <option value="-">bitte auswählen</option> | ||
</select> | </select> | ||
Zeile 56: | Zeile 56: | ||
<td> </td> | <td> </td> | ||
<td rowspan=4 nowrap>Beschreibung, Kommentar, Anmerkung: <br> | <td rowspan=4 nowrap>Beschreibung, Kommentar, Anmerkung: <br> | ||
- | <textarea name="TauschKommentar" id=" | + | <textarea name="TauschKommentar" id="BVTAM.TauschKommentar.Text" cols="50" rows="5"></textarea> |
</td> | </td> | ||
</tr> | </tr> | ||
Zeile 62: | Zeile 62: | ||
<td nowrap>Startdatum:</td><td> </td> | <td nowrap>Startdatum:</td><td> </td> | ||
<td> | <td> | ||
- | <input type="date" id=" | + | <input type="date" id="BVTAM.StartDatum.Date" name="StartDatum" style="margin:0px" value="%%Tausch.StartDatum.db%%" |
- | onchange=" | + | onchange="BVTAMOnChange(this)" oninput="BVTAMOnChange(this)"> |
</td> | </td> | ||
</tr> | </tr> | ||
Zeile 69: | Zeile 69: | ||
<td nowrap>Endedatum:</td><td> </td> | <td nowrap>Endedatum:</td><td> </td> | ||
<td> | <td> | ||
- | <input type="date" id=" | + | <input type="date" id="BVTAM.EndeDatum.Date" name="EndeDatum" style="margin:0px" value="%%Tausch.EndeDatum.db%%" |
- | onchange=" | + | onchange="BVTAMOnChange(this)" oninput="BVTAMOnChange(this)"> |
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign=top> | <tr valign=top> | ||
<td nowrap>Status:</td><td> </td> | <td nowrap>Status:</td><td> </td> | ||
- | <td><span id=" | + | <td><span id="BVTAM.Status">%%Tausch.Status%%</span></td> |
</tr> | </tr> | ||
<tr valign=top> | <tr valign=top> | ||
<td colspan=5 nowrap> | <td colspan=5 nowrap> | ||
- | <button id=" | + | <button id="BVTAM.TauschAktion.Save" type="button" |
onclick="BGF_BtV_OnClick(this)">Speichern</button> | onclick="BGF_BtV_OnClick(this)">Speichern</button> | ||
- | <button id=" | + | <button id="BVTAM.TauschAktion.Abort" type="button" |
onclick="BGF_BtV_OnClick(this)">Abbrechen</button> | onclick="BGF_BtV_OnClick(this)">Abbrechen</button> | ||
</td> | </td> | ||
Zeile 90: | Zeile 90: | ||
</table> | </table> | ||
</template> | </template> | ||
- | <template id=" | + | <template id="BVTAM.TauschBogen.Template"> |
<template id="Head"></template> | <template id="Head"></template> | ||
<p><b>%%Title%% (%%Anzahl%%):</b></p> | <p><b>%%Title%% (%%Anzahl%%):</b></p> | ||
- | <table id=" | + | <table id="BVTAM.%%BogenListe%%.Table" style="background:silver;" cellspacing=1 cellpadding=4> |
<thead> | <thead> | ||
<tr style="background:#E0E0E0;" valign=top> | <tr style="background:#E0E0E0;" valign=top> | ||
Zeile 108: | Zeile 108: | ||
<template id="Body"></template> | <template id="Body"></template> | ||
<tr style="background:#F8F8F8;" valign=top bvid="%%Bogen.ID%%"> | <tr style="background:#F8F8F8;" valign=top bvid="%%Bogen.ID%%"> | ||
- | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick=" | + | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'%%BogenListe%%');">%%Bogen.Gebiet%% %%Bogen.Gebiet1%%</td> |
- | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick=" | + | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'%%BogenListe%%');">%%Bogen.KatNr%%</td> |
- | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick=" | + | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'%%BogenListe%%');" align=center> |
<div style="padding-top:2px"><img src="%%Bogen.Erhaltung.Img%%" alt="%%Bogen.Erhaltung.Key%%" title="%%Bogen.Erhaltung.Text%%"></div> | <div style="padding-top:2px"><img src="%%Bogen.Erhaltung.Img%%" alt="%%Bogen.Erhaltung.Key%%" title="%%Bogen.Erhaltung.Text%%"></div> | ||
</td> | </td> | ||
- | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick=" | + | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'%%BogenListe%%');">%%Bogen.BogenNr%%</td> |
- | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick=" | + | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'%%BogenListe%%');">%%Bogen.Status%%</td> |
- | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick=" | + | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'%%BogenListe%%');">%%Bogen.KatWert%%</td> |
- | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick=" | + | <td style="padding:2px 6px 1px 6px;cursor:pointer;" nowrap onclick="BVTAMTabCellClick(this,'%%BogenListe%%');">%%Bogen.Kommentar%%</td> |
</tr> | </tr> | ||
<template id="Empty"></template> | <template id="Empty"></template> | ||
Zeile 130: | Zeile 130: | ||
<script src="/bogenwiki_lib/bw_guilib.js"></script> | <script src="/bogenwiki_lib/bw_guilib.js"></script> | ||
<script> | <script> | ||
- | BWGui_AddTemplate(' | + | BWGui_AddTemplate('BVTAM.TauschList.Template'); |
- | BWGui_AddTemplate(' | + | BWGui_AddTemplate('BVTAM.TauschDaten.Template'); |
- | BWGui_AddTemplate(' | + | BWGui_AddTemplate('BVTAM.TauschBogen.Template'); |
- | + | BVTAMInit(wgUserName,wgUserGroups); | |
</script> | </script> | ||
</html> | </html> |
Version vom 11:53, 6. Dez. 2023
BVTAM.TauschList
|
BVTAM.TauschDaten
BVTAM.TauschBogenListe
|
Datum | Tauschpartner | Status | Fkt. |
---|---|---|---|
%%Tausch.Datum%% | %%Tausch.Partner%% | %%Tausch.Status%% | [Btn] |
Keine Tauschaktionen vorhanden |
Daten der Tauschaktion | |||||||||||||||||||
|
%%Title%% (%%Anzahl%%):
Gebiet | KatNr. | Erh. | Bogen-Nr. | Status | Kat-Wert | Kommentar |
---|---|---|---|---|---|---|
%%Bogen.Gebiet%% %%Bogen.Gebiet1%% | %%Bogen.KatNr%% | %%Bogen.BogenNr%% | %%Bogen.Status%% | %%Bogen.KatWert%% | %%Bogen.Kommentar%% | |
Keine Bögen vorhanden |