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
Feb 10, 2017
by
kevalbhatt
Committed by
Madhan Neethiraj
Feb 10, 2017
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 @@
...
@@ -119,6 +119,9 @@
.select2-selection--multiple
{
.select2-selection--multiple
{
background-color
:
$color_white_lilac_approx
!
important
;
background-color
:
$color_white_lilac_approx
!
important
;
border
:
1px
$color_mystic_approx
solid
!
important
;
border
:
1px
$color_mystic_approx
solid
!
important
;
&
.errorClass
{
border
:
1px
solid
red
!
important
;
}
}
}
.select2-selection--single
{
.select2-selection--single
{
.select2-selection__arrow
{
.select2-selection__arrow
{
...
...
dashboardv2/public/css/scss/tag.scss
View file @
9e7e5f05
...
@@ -385,7 +385,8 @@ legend.scheduler-border {
...
@@ -385,7 +385,8 @@ legend.scheduler-border {
}
}
.errorClass
{
.errorClass
{
border
:
1px
solid
red
;
border
:
1px
solid
red
!
important
;
box-shadow
:
none
!
important
;
}
}
.entityInputBox
{
.entityInputBox
{
...
...
dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
View file @
9e7e5f05
...
@@ -347,6 +347,7 @@ define(['require',
...
@@ -347,6 +347,7 @@ define(['require',
],
function
(
CreateEntityLayoutView
)
{
],
function
(
CreateEntityLayoutView
)
{
var
view
=
new
CreateEntityLayoutView
({
var
view
=
new
CreateEntityLayoutView
({
guid
:
that
.
id
,
guid
:
that
.
id
,
entityDefCollection
:
that
.
entityDefCollection
,
callback
:
function
()
{
callback
:
function
()
{
that
.
fetchCollection
();
that
.
fetchCollection
();
}
}
...
...
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',
...
@@ -43,7 +43,7 @@ define(['require',
* @constructs
* @constructs
*/
*/
initialize
:
function
(
options
)
{
initialize
:
function
(
options
)
{
_
.
extend
(
this
,
_
.
pick
(
options
,
'
globalVent'
,
'value'
,
'initialView
'
));
_
.
extend
(
this
,
_
.
pick
(
options
,
'
value'
,
'initialView'
,
'entityDefCollection
'
));
},
},
bindEvents
:
function
()
{},
bindEvents
:
function
()
{},
onRender
:
function
()
{
onRender
:
function
()
{
...
@@ -64,7 +64,8 @@ define(['require',
...
@@ -64,7 +64,8 @@ define(['require',
that
.
RSearchResultLayoutView
.
show
(
new
SearchResultLayoutView
({
that
.
RSearchResultLayoutView
.
show
(
new
SearchResultLayoutView
({
value
:
value
,
value
:
value
,
tag
:
that
.
tag
,
tag
:
that
.
tag
,
initialView
:
that
.
initialView
initialView
:
that
.
initialView
,
entityDefCollection
:
that
.
entityDefCollection
}));
}));
}
}
});
});
...
...
dashboardv2/public/js/views/search/SearchResultLayoutView.js
View file @
9e7e5f05
...
@@ -122,7 +122,7 @@ define(['require',
...
@@ -122,7 +122,7 @@ define(['require',
* @constructs
* @constructs
*/
*/
initialize
:
function
(
options
)
{
initialize
:
function
(
options
)
{
_
.
extend
(
this
,
_
.
pick
(
options
,
'
globalVent'
,
'vent'
,
'value'
,
'initialView
'
));
_
.
extend
(
this
,
_
.
pick
(
options
,
'
value'
,
'initialView'
,
'entityDefCollection
'
));
var
pagination
=
""
;
var
pagination
=
""
;
this
.
entityModel
=
new
VEntity
();
this
.
entityModel
=
new
VEntity
();
this
.
searchCollection
=
new
VSearchList
();
this
.
searchCollection
=
new
VSearchList
();
...
@@ -297,7 +297,6 @@ define(['require',
...
@@ -297,7 +297,6 @@ define(['require',
require
([
'utils/TableLayout'
],
function
(
TableLayout
)
{
require
([
'utils/TableLayout'
],
function
(
TableLayout
)
{
var
columns
=
new
Backgrid
.
Columns
(
that
.
getFixedDslColumn
());
var
columns
=
new
Backgrid
.
Columns
(
that
.
getFixedDslColumn
());
that
.
REntityTableLayoutView
.
show
(
new
TableLayout
(
_
.
extend
({},
that
.
commonTableOptions
,
{
that
.
REntityTableLayoutView
.
show
(
new
TableLayout
(
_
.
extend
({},
that
.
commonTableOptions
,
{
globalVent
:
that
.
globalVent
,
columns
:
columns
columns
:
columns
})));
})));
that
.
ui
.
paginationDiv
.
show
();
that
.
ui
.
paginationDiv
.
show
();
...
@@ -622,6 +621,7 @@ define(['require',
...
@@ -622,6 +621,7 @@ define(['require',
],
function
(
CreateEntityLayoutView
)
{
],
function
(
CreateEntityLayoutView
)
{
var
view
=
new
CreateEntityLayoutView
({
var
view
=
new
CreateEntityLayoutView
({
guid
:
guid
,
guid
:
guid
,
entityDefCollection
:
that
.
entityDefCollection
,
callback
:
function
()
{
callback
:
function
()
{
that
.
fetchCollection
();
that
.
fetchCollection
();
}
}
...
@@ -635,6 +635,7 @@ define(['require',
...
@@ -635,6 +635,7 @@ define(['require',
'views/entity/CreateEntityLayoutView'
'views/entity/CreateEntityLayoutView'
],
function
(
CreateEntityLayoutView
)
{
],
function
(
CreateEntityLayoutView
)
{
var
view
=
new
CreateEntityLayoutView
({
var
view
=
new
CreateEntityLayoutView
({
entityDefCollection
:
that
.
entityDefCollection
,
callback
:
function
()
{
callback
:
function
()
{
that
.
fetchCollection
();
that
.
fetchCollection
();
}
}
...
...
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