Commit 9a266c6c by NGUYEN HOANG SON

add dashboard setting js

parent 1d9273f6
...@@ -121,39 +121,39 @@ ...@@ -121,39 +121,39 @@
<div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header bg-dark10"> <div class="modal-header bg-dark10">
<h5 class="modal-title">ダッシュボード設定</h5> <h5 class="modal-title multi-lang" data-msg="dashboardSettingHeaderTitle">ダッシュボード設定</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<table class="w-100"> <table class="w-100" id="dashboardSettingItems">
<colgroup> <colgroup>
<col span="1" class="w-120px"> <col span="1" class="w-120px">
</colgroup> </colgroup>
<tbody> <tbody>
<tr> <tr>
<th class="fs-9 p-2 text-secondary">新規報告</th> <th class="fs-9 p-2 text-secondary multi-lang" data-msg="dashboardSettingNewReportTitle">新規報告</th>
<td class="p-2"><div class="toggle ml-auto"><input type="checkbox" name="chk-new"></div></td> <td class="p-2"><div id="newReport" class="toggle ml-auto"><input type="checkbox" name="chk-new"></div></td>
</tr> </tr>
<tr> <tr>
<th class="fs-9 p-2 text-secondary">工程作業</th> <th class="fs-9 p-2 text-secondary multi-lang" data-msg="dashboardSettingContinousWorkTitle">工程作業</th>
<td class="p-2"><div class="toggle ml-auto"><input type="checkbox" name="chk-proccess"></div></td> <td class="p-2"><div id="continousWork" class="toggle ml-auto"><input type="checkbox" name="chk-proccess"></div></td>
</tr> </tr>
<tr> <tr>
<th class="fs-9 p-2 text-secondary">警告を含む作業</th> <th class="fs-9 p-2 text-secondary multi-lang" data-msg="dashboardSettingReportWarningTitle">警告を含む作業</th>
<td class="p-2"><div class="toggle ml-auto"><input type="checkbox" name="chk-alert"></div></td> <td class="p-2"><div id="reportWarning" class="toggle ml-auto"><input type="checkbox" name="chk-alert"></div></td>
</tr> </tr>
<tr> <tr>
<th class="fs-9 p-2 text-secondary">ダッシュボードをホーム画面にする</th> <th class="fs-9 p-2 text-secondary multi-lang" data-msg="dashboardSettingDashboardHomeTitle">ダッシュボードをホーム画面にする</th>
<td class="p-2"><div class="toggle ml-auto"><input type="checkbox" name="chk-home"></div></td> <td class="p-2"><div id="dashboardHome" class="toggle ml-auto"><input type="checkbox" name="chk-home"></div></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-primary">保存</button> <button type="button" class="btn btn-primary multi-lang" data-msg="dashboardSettingSaveButton" onclick="DashboardSetting.save();">保存</button>
<button type="button" class="btn btn-tertiary" data-dismiss="modal">キャンセル</button> <button type="button" class="btn btn-tertiary multi-lang" data-msg="dashboardSettingCancelButton" data-dismiss="modal">キャンセル</button>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -110,3 +110,7 @@ DashboardSetting.init = function () { ...@@ -110,3 +110,7 @@ DashboardSetting.init = function () {
DashboardSetting.goBack = function () { DashboardSetting.goBack = function () {
FOOTER.goDashboard(); FOOTER.goDashboard();
}; };
DashboardSetting.save = function () {
console.log("DashboardSetting.save");
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment