Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
2f766f5c
Commit
2f766f5c
authored
Oct 14, 2020
by
kevalbhatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3943: UI: Show Import/Export operations in administration audit.
parent
24bb6b08
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
60 additions
and
10 deletions
+60
-10
business-metadata.scss
dashboardv2/public/css/scss/business-metadata.scss
+4
-0
override.scss
dashboardv2/public/css/scss/override.scss
+4
-0
Enums.js
dashboardv2/public/js/utils/Enums.js
+13
-3
Overrides.js
dashboardv2/public/js/utils/Overrides.js
+9
-1
AdminAuditTableLayoutView.js
...oardv2/public/js/views/audit/AdminAuditTableLayoutView.js
+0
-0
AuditTableLayoutView.js
dashboardv2/public/js/views/audit/AuditTableLayoutView.js
+0
-1
business-metadata.scss
dashboardv3/public/css/scss/business-metadata.scss
+4
-0
override.scss
dashboardv3/public/css/scss/override.scss
+4
-0
Enums.js
dashboardv3/public/js/utils/Enums.js
+13
-3
Overrides.js
dashboardv3/public/js/utils/Overrides.js
+9
-1
AdminAuditTableLayoutView.js
...oardv3/public/js/views/audit/AdminAuditTableLayoutView.js
+0
-0
AuditTableLayoutView.js
dashboardv3/public/js/views/audit/AuditTableLayoutView.js
+0
-1
No files found.
dashboardv2/public/css/scss/business-metadata.scss
View file @
2f766f5c
...
...
@@ -137,6 +137,10 @@
overflow
:
auto
;
}
.admin-details
.attributeResultContainer
{
float
:
left
;
}
.tab-pane
{
.business-metadata-attr-page
{
position
:
absolute
;
...
...
dashboardv2/public/css/scss/override.scss
View file @
2f766f5c
...
...
@@ -481,6 +481,10 @@ div.columnmanager-dropdown-container {
font-size
:
large
;
font-weight
:
bold
;
}
.noToggle
{
color
:
$gray
;
}
}
.backgrid-internal-table
{
...
...
dashboardv2/public/js/utils/Enums.js
View file @
2f766f5c
...
...
@@ -44,7 +44,15 @@ define(["require", "backbone"], function(require) {
BUSINESS_ATTRIBUTE_DELETE
:
"Business Attribute(s) Deleted"
,
TYPE_DEF_UPDATE
:
"Type Updated"
,
TYPE_DEF_CREATE
:
"Type Created"
,
TYPE_DEF_DELETE
:
"Type Deleted"
TYPE_DEF_DELETE
:
"Type Deleted"
,
IMPORT
:
"Import"
,
EXPORT
:
"Export"
}
Enums
.
serverAudits
=
{
SERVER_START
:
"Server Start"
,
SERVER_STOP
:
"Server End"
,
SERVER_STATE_ACTIVE
:
"Server State Active"
,
SERVER_STATE_PASSIVE
:
"Server Statae Passive"
}
Enums
.
category
=
{
...
...
@@ -58,7 +66,9 @@ define(["require", "backbone"], function(require) {
MAP
:
"Map"
,
RELATIONSHIP
:
"Relationship"
,
BUSINESS_METADATA
:
"Business Metadata"
,
PURGE
:
"Purge Entities"
PURGE
:
"Purge Entities"
,
IMPORT
:
"Import Entities"
,
EXPORT
:
"Export Entities"
}
Enums
.
entityStateReadOnly
=
{
...
...
@@ -261,7 +271,7 @@ define(["require", "backbone"], function(require) {
"This Month"
:
"THIS_MONTH"
,
"Last Month"
:
"LAST_MONTH"
,
"This Quarter"
:
"THIS_QUARTER"
,
"Last Quarter"
:
"LAST_QUARTER"
,
"Last Quarter"
:
"LAST_QUARTER"
,
"This Year"
:
"THIS_YEAR"
,
"Last Year"
:
"LAST_YEAR"
,
"Last 3 Months"
:
"LAST_3_MONTHS"
,
...
...
dashboardv2/public/js/utils/Overrides.js
View file @
2f766f5c
...
...
@@ -211,8 +211,12 @@ define(['require', 'utils/Utils', 'lossless-json', 'marionette', 'backgrid', 'as
render
:
function
()
{
/* follow along with the original render really... */
this
.
$el
.
empty
();
var
isExpand
=
true
;
if
(
this
.
column
.
get
(
'isExpandVisible'
))
{
isExpand
=
this
.
column
.
get
(
'isExpandVisible'
)(
this
.
$el
,
this
.
model
);
}
this
.
$toggleEl
=
$
(
this
.
toggle
).
addClass
(
this
.
toggleClass
).
addClass
(
this
.
toggleCollapsedClass
);
this
.
$toggleEl
=
isExpand
?
this
.
$toggleEl
:
this
.
$toggleEl
.
addClass
(
"noToggle"
);
this
.
$el
.
append
(
this
.
$toggleEl
);
...
...
@@ -224,6 +228,10 @@ define(['require', 'utils/Utils', 'lossless-json', 'marionette', 'backgrid', 'as
setToggle
:
function
()
{
var
detailsRow
=
this
.
$el
.
data
(
'details'
);
var
toggle
=
this
.
$toggleEl
;
/* if there's details data is not there/undefined and $toggleEl having noToggle class, no need to expand */
if
(
!
detailsRow
&&
this
.
$toggleEl
.
hasClass
(
'noToggle'
))
{
return
false
;
}
/* if there's details data already stored, then we'll remove it */
if
(
detailsRow
)
{
...
...
dashboardv2/public/js/views/audit/AdminAuditTableLayoutView.js
View file @
2f766f5c
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/views/audit/AuditTableLayoutView.js
View file @
2f766f5c
...
...
@@ -192,7 +192,6 @@ define(['require',
require
([
'views/audit/CreateAuditTableLayoutView'
,
],
function
(
CreateAuditTableLayoutView
)
{
that
.
action
=
model
.
get
(
'action'
);
// $(el.target).attr('disabled', true);
var
eventModel
=
that
.
entityCollection
.
fullCollection
.
findWhere
({
'eventKey'
:
model
.
get
(
'eventKey'
)
}).
toJSON
(),
...
...
dashboardv3/public/css/scss/business-metadata.scss
View file @
2f766f5c
...
...
@@ -137,6 +137,10 @@
overflow
:
auto
;
}
.admin-details
.attributeResultContainer
{
float
:
left
;
}
.tab-pane
{
.business-metadata-attr-page
{
position
:
absolute
;
...
...
dashboardv3/public/css/scss/override.scss
View file @
2f766f5c
...
...
@@ -485,6 +485,10 @@ div.columnmanager-dropdown-container {
font-size
:
large
;
font-weight
:
bold
;
}
.noToggle
{
color
:
$gray
;
}
}
.backgrid-internal-table
{
...
...
dashboardv3/public/js/utils/Enums.js
View file @
2f766f5c
...
...
@@ -44,7 +44,15 @@ define(["require", "backbone"], function(require) {
BUSINESS_ATTRIBUTE_DELETE
:
"Business Attribute(s) Deleted"
,
TYPE_DEF_UPDATE
:
"Type Updated"
,
TYPE_DEF_CREATE
:
"Type Created"
,
TYPE_DEF_DELETE
:
"Type Deleted"
TYPE_DEF_DELETE
:
"Type Deleted"
,
IMPORT
:
"Import"
,
EXPORT
:
"Export"
}
Enums
.
serverAudits
=
{
SERVER_START
:
"Server Start"
,
SERVER_STOP
:
"Server End"
,
SERVER_STATE_ACTIVE
:
"Server State Active"
,
SERVER_STATE_PASSIVE
:
"Server Statae Passive"
}
Enums
.
category
=
{
...
...
@@ -58,7 +66,9 @@ define(["require", "backbone"], function(require) {
MAP
:
"Map"
,
RELATIONSHIP
:
"Relationship"
,
BUSINESS_METADATA
:
"Business Metadata"
,
PURGE
:
"Purge Entities"
PURGE
:
"Purge Entities"
,
IMPORT
:
"Import Entities"
,
EXPORT
:
"Export Entities"
}
Enums
.
entityStateReadOnly
=
{
...
...
@@ -261,7 +271,7 @@ define(["require", "backbone"], function(require) {
"This Month"
:
"THIS_MONTH"
,
"Last Month"
:
"LAST_MONTH"
,
"This Quarter"
:
"THIS_QUARTER"
,
"Last Quarter"
:
"LAST_QUARTER"
,
"Last Quarter"
:
"LAST_QUARTER"
,
"This Year"
:
"THIS_YEAR"
,
"Last Year"
:
"LAST_YEAR"
,
"Last 3 Months"
:
"LAST_3_MONTHS"
,
...
...
dashboardv3/public/js/utils/Overrides.js
View file @
2f766f5c
...
...
@@ -211,8 +211,12 @@ define(['require', 'utils/Utils', 'lossless-json', 'marionette', 'backgrid', 'as
render
:
function
()
{
/* follow along with the original render really... */
this
.
$el
.
empty
();
var
isExpand
=
true
;
if
(
this
.
column
.
get
(
'isExpandVisible'
))
{
isExpand
=
this
.
column
.
get
(
'isExpandVisible'
)(
this
.
$el
,
this
.
model
);
}
this
.
$toggleEl
=
$
(
this
.
toggle
).
addClass
(
this
.
toggleClass
).
addClass
(
this
.
toggleCollapsedClass
);
this
.
$toggleEl
=
isExpand
?
this
.
$toggleEl
:
this
.
$toggleEl
.
addClass
(
"noToggle"
);
this
.
$el
.
append
(
this
.
$toggleEl
);
...
...
@@ -224,6 +228,10 @@ define(['require', 'utils/Utils', 'lossless-json', 'marionette', 'backgrid', 'as
setToggle
:
function
()
{
var
detailsRow
=
this
.
$el
.
data
(
'details'
);
var
toggle
=
this
.
$toggleEl
;
/* if there's details data is not there/undefined and $toggleEl having noToggle class, no need to expand */
if
(
!
detailsRow
&&
this
.
$toggleEl
.
hasClass
(
'noToggle'
))
{
return
false
;
}
/* if there's details data already stored, then we'll remove it */
if
(
detailsRow
)
{
...
...
dashboardv3/public/js/views/audit/AdminAuditTableLayoutView.js
View file @
2f766f5c
This diff is collapsed.
Click to expand it.
dashboardv3/public/js/views/audit/AuditTableLayoutView.js
View file @
2f766f5c
...
...
@@ -192,7 +192,6 @@ define(['require',
require
([
'views/audit/CreateAuditTableLayoutView'
,
],
function
(
CreateAuditTableLayoutView
)
{
that
.
action
=
model
.
get
(
'action'
);
// $(el.target).attr('disabled', true);
var
eventModel
=
that
.
entityCollection
.
fullCollection
.
findWhere
({
'eventKey'
:
model
.
get
(
'eventKey'
)
}).
toJSON
(),
...
...
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