feat: 施設担当者CSVアップロード画面にローディングを追加

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-08-18 11:51:14 +09:00
parent 7aabc1fa46
commit f4730195b4

View File

@ -36,7 +36,7 @@
var element = document.getElementById("upload_form")
sessionStorage.setItem("ctrl_select_function", element.ctrl_select_function.value);
sessionStorage.setItem("ctrl_select_table", element.ctrl_select_table.value);
document.getElementById("loading").style.display = "block";
showLoading();
if (document.getElementById("ulMsg") !== null) {
document.getElementById("ulMsg").style.display = "none";
}
@ -45,7 +45,7 @@
function Form_Submit_Disp_Dialog(){
var msg = '{{ mainte_csv_up.select_function_message }}';
if (confirmDialog(msg)) {
document.getElementById("loading").style.display = "block";
showLoading();
if (document.getElementById("ulMsg") !== null) {
document.getElementById("ulMsg").style.display = "none";
}
@ -165,9 +165,6 @@
</form>
<p>
<!-- 処理中メッセージ表示 -->
<div id="loading" class="csvOutputMessage" style="display:none;">
<p>処理中...<br>しばらくお待ち下さい。</p>
</div>
{% if not mainte_csv_up.is_error_message_list_empty() %}
<div id="ulMsg" class="footerMsg errorColor">
{% for error_message in mainte_csv_up.error_message_list %}
@ -203,5 +200,8 @@
</div>
{% endif %}
</p>
{% with progress_message = '処理中...\nしばらくお待ち下さい。'%}
{% include '_loading.html' %}
{% endwith %}
</body>
</html>