Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
7a24614a
Commit
7a24614a
authored
Oct 24, 2022
by
NGO THI HONG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include header, dashboard setting
parent
fc0a3347
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
110 deletions
+65
-110
abvw/common/header.html
+7
-7
abvw/html/dashboard-setting.html
+39
-55
abvw/html/dashboard.html
+17
-48
abvw/js/dashboard/dashboard.js
+2
-0
No files found.
abvw/common/header.html
View file @
7a24614a
...
...
@@ -2,34 +2,34 @@
<nav
class=
"navbar navbar-dark shadow-sm px-sm-auto px-0"
>
<div
class=
"container"
>
<a
href=
"dashboard.html"
class=
"navbar-brand"
>
<img
src=
"img/logo.svg"
alt=
"ロゴ"
class=
"img-fluid"
>
<img
src=
"
../common/
img/logo.svg"
alt=
"ロゴ"
class=
"img-fluid"
>
</a>
<ul
class=
"mr-sm-auto ml-sm-0 ml-auto mb-0 pl-0 d-flex"
>
<li
class=
"active nav-link"
>
<a
href=
"dashboard.html"
class=
"d-block text-center text-decoration-none"
>
<img
src=
"img/nav_icon_dashboard.svg"
alt=
"ダッシュボード"
class=
"p-sm-1 p-0 img-fluid"
>
<div
class=
"fs-7 d-sm-block d-none
"
>
ダッシュボード
</div>
<img
src=
"
../common/
img/nav_icon_dashboard.svg"
alt=
"ダッシュボード"
class=
"p-sm-1 p-0 img-fluid"
>
<div
class=
"fs-7 d-sm-block d-none
lang"
lang=
"titleDashboard"
>
</div>
</a>
</li>
<li
class=
"nav-link"
>
<a
href=
"task-list.html"
class=
"d-block text-center text-decoration-none"
>
<img
src=
"img/nav_icon_task.svg"
alt=
"作業一覧"
class=
"p-sm-1 p-0 img-fluid"
>
<img
src=
"
../common/
img/nav_icon_task.svg"
alt=
"作業一覧"
class=
"p-sm-1 p-0 img-fluid"
>
<div
class=
"fs-7 d-sm-block d-none"
>
作業一覧
</div>
</a>
</li>
</ul>
<div
class=
"dropdown"
>
<a
href=
"#"
class=
"nav-link text-center"
id=
"dropdown-profile"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<img
src=
"img/nav_icon_profile.svg"
alt=
"プロフィール"
class=
"p-sm-1 p-0 img-fluid profile-img"
>
<img
src=
"
../common/
img/nav_icon_profile.svg"
alt=
"プロフィール"
class=
"p-sm-1 p-0 img-fluid profile-img"
>
<div
class=
"fs-7 d-sm-block d-none"
>
プロフィール
</div>
</a>
<div
class=
"dropdown-menu dropdown-menu-right"
data-animation=
"true"
aria-labelledby=
"dropdown-profile"
>
<h6
class=
"dropdown-header"
>
login-id
</h6>
<a
class=
"dropdown-item"
href=
"account-setting.html"
>
<img
src=
"./img/menu_icon_account_setting.svg"
alt=
"アカウント設定"
class=
"navbar-dropdown-icon"
>
<img
src=
".
./common
/img/menu_icon_account_setting.svg"
alt=
"アカウント設定"
class=
"navbar-dropdown-icon"
>
アカウント設定
</a>
<a
class=
"dropdown-item"
href=
"#"
data-toggle=
"modal"
data-target=
"#confirm-modal"
>
<img
src=
"./img/menu_icon_logout.svg"
alt=
"ログアウト"
class=
"navbar-dropdown-icon"
>
<img
src=
".
./common
/img/menu_icon_logout.svg"
alt=
"ログアウト"
class=
"navbar-dropdown-icon"
>
ログアウト
</a>
</div>
</div>
...
...
abvw/html/dashboard-setting.html
View file @
7a24614a
<!DOCTYPE html>
<html
lang=
"ja-JP"
>
<head>
<meta
charset=
"utf-8"
>
<title>
ダッシュボード設定
</title>
<meta
name=
"robots"
content=
"index, follow"
>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1,initial-scale=1"
>
<meta
name=
"description"
content=
"A Book Check"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/abvw/common/css/appCommon/app.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/abvw/common/css/appCommon/fontawesome_relative_path.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/abvw/common/css/appCommon/header.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/abvw/common/css/appCommon/footer.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/abvw/common/css/appCommon/style.css"
>
<script
src=
"/abvw/common/js/jquery/jquery-3.6.0.min.js?__UPDATEID__"
></script>
<script
src=
"/abvw/common/js/jquery/jquery-ui.min.js?__UPDATEID__"
></script>
<script
src=
"/abvw/common/js/constant.js?__UPDATEID__"
></script>
<script
src=
"/abvw/common/js/common.js?__UPDATEID__"
></script>
<script
src=
"/abvw/common/js/footer.js"
></script>
<script
src=
"/abvw/js/dashboardSetting/dashboard-setting.js"
></script>
</head>
<body
id=
"dashboard"
onload=
"DashboardSetting.init();"
>
<header>
<nav
class=
"navbar navbar-dark bg-primary position-fixed fixed-top w-100"
>
<a
href=
"javascript:DashboardSetting.goBack();"
class=
"navbar-brand category-btn lht-0"
>
<i
class=
"fas fa-chevron-left fs-12 p-1"
></i>
<span
class=
"d-none d-md-inline fs-10"
>
戻る
</span>
</a>
<h1
class=
"fs-10 font-weight-bold mb-0 text-white multi-lang"
data-msg=
"dashboardSettingHeaderTitle"
>
ダッシュボード設定
</h1>
<div></div>
</nav>
</header>
<!-- setting -->
<section
class=
"container-fluid main-section"
>
<main>
<h2
class=
"fs-8 font-weight-bold mt-4 pb-2 border-bottom text-dark multi-lang"
data-msg=
"dashboardSettingDisplayHeader"
>
表示切替
</h2>
<div
class=
"setting-table-wrap"
>
<table
id=
"displayItems"
>
<!-- dashboard setting modal -->
<div
class=
"modal fade"
id=
"dashboard-setting-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog modal-dialog-centered"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header bg-dark10"
>
<h5
class=
"modal-title multi-lang"
data-msg=
"dashboardSettingHeaderTitle"
>
ダッシュボード設定
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
>
<table
class=
"w-100"
id=
"dashboardSettingItems"
>
<colgroup>
<col
span=
"1"
class=
"w-120px"
>
</colgroup>
<tbody>
<!-- <tr>
<th><div class="font-weight-normal text-dark multi-lang" data-msg="dashboardSettingNewRegistrationTitle">新規報告</div></th>
<td>
<div class="toggle"><input type="checkbox" name="chk-new" /></div>
</td>
</tr> -->
<tr>
<th
class=
"fs-9 p-2 text-secondary multi-lang"
data-msg=
"dashboardSettingNewReportTitle"
>
新規報告
</th>
<td
class=
"p-2"
><div
id=
"settingNewReport"
data-key=
"newReport"
class=
"toggle ml-auto"
><input
type=
"checkbox"
name=
"chk-new"
></div></td>
</tr>
<tr>
<th
class=
"fs-9 p-2 text-secondary multi-lang"
data-msg=
"dashboardSettingContinousWorkTitle"
>
工程作業
</th>
<td
class=
"p-2"
><div
id=
"settingContinousWork"
data-key=
"continousWork"
class=
"toggle ml-auto"
><input
type=
"checkbox"
name=
"chk-proccess"
></div></td>
</tr>
<tr>
<th
class=
"fs-9 p-2 text-secondary multi-lang"
data-msg=
"dashboardSettingReportWarningTitle"
>
警告を含む作業
</th>
<td
class=
"p-2"
><div
id=
"settingReportWarning"
data-key=
"reportWarning"
class=
"toggle ml-auto"
><input
type=
"checkbox"
name=
"chk-alert"
></div></td>
</tr>
<tr>
<th
class=
"fs-9 p-2 text-secondary multi-lang"
data-msg=
"dashboardSettingDashboardHomeTitle"
>
ダッシュボードをホーム画面にする
</th>
<td
class=
"p-2"
><div
id=
"settingDashboardHome"
data-key=
"dashboardHome"
class=
"toggle ml-auto"
><input
type=
"checkbox"
name=
"chk-home"
></div></td>
</tr>
</tbody>
</table>
</div>
</main>
</section>
<div
id=
"footer"
></div>
</body>
</html>
\ No newline at end of file
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary multi-lang"
data-msg=
"dashboardSettingSaveButton"
onclick=
"DashboardSetting.onClickSave();"
>
保存
</button>
<button
type=
"button"
class=
"btn btn-tertiary multi-lang"
data-msg=
"dashboardSettingCancelButton"
data-dismiss=
"modal"
>
キャンセル
</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
abvw/html/dashboard.html
View file @
7a24614a
...
...
@@ -15,7 +15,9 @@
<!-- vender css -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/newdash/fontawesome_relative_path.css"
>
<script
src=
"../common/js/jquery/jquery-3.6.0.min.js"
></script>
<script
type=
"text/javascript"
src=
"/abvw/common/js/jquery/jquery-3.6.0.min.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"/abvw/common/js/jquery/jquery-ui.min.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"/abvw/common/js/web/i18n.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/newdash/app.js"
></script>
<script
type=
"text/javascript"
src=
"../common/js/newdash/common.js"
></script>
...
...
@@ -24,13 +26,20 @@
<script
type=
"text/javascript"
src=
"../js/dashboardSetting/dashboard-setting.js"
></script>
<script
type=
"text/javascript"
src=
"../js/dashboard/dashboard.js"
></script>
<script>
$
(
function
(){
$
(
"#includedHeader"
).
load
(
"../common/header.html"
);
$
(
"#includedDashboardSetting"
).
load
(
"dashboard-setting.html"
);
$
(
"#includedConfirmModal"
).
load
(
"../common/confirm-modal.html"
);
});
</script>
</head>
<body
onload=
"DASHBOARD.init();"
>
<!-- header -->
<
?php include('common/header.html');?
>
<
!-- <?php include('common/header.html');?> --
>
<div
id=
"includedHeader"
></div>
<!-- dashboard -->
<main>
<div
class=
"container"
>
...
...
@@ -43,7 +52,7 @@
</div>
<!-- sub title -->
<h2
class=
"fs-8 font-weight-bold
"
id=
"#pickupHeader
"
>
ピックアップ
</h2>
<h2
class=
"fs-8 font-weight-bold
lang"
id=
"#pickupHeader"
lang=
"pickup
"
>
ピックアップ
</h2>
<!-- card -->
<ul
class=
"dashboard-menu p-0 mt-3 d-grid col-gap-10 grid-col-md-4 grid-col-2"
id =
"pickupItems"
>
...
...
@@ -58,52 +67,11 @@
</div>
</main>
<!-- dashboard setting modal -->
<div
class=
"modal fade"
id=
"dashboard-setting-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog modal-dialog-centered"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header bg-dark10"
>
<h5
class=
"modal-title multi-lang"
data-msg=
"dashboardSettingHeaderTitle"
>
ダッシュボード設定
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
>
<table
class=
"w-100"
id=
"dashboardSettingItems"
>
<colgroup>
<col
span=
"1"
class=
"w-120px"
>
</colgroup>
<tbody>
<tr>
<th
class=
"fs-9 p-2 text-secondary multi-lang"
data-msg=
"dashboardSettingNewReportTitle"
>
新規報告
</th>
<td
class=
"p-2"
><div
id=
"settingNewReport"
data-key=
"newReport"
class=
"toggle ml-auto"
><input
type=
"checkbox"
name=
"chk-new"
></div></td>
</tr>
<tr>
<th
class=
"fs-9 p-2 text-secondary multi-lang"
data-msg=
"dashboardSettingContinousWorkTitle"
>
工程作業
</th>
<td
class=
"p-2"
><div
id=
"settingContinousWork"
data-key=
"continousWork"
class=
"toggle ml-auto"
><input
type=
"checkbox"
name=
"chk-proccess"
></div></td>
</tr>
<tr>
<th
class=
"fs-9 p-2 text-secondary multi-lang"
data-msg=
"dashboardSettingReportWarningTitle"
>
警告を含む作業
</th>
<td
class=
"p-2"
><div
id=
"settingReportWarning"
data-key=
"reportWarning"
class=
"toggle ml-auto"
><input
type=
"checkbox"
name=
"chk-alert"
></div></td>
</tr>
<tr>
<th
class=
"fs-9 p-2 text-secondary multi-lang"
data-msg=
"dashboardSettingDashboardHomeTitle"
>
ダッシュボードをホーム画面にする
</th>
<td
class=
"p-2"
><div
id=
"settingDashboardHome"
data-key=
"dashboardHome"
class=
"toggle ml-auto"
><input
type=
"checkbox"
name=
"chk-home"
></div></td>
</tr>
</tbody>
</table>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary multi-lang"
data-msg=
"dashboardSettingSaveButton"
onclick=
"DashboardSetting.onClickSave();"
>
保存
</button>
<button
type=
"button"
class=
"btn btn-tertiary multi-lang"
data-msg=
"dashboardSettingCancelButton"
data-dismiss=
"modal"
>
キャンセル
</button>
</div>
</div>
</div>
</div>
<div
id=
"includedDashboardSetting"
></div>
<!-- confirm -->
<
?php include('common/confirm-modal.html');?
>
<
!-- <?php include('common/confirm-modal.html');?> --
>
<div
id=
"includedConfirmModal"
></div>
</body>
</html>
\ No newline at end of file
abvw/js/dashboard/dashboard.js
View file @
7a24614a
...
...
@@ -101,6 +101,8 @@ DASHBOARD.initHtmlItem = function(item) {
// Initialization dashboard screen
DASHBOARD
.
init
=
function
()
{
I18N
.
initi18n
();
DashboardSetting
.
init
();
DashboardSetting
.
getSettingData
(
function
(
settings
)
{
DASHBOARD
.
getDashboardData
(
function
(
dataDashboard
)
{
DASHBOARD
.
updateDataPickups
(
settings
,
dataDashboard
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment