Web view still in progress

This commit is contained in:
Claude Brisson
2023-11-05 13:51:01 +01:00
parent 5fdf3e8944
commit 5f068476dc
111 changed files with 8905 additions and 215 deletions

View File

@@ -1,15 +1,16 @@
<div class="section">
<button id="new" class="ui blue icon floating button">
<a href="tour" class="ui blue icon floating button">
<i class="fa fa-plus-square-o"></i>
New tournament
</button>
</a>
</div>
#foreach($tour in $api.get('tour').entrySet())
<div class="section">
<button data-tour-id="$tour.key" class="ui open basic secondary white icon floating button">
$tour
<a href="tour?tour_id=${tour.key}" class="ui open basic secondary white icon floating button">
<i class="fa fa-folder-open-o"></i>
Open $tour.value
</button>
Open
</a>
</div>
#end
@@ -53,15 +54,16 @@
</button>
</div></div>
<script type="text/javascript">
const lang = '${request.lang}';
// #[[
onLoad(() => {
$('#new').on('click', e => {
$('#new-tournament').modal(true);
});
/*
new DateRangePicker($('#date-range')[0], {
language: lang
});
*/
$('#new-tournament .tab.segment:first-child').addClass('active');
});
// ]]#