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
9e7e5f05
Commit
9e7e5f05
authored
8 years ago
by
kevalbhatt
Committed by
Madhan Neethiraj
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1524: improvements on create/edit entity UI
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
30a8e228
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
5 deletions
+12
-5
override.scss
dashboardv2/public/css/scss/override.scss
+3
-0
tag.scss
dashboardv2/public/css/scss/tag.scss
+2
-1
DetailPageLayoutView.js
...ardv2/public/js/views/detail_page/DetailPageLayoutView.js
+1
-0
CreateEntityLayoutView.js
dashboardv2/public/js/views/entity/CreateEntityLayoutView.js
+0
-0
SearchDetailLayoutView.js
dashboardv2/public/js/views/search/SearchDetailLayoutView.js
+3
-2
SearchResultLayoutView.js
dashboardv2/public/js/views/search/SearchResultLayoutView.js
+3
-2
No files found.
dashboardv2/public/css/scss/override.scss
View file @
9e7e5f05
...
...
@@ -119,6 +119,9 @@
.select2-selection--multiple
{
background-color
:
$color_white_lilac_approx
!
important
;
border
:
1px
$color_mystic_approx
solid
!
important
;
&
.errorClass
{
border
:
1px
solid
red
!
important
;
}
}
.select2-selection--single
{
.select2-selection__arrow
{
...
...
This diff is collapsed.
Click to expand it.
dashboardv2/public/css/scss/tag.scss
View file @
9e7e5f05
...
...
@@ -385,7 +385,8 @@ legend.scheduler-border {
}
.errorClass
{
border
:
1px
solid
red
;
border
:
1px
solid
red
!
important
;
box-shadow
:
none
!
important
;
}
.entityInputBox
{
...
...
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
View file @
9e7e5f05
...
...
@@ -347,6 +347,7 @@ define(['require',
],
function
(
CreateEntityLayoutView
)
{
var
view
=
new
CreateEntityLayoutView
({
guid
:
that
.
id
,
entityDefCollection
:
that
.
entityDefCollection
,
callback
:
function
()
{
that
.
fetchCollection
();
}
...
...
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/views/entity/CreateEntityLayoutView.js
View file @
9e7e5f05
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/views/search/SearchDetailLayoutView.js
View file @
9e7e5f05
...
...
@@ -43,7 +43,7 @@ define(['require',
* @constructs
*/
initialize
:
function
(
options
)
{
_
.
extend
(
this
,
_
.
pick
(
options
,
'
globalVent'
,
'value'
,
'initialView
'
));
_
.
extend
(
this
,
_
.
pick
(
options
,
'
value'
,
'initialView'
,
'entityDefCollection
'
));
},
bindEvents
:
function
()
{},
onRender
:
function
()
{
...
...
@@ -64,7 +64,8 @@ define(['require',
that
.
RSearchResultLayoutView
.
show
(
new
SearchResultLayoutView
({
value
:
value
,
tag
:
that
.
tag
,
initialView
:
that
.
initialView
initialView
:
that
.
initialView
,
entityDefCollection
:
that
.
entityDefCollection
}));
}
});
...
...
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/views/search/SearchResultLayoutView.js
View file @
9e7e5f05
...
...
@@ -122,7 +122,7 @@ define(['require',
* @constructs
*/
initialize
:
function
(
options
)
{
_
.
extend
(
this
,
_
.
pick
(
options
,
'
globalVent'
,
'vent'
,
'value'
,
'initialView
'
));
_
.
extend
(
this
,
_
.
pick
(
options
,
'
value'
,
'initialView'
,
'entityDefCollection
'
));
var
pagination
=
""
;
this
.
entityModel
=
new
VEntity
();
this
.
searchCollection
=
new
VSearchList
();
...
...
@@ -297,7 +297,6 @@ define(['require',
require
([
'utils/TableLayout'
],
function
(
TableLayout
)
{
var
columns
=
new
Backgrid
.
Columns
(
that
.
getFixedDslColumn
());
that
.
REntityTableLayoutView
.
show
(
new
TableLayout
(
_
.
extend
({},
that
.
commonTableOptions
,
{
globalVent
:
that
.
globalVent
,
columns
:
columns
})));
that
.
ui
.
paginationDiv
.
show
();
...
...
@@ -622,6 +621,7 @@ define(['require',
],
function
(
CreateEntityLayoutView
)
{
var
view
=
new
CreateEntityLayoutView
({
guid
:
guid
,
entityDefCollection
:
that
.
entityDefCollection
,
callback
:
function
()
{
that
.
fetchCollection
();
}
...
...
@@ -635,6 +635,7 @@ define(['require',
'views/entity/CreateEntityLayoutView'
],
function
(
CreateEntityLayoutView
)
{
var
view
=
new
CreateEntityLayoutView
({
entityDefCollection
:
that
.
entityDefCollection
,
callback
:
function
()
{
that
.
fetchCollection
();
}
...
...
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