|
|
(Der Versionsvergleich bezieht 11 dazwischenliegende Versionen mit ein.) |
Zeile 63: |
Zeile 63: |
| </tr> | | </tr> |
| </table> | | </table> |
- | <template id="BGF.BtV.Sample.Template">
| + | <script src="/bogenwiki_lib/bw_libaux.js"></script> |
- | <template id="Body"></template>
| + | <script src="/bogenwiki_lib/bw_libdebug.js"></script> |
- | <div id="BGF.BtV.Sample.%%Sample.ID%%.div" style="width:100%;border:0px solid silver;margin:0px 0px 4px 0px;">
| + | <script src="/bogenwiki_lib/bw_libgui.js"></script> |
- | <table style="background:#F8F8F8;margin:0px;" width=100% cellspacing=0 cellpadding=4>
| + | |
- | <tr valign=top>
| + | |
- | <td width=10px rowspan=3>
| + | |
- | <img id="BGF.BtV.Sample.Image.ID%%Sample.ID%%" src="%%Sample.FN%%" width="%%GUI.MaxSampleImgWidth%%" onclick="BGF_BtV_OnClick(this)" style="cursor:pointer;"/>
| + | |
- | </td>
| + | |
- | <td width=2px> </td>
| + | |
- | <td>
| + | |
- | <table width=100% cellspacing=0 cellpadding=0>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap colspan=2 style="padding-bottom:8px">
| + | |
- | <b>%%Sample.ID%%</b> (%%Sample.IDSrc%%)<br>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Kat-Nr.: </td>
| + | |
- | <td width=100%>%%Stamp.KatNr%%%%Sample.KatNrVar%%</td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Merkmal(e): </td>
| + | |
- | <td width=100%>%%Sample.BRS.Text%%</td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Quelle: </td>
| + | |
- | <td width=100%>%%Sample.Source.Type.Text%%</td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap> Name: </td>
| + | |
- | <td>%%Sample.Source.Name%%</td>
| + | |
- | </tr>
| + | |
- | <tr style="display:%%Sample.Source.ArtNr.Display%%" valign=top>
| + | |
- | <td nowrap> %%Sample.Source.ArtNr.Title%%: </td>
| + | |
- | <td width=100%>%%Sample.Source.ArtNr%%</td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap> Datum: </td>
| + | |
- | <td width=100%>%%Sample.Source.Date%%</td>
| + | |
- | </tr>
| + | |
- | <tr style="display:%%Sample.Source.Price.Display%%" valign=top>
| + | |
- | <td nowrap> %%Sample.Source.PrType.Text%%: </td>
| + | |
- | <td width=100%>%%Sample.Source.Price%%</td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Größe: </td>
| + | |
- | <td width=100%>
| + | |
- | <span id="BGF.BtV.Sample.%%Sample.ID%%.Image.Width">%%Sample.ImageData.Width%%</span> x
| + | |
- | <span id="BGF.BtV.Sample.%%Sample.ID%%.Image.Height">%%Sample.ImageData.Height%%</span>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap colspan=2 style="padding-top:8px">
| + | |
- | <button id="BGF.BtV.Sample.Edit.ID%%Sample.ID%%" type="button"
| + | |
- | onclick="BGF_BtV_OnClick(this)">Bearbeiten</button>
| + | |
- | <button id="BGF.BtV.Sample.Delete.ID%%Sample.ID%%" type="button"
| + | |
- | onclick="BGF_BtV_OnClick(this)">Löschen</button>
| + | |
- | <button id="BGF.BtV.Sample.Clone.ID%%Sample.ID%%" type="button" style="display:%%Sample.CloneBtn.Display%%"
| + | |
- | onclick="BGF_BtV_OnClick(this)">Klonen</button>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </div>
| + | |
- | </template>
| + | |
- | <template id="BGF.BtV.Sample.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><span id="BGF.BtV.Sample.Edit.Title">%%Sample.Edit.Title%%</span></b></td>
| + | |
- | </tr>
| + | |
- | <tr style="background:#F8F8F8;" valign=top>
| + | |
- | <td>
| + | |
- | <table style="background:#F8F8F8;margin:0px;" cellspacing=0 cellpadding=4>
| + | |
- | <tr valign=top>
| + | |
- | <td width=10px>
| + | |
- | <img id="BGF.BtV.Sample.Edit.Image" src="/bogenwiki_bgf/BGF_Sample_Dummy_Image.jpg" width="200"/><br>
| + | |
- | <div id="BGF.BtV.Sample.Edit.Image.None">
| + | |
- | <p>
| + | |
- | <button id="BGF.BtV.Sample.Edit.Image.Select" type="button"
| + | |
- | onclick="document.getElementById('BGF.BtV.Sample.Edit.Image.Upload').click();">Bild auswählen</button>
| + | |
- | <input id="BGF.BtV.Sample.Edit.Image.Upload" name="ImageUpload" type="file" size="20" accept="image/jpeg,image/png"
| + | |
- | style="display:none;" onchange="BGF_BtV_OnChange(this)">
| + | |
- | </p>
| + | |
- | </div>
| + | |
- | <div id="BGF.BtV.Sample.Edit.Image.Avail" style="max-width:200px">
| + | |
- | <p id="BGF.BtV.Sample.Edit.Image.OrgFN" style="max-width:200px;word-wrap:break-word;">...</p>
| + | |
- | <button id="BGF.BtV.Sample.Edit.Image.Remove" type="button" onclick="BGF_BtV_OnClick(this)">Bild entfernen</button>
| + | |
- | </div>
| + | |
- | </td>
| + | |
- | <td width=2px> </td>
| + | |
- | <td>
| + | |
- | <table width=100% cellspacing=0 cellpadding=2>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>ID Source:</td>
| + | |
- | <td> </td>
| + | |
- | <td width=100%>
| + | |
- | <select id="BGF.BtV.Sample.Edit.IDSrc" name="Gebiet" onchange="BGF_BtV_OnChange(this)">
| + | |
- | <option value="BGF">Bogenforschung</option>
| + | |
- | <option value="BV">Bestandsverwaltung</option>
| + | |
- | </select>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>ID:</td>
| + | |
- | <td> </td>
| + | |
- | <td width=100%>
| + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.IDBGF" name="IDBGF" style="margin:0px;color:grey;" readonly>
| + | |
- | <select id="BGF.BtV.Sample.Edit.IDBV" name="IDBV" onchange="BGF_BtV_OnChange(this)">
| + | |
- | </select>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Kat-Nr.:</td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <span id="BGF.BtV.Sample.Edit.KatNr">1234</span>
| + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.KatNrVar" name="KatNrVar" size=10 style="margin:0px"
| + | |
- | onchange="BGF_BtV_OnChange(this)">
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Merkmal(e):</td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.BRSBGF" name="BRSBGF" style="margin:0px"
| + | |
- | onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | <div id="BGF.BtV.Sample.Edit.BRSBV"></div>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Quelle:</td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <select id="BGF.BtV.Sample.Edit.Source.Type" name="SourceType" onchange="BGF_BtV_OnChange(this)">
| + | |
- | <option value="un">unbekannt</option>
| + | |
- | <option value="eb">ebay</option>
| + | |
- | <option value="ot">oldthing</option>
| + | |
- | <option value="ah">Auktionshaus</option>
| + | |
- | <option value="fo">Forum/Internet</option>
| + | |
- | <option value="sh">Shop</option>
| + | |
- | <option value="pr">Privat</option>
| + | |
- | <option value="li">Literatur</option>
| + | |
- | </select>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap> Name:</td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.Source.Name" name="SourceName" style="margin:0px"
| + | |
- | onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr id="BGF.BtV.Sample.Edit.Source.ArtNr.Row" style="display:table-row" valign=top>
| + | |
- | <td nowrap> <span id="BGF.BtV.Sample.Edit.Source.ArtNr.Title">Art-Nr.</span>:</td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.Source.ArtNr" name="SourceArtNr" style="margin:0px"
| + | |
- | onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap> Datum:</td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <input type="date" id="BGF.BtV.Sample.Edit.Source.Date" name="SourceDate" style="margin:0px"
| + | |
- | onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr id="BGF.BtV.Sample.Edit.Source.Price.Row" style="display:table-row" valign=top>
| + | |
- | <td nowrap> Preis:</td><td> </td>
| + | |
- | <td nowrap width=100%>
| + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.Source.Price" name="SourcePrice" style="margin:0px"
| + | |
- | size=7 onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | <select id="BGF.BtV.Sample.Edit.Source.PrType" name="SourcePrType" onchange="BGF_BtV_OnChange(this)">
| + | |
- | <option value="un">unbekannt</option>
| + | |
- | <option value="zu" selected>Zuschlag</option>
| + | |
- | <option value="ar">Ausruf</option>
| + | |
- | <option value="nv">nicht verk.</option>
| + | |
- | <option value="fp">Festpreis</option>
| + | |
- | </select>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td colspan=3 style="padding-top:8px">
| + | |
- | <button id="BGF.BtV.Sample.Save" type="button" onclick="BGF_BtV_OnClick(this)">Speichern</button>
| + | |
- | <button id="BGF.BtV.Sample.Abort" type="button" onclick="BGF_BtV_OnClick(this)">Abbrechen</button>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </td>
| + | |
- | <td width=2px> </td>
| + | |
- | <td>
| + | |
- | Bemerkung:<br>
| + | |
- | <textarea id="BGF.BtV.Sample.Edit.Remark" name="Remark" rows="8" cols="50" style="margin-bottom:4px"></textarea>
| + | |
- | Weitere Bilder:<br>
| + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.Image2.Tag" name="Image2" style="margin:0px 0px 2px 0px" placeholder="Bild 2 Tag"
| + | |
- | onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | <div id="BGF.BtV.Sample.Edit.Image2.None" style="margin-bottom:2px;display:inline">
| + | |
- | <button id="BGF.BtV.Sample.Edit.Image2.Select" type="button"
| + | |
- | onclick="document.getElementById('BGF.BtV.Sample.Edit.Image2.Upload').click();">Bild auswählen</button>
| + | |
- | <input id="BGF.BtV.Sample.Edit.Image2.Upload" name="Image2Upload" type="file" size="20" accept="image/jpeg,image/png"
| + | |
- | style="display:none;" onchange="BGF_BtV_OnChange(this)"><br>
| + | |
- | </div>
| + | |
- | <div id="BGF.BtV.Sample.Edit.Image2.Avail" style="display:none">
| + | |
- | <button id="BGF.BtV.Sample.Edit.Image2.Remove" type="button" onclick="BGF_BtV_OnClick(this)">Bild entfernen</button>
| + | |
- | <span id="BGF.BtV.Sample.Edit.Image2.OrgFN">Dateiname</span>
| + | |
- | </div>
| + | |
- | | + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.Image3.Tag" name="Image3" style="margin:0px 0px 2px 0px" placeholder="Bild 3 Tag"
| + | |
- | onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | <div id="BGF.BtV.Sample.Edit.Image3.None" style="margin-bottom:2px;display:inline">
| + | |
- | <button id="BGF.BtV.Sample.Edit.Image3.Select" type="button"
| + | |
- | onclick="document.getElementById('BGF.BtV.Sample.Edit.Image3.Upload').click();">Bild auswählen</button>
| + | |
- | <input id="BGF.BtV.Sample.Edit.Image3.Upload" name="Image3Upload" type="file" size="20" accept="image/jpeg,image/png"
| + | |
- | style="display:none;" onchange="BGF_BtV_OnChange(this)"><br>
| + | |
- | </div>
| + | |
- | <div id="BGF.BtV.Sample.Edit.Image3.Avail" style="display:none">
| + | |
- | <button id="BGF.BtV.Sample.Edit.Image3.Remove" type="button" onclick="BGF_BtV_OnClick(this)">Bild entfernen</button>
| + | |
- | <span id="BGF.BtV.Sample.Edit.Image3.OrgFN">Dateiname</span>
| + | |
- | </div>
| + | |
- | | + | |
- | <input type="text" id="BGF.BtV.Sample.Edit.Image4.Tag" name="Image4" style="margin:0px 0px 2px 0px" placeholder="Bild 4 Tag"
| + | |
- | onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | <div id="BGF.BtV.Sample.Edit.Image4.None" style="margin-bottom:2px;display:inline">
| + | |
- | <button id="BGF.BtV.Sample.Edit.Image4.Select" type="button"
| + | |
- | onclick="document.getElementById('BGF.BtV.Sample.Edit.Image4.Upload').click();">Bild auswählen</button>
| + | |
- | <input id="BGF.BtV.Sample.Edit.Image4.Upload" name="Image4Upload" type="file" size="20" accept="image/jpeg,image/png"
| + | |
- | style="display:none;" onchange="BGF_BtV_OnChange(this)">
| + | |
- | </div>
| + | |
- | <div id="BGF.BtV.Sample.Edit.Image4.Avail" style="display:none">
| + | |
- | <button id="BGF.BtV.Sample.Edit.Image4.Remove" type="button" onclick="BGF_BtV_OnClick(this)">Bild entfernen</button>
| + | |
- | <span id="BGF.BtV.Sample.Edit.Image4.OrgFN">Dateiname</span>
| + | |
- | </div>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </template>
| + | |
- | <template id="BGF.BtV.StampFilter.Template">
| + | |
- | <template id="Body"></template>
| + | |
- | <div id="BGF.BtV.StampFilter.div" style="width:500px;background:#F8F8F8;">
| + | |
- | <table style="background:silver;" width=100% cellspacing=1 cellpadding=4>
| + | |
- | <tr style="background:#E0E0E0;" valign=top>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>Auswahl / Filter</b></td>
| + | |
- | </tr>
| + | |
- | <tr style="background:#F8F8F8;" valign=top>
| + | |
- | <td>
| + | |
- | <table width=100% cellspacing=0 cellpadding=2>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Gebiet: </td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <select id="BGF.BtV.StampFilter.Stamp.Gebiet" name="Gebiet" onchange="BGF_BtV_OnChange(this)">
| + | |
- | <option value="-">bitte auswählen</option>
| + | |
- | <option value="Bund">Bund</option>
| + | |
- | <option value="Berlin">Berlin</option>
| + | |
- | <option value="DDR">DDR</option>
| + | |
- | <option value="Saar">Saarland</option>
| + | |
- | </select> /
| + | |
- | <select id="BGF.BtV.StampFilter.Stamp.Gebiet1" name="Gebiet1" onchange="BGF_BtV_OnChange(this)">
| + | |
- | <option value="-">bitte auswählen</option>
| + | |
- | <option value=""></option>
| + | |
- | <option value="SMBM">SMBM</option>
| + | |
- | <option value="DienstA">Dienstmarken A</option>
| + | |
- | <option value="DienstB">Dienstmarken B</option>
| + | |
- | <option value="DienstC">Dienstmarken C</option>
| + | |
- | <option value="DienstD">Dienstmarken D</option>
| + | |
- | <option value="DienstE">Dienstmarken E</option>
| + | |
- | </select>
| + | |
- | <button id="BGF.BtV.StampFilter.Stat" type="button" onclick="BGF_BtV_OnClick(this)">Übersicht</button>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Kat-Nr.:</td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <input type="number" id="BGF.BtV.StampFilter.Stamp.KatNr" name="KatNr" min="1" max="9999" style="margin:0px"
| + | |
- | onchange="BGF_BtV_OnChange(this)" oninput="BGF_BtV_OnChange(this)">
| + | |
- | (<span id="BGF.BtV.StampFilter.Stamp.KatNr.Min">min</span> -
| + | |
- | <span id="BGF.BtV.StampFilter.Stamp.KatNr.Max">max</span>)
| + | |
- | <button id="BGF.BtV.StampFilter.OK" type="button" onclick="BGF_BtV_OnClick(this)">OK</button>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr valign=top>
| + | |
- | <td nowrap>Filter:</td><td> </td>
| + | |
- | <td width=100%>
| + | |
- | <select id="BGF.BtV.StampFilter.Filter.Category" name="FilterKat" onchange="BGF_BtV_OnChange(this)">
| + | |
- | <option value="-">Kein Filter</option>
| + | |
- | <option value="BRS">Merkmal(e)</option>
| + | |
- | <option value="Quelle">Quelle</option>
| + | |
- | </select>
| + | |
- | <select id="BGF.BtV.StampFilter.Filter.BRS" name="FilterBRS" onchange="BGF_BtV_OnChange(this)" style="display:none">
| + | |
- | <option value="-">Kein Filter</option>
| + | |
- | </select>
| + | |
- | <select id="BGF.BtV.StampFilter.Filter.Quelle" name="FilterQuelle" onchange="BGF_BtV_OnChange(this)" style="display:none">
| + | |
- | <option value="-">Kein Filter</option>
| + | |
- | </select><br>
| + | |
- | <input type="checkbox" id="BGF.BtV.StampFilter.Filter.Quelle.NoFinalPrice" name="FilterNoFinalPrice" onchange="BGF_BtV_OnChange(this)">
| + | |
- | <label for="BGF.BtV.StampFilter.Filter.Quelle.NoFinalPrice">Nur beendete Lose mit Startpreis/Ausruf anzeigen</label>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </div>
| + | |
- | </template>
| + | |
- | <template id="BGF.BtV.Sample.CompactList.Template">
| + | |
- | <template id="Head"></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>KatNr</b></td>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>ID</b></td>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>Merkmal(e)</b></td>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>Quelle</b></td>
| + | |
- | </tr>
| + | |
- | <template id="Body"></template>
| + | |
- | <tr style="background:#F8F8F8;" valign=top>
| + | |
- | <td style="padding:2px 6px 1px 6px">%%Stamp.KatNr%%%%Sample.KatNrVar%%</td>
| + | |
- | <td style="padding:2px 6px 1px 6px">%%Sample.ID%%</td>
| + | |
- | <td style="padding:2px 6px 1px 6px" nowrap>%%Sample.BRS.Text%%</td>
| + | |
- | <td style="padding:2px 6px 1px 6px">%%Sample.Source.Type%% %%Sample.Source.Name%% %%Sample.Source.ArtNr%%</td>
| + | |
- | </tr>
| + | |
- | <template id="Empty"></template>
| + | |
- | <tr style="background:#F8F8F8;" valign=top>
| + | |
- | <td colspan=4 style="padding:2px 6px 1px 6px"><i>Keine Ausschnitte vorhanden</i></td>
| + | |
- | </tr>
| + | |
- | <template id="Foot"></template>
| + | |
- | </table>
| + | |
- | </template>
| + | |
- | <template id="BGF.BtV.Sample.StatList.Template">
| + | |
- | <template id="Head"></template>
| + | |
- | <table style="background:silver;" cellspacing=1 cellpadding=4>
| + | |
- | <tr style="background:#E0E0E0;" valign=top>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>Gebiet</b></td>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>Gebiet1</b></td>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>KatNr</b></td>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>Anzahl</b></td>
| + | |
- | <td style="padding:2px 6px 1px 6px"><b>...</b></td>
| + | |
- | </tr>
| + | |
- | <template id="Body"></template>
| + | |
- | <tr style="background:#F8F8F8;" valign=top>
| + | |
- | <td style="padding:2px 6px 1px 6px">%%Statistic.Gebiet%%</td>
| + | |
- | <td style="padding:2px 6px 1px 6px">%%Statistic.Gebiet1%%</td>
| + | |
- | <td style="padding:2px 6px 1px 6px">%%Statistic.KatNr%%</td>
| + | |
- | <td style="padding:2px 6px 1px 6px">%%Statistic.Count%%</td>
| + | |
- | <td style="padding:2px 6px 1px 6px">
| + | |
- | <button id="BGF.BtV.Sample.StatList.Select.%%Statistic.Gebiet%%.%%Statistic.Gebiet1%%.%%Statistic.KatNr%%"
| + | |
- | type="button" onclick="BGF_BtV_OnClick(this)">Auswählen</button>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <template id="Empty"></template>
| + | |
- | <tr style="background:#F8F8F8;" valign=top>
| + | |
- | <td colspan=4 style="padding:2px 6px 1px 6px"><i>Keine Ausschnitte vorhanden</i></td>
| + | |
- | </tr>
| + | |
- | <template id="Foot"></template>
| + | |
- | <tr style="background:#F8F8F8;" valign=top>
| + | |
- | <td style="padding:2px 6px 1px 6px" colspan=3>Summe:</td>
| + | |
- | <td style="padding:2px 6px 1px 6px">%%Statistic.Total%%</td>
| + | |
- | <td style="padding:2px 6px 1px 6px"> </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </template>
| + | |
- | <template id="BGF.BtV.FullImage.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><span id="BGF.BtV.FullImage.Title">%%Title%%</span></b>
| + | |
- | <span id="BGF.BtV.FullImage.OrgWidth" style="cursor:pointer" onclick="BGF_BtV_OnClick(this)">[100%]</span>
| + | |
- | <span id="BGF.BtV.FullImage.MaxWidth" style="cursor:pointer" onclick="BGF_BtV_OnClick(this)">[<-->]</span>
| + | |
- | <span id="BGF.BtV.FullImage.Close" style="cursor:pointer" onclick="BGF_BtV_OnClick(this)">[Close]</span>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr id="BGF.BtV.FullImage.ImgBtn.Cell" style="background:#F8F8F8;display:none" valign=top>
| + | |
- | <td style="padding:4px 4px 4px 4px">
| + | |
- | <button id="BGF.BtV.FullImage.Image1.Btn" sampleid="%%Sample.ID%%" type="button" onclick="BGF_BtV_OnClick(this)">Ausschnitt</button>
| + | |
- | <button id="BGF.BtV.FullImage.Image2.Btn" sampleid="%%Sample.ID%%" type="button" onclick="BGF_BtV_OnClick(this)">%%Image2Tag%%</button>
| + | |
- | <button id="BGF.BtV.FullImage.Image3.Btn" sampleid="%%Sample.ID%%" type="button" onclick="BGF_BtV_OnClick(this)">%%Image3Tag%%</button>
| + | |
- | <button id="BGF.BtV.FullImage.Image4.Btn" sampleid="%%Sample.ID%%" type="button" onclick="BGF_BtV_OnClick(this)">%%Image4Tag%%</button>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | <tr style="background:#F8F8F8;" valign=top>
| + | |
- | <td id="BGF.BtV.FullImage.Img.Cell">
| + | |
- | <div id="BGF.BtV.FullImage.Div" style="width:100%;overflow:auto;height:78vh">
| + | |
- | <img id="BGF.BtV.FullImage.Img" src="%%ImageFN%%" width="1000"/><br>
| + | |
- | </div>
| + | |
- | </td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </template>
| + | |
- | <template id="BGF.BtV.Sample.ImgCompare.Template">
| + | |
- | <div id="BGF.BtV.Sample.Compare.Can" style="padding:2px;border:1px solid silver;display:inline-block">
| + | |
- | <canvas id="BGF.BtV.Sample.Compare.Can" width="386" height="606"></canvas>
| + | |
- | </div>
| + | |
- | </template>
| + | |
- | <script src="/bogenwiki_bgf/src/bgf_libaux.js"></script> | + | |
- | <script src="/bogenwiki_bgf/src/bgf_libdebug.js"></script> | + | |
- | <script src="/bogenwiki_bgf/src/bgf_libgui.js"></script> | + | |
| <script src="/bogenwiki_bgf/src/bgf_btv.js"></script> | | <script src="/bogenwiki_bgf/src/bgf_btv.js"></script> |
| <script src="/bogenwiki_bgf/src/bgf_lib.js"></script> | | <script src="/bogenwiki_bgf/src/bgf_lib.js"></script> |
| <script> | | <script> |
- | BGF_BtV_AddTemplate('BGF.BtV.StampFilter.Template'); | + | BGF_BtV_ViewOptions.Templates.OnLoadFinished = BGFOnTemplatesLoaded; |
- | BGF_BtV_AddTemplate('BGF.BtV.Sample.Template'); | + | BGF_BtV_ViewOptions.Templates.LoadFromFile("/bogenwiki_bgf/src/bgf_btv_templates.html"); |
- | BGF_BtV_AddTemplate('BGF.BtV.Sample.Edit.Template');
| + | |
- | BGF_BtV_AddTemplate('BGF.BtV.Sample.CompactList.Template');
| + | |
- | BGF_BtV_AddTemplate('BGF.BtV.Sample.StatList.Template');
| + | |
- | BGF_BtV_AddTemplate('BGF.BtV.FullImage.Template');
| + | |
| BGFInit(wgUserName,wgUserGroups,BGF_BtV_DoRender); | | BGFInit(wgUserName,wgUserGroups,BGF_BtV_DoRender); |
| window.onresize = BGF_BtV_OnWindowRezise; | | window.onresize = BGF_BtV_OnWindowRezise; |
| + | window.addEventListener("storage", (e) => { |
| + | if (e.key == 'BGF_BTV_Filter') BGF_BtV_CheckCmdFromStorage(); |
| + | }); |
| </script> | | </script> |
| </html> | | </html> |