66 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html lang="ja">
<head>
{% with subtitle = table_override.subtitle %}
{% include '_header.html' %}
{% endwith %}
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="/static/css/masterMainte.css" rel="stylesheet" />
<script type="text/javascript">
function Form_Submit_Disp_Dialog(){
var msg = "ダミー従業員担当施設マスタのデータがすべて上書きされます。よろしいですか?"
if (confirmDialog(msg)) {
showLoading();
document.getElementById("overRided").style.display = "none";
} else {
return false;
}
}
</script>
</head>
<body>
<!-- タイトルと上部ボタン -->
<h1>
<table class="headerTable">
<tr>
<td class="headerTdLeft"><h1>テーブル上書きコピー</h1></td>
<td class="headerTdRight"><input type="button" name="back" class="header_buttonSize" value="メニューへ" onclick="backToMainteMenu('_loading_for_back')"></td>
</tr>
</table>
</h1>
<!-- ダミーテーブルを本番テーブルで上書き機能 -->
<table class="tableOverRide">
<tr>
<td>
<label>
<input type="radio" name="selectTable" value="empChgInstRealToDummy" checked >
本番 従業員担当施設マスタ ⇒ ダミー 従業員担当施設マスタ
</label>
</td>
</tr>
<tr>
<td></td>
<td>
<form name="overRide" action="/masterMainte/tableOverride" method="POST" onsubmit="return Form_Submit_Disp_Dialog();">
<input type="submit" name="overRide_bt" class="header_buttonSize" value="データ上書" >
</form>
</td>
</tr>
</table>
{% if table_override.is_override %}
<p>
<div id="overRided" class="csvOutputMessage">ダミー従業員担当施設マスタのデータを本番従業員担当施設マスタのデータで上書きしました</div>
</p>
{% endif %}
<!-- 上書き用 -->
{% with progress_message = 'データ上書き中...しばらくお待ち下さい。'%}
{% include '_loading.html' %}
{% endwith %}
<!-- 戻るボタン用 -->
{% with progress_message = '', id = '_loading_for_back' %}
{% include '_loading.html' %}
{% endwith %}
</body>
</html>