select-events: add button to confirm selection

This commit is contained in:
Milan
2022-12-03 22:48:42 +01:00
parent 7e6383b399
commit 28b568ed11
7 changed files with 25 additions and 20 deletions

View File

@@ -192,10 +192,11 @@
<TMPL_VAR .loc.label_rerun_select_other>
</div>
<input id="rerunEventId" value="-1" style="display:none" onchange="copyFromEvent('rerunEventId')">
<input id="rerunEventId" value="-1" style="display:none" onchange="">
<div id="import_rerun" class="active text" style="display:none;"></div>
<button onclick="hideSelectRerun('rerunEventId')"><TMPL_VAR .loc.button_cancel></button>
<button onclick="if ($('#rerunEventId').val()) copyFromEvent('rerunEventId')"><TMPL_VAR .loc.button_apply></button>
</div>
</div>
</TMPL_IF>

View File

@@ -23,6 +23,15 @@
}
</style>
<div class="panel-header">
<TMPL_IF has_single_events>
<TMPL_VAR .loc.single_events> <TMPL_IF title><TMPL_VAR title></TMPL_IF>
<TMPL_ELSE>
<TMPL_VAR .loc.title>
<TMPL_IF series_name> <TMPL_VAR series_name></TMPL_IF><TMPL_IF title> - <TMPL_VAR title></TMPL_IF>
</TMPL_IF>
</div>
<!-- view series -->
<div id="view_<TMPL_VAR .series_id>" class="view" style="clear:both">
<div class="buttons">
@@ -63,15 +72,6 @@
</div>
<div class="panel-header">
<TMPL_IF has_single_events>
<TMPL_VAR .loc.single_events> <TMPL_IF title><TMPL_VAR title></TMPL_IF>
<TMPL_ELSE>
<TMPL_VAR .loc.title>
<TMPL_IF series_name> <TMPL_VAR series_name></TMPL_IF><TMPL_IF title> - <TMPL_VAR title></TMPL_IF>
</TMPL_IF>
</div>
</div>
<div id="tabs">