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
fa6228f6
Commit
fa6228f6
authored
Nov 10, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove header js, category modal in abvw folder
parent
8a375478
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
336 deletions
+0
-336
abvw/common/category-modal.html
+0
-253
abvw/common/js/header.js
+0
-83
No files found.
abvw/common/category-modal.html
deleted
100644 → 0
View file @
8a375478
<div
class=
"modal fade"
id=
"category-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog modal-dialog-centered modal-dialog-scrollable overflow-auto"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header bg-dark10"
>
<h5
class=
"modal-title"
>
カテゴリー選択
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
>
<ul
class=
"list-menu"
>
<ul>
<li>
<label>
<input
type=
"radio"
name=
"category"
checked
>
<span>
すべて
</span>
</label>
</li>
</ul>
<li
class=
"accordion"
id=
"accordion1"
>
<div
id=
"heading1"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1"
aria-expanded=
"true"
aria-controls=
"collapse1"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
全社
</span>
</label>
</a>
</div>
<div
id=
"collapse1"
class=
"collapse"
aria-labelledby=
"heading1"
data-parent=
"#accordion1"
>
<ul>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
<li
class=
"accordion"
id=
"accordion1-1"
>
<div
id=
"heading1-1"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-1"
aria-expanded=
"true"
aria-controls=
"collapse1-1"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-1"
class=
"collapse"
aria-labelledby=
"heading1-1"
data-parent=
"#accordion1-1"
>
<ul>
<li
class=
"accordion"
id=
"accordion1-2"
>
<div
id=
"heading1-2"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-2"
aria-expanded=
"true"
aria-controls=
"collapse1-2"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-2"
class=
"collapse"
aria-labelledby=
"heading1-2"
data-parent=
"#accordion1-2"
>
<ul>
<li
class=
"accordion"
id=
"accordion1-3"
>
<div
id=
"heading1-3"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-3"
aria-expanded=
"true"
aria-controls=
"collapse1-3"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-3"
class=
"collapse"
aria-labelledby=
"heading1-3"
data-parent=
"#accordion1-3"
>
<ul>
<li
class=
"accordion"
id=
"accordion1-4"
>
<div
id=
"heading1-4"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-4"
aria-expanded=
"true"
aria-controls=
"collapse1-4"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-4"
class=
"collapse"
aria-labelledby=
"heading1-4"
data-parent=
"#accordion1-4"
>
<ul>
<li
class=
"accordion"
id=
"accordion1-5"
>
<div
id=
"heading1-5"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-5"
aria-expanded=
"true"
aria-controls=
"collapse1-5"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-5"
class=
"collapse"
aria-labelledby=
"heading1-5"
data-parent=
"#accordion1-5"
>
<ul>
<li
class=
"accordion"
id=
"accordion1-6"
>
<div
id=
"heading1-6"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-6"
aria-expanded=
"true"
aria-controls=
"collapse1-6"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-6"
class=
"collapse"
aria-labelledby=
"heading1-6"
data-parent=
"#accordion1-6"
>
<ul>
<li
class=
"accordion"
id=
"accordion1-7"
>
<div
id=
"heading1-7"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-7"
aria-expanded=
"true"
aria-controls=
"collapse1-7"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-7"
class=
"collapse"
aria-labelledby=
"heading1-7"
data-parent=
"#accordion1-7"
>
<ul>
<li
class=
"accordion"
id=
"accordion1-8"
>
<div
id=
"heading1-8"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-8"
aria-expanded=
"true"
aria-controls=
"collapse1-8"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-8"
class=
"collapse"
aria-labelledby=
"heading1-8"
data-parent=
"#accordion1-8"
>
<ul>
<li
class=
"accordion"
id=
"accordion1-9"
>
<div
id=
"heading1-9"
>
<a
href=
"#"
class=
"list-menu-link"
>
<button
type=
"button"
class=
"collapsed"
data-toggle=
"collapse"
data-target=
"#collapse1-9"
aria-expanded=
"true"
aria-controls=
"collapse1-9"
>
<div
class=
"arrow-icon"
></div>
</button>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</a>
</div>
<div
id=
"collapse1-9"
class=
"collapse"
aria-labelledby=
"heading1-9"
data-parent=
"#accordion1-9"
>
<ul>
<li>
<label>
<input
type=
"radio"
name=
"category"
>
<span>
カテゴリー
</span>
</label>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary"
>
選択
</button>
<button
type=
"button"
class=
"btn btn-tertiary"
data-dismiss=
"modal"
>
キャンセル
</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
abvw/common/js/header.js
deleted
100644 → 0
View file @
8a375478
/**
* header js for index.
* ※Code is written mainly for dashboard and operationList.
*
* @since cms:1.4.3.2&1.4.3.3 web:1.0
*/
var
HEADER
=
{};
/** Direct home page setting */
HEADER
.
goToHomePage
=
function
(
pageId
)
{
DashboardSetting
.
getSettingData
(
function
(
settings
)
{
if
(
settings
.
dashboardHome
==
1
)
{
HEADER
.
goDashboard
();
}
else
{
HEADER
.
goOperationList
();
}
});
}
/**
* Go page of operationList
*/
HEADER
.
goOperationList
=
function
()
{
OL
.
init
();
};
/**
* Go page of dashboard
*/
HEADER
.
goDashboard
=
function
()
{
COMMON
.
avwScreenMove
(
"dashboard.html"
);
};
/**
* Initialize with any navigation
*
* @param {String} bottomNav
*/
HEADER
.
activeInitBottomNav
=
function
(
bottomNav
)
{
HEADER
.
inactiveAllBottomNav
();
HEADER
.
activeBottomNav
(
bottomNav
);
};
/**
* change inactive all footer bottom
*/
HEADER
.
inactiveAllBottomNav
=
function
()
{
let
navs
=
document
.
getElementsByClassName
(
'bottom-nav'
);
for
(
i
=
0
;
i
<
navs
.
length
;
i
++
)
{
navs
[
i
].
className
=
navs
[
i
].
className
.
replace
(
'text-primary'
,
'text-secondary'
);
let
img
=
navs
[
i
].
querySelector
(
'img'
);
if
(
img
&&
img
.
getAttribute
(
'data-inactive-src'
))
{
img
.
src
=
img
.
getAttribute
(
'data-inactive-src'
);
}
}
};
/**
* Change specific footer bottom to active.
*
* @param {String} bottomNavId
*/
HEADER
.
activeBottomNav
=
function
(
bottomNavId
)
{
let
elm
=
$
(
'#'
+
bottomNavId
);
if
(
typeof
elm
!==
'object'
)
{
console
.
log
(
'HEADER.activeBottomNav:elm !== object:'
+
bottomNavId
);
return
;
}
elm
.
removeClass
(
'text-secondary'
);
elm
.
addClass
(
'text-primary'
);
let
img
=
elm
.
find
(
'img'
)[
0
];
if
(
img
&&
img
.
getAttribute
(
'data-src'
))
{
img
.
src
=
img
.
getAttribute
(
'data-src'
);
}
};
\ No newline at end of file
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