Files
dotter_t3/packages/watten/Resources/Private/Partials/GridGstrichen.html
T
2026-10-18 17:49:22 +02:00

55 lines
2.2 KiB
HTML

<f:asset.script identifier="wattergstrichen">
$("#grid_gstrichen").jsGrid({
height: "auto",
width: "100%",
heading: true,
filtering: false,
inserting: false,
editing: false,
selecting: true,
sorting: true,
paging: false,
pageLoading: false,
noDataContent: '&nbsp;Turnier wählen&nbsp;',
loadIndication: true,
loadIndicationDelay: 500,
loadMessage: "&nbsp;Bitte, warten...&nbsp;",
loadShading: true,
fields: [
{ title: '<img src="typo3conf/ext/watten/Resources/Public/Icons/Rank.svg" class="iconsize"><div class="xsmall bg-green">Platzierungen</div>', name: "platz", type: "text", width: "100" },
{ title: '<img src="typo3conf/ext/watten/Resources/Public/Icons/User.svg" class="iconsize"><div class="xsmall bg-green">Athlet</div>', name: "sieger", type: "text", width: "200" },
{ title: '<img src="typo3conf/ext/watten/Resources/Public/Icons/Gstrichen-win.svg" class="iconsize"><div class="xsmall bg-green">Gewonnen</div>', name: "gewonnen", type: "text", width: "100" },
{ title: '<div class="xsmall">&nbsp</div>', name: "", type: "text", width: "100", css: "transparent" },
{ title: '<img src="typo3conf/ext/watten/Resources/Public/Icons/Rank.svg" class="iconsize"><div class="xsmall bg-red">Platzierungen</div>', name: "platz", type: "text", width: "100" },
{ title: '<img src="typo3conf/ext/watten/Resources/Public/Icons/User.svg" class="iconsize"><div class="xsmall bg-red">Athlet</div>', name: "verlierer", type: "text", width: "200" },
{ title: '<img src="typo3conf/ext/watten/Resources/Public/Icons/Gstrichen-lose.svg" class="iconsize"><div class="xsmall bg-red">Verloren</div>', name: "verloren", type: "text", width: "100" },
]
});
$(function() {
$.ajax({
url: "../index.php",
type: "GET",
data: {
application: "loadgstrichenliste",
tournament: $( "#tournament_rangliste" ).val()
},
dataType : "json"
})
.done(function( response ) {
$("#grid_gstrichen").jsGrid({ data: response });
})
});
</f:asset.script>
<br><br>
<h1 class="element-header text-center"><span>Gstrichen || Gstrichen</span></h1>
<br>
<div id="grid_gstrichen"
class="pure-table"></div>