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
813bab64
Commit
813bab64
authored
Jun 16, 2020
by
kevalbhatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3822:- UI changes: Audit entries for TypeDefs CREATE, UPDATE and DELETE
parent
892df242
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
120 additions
and
16 deletions
+120
-16
business-metadata.scss
dashboardv2/public/css/scss/business-metadata.scss
+21
-2
common.scss
dashboardv2/public/css/scss/common.scss
+11
-0
override.scss
dashboardv2/public/css/scss/override.scss
+10
-2
AdminAuditTableLayoutView_tmpl.html
...ic/js/templates/audit/AdminAuditTableLayoutView_tmpl.html
+0
-3
Enums.js
dashboardv2/public/js/utils/Enums.js
+18
-1
AdminAuditTableLayoutView.js
...oardv2/public/js/views/audit/AdminAuditTableLayoutView.js
+0
-0
business-metadata.scss
dashboardv3/public/css/scss/business-metadata.scss
+21
-2
common.scss
dashboardv3/public/css/scss/common.scss
+11
-0
override.scss
dashboardv3/public/css/scss/override.scss
+10
-2
AdminAuditTableLayoutView_tmpl.html
...ic/js/templates/audit/AdminAuditTableLayoutView_tmpl.html
+0
-3
Enums.js
dashboardv3/public/js/utils/Enums.js
+18
-1
AdminAuditTableLayoutView.js
...oardv3/public/js/views/audit/AdminAuditTableLayoutView.js
+0
-0
No files found.
dashboardv2/public/css/scss/business-metadata.scss
View file @
813bab64
...
...
@@ -90,6 +90,10 @@
.business-metadata-details
,
.admin-details
{
.tableOverlay
{
background-color
:
transparent
;
}
.expandable
.attr-details
{
max-height
:
300px
;
overflow
:
auto
;
...
...
@@ -97,8 +101,18 @@
width
:
calc
(
100%
-
30px
);
}
.admin-type-dropdown
{
width
:
100px
;
.expandable
.admin-audit-details
{
display
:
flex
;
flex-wrap
:
wrap
;
margin-left
:
20px
;
.attr-type-container
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
padding
:
5px
10px
;
margin
:
5px
;
width
:
32%
;
}
}
.expandable
.admin-attr-details
{
...
...
@@ -108,6 +122,11 @@
}
}
.admin-details
.expandable
.admin-audit-details
.attr-type-container
{
max-height
:
200px
;
overflow
:
auto
;
}
.tab-pane
{
.business-metadata-attr-page
{
position
:
absolute
;
...
...
dashboardv2/public/css/scss/common.scss
View file @
813bab64
...
...
@@ -318,4 +318,14 @@ pre {
font-size
:
11px
;
animation
:
spin
1000ms
infinite
linear
;
}
}
.attr-details
{
ul
{
list-style
:
disc
;
li
{
cursor
:
pointer
;
}
}
}
\ No newline at end of file
dashboardv2/public/css/scss/override.scss
View file @
813bab64
...
...
@@ -63,13 +63,22 @@
.modal-body
{
position
:
relative
;
padding
:
15px
;
max-height
:
calc
(
100vh
-
2
00
px
);
max-height
:
calc
(
100vh
-
2
15
px
);
min-height
:
70px
;
overflow
:
auto
;
.btn
+
.btn
{
margin-bottom
:
2px
;
}
.admin-audit-details
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
tr
>
td
:nth-child
(
2
)
{
text-align
:
right
;
}
}
}
.modal-full-screen
{
...
...
@@ -77,7 +86,6 @@
height
:
80vh
;
.modal-content
{
height
:
inherit
;
width
:
100%
;
}
...
...
dashboardv2/public/js/templates/audit/AdminAuditTableLayoutView_tmpl.html
View file @
813bab64
...
...
@@ -51,9 +51,6 @@
<div
type=
"ok"
class=
"btn btn-atlas ok"
data-id=
'attrClose'
>
Close
</div>
</div>
</div>
<div
class=
"pull-right admin-type-dropdown"
>
<select
class=
"pull-right form-controlrow-margin-bottom"
data-id=
"adminType"
></select>
</div>
</div>
<div
class=
"auditTable"
style=
"display: none"
>
<div
class=
'attr-filter-overlay hide'
></div>
...
...
dashboardv2/public/js/utils/Enums.js
View file @
813bab64
...
...
@@ -41,7 +41,24 @@ define(["require", "backbone"], function(require) {
ENTITY_PURGE
:
"Entity Purged"
,
BUSINESS_ATTRIBUTE_ADD
:
"Business Attribute(s) Added"
,
BUSINESS_ATTRIBUTE_UPDATE
:
"Business Attribute(s) Updated"
,
BUSINESS_ATTRIBUTE_DELETE
:
"Business Attribute(s) Deleted"
BUSINESS_ATTRIBUTE_DELETE
:
"Business Attribute(s) Deleted"
,
TYPE_DEF_UPDATE
:
"Type Updated"
,
TYPE_DEF_CREATE
:
"Type Created"
,
TYPE_DEF_DELETE
:
"Type Deleted"
}
Enums
.
category
=
{
PRIMITIVE
:
"Primitive"
,
OBJECT_ID_TYPE
:
"Object Id type"
,
ENUM
:
"Enum"
,
STRUCT
:
"Struct"
,
CLASSIFICATION
:
"Classification"
,
ENTITY
:
"Entity"
,
ARRAY
:
"Array"
,
MAP
:
"Map"
,
RELATIONSHIP
:
"Relationship"
,
BUSINESS_METADATA
:
"Business Metadata"
,
PURGE
:
"Purge Entities"
}
Enums
.
entityStateReadOnly
=
{
...
...
dashboardv2/public/js/views/audit/AdminAuditTableLayoutView.js
View file @
813bab64
This diff is collapsed.
Click to expand it.
dashboardv3/public/css/scss/business-metadata.scss
View file @
813bab64
...
...
@@ -90,6 +90,10 @@
.business-metadata-details
,
.admin-details
{
.tableOverlay
{
background-color
:
transparent
;
}
.expandable
.attr-details
{
max-height
:
300px
;
overflow
:
auto
;
...
...
@@ -97,8 +101,18 @@
width
:
calc
(
100%
-
30px
);
}
.admin-type-dropdown
{
width
:
100px
;
.expandable
.admin-audit-details
{
display
:
flex
;
flex-wrap
:
wrap
;
margin-left
:
20px
;
.attr-type-container
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
padding
:
5px
10px
;
margin
:
5px
;
width
:
32%
;
}
}
.expandable
.admin-attr-details
{
...
...
@@ -108,6 +122,11 @@
}
}
.admin-details
.expandable
.admin-audit-details
.attr-type-container
{
max-height
:
200px
;
overflow
:
auto
;
}
.tab-pane
{
.business-metadata-attr-page
{
position
:
absolute
;
...
...
dashboardv3/public/css/scss/common.scss
View file @
813bab64
...
...
@@ -317,4 +317,14 @@ pre {
font-size
:
11px
;
animation
:
spin
1000ms
infinite
linear
;
}
}
.attr-details
{
ul
{
list-style
:
disc
;
li
{
cursor
:
pointer
;
}
}
}
\ No newline at end of file
dashboardv3/public/css/scss/override.scss
View file @
813bab64
...
...
@@ -67,13 +67,22 @@
.modal-body
{
position
:
relative
;
padding
:
15px
;
max-height
:
calc
(
100vh
-
2
00
px
);
max-height
:
calc
(
100vh
-
2
15
px
);
min-height
:
70px
;
overflow
:
auto
;
.btn
+
.btn
{
margin-bottom
:
2px
;
}
.admin-audit-details
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
tr
>
td
:nth-child
(
2
)
{
text-align
:
right
;
}
}
}
.modal-full-screen
{
...
...
@@ -81,7 +90,6 @@
height
:
80vh
;
.modal-content
{
height
:
inherit
;
width
:
100%
;
}
...
...
dashboardv3/public/js/templates/audit/AdminAuditTableLayoutView_tmpl.html
View file @
813bab64
...
...
@@ -51,9 +51,6 @@
<div
type=
"ok"
class=
"btn btn-atlas ok"
data-id=
'attrClose'
>
Close
</div>
</div>
</div>
<div
class=
"pull-right admin-type-dropdown"
>
<select
class=
"pull-right form-controlrow-margin-bottom"
data-id=
"adminType"
></select>
</div>
</div>
<div
class=
"auditTable"
style=
"display: none"
>
<div
class=
'attr-filter-overlay hide'
></div>
...
...
dashboardv3/public/js/utils/Enums.js
View file @
813bab64
...
...
@@ -41,7 +41,24 @@ define(["require", "backbone"], function(require) {
ENTITY_PURGE
:
"Entity Purged"
,
BUSINESS_ATTRIBUTE_ADD
:
"Business Attribute(s) Added"
,
BUSINESS_ATTRIBUTE_UPDATE
:
"Business Attribute(s) Updated"
,
BUSINESS_ATTRIBUTE_DELETE
:
"Business Attribute(s) Deleted"
BUSINESS_ATTRIBUTE_DELETE
:
"Business Attribute(s) Deleted"
,
TYPE_DEF_UPDATE
:
"Type Updated"
,
TYPE_DEF_CREATE
:
"Type Created"
,
TYPE_DEF_DELETE
:
"Type Deleted"
}
Enums
.
category
=
{
PRIMITIVE
:
"Primitive"
,
OBJECT_ID_TYPE
:
"Object Id type"
,
ENUM
:
"Enum"
,
STRUCT
:
"Struct"
,
CLASSIFICATION
:
"Classification"
,
ENTITY
:
"Entity"
,
ARRAY
:
"Array"
,
MAP
:
"Map"
,
RELATIONSHIP
:
"Relationship"
,
BUSINESS_METADATA
:
"Business Metadata"
,
PURGE
:
"Purge Entities"
}
Enums
.
entityStateReadOnly
=
{
...
...
dashboardv3/public/js/views/audit/AdminAuditTableLayoutView.js
View file @
813bab64
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