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
7130ee31
Commit
7130ee31
authored
2 years ago
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix common js
parent
ec18ee89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
26 deletions
+3
-26
abweb/html/index.html
+3
-2
abweb/js/operationList/operationList.js
+0
-24
No files found.
abweb/html/index.html
View file @
7130ee31
...
@@ -114,10 +114,10 @@
...
@@ -114,10 +114,10 @@
<div
class=
"fs-9"
><span
id=
"operationCount"
>
0
</span><span
class=
"lang"
lang=
"display"
></span></div>
<div
class=
"fs-9"
><span
id=
"operationCount"
>
0
</span><span
class=
"lang"
lang=
"display"
></span></div>
<div
class=
"view"
>
<div
class=
"view"
>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<img
src=
"../common/img/icon_view_list.svg"
type=
"image"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"listDisplay"
onclick=
"OL.switchToViewList();"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
<img
src=
"../common/img/icon_view_list.svg"
type=
"image"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"listDisplay"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
</a>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<img
src=
"../common/img/icon_view_block.svg"
type=
"image"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"gridDisplay"
onclick=
"OL.switchToGridList();"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
<img
src=
"../common/img/icon_view_block.svg"
type=
"image"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"gridDisplay"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
</a>
</div>
</div>
</div>
</div>
...
@@ -149,6 +149,7 @@
...
@@ -149,6 +149,7 @@
<div
id=
"checkLoadingImage"
><img
src=
'######'
/></div>
<div
id=
"checkLoadingImage"
><img
src=
'######'
/></div>
</div>
</div>
<script
type=
"text/javascript"
src=
"../common/js/newdash/common.js?__UPDATEID__"
></script>
</body>
</body>
</html>
</html>
This diff is collapsed.
Click to expand it.
abweb/js/operationList/operationList.js
View file @
7130ee31
...
@@ -583,28 +583,4 @@ OL.createUrlOfOperation = function (enableAddReport, reportType) {
...
@@ -583,28 +583,4 @@ OL.createUrlOfOperation = function (enableAddReport, reportType) {
return
baseUrl
+
CONSTANT
.
URL
.
CMS
.
HTML
.
LIST_REPORT_FORM
;
return
baseUrl
+
CONSTANT
.
URL
.
CMS
.
HTML
.
LIST_REPORT_FORM
;
}
}
};
};
/**
* switch operation List to view
*/
OL
.
switchToViewList
=
function
()
{
$
(
'.view-menu .view-list-btn'
).
on
(
"click"
,
function
()
{
$
(
'.view-block-btn'
).
removeClass
(
'active'
);
$
(
'.view-list-btn'
).
addClass
(
'active'
);
$
(
'.view-content'
).
removeClass
(
'view-block'
);
$
(
'.view-content'
).
addClass
(
'view-list'
);
});
};
/**
* switch operation List to grid
*/
OL
.
switchToGridList
=
function
()
{
$
(
'.view-menu .view-block-btn'
).
on
(
"click"
,
function
()
{
$
(
'.view-list-btn'
).
removeClass
(
'active'
);
$
(
'.view-block-btn'
).
addClass
(
'active'
);
$
(
'.view-content'
).
removeClass
(
'view-list'
);
$
(
'.view-content'
).
addClass
(
'view-block'
);
});
};
This diff is collapsed.
Click to expand it.
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