Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
design
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
abookCheck
design
Commits
91785afc
Commit
91785afc
authored
Sep 04, 2022
by
hoangson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix init footer
parent
17462d5a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
26 deletions
+25
-26
app/index.html
+0
-26
app/script/check-list.js
+1
-0
app/script/check.js
+24
-0
No files found.
app/index.html
View file @
91785afc
...
...
@@ -209,29 +209,4 @@
<script
type=
"text/javascript"
src=
"js/app.js"
defer
></script>
</body>
<script>
$
(
document
).
ready
(
function
()
{
$
(
"#footer"
).
load
(
"main-footer.html"
,
function
()
{
let
activeTab
;
if
(
typeof
sessionStorage
!=
'undefined'
&&
typeof
sessionStorage
.
activeTab
!=
'undefined'
)
{
activeTab
=
sessionStorage
.
activeTab
;
}
if
(
typeof
activeTab
!=
'undefined'
)
{
if
(
activeTab
==
'dashboard'
)
{
CHK_Footer
.
goDashboard
();
}
else
{
CHK_Footer
.
goOperationList
();
}
return
;
}
CHK
.
loadDashboardSetting
(
function
()
{
if
(
CHK
.
dashboardSetting
.
dashboardHome
)
{
CHK_Footer
.
goDashboard
();
}
else
{
CHK_Footer
.
goOperationList
();
}
});
});
});
</script>
</html>
\ No newline at end of file
app/script/check-list.js
View file @
91785afc
...
...
@@ -17,6 +17,7 @@ CHK_L.init = function() {
CHK
.
afterDeleteReport
=
CHK_L
.
afterDeleteReport
;
// 共通初期表示処理
CHK
.
initCommon
();
CHK
.
initFooter
();
// リストの場合、フォーム表示を全画面表示とする
$
(
"#checkInput"
).
css
(
"width"
,
"calc(100% - 0px)"
);
...
...
app/script/check.js
View file @
91785afc
...
...
@@ -3475,6 +3475,30 @@ CHK.getFormatDate = function(date) {
+
(
"0"
+
date
.
getHours
()).
slice
(
-
2
)
+
":"
+
(
"0"
+
date
.
getMinutes
()).
slice
(
-
2
);
}
CHK
.
initFooter
=
function
()
{
$
(
"#footer"
).
load
(
"main-footer.html"
,
function
()
{
let
activeTab
;
if
(
typeof
sessionStorage
!=
'undefined'
&&
typeof
sessionStorage
.
activeTab
!=
'undefined'
)
{
activeTab
=
sessionStorage
.
activeTab
;
}
if
(
typeof
activeTab
!=
'undefined'
)
{
if
(
activeTab
==
'dashboard'
)
{
CHK_Footer
.
goDashboard
();
}
else
{
CHK_Footer
.
goOperationList
();
}
return
;
}
CHK
.
loadDashboardSetting
(
function
()
{
if
(
CHK
.
dashboardSetting
.
dashboardHome
)
{
CHK_Footer
.
goDashboard
();
}
else
{
CHK_Footer
.
goOperationList
();
}
});
});
}
$
(
document
).
ready
(
function
()
{
var
urlParam
=
CHK
.
getUrlParameter
();
if
(
typeof
urlParam
!==
'undefined'
&&
typeof
urlParam
.
lang
!==
'undefined'
)
{
...
...
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