Commit 7526a69d by kevalbhatt

ATLAS-3576 : UI: Improve system attributes presentation

parent 7be35c3f
...@@ -429,7 +429,7 @@ button:focus { ...@@ -429,7 +429,7 @@ button:focus {
border-color: $color_mountain_mist_approx; border-color: $color_mountain_mist_approx;
color: $color_mountain_mist_approx; color: $color_mountain_mist_approx;
cursor: default; cursor: default;
margin: 5px 10px; margin: 0px 10px;
&:hover { &:hover {
border-color: $color_mountain_mist_approx; border-color: $color_mountain_mist_approx;
......
...@@ -20,33 +20,41 @@ ...@@ -20,33 +20,41 @@
.jstree-default-dark { .jstree-default-dark {
background: transparent !important; background: transparent !important;
.jstree-anchor { .jstree-anchor {
width: calc(100% - 50px); width: calc(100% - 50px);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.jstree-children.jstree-children>li>a { .jstree-children.jstree-children>li>a {
max-width: 500px; max-width: 500px;
} }
.jstree-clicked, .jstree-clicked,
.jstree-wholerow-clicked { .jstree-wholerow-clicked {
background: $color_jungle_green_approx !important; background: $color_jungle_green_approx !important;
} }
.jstree-hovered { .jstree-hovered {
background: $color_star_dust_approx; background: $color_star_dust_approx;
} }
.jstree-anchor { .jstree-anchor {
color: #dbdbdb; color: #dbdbdb;
} }
.jstree-search { .jstree-search {
color: #fbfece !important color: #fbfece !important
} }
li[role="treeitem"] { li[role="treeitem"] {
.jstree-wholerow-clicked { .jstree-wholerow-clicked {
.tools { .tools {
display: inline-block; display: inline-block;
} }
} }
.tools { .tools {
display: none; display: none;
position: absolute; position: absolute;
......
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
background: url("../img/ring.gif") no-repeat; background: url("../img/ring.gif") no-repeat;
background-position: 50% 50%; background-position: 50% 50%;
background-size: 60px; background-size: 60px;
@media (min-width: 768px) { @media (min-width: 768px) {
left: 350px; left: 350px;
} }
......
...@@ -20,17 +20,21 @@ ...@@ -20,17 +20,21 @@
.navbar-atlas { .navbar-atlas {
background-color: $color_tuna_approx; //Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10) background-color: $color_tuna_approx; //Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
box-shadow: inset 0 0 0 $black_10, 0 1px 10px $black_10; box-shadow: inset 0 0 0 $black_10, 0 1px 10px $black_10;
.navbar-brand { .navbar-brand {
color: $white; color: $white;
} }
.nav>li>a { .nav>li>a {
color: $white; color: $white;
padding-top: 18px; padding-top: 18px;
padding-bottom: 18px; padding-bottom: 18px;
font-size: 100%; font-size: 100%;
&:focus { &:focus {
background-color: transparent; background-color: transparent;
} }
&:hover { &:hover {
background-color: transparent; background-color: transparent;
} }
...@@ -54,6 +58,7 @@ ...@@ -54,6 +58,7 @@
.navbar-form { .navbar-form {
width: 30%; width: 30%;
padding: 0; padding: 0;
.form-control { .form-control {
width: 100%; width: 100%;
padding: 6px 0; padding: 6px 0;
...@@ -64,6 +69,6 @@ ...@@ -64,6 +69,6 @@
} }
} }
.navbar-nav>li>a{ .navbar-nav>li>a {
padding: 15px 10px; padding: 15px 10px;
} }
\ No newline at end of file
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
//Instead of the line below you could use @include border-radius($radius, $vertical-radius) //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
border-radius: 0; border-radius: 0;
} }
&:last-child { &:last-child {
//Instead of the line below you could use @include border-radius($radius, $vertical-radius) //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
border-radius: 0; border-radius: 0;
...@@ -142,6 +143,7 @@ ...@@ -142,6 +143,7 @@
height: 330px; height: 330px;
overflow-y: auto; overflow-y: auto;
margin-bottom: 0; margin-bottom: 0;
i.fa { i.fa {
margin-right: 5px; margin-right: 5px;
} }
......
...@@ -381,6 +381,7 @@ div.columnmanager-visibilitycontrol { ...@@ -381,6 +381,7 @@ div.columnmanager-visibilitycontrol {
div.columnmanager-dropdown-container { div.columnmanager-dropdown-container {
&.open { &.open {
overflow: auto; overflow: auto;
width: auto;
} }
>li>span.column-label { >li>span.column-label {
......
...@@ -128,11 +128,13 @@ ...@@ -128,11 +128,13 @@
.panel-title { .panel-title {
font-weight: normal; font-weight: normal;
a:hover { a:hover {
color: $color_jungle_green_approx; color: $color_jungle_green_approx;
opacity: 0.7; opacity: 0.7;
} }
} }
.btn-group { .btn-group {
margin-top: 4px; margin-top: 4px;
} }
...@@ -141,6 +143,7 @@ ...@@ -141,6 +143,7 @@
.panel-default.custom-panel>.panel-actions { .panel-default.custom-panel>.panel-actions {
float: right; float: right;
margin-top: 15px; margin-top: 15px;
button { button {
margin-right: 10px; margin-right: 10px;
margin-top: -4px; margin-top: -4px;
...@@ -150,6 +153,7 @@ ...@@ -150,6 +153,7 @@
.panel-default.custom-panel>.panel-collapse>.panel-body { .panel-default.custom-panel>.panel-collapse>.panel-body {
border-top: none; border-top: none;
} }
.panel-default.custom-panel>.panel-heading > .btn-group > button {
.panel-default.custom-panel>.panel-heading>.btn-group>button {
color: $color_jungle_green_approx; color: $color_jungle_green_approx;
} }
\ No newline at end of file
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
.graphval { .graphval {
font-size: 15px; font-size: 15px;
.value-loader { .value-loader {
top: 10px; top: 10px;
} }
...@@ -48,9 +49,11 @@ svg.dateType .nv-bar { ...@@ -48,9 +49,11 @@ svg.dateType .nv-bar {
.progress.cstm_progress { .progress.cstm_progress {
margin-bottom: 0px; margin-bottom: 0px;
.progress-bar-success.cstm_success-bar { .progress-bar-success.cstm_success-bar {
background-color: $color_jungle_green_approx; background-color: $color_jungle_green_approx;
} }
.progress-bar-success.cstm_success-bar:hover { .progress-bar-success.cstm_success-bar:hover {
background-color: $color_puerto_rico_approx; background-color: $color_puerto_rico_approx;
} }
......
...@@ -228,10 +228,18 @@ hr.hr-filter { ...@@ -228,10 +228,18 @@ hr.hr-filter {
.searchTable{ .searchTable {
&.noData{ &.noData {
.labelShowRecord,.inline[data-id="colManager"],.row.searach-result-pagination,table thead{
.labelShowRecord,
.inline[data-id="colManager"],
.row.searach-result-pagination,
table thead {
display: none !important; display: none !important;
} }
} }
} }
.filter-btn-wrapper {
padding-left: 0;
}
\ No newline at end of file
...@@ -19,8 +19,10 @@ ...@@ -19,8 +19,10 @@
.atlast-tabbable { .atlast-tabbable {
margin: 25px 0; margin: 25px 0;
.nav-tabs { .nav-tabs {
border-bottom: 1px solid $color_mystic_approx; border-bottom: 1px solid $color_mystic_approx;
>li { >li {
>a { >a {
padding: 15px 30px; padding: 15px 30px;
...@@ -28,13 +30,16 @@ ...@@ -28,13 +30,16 @@
letter-spacing: 1px; //Instead of the line below you could use @include border-radius($radius, $vertical-radius) letter-spacing: 1px; //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
} }
&.active>a { &.active>a {
border: 1px solid $color_mystic_approx; border: 1px solid $color_mystic_approx;
border-bottom-color: transparent; border-bottom-color: transparent;
&:focus { &:focus {
border: 1px solid $color_mystic_approx; border: 1px solid $color_mystic_approx;
border-bottom-color: transparent; border-bottom-color: transparent;
} }
&:hover { &:hover {
border: 1px solid $color_mystic_approx; border: 1px solid $color_mystic_approx;
border-bottom-color: transparent; border-bottom-color: transparent;
...@@ -42,6 +47,7 @@ ...@@ -42,6 +47,7 @@
} }
} }
} }
.tab-content { .tab-content {
background-color: $white; background-color: $white;
padding: 35px; padding: 35px;
...@@ -60,6 +66,7 @@ ul.tabs li.tab { ...@@ -60,6 +66,7 @@ ul.tabs li.tab {
height: 0; height: 0;
padding: 0px; padding: 0px;
overflow: hidden; overflow: hidden;
&.active { &.active {
padding: 25px; padding: 25px;
opacity: 1; opacity: 1;
...@@ -70,9 +77,11 @@ ul.tabs li.tab { ...@@ -70,9 +77,11 @@ ul.tabs li.tab {
.tagsList .atlast-tabbable { .tagsList .atlast-tabbable {
margin: 0; margin: 0;
.tab-content { .tab-content {
padding: 10px 22px; padding: 10px 22px;
} }
.nav-tabs>li>a { .nav-tabs>li>a {
padding: 10px 20px; padding: 10px 20px;
} }
...@@ -86,6 +95,7 @@ ul.tabs li.tab { ...@@ -86,6 +95,7 @@ ul.tabs li.tab {
white-space: nowrap; white-space: nowrap;
padding: 0; padding: 0;
transition: color 0.28s ease; transition: color 0.28s ease;
.indicator { .indicator {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
...@@ -93,6 +103,7 @@ ul.tabs li.tab { ...@@ -93,6 +103,7 @@ ul.tabs li.tab {
background-color: $color_keppel_approx; background-color: $color_keppel_approx;
will-change: left, right; will-change: left, right;
} }
li.tab { li.tab {
display: block; display: block;
float: left; float: left;
...@@ -104,6 +115,7 @@ ul.tabs li.tab { ...@@ -104,6 +115,7 @@ ul.tabs li.tab {
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.8px; letter-spacing: 0.8px;
border-bottom: 1px solid $color_mirage_approx; border-bottom: 1px solid $color_mirage_approx;
a { a {
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
...@@ -130,8 +142,10 @@ ul.tabs li.tab { ...@@ -130,8 +142,10 @@ ul.tabs li.tab {
.atlast-tabbable { .atlast-tabbable {
margin: 25px 0; margin: 25px 0;
.nav-tabs { .nav-tabs {
border-bottom: 1px solid $color_mystic_approx; border-bottom: 1px solid $color_mystic_approx;
>li { >li {
>a { >a {
padding: 15px 30px; padding: 15px 30px;
...@@ -139,13 +153,16 @@ ul.tabs li.tab { ...@@ -139,13 +153,16 @@ ul.tabs li.tab {
letter-spacing: 1px; //Instead of the line below you could use @include border-radius($radius, $vertical-radius) letter-spacing: 1px; //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
} }
&.active>a { &.active>a {
border: 1px solid $color_mystic_approx; border: 1px solid $color_mystic_approx;
border-bottom-color: transparent; border-bottom-color: transparent;
&:focus { &:focus {
border: 1px solid $color_mystic_approx; border: 1px solid $color_mystic_approx;
border-bottom-color: transparent; border-bottom-color: transparent;
} }
&:hover { &:hover {
border: 1px solid $color_mystic_approx; border: 1px solid $color_mystic_approx;
border-bottom-color: transparent; border-bottom-color: transparent;
...@@ -153,6 +170,7 @@ ul.tabs li.tab { ...@@ -153,6 +170,7 @@ ul.tabs li.tab {
} }
} }
} }
.tab-content { .tab-content {
background-color: $white; background-color: $white;
padding: 35px; padding: 35px;
...@@ -169,6 +187,7 @@ ul.tabs li.tab { ...@@ -169,6 +187,7 @@ ul.tabs li.tab {
color: $color_jungle_green_approx; color: $color_jungle_green_approx;
} }
} }
>a { >a {
color: $black; color: $black;
} }
......
...@@ -25,7 +25,7 @@ $color_falu_red_approx: #8a1f11; ...@@ -25,7 +25,7 @@ $color_falu_red_approx: #8a1f11;
} }
%extend_2 { %extend_2 {
list-style: none!important; list-style: none !important;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
...@@ -67,28 +67,35 @@ $color_falu_red_approx: #8a1f11; ...@@ -67,28 +67,35 @@ $color_falu_red_approx: #8a1f11;
.wizard { .wizard {
@extend %wizard_tabcontrol; @extend %wizard_tabcontrol;
a { a {
outline: 0; outline: 0;
} }
ul { ul {
@extend %extend_2; @extend %extend_2;
>li { >li {
display: block; display: block;
padding: 0; padding: 0;
} }
} }
> { > {
.steps { .steps {
position: relative; position: relative;
display: block; display: block;
width: 100%; width: 100%;
.current-info { .current-info {
position: absolute; position: absolute;
left: -999em; left: -999em;
} }
.number { .number {
font-size: 1.429em; font-size: 1.429em;
} }
&>ul { &>ul {
position: relative; position: relative;
border: 0; border: 0;
...@@ -98,52 +105,66 @@ $color_falu_red_approx: #8a1f11; ...@@ -98,52 +105,66 @@ $color_falu_red_approx: #8a1f11;
list-style: none; list-style: none;
overflow: hidden; overflow: hidden;
margin-bottom: 10px; margin-bottom: 10px;
>li { >li {
width: 25%; width: 25%;
float: left; float: left;
&:first-child>a { &:first-child>a {
padding-left: 15px; padding-left: 15px;
} }
a { a {
@extend %extend_3; @extend %extend_3;
&:hover { &:hover {
cursor: pointer; cursor: pointer;
} }
margin: 0; margin: 0;
border: none; border: none;
border-radius: 0; border-radius: 0;
padding: 10px 0 10px 45px; padding: 10px 0 10px 45px;
&:before { &:before {
@extend %extend_befor_after; @extend %extend_befor_after;
border-left: 30px solid #ddd; border-left: 30px solid #ddd;
margin-left: 1px; margin-left: 1px;
z-index: 1; z-index: 1;
} }
&:after { &:after {
@extend %extend_befor_after; @extend %extend_befor_after;
border-left: 30px solid #f5f5f5; border-left: 30px solid #f5f5f5;
z-index: 2; z-index: 2;
} }
} }
&.disabled a { &.disabled a {
@extend %extend_4; @extend %extend_4;
} }
&.current a { &.current a {
@extend %extend_5; @extend %extend_5;
&:after { &:after {
border-left: 30px solid $color_keppel_approx; border-left: 30px solid $color_keppel_approx;
} }
} }
&.done a { &.done a {
background: #b4e5d9; background: #b4e5d9;
color: $white; color: $white;
&:after { &:after {
border-left: 30px solid #b4e5d9; border-left: 30px solid #b4e5d9;
} }
} }
&.error a { &.error a {
background: $color_scarlet_approx; background: $color_scarlet_approx;
color: $white; color: $white;
&:after { &:after {
border-left: 30px solid $color_scarlet_approx; border-left: 30px solid $color_scarlet_approx;
} }
...@@ -151,6 +172,7 @@ $color_falu_red_approx: #8a1f11; ...@@ -151,6 +172,7 @@ $color_falu_red_approx: #8a1f11;
} }
} }
} }
.content { .content {
background: #f5f5f5; background: #f5f5f5;
display: block; display: block;
...@@ -158,17 +180,21 @@ $color_falu_red_approx: #8a1f11; ...@@ -158,17 +180,21 @@ $color_falu_red_approx: #8a1f11;
position: relative; position: relative;
width: 100%; //Instead of the line below you could use @include border-radius($radius, $vertical-radius) width: 100%; //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
border-radius: 5px; border-radius: 5px;
> { > {
.title { .title {
display: none; display: none;
} }
.body { .body {
float: left; float: left;
width: 100%; width: 100%;
height: 95%; height: 95%;
padding: 2.5%; padding: 2.5%;
>ul { >ul {
list-style: disc!important; list-style: disc !important;
>li { >li {
display: list-item; display: list-item;
} }
...@@ -176,20 +202,24 @@ $color_falu_red_approx: #8a1f11; ...@@ -176,20 +202,24 @@ $color_falu_red_approx: #8a1f11;
} }
} }
} }
.actions { .actions {
position: relative; position: relative;
display: block; display: block;
text-align: right; text-align: right;
width: 100%; width: 100%;
ul[role="menu"] { ul[role="menu"] {
li+li { li+li {
margin-left: 5px; margin-left: 5px;
} }
li.disabled { li.disabled {
a { a {
opacity: .65; opacity: .65;
} }
} }
a { a {
padding: 10px 20px; padding: 10px 20px;
background-color: $color_keppel_approx; background-color: $color_keppel_approx;
...@@ -200,6 +230,7 @@ $color_falu_red_approx: #8a1f11; ...@@ -200,6 +230,7 @@ $color_falu_red_approx: #8a1f11;
transition: all .3s ease; transition: all .3s ease;
margin: 2px; margin: 2px;
} }
a[href="#cancel"] { a[href="#cancel"] {
padding: 10px 20px; padding: 10px 20px;
background-color: transparent; background-color: transparent;
...@@ -211,38 +242,46 @@ $color_falu_red_approx: #8a1f11; ...@@ -211,38 +242,46 @@ $color_falu_red_approx: #8a1f11;
margin: 2px; margin: 2px;
} }
} }
>ul { >ul {
display: inline-block; display: inline-block;
text-align: right; text-align: right;
>li { >li {
float: left; float: left;
margin: 0 .5em; margin: 0 .5em;
} }
} }
} }
.loading .spinner {} .loading .spinner {}
} }
&.vertical> { &.vertical> {
.steps { .steps {
display: inline; display: inline;
float: left; float: left;
width: 30%; width: 30%;
>ul>li { >ul>li {
float: none; float: none;
width: 100%; width: 100%;
} }
} }
.content { .content {
display: inline; display: inline;
float: left; float: left;
margin: 0 2.5% .5em 2.5%; margin: 0 2.5% .5em 2.5%;
width: 65%; width: 65%;
} }
.actions { .actions {
display: inline; display: inline;
float: right; float: right;
margin: 0 2.5%; margin: 0 2.5%;
width: 95%; width: 95%;
>ul>li { >ul>li {
margin: 0 0 0 1em; margin: 0 0 0 1em;
} }
...@@ -252,21 +291,26 @@ $color_falu_red_approx: #8a1f11; ...@@ -252,21 +291,26 @@ $color_falu_red_approx: #8a1f11;
.tabcontrol { .tabcontrol {
@extend %wizard_tabcontrol; @extend %wizard_tabcontrol;
a { a {
outline: 0; outline: 0;
} }
ul { ul {
@extend %extend_2; @extend %extend_2;
>li { >li {
display: block; display: block;
padding: 0; padding: 0;
} }
} }
> { > {
.steps .current-info { .steps .current-info {
position: absolute; position: absolute;
left: -999em; left: -999em;
} }
.content>.title { .content>.title {
display: none; display: none;
} }
...@@ -278,28 +322,34 @@ $color_falu_red_approx: #8a1f11; ...@@ -278,28 +322,34 @@ $color_falu_red_approx: #8a1f11;
>.steps { >.steps {
a { a {
margin-top: .5em; margin-top: .5em;
&:hover { &:hover {
margin-top: .5em; margin-top: .5em;
} }
&:active { &:active {
margin-top: .5em; margin-top: .5em;
} }
} }
>ul>li { >ul>li {
width: 50%; width: 50%;
} }
} }
&.vertical> { &.vertical> {
.steps { .steps {
display: block; display: block;
float: none; float: none;
width: 100%; width: 100%;
} }
.actions { .actions {
display: block; display: block;
float: none; float: none;
width: 100%; width: 100%;
} }
.content { .content {
display: block; display: block;
float: none; float: none;
...@@ -321,15 +371,18 @@ $color_falu_red_approx: #8a1f11; ...@@ -321,15 +371,18 @@ $color_falu_red_approx: #8a1f11;
overflow: hidden; overflow: hidden;
max-height: none; max-height: none;
} }
.wizard { .wizard {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
.content { .content {
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
margin: 0px 0px 15px 0px; margin: 0px 0px 15px 0px;
} }
.actions { .actions {
>ul>li { >ul>li {
margin: 0px; margin: 0px;
......
...@@ -41,7 +41,7 @@ define(['require', ...@@ -41,7 +41,7 @@ define(['require',
* Non - CRUD operations * Non - CRUD operations
*************************/ *************************/
getEntity: function(id, options) { getEntity: function(id, options) {
var url = UrlLinks.entitiesApiUrl({guid: id}); var url = UrlLinks.entitiesApiUrl({ guid: id });
options = _.extend({ options = _.extend({
contentType: 'application/json', contentType: 'application/json',
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</div> </div>
<div class="panel-actions"> <div class="panel-actions">
<div class="pretty p-switch p-fill" style="margin-right: 20px"> <div class="pretty p-switch p-fill" style="margin-right: 20px">
<input type="checkbox" data-id="noValueToggle" title="Show Empty Values"/> <input type="checkbox" data-id="noValueToggle" title="Show Empty Values" />
<div class="state p-primary"> <div class="state p-primary">
<label></label> <label></label>
</div> </div>
......
...@@ -14,20 +14,18 @@ ...@@ -14,20 +14,18 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
--> -->
<table class="custom-table"> <table class="custom-table">
{{#each items}} {{#each items}}
<tr class="custom-tr"> <tr class="custom-tr">
<td class="custom-col-1"> <td class="custom-col-1">
<input placeholder="key" type="text" data-type="key" data-index={{@index}} class="form-control" value={{key}}></input> <input placeholder="key" type="text" data-type="key" data-index={{@index}} class="form-control" value={{key}}></input>
<p class="errorMsg"></p> <p class="errorMsg"></p>
</td > </td>
<td class="custom-col-0"> : </td > <td class="custom-col-0"> : </td>
<td class="custom-col-1"> <td class="custom-col-1">
<textarea placeholder="value" data-type="value" data-index={{@index}} class="form-control" class="form-control">{{value}}</textarea> <textarea placeholder="value" data-type="value" data-index={{@index}} class="form-control" class="form-control">{{value}}</textarea>
<p class="errorMsg"></p> <p class="errorMsg"></p>
</td > </td>
<td class="custom-col-2"> <td class="custom-col-2">
<button class="btn btn-default btn-sm" title="" data-index={{@index}} data-id="deleteItem"> <button class="btn btn-default btn-sm" title="" data-index={{@index}} data-id="deleteItem">
<i class="fa fa-minus"> </i> <i class="fa fa-minus"> </i>
...@@ -35,7 +33,7 @@ ...@@ -35,7 +33,7 @@
<button class="btn btn-default btn-sm" title="" data-index={{@index}} data-id="addItem"> <button class="btn btn-default btn-sm" title="" data-index={{@index}} data-id="addItem">
<i class="fa fa-plus"> </i> <i class="fa fa-plus"> </i>
</button> </button>
</td > </td>
</tr> </tr>
{{/each}} {{/each}}
<tr> <tr>
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
--> -->
<div class="panel-group" id="accordion"> <div class="panel-group" id="accordion">
<div class="panel panel-default custom-panel expand_collapse_panel-icon" data-id="userDefine"> <div class="panel panel-default custom-panel expand_collapse_panel-icon" data-id="userDefine">
{{#ifCond customAttibutes.length "===" 0}} {{#ifCond customAttibutes.length "===" 0}}
<div class="panel-heading collapsed" data-toggle="collapse" href={{divId_1.anchor}} aria-expanded="false" style="width: 70%"> <div class="panel-heading collapsed" data-toggle="collapse" href={{divId_1.anchor}} aria-expanded="false" style="width: 70%">
...@@ -35,9 +34,7 @@ ...@@ -35,9 +34,7 @@
<button type="button" title="Collapse"><i class="ec-icon fa"></i></button> <button type="button" title="Collapse"><i class="ec-icon fa"></i></button>
</div> </div>
</div> </div>
{{/ifCond}} {{/ifCond}}
{{#ifCond readOnlyEntity "===" false}} {{#ifCond readOnlyEntity "===" false}}
<div class="panel-actions"> <div class="panel-actions">
{{#ifCond swapItem "!==" true}} {{#ifCond swapItem "!==" true}}
...@@ -50,7 +47,6 @@ ...@@ -50,7 +47,6 @@
{{/ifCond}} {{/ifCond}}
</div> </div>
{{/ifCond}} {{/ifCond}}
<div id={{divId_1.id}} {{#ifCond swapItem "===" false}} class="panel-collapse collapse" {{else}} class="panel-collapse collapse in" {{/ifCond}}> <div id={{divId_1.id}} {{#ifCond swapItem "===" false}} class="panel-collapse collapse" {{else}} class="panel-collapse collapse in" {{/ifCond}}>
{{#ifCond customAttibutes.length "===" 0}} {{#ifCond customAttibutes.length "===" 0}}
<div class="panel-body"> <div class="panel-body">
...@@ -65,7 +61,9 @@ ...@@ -65,7 +61,9 @@
{{#each customAttibutes}} {{#each customAttibutes}}
<tr> <tr>
<td> <td>
<div class="scroll-y">{{key}}</div> </div></td> <div class="scroll-y">{{key}}</div>
</div>
</td>
<td> <td>
<div class="scroll-y">{{value}}</div> <div class="scroll-y">{{value}}</div>
</td> </td>
...@@ -80,9 +78,8 @@ ...@@ -80,9 +78,8 @@
</div> </div>
{{/ifCond}} {{/ifCond}}
</div> </div>
{{#ifCond customAttibutes.length ">" 0}} {{#ifCond customAttibutes.length ">" 0}}
<div id={{divId_2.id}} class="panel-collapse collapse in" > <div id={{divId_2.id}} class="panel-collapse collapse in">
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
...@@ -95,7 +92,9 @@ ...@@ -95,7 +92,9 @@
{{#each customAttibutes}} {{#each customAttibutes}}
<tr> <tr>
<td> <td>
<div class="scroll-y">{{key}}</div> </div></td> <div class="scroll-y">{{key}}</div>
</div>
</td>
<td> <td>
<div class="scroll-y">{{value}}</div> <div class="scroll-y">{{value}}</div>
</td> </td>
...@@ -108,8 +107,7 @@ ...@@ -108,8 +107,7 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
{{/ifCond}} {{/ifCond}}
</div>
</div> </div>
</div> \ No newline at end of file
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">Name</label> <label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">Name</label>
<div class="col-sm-10"> <div class="col-sm-10">
<input class="form-control" data-id="name" name="name" value="{{modelJSON.name}}" placeholder="Name(required)" autofocus/> <input class="form-control" data-id="name" name="name" value="{{modelJSON.name}}" placeholder="Name(required)" autofocus />
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">Name</label> <label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">Name</label>
<div class="col-sm-10"> <div class="col-sm-10">
<input class="form-control" name="name" value="{{name}}" data-id="name" placeholder="Name(required)" autofocus/> <input class="form-control" name="name" value="{{name}}" data-id="name" placeholder="Name(required)" autofocus />
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<td>{{@key}}</td> <td>{{@key}}</td>
{{#if ../../editMode}} {{#if ../../editMode}}
<td> <td>
<input data-id="attributeUpdate" class="form-control" type="text" data-name="{{@key}}" data-termguid="{{../../this.termGuid}}" " value="{{lookup ../../this @key ''}} "> <input data-id="attributeUpdate" class="form-control" type="text" data-name="{{@key}}" data-termguid="{{../../this.termGuid}}" " value=" {{lookup ../../this @key ''}} ">
</td>{{else}} </td>{{else}}
<td>{{lookup ../../this @key "- "}}</td> <td>{{lookup ../../this @key "- "}}</td>
{{/if}} {{/if}}
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
</td> </td>
</tr> </tr>
{{/each}}{{else}} {{/each}}{{else}}
<tr class="empty text-center "> <tr class=" empty text-center ">
<td colspan="3 "><span>No records found!</span></td> <td colspan=" 3 "><span>No records found!</span></td>
</tr>{{/if}} {{/if}} </tr>{{/if}} {{/if}}
</tbody> </tbody>
</table> </table>
\ No newline at end of file
...@@ -18,19 +18,25 @@ ...@@ -18,19 +18,25 @@
<div class=""> <div class="">
<div class="col-sm-3 rowValue"> <div class="col-sm-3 rowValue">
<div><span class="graphkey">Rows</span></div> <div><span class="graphkey">Rows</span></div>
<div><span class="graphval"><div class="value-loader"></div></span></div> <div><span class="graphval">
<div class="value-loader"></div>
</span></div>
</div> </div>
<div class="col-sm-3 table_created"> <div class="col-sm-3 table_created">
<div><span class="graphkey">Date Created</span></div> <div><span class="graphkey">Date Created</span></div>
<div><span class="graphval"><div class="value-loader"></div></span></div> <div><span class="graphval">
<div class="value-loader"></div>
</span></div>
</div> </div>
<div class="col-sm-6 table_name"> <div class="col-sm-6 table_name">
<div><span class="graphkey">Table</span></div> <div><span class="graphkey">Table</span></div>
<div><span class="graphval"><div class="value-loader"></div></span></div> <div><span class="graphval">
<div class="value-loader"></div>
</span></div>
</div> </div>
</div> </div>
</div> </div>
<hr/> <hr />
<div class="row"> <div class="row">
<h4 class="col-sm-12">{{typeObject.label}}</h4> <h4 class="col-sm-12">{{typeObject.label}}</h4>
</div> </div>
...@@ -49,37 +55,37 @@ ...@@ -49,37 +55,37 @@
<div><span class="graphkey">Cardinality</span></div> <div><span class="graphkey">Cardinality</span></div>
<div title="{{profileData.cardinality}}"><span class="graphval text-right"><b>{{profileData.cardinality}}</b></span></div> <div title="{{profileData.cardinality}}"><span class="graphval text-right"><b>{{profileData.cardinality}}</b></span></div>
</div> </div>
<hr/> <hr />
<div class=""> <div class="">
<div><span class="graphkey">% NonNull</span></div> <div><span class="graphkey">% NonNull</span></div>
<div title="{{profileData.nonNullData}}%"><span class="graphval text-right"><b>{{profileData.nonNullData}}%</b></span></div> <div title="{{profileData.nonNullData}}%"><span class="graphval text-right"><b>{{profileData.nonNullData}}%</b></span></div>
</div> </div>
<hr/> {{#ifCond typeObject.type "==" "string"}} <hr /> {{#ifCond typeObject.type "==" "string"}}
<div class=""> <div class="">
<div><span class="graphkey">Average Length</span></div> <div><span class="graphkey">Average Length</span></div>
<div title="{{profileData.averageLength}}"><span class="graphval text-right"><b>{{profileData.averageLength}}</b></span></div> <div title="{{profileData.averageLength}}"><span class="graphval text-right"><b>{{profileData.averageLength}}</b></span></div>
</div> </div>
<hr/> <hr />
<div class=""> <div class="">
<div><span class="graphkey">Max Length</span></div> <div><span class="graphkey">Max Length</span></div>
<div title="{{profileData.maxLength}}"><span class="graphval text-right"><b>{{profileData.maxLength}}</b></span></div> <div title="{{profileData.maxLength}}"><span class="graphval text-right"><b>{{profileData.maxLength}}</b></span></div>
</div> </div>
<hr/> {{/ifCond}} {{#ifCond typeObject.type "==" "numeric"}} <hr /> {{/ifCond}} {{#ifCond typeObject.type "==" "numeric"}}
<div class=""> <div class="">
<div><span class="graphkey">Min</span></div> <div><span class="graphkey">Min</span></div>
<div title="{{profileData.minValue}}"><span class="graphval text-right"><b>{{profileData.minValue}}</b></span></div> <div title="{{profileData.minValue}}"><span class="graphval text-right"><b>{{profileData.minValue}}</b></span></div>
</div> </div>
<hr/> <hr />
<div class=""> <div class="">
<div><span class="graphkey">Max</span></div> <div><span class="graphkey">Max</span></div>
<div title="{{profileData.maxValue}}"><span class="graphval text-right"><b>{{profileData.maxValue}}</b></span></div> <div title="{{profileData.maxValue}}"><span class="graphval text-right"><b>{{profileData.maxValue}}</b></span></div>
</div> </div>
<hr/> <hr />
<div class=""> <div class="">
<div><span class="graphkey">Mean</span></div> <div><span class="graphkey">Mean</span></div>
<div title="{{profileData.meanValue}}"><span class="graphval text-right"><b>{{profileData.meanValue}}</b></span></div> <div title="{{profileData.meanValue}}"><span class="graphval text-right"><b>{{profileData.meanValue}}</b></span></div>
</div> </div>
<hr/> <hr />
<div class=""> <div class="">
<div><span class="graphkey">Median</span></div> <div><span class="graphkey">Median</span></div>
<div title="{{profileData.medianValue}}"><span class="graphval text-right"><b>{{profileData.medianValue}}</b></span></div> <div title="{{profileData.medianValue}}"><span class="graphval text-right"><b>{{profileData.medianValue}}</b></span></div>
......
...@@ -18,23 +18,31 @@ ...@@ -18,23 +18,31 @@
<div class=""> <div class="">
<div class="col-sm-3 rowValue"> <div class="col-sm-3 rowValue">
<div><span class="graphkey">Rows</span></div> <div><span class="graphkey">Rows</span></div>
<div><span class="graphval"><div class="value-loader"></div></span></div> <div><span class="graphval">
<div class="value-loader"></div>
</span></div>
</div> </div>
<div class="col-sm-3 table_created"> <div class="col-sm-3 table_created">
<div><span class="graphkey">Date Created</span></div> <div><span class="graphkey">Date Created</span></div>
<div><span class="graphval"><div class="value-loader"></div></span></div> <div><span class="graphval">
<div class="value-loader"></div>
</span></div>
</div> </div>
<div class="col-sm-3 table_name"> <div class="col-sm-3 table_name">
<div><span class="graphkey">Table</span></div> <div><span class="graphkey">Table</span></div>
<div><span class="graphval"><div class="value-loader"></div></span></div> <div><span class="graphval">
<div class="value-loader"></div>
</span></div>
</div> </div>
<div class="col-sm-3 db_name"> <div class="col-sm-3 db_name">
<div><span class="graphkey">DB</span></div> <div><span class="graphkey">DB</span></div>
<div><span class="graphval"><div class="value-loader"></div></span></div> <div><span class="graphval">
<div class="value-loader"></div>
</span></div>
</div> </div>
</div> </div>
</div> </div>
<hr/> <hr />
<div class=""> <div class="">
<div id="r_profileTableLayoutView"></div> <div id="r_profileTableLayoutView"></div>
</div> </div>
\ No newline at end of file
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
<span class="pull-left">Advanced</span> <span class="pull-left">Advanced</span>
<span class="advancedInfo" data-id="advancedInfo"><i class="fa fa-question-circle-o"></i></span> <span class="advancedInfo" data-id="advancedInfo"><i class="fa fa-question-circle-o"></i></span>
</div> </div>
<div class="col-sm-3"> <div class="col-sm-3 filter-btn-wrapper">
<button type="button" class="btn btn-action btn-md pull-right typeLOV" title="Refresh" data-id="refreshBtn"><i class="fa fa-refresh"></i></button> <button type="button" class="btn btn-action btn-sm pull-right typeLOV" title="Refresh" data-id="refreshBtn"><i class="fa fa-refresh"></i></button>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2 required" for="name">Name</label> <label class="control-label col-sm-2 required" for="name">Name</label>
<div class="col-sm-10"> <div class="col-sm-10">
<input class="form-control" data-id="saveAsName" placeholder="Name(required)" value="{{selectedModel.name}}" autofocus/> <input class="form-control" data-id="saveAsName" placeholder="Name(required)" value="{{selectedModel.name}}" autofocus />
</div> </div>
</div> </div>
</form> </form>
\ No newline at end of file
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
<div class="row modalHeight"> <div class="row modalHeight">
<div class="form-group col-md-12"> <div class="form-group col-md-12">
{{#if tagModel}} {{#if tagModel}}
<h4>{{tagModel.typeName}}</h4> </div>{{else}} <h4>{{tagModel.typeName}}</h4>
</div>{{else}}
<select class="form-control row-margin-bottom" data-id="addTagOptions" required> <select class="form-control row-margin-bottom" data-id="addTagOptions" required>
</select> </select>
</div> </div>
...@@ -32,7 +33,7 @@ ...@@ -32,7 +33,7 @@
</div> </div>
<div class="inline" data-id="removePropagationOnEntityDeleteBox"> <div class="inline" data-id="removePropagationOnEntityDeleteBox">
<label class="checkbox-inline btn"> <label class="checkbox-inline btn">
<input type="checkbox" data-id="removePropagationOnEntityDelete" class="input" title="Propagated classification are removed during entity delete"/> Remove propagation on entity delete</label> <input type="checkbox" data-id="removePropagationOnEntityDelete" class="input" title="Propagated classification are removed during entity delete" /> Remove propagation on entity delete</label>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">Name</label> <label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">Name</label>
{{#if create}} {{#if create}}
<div class="col-sm-10"> <div class="col-sm-10">
<input class="form-control" data-id="tagName" placeholder="Name(required)" autofocus/> <input class="form-control" data-id="tagName" placeholder="Name(required)" autofocus />
</div> </div>
{{else}} {{else}}
<span class="ellipsis-with-margin control-label text-left col-sm-10" data-id="title"></span> {{/if}} <span class="ellipsis-with-margin control-label text-left col-sm-10" data-id="title"></span> {{/if}}
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="position-relative"> <div class="position-relative">
<div class="tableOverlay"></div> <div class="tableOverlay"></div>
<div class="inline-content-fr table-action-btn"> <div class="inline-content-fr table-action-btn">
<div class="inline" > <div class="inline">
<label class="checkbox-inline btn"> <label class="checkbox-inline btn">
<input type="checkbox" data-id="checkPropagtedTag" class="input" checked="true" name="queryType" value="text" name="check" value="1" /> Show Propagated Classifications</label> <input type="checkbox" data-id="checkPropagtedTag" class="input" checked="true" name="queryType" value="text" name="check" value="1" /> Show Propagated Classifications</label>
</div> </div>
......
...@@ -382,7 +382,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum ...@@ -382,7 +382,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
if (_.has(obj, 'condition')) { if (_.has(obj, 'condition')) {
return '&nbsp<span class="operator">' + obj.condition + '</span>&nbsp' + '(' + objToString(obj) + ')'; return '&nbsp<span class="operator">' + obj.condition + '</span>&nbsp' + '(' + objToString(obj) + ')';
} else { } else {
return '<span class="key">' + _.escape(obj.id) + '</span>&nbsp<span class="operator">' + _.escape(obj.operator) + '</span>&nbsp<span class="value">' + _.escape(obj.value) + "</span>"; return '<span class="key">' + (Enums.systemAttributes[obj.id] ? Enums.systemAttributes[obj.id] : _.escape(obj.id)) + '</span>&nbsp<span class="operator">' + _.escape(obj.operator) + '</span>&nbsp<span class="value">' + (Enums[obj.id] ? Enums[obj.id][obj.value] : _.escape(obj.value)) + "</span>";
} }
}); });
return generatedQuery; return generatedQuery;
...@@ -467,7 +467,8 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum ...@@ -467,7 +467,8 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
val = val.join(','); val = val.join(',');
} else if (k == "tagFilters") { } else if (k == "tagFilters") {
if (classificationDefCollection) { if (classificationDefCollection) {
var classificationDef = classificationDefCollection.fullCollection.findWhere({ 'name': value[skey].classification }), attributeDefs = []; var classificationDef = classificationDefCollection.fullCollection.findWhere({ 'name': value[skey].classification }),
attributeDefs = [];
if (classificationDef) { if (classificationDef) {
Utils.getNestedSuperTypeObj({ Utils.getNestedSuperTypeObj({
collection: classificationDefCollection, collection: classificationDefCollection,
...@@ -482,7 +483,8 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum ...@@ -482,7 +483,8 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
val = CommonViewFunction.attributeFilter.generateUrl({ "value": val, "attributeDefs": attributeDefs }); val = CommonViewFunction.attributeFilter.generateUrl({ "value": val, "attributeDefs": attributeDefs });
} else if (k == "entityFilters") { } else if (k == "entityFilters") {
if (entityDefCollection) { if (entityDefCollection) {
var entityDef = entityDefCollection.fullCollection.findWhere({ 'name': value[skey].typeName }), attributeDefs = []; var entityDef = entityDefCollection.fullCollection.findWhere({ 'name': value[skey].typeName }),
attributeDefs = [];
if (entityDef) { if (entityDef) {
Utils.getNestedSuperTypeObj({ Utils.getNestedSuperTypeObj({
collection: entityDefCollection, collection: entityDefCollection,
...@@ -961,7 +963,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum ...@@ -961,7 +963,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
}); });
return list.join(','); return list.join(',');
} }
CommonViewFunction.fetchRootEntityAttributes = function (options) { CommonViewFunction.fetchRootEntityAttributes = function(options) {
$.ajax({ $.ajax({
url: options.url, url: options.url,
methods: 'GET', methods: 'GET',
...@@ -981,7 +983,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum ...@@ -981,7 +983,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
} }
}); });
}, },
CommonViewFunction.fetchRootClassificationAttributes = function (options) { CommonViewFunction.fetchRootClassificationAttributes = function(options) {
$.ajax({ $.ajax({
url: options.url, url: options.url,
methods: 'GET', methods: 'GET',
......
...@@ -37,7 +37,7 @@ define(['require'], function(require) { ...@@ -37,7 +37,7 @@ define(['require'], function(require) {
TERM_ADD: "Term Added", TERM_ADD: "Term Added",
TERM_DELETE: "Term Deleted", TERM_DELETE: "Term Deleted",
LABEL_ADD: "Label(s) Added", LABEL_ADD: "Label(s) Added",
LABEL_DELETE:"Label(s) Deleted" LABEL_DELETE: "Label(s) Deleted"
} }
Enums.entityStateReadOnly = { Enums.entityStateReadOnly = {
...@@ -192,5 +192,23 @@ define(['require'], function(require) { ...@@ -192,5 +192,23 @@ define(['require'], function(require) {
"failedMessageCount": "number" "failedMessageCount": "number"
} }
}; };
Enums.systemAttributes = {
"__classificationNames": "Classification(s)",
"__createdBy": "Created By",
"__customAttributes": "User-defined attributes",
"__guid": "Guid",
"__isIncomplete": "IsIncomplete",
"__labels": "Label(s)",
"__modificationTimestamp": "Last Modified Timestamp",
"__modifiedBy": "Last Modified User",
"__propagatedClassificationNames": "Propagated Classification(s)",
"__state": "Status",
"__timestamp": "Created Timestamp",
"__typeName": "Type Name"
};
Enums.__isIncomplete = {
0: "false",
1: "true"
};
return Enums; return Enums;
}); });
\ No newline at end of file
...@@ -206,7 +206,7 @@ define(['require', 'utils/Utils', 'marionette', 'backgrid', 'asBreadcrumbs', 'jq ...@@ -206,7 +206,7 @@ define(['require', 'utils/Utils', 'marionette', 'backgrid', 'asBreadcrumbs', 'jq
var HeaderDecodeCell = Backgrid.HeaderHTMLDecodeCell = Backgrid.HeaderCell.extend({ var HeaderDecodeCell = Backgrid.HeaderHTMLDecodeCell = Backgrid.HeaderCell.extend({
initialize: function(options) { initialize: function(options) {
Backgrid.HeaderCell.prototype.initialize.apply(this, arguments); Backgrid.HeaderCell.prototype.initialize.apply(this, arguments);
this.name = _.unescape(this.column.get("name")) this.name = _.unescape(this.column.get("label"))
// Add class // Add class
this.$el.addClass(this.name); this.$el.addClass(this.name);
}, },
......
...@@ -40,7 +40,7 @@ define(['require', 'utils/Enums', 'utils/Utils', 'underscore'], function(require ...@@ -40,7 +40,7 @@ define(['require', 'utils/Enums', 'utils/Utils', 'underscore'], function(require
enumDefApiUrl: function(name) { enumDefApiUrl: function(name) {
return this.getDefApiUrl('enum', name); return this.getDefApiUrl('enum', name);
}, },
metricsApiUrl: function(){ metricsApiUrl: function() {
return this.baseUrl + '/admin/metrics' return this.baseUrl + '/admin/metrics'
}, },
rootEntityDefUrl: function(name) { rootEntityDefUrl: function(name) {
...@@ -50,7 +50,8 @@ define(['require', 'utils/Enums', 'utils/Utils', 'underscore'], function(require ...@@ -50,7 +50,8 @@ define(['require', 'utils/Enums', 'utils/Utils', 'underscore'], function(require
return this.baseUrlV2 + '/types/classificationdef/name/' + name; return this.baseUrlV2 + '/types/classificationdef/name/' + name;
}, },
getDefApiUrl: function(type, name) { getDefApiUrl: function(type, name) {
var defApiUrl = this.typedefsUrl(), defUrl; var defApiUrl = this.typedefsUrl(),
defUrl;
if (name) { if (name) {
defUrl = defApiUrl.def + '/name/' + name; defUrl = defApiUrl.def + '/name/' + name;
} else { } else {
......
...@@ -87,7 +87,7 @@ define(['require', ...@@ -87,7 +87,7 @@ define(['require',
} }
}); });
} else { } else {
return [] return [];
} }
}; };
this.ui.addLabelOptions.select2({ this.ui.addLabelOptions.select2({
......
...@@ -60,16 +60,15 @@ define(['require', ...@@ -60,16 +60,15 @@ define(['require',
*/ */
initialize: function(options) { initialize: function(options) {
if (options.items.length === 0) { if (options.items.length === 0) {
this.items = [{ key: "", value: ""}]; this.items = [{ key: "", value: "" }];
} else { } else {
this.items = options.items; this.items = options.items;
} }
}, },
onRender: function() { onRender: function() {},
},
onAddItemClick: function(e) { onAddItemClick: function(e) {
var el = e.currentTarget; var el = e.currentTarget;
this.items.splice(parseInt(el.dataset.index) + 1, 0, { key: "", value: ""}); this.items.splice(parseInt(el.dataset.index) + 1, 0, { key: "", value: "" });
this.render(); this.render();
}, },
onDeleteItemClick: function(e) { onDeleteItemClick: function(e) {
...@@ -77,18 +76,18 @@ define(['require', ...@@ -77,18 +76,18 @@ define(['require',
this.items.splice(el.dataset.index, 1); this.items.splice(el.dataset.index, 1);
this.render(); this.render();
}, },
onItemKeyChange: function (e) { onItemKeyChange: function(e) {
var el = e.currentTarget; var el = e.currentTarget;
this.handleCharSupport(el); this.handleCharSupport(el);
if (!el.value.trim().includes(':')) { if (!el.value.trim().includes(':')) {
this.items[ el.dataset.index].key = _.escape(el.value.trim()); this.items[el.dataset.index].key = _.escape(el.value.trim());
} }
}, },
onItemValueChange: function (e) { onItemValueChange: function(e) {
var el = e.currentTarget; var el = e.currentTarget;
this.handleCharSupport(el); this.handleCharSupport(el);
if (!el.value.trim().includes(':')) { if (!el.value.trim().includes(':')) {
this.items[ el.dataset.index].value = _.escape(el.value.trim()); this.items[el.dataset.index].value = _.escape(el.value.trim());
} }
}, },
handleCharSupport: function(el) { handleCharSupport: function(el) {
......
...@@ -17,15 +17,15 @@ ...@@ -17,15 +17,15 @@
*/ */
define(['require', define(['require',
'backbone', 'backbone',
'hbs!tmpl/entity/EntityUserDefineView_tmpl', 'hbs!tmpl/entity/EntityUserDefineView_tmpl',
'models/VEntity', 'models/VEntity',
'utils/Utils', 'utils/Utils',
'utils/Enums', 'utils/Enums',
'utils/Messages', 'utils/Messages',
'utils/CommonViewFunction', 'utils/CommonViewFunction',
], function(require, Backbone, EntityUserDefineView_tmpl, VEntity, Utils, Enums, Messages, CommonViewFunction) { ], function(require, Backbone, EntityUserDefineView_tmpl, VEntity, Utils, Enums, Messages, CommonViewFunction) {
'use strict'; 'use strict';
return Backbone.Marionette.LayoutView.extend({ return Backbone.Marionette.LayoutView.extend({
_viewName: 'EntityUserDefineView', _viewName: 'EntityUserDefineView',
...@@ -33,7 +33,7 @@ define(['require', ...@@ -33,7 +33,7 @@ define(['require',
templateHelpers: function() { templateHelpers: function() {
return { return {
customAttibutes: this.customAttibutes, customAttibutes: this.customAttibutes,
readOnlyEntity : this.readOnlyEntity, readOnlyEntity: this.readOnlyEntity,
swapItem: this.swapItem, swapItem: this.swapItem,
saveAttrItems: this.saveAttrItems, saveAttrItems: this.saveAttrItems,
divId_1: this.dynamicId_1, divId_1: this.dynamicId_1,
...@@ -57,19 +57,18 @@ define(['require', ...@@ -57,19 +57,18 @@ define(['require',
this.userDefineAttr = this.entity.customAttributes || []; this.userDefineAttr = this.entity.customAttributes || [];
this.initialCall = false; this.initialCall = false;
this.swapItem = false, this.saveAttrItems = false; this.swapItem = false, this.saveAttrItems = false;
this.readOnlyEntity = this.customFilter === undefined ? Enums.entityStateReadOnly[this.entity.status] : this.customFilter ; this.readOnlyEntity = this.customFilter === undefined ? Enums.entityStateReadOnly[this.entity.status] : this.customFilter;
this.entityModel = new VEntity(this.entity); this.entityModel = new VEntity(this.entity);
this.dynamicId_1 = CommonViewFunction.getRandomIdAndAnchor(); this.dynamicId_1 = CommonViewFunction.getRandomIdAndAnchor();
this.dynamicId_2 = CommonViewFunction.getRandomIdAndAnchor(); this.dynamicId_2 = CommonViewFunction.getRandomIdAndAnchor();
this.generateTableFields(); this.generateTableFields();
}, },
onRender: function() { onRender: function() {},
},
renderEntityUserDefinedItems: function() { renderEntityUserDefinedItems: function() {
var that = this; var that = this;
require(['views/entity/EntityUserDefineItemView'], function(EntityUserDefineItemView) { require(['views/entity/EntityUserDefineItemView'], function(EntityUserDefineItemView) {
that.itemView = new EntityUserDefineItemView({items: that.customAttibutes}); that.itemView = new EntityUserDefineItemView({ items: that.customAttibutes });
that.REntityUserDefinedItemView.show(that.itemView); that.REntityUserDefinedItemView.show(that.itemView);
}); });
}, },
...@@ -103,23 +102,23 @@ define(['require', ...@@ -103,23 +102,23 @@ define(['require',
}); });
}); });
}, },
onEditAttrClick: function () { onEditAttrClick: function() {
this.initialCall = this.customAttibutes.length > 0 ? false : true; this.initialCall = this.customAttibutes.length > 0 ? false : true;
this.setAttributeModal(this.itemView); this.setAttributeModal(this.itemView);
}, },
structureAttributes: function (list) { structureAttributes: function(list) {
var obj={} var obj = {}
list.map(function (o) { list.map(function(o) {
obj[o.key] = o.value; obj[o.key] = o.value;
}); });
return obj; return obj;
}, },
saveAttributes: function (list) { saveAttributes: function(list) {
var that = this; var that = this;
var entityJson = that.entityModel.toJSON(); var entityJson = that.entityModel.toJSON();
var properties = that.structureAttributes(list); var properties = that.structureAttributes(list);
entityJson.customAttributes = properties; entityJson.customAttributes = properties;
var payload = {entity: entityJson}; var payload = { entity: entityJson };
that.entityModel.createOreditEntity({ that.entityModel.createOreditEntity({
data: JSON.stringify(payload), data: JSON.stringify(payload),
type: 'POST', type: 'POST',
...@@ -138,14 +137,14 @@ define(['require', ...@@ -138,14 +137,14 @@ define(['require',
that.saveAttrItems = false; that.saveAttrItems = false;
that.render(); that.render();
}, },
error: function (e) { error: function(e) {
that.initialCall = false; that.initialCall = false;
Utils.notifySuccess({ Utils.notifySuccess({
content: e.message content: e.message
}); });
that.ui.saveAttrItems.attr("disabled", false); that.ui.saveAttrItems.attr("disabled", false);
}, },
complete: function () { complete: function() {
that.ui.saveAttrItems.attr("disabled", false); that.ui.saveAttrItems.attr("disabled", false);
that.initialCall = false; that.initialCall = false;
} }
......
...@@ -83,15 +83,34 @@ define(['require', ...@@ -83,15 +83,34 @@ define(['require',
} }
return false; return false;
}, },
getObjDef: function(attrObj, rules, isGroup, groupType) { getObjDef: function(attrObj, rules, isGroup, groupType, isSystemAttr) {
if (attrObj.name === "__classificationsText" || attrObj.name === "__historicalGuids") {
return;
}
var obj = { var obj = {
id: attrObj.name, id: attrObj.name,
label: _.escape(attrObj.name.capitalize() + " (" + attrObj.typeName + ")"), label: (Enums.systemAttributes[attrObj.name] ? Enums.systemAttributes[attrObj.name] : _.escape(attrObj.name.capitalize())) + " (" + attrObj.typeName + ")",
type: _.escape(attrObj.typeName) type: _.escape(attrObj.typeName)
}; };
if (isGroup) { if (isGroup) {
obj.optgroup = groupType; obj.optgroup = groupType;
} }
if (isSystemAttr && attrObj.name === "__isIncomplete" || isSystemAttr && attrObj.name === "IsIncomplete") {
obj.type = "boolean";
obj.label = (Enums.systemAttributes[attrObj.name] ? Enums.systemAttributes[attrObj.name] : _.escape(attrObj.name.capitalize())) + " (boolean)";
obj['input'] = 'select';
obj['values'] = [{ 1: 'true' }, { 0: 'false' }];
obj.operators = ['=', '!=', 'is_null', 'not_null'];
return obj;
}
if (isSystemAttr && attrObj.name === "Status" || isSystemAttr && attrObj.name === "__state") {
obj.label = (Enums.systemAttributes[attrObj.name] ? Enums.systemAttributes[attrObj.name] : _.escape(attrObj.name.capitalize())) + " (enum)";
obj['input'] = 'select';
obj['values'] = ['ACTIVE', 'DELETED'];
obj.operators = ['=', '!='];
return obj;
}
if (obj.type === "date") { if (obj.type === "date") {
obj['plugin'] = 'daterangepicker'; obj['plugin'] = 'daterangepicker';
obj['plugin_config'] = { obj['plugin_config'] = {
...@@ -167,7 +186,7 @@ define(['require', ...@@ -167,7 +186,7 @@ define(['require',
} }
}); });
_.each(this.systemAttrArr, function(obj) { _.each(this.systemAttrArr, function(obj) {
var returnObj = that.getObjDef(obj, rules_widgets, isGroupView, 'Select System Attribute'); var returnObj = that.getObjDef(obj, rules_widgets, isGroupView, 'Select System Attribute', true);
if (returnObj) { if (returnObj) {
filters.push(returnObj); filters.push(returnObj);
} }
......
...@@ -23,8 +23,9 @@ define(['require', ...@@ -23,8 +23,9 @@ define(['require',
'utils/Globals', 'utils/Globals',
'utils/Enums', 'utils/Enums',
'collection/VSearchList', 'collection/VSearchList',
'utils/CommonViewFunction' 'utils/CommonViewFunction',
], function(require, Backbone, SearchLayoutViewTmpl, Utils, UrlLinks, Globals, Enums, VSearchList, CommonViewFunction) { 'modules/Modal'
], function(require, Backbone, SearchLayoutViewTmpl, Utils, UrlLinks, Globals, Enums, VSearchList, CommonViewFunction, Modal) {
'use strict'; 'use strict';
var SearchLayoutView = Backbone.Marionette.LayoutView.extend( var SearchLayoutView = Backbone.Marionette.LayoutView.extend(
...@@ -239,7 +240,7 @@ define(['require', ...@@ -239,7 +240,7 @@ define(['require',
} }
} }
var tagCheck = function(filterObj, type) { var tagCheck = function(filterObj, type) {
var filterAddOn = Enums.addOnClassification.filter(function(a) { a !== Enums.addOnClassification[0]}); var filterAddOn = Enums.addOnClassification.filter(function(a) { a !== Enums.addOnClassification[0] });
if (that.value.tag && !_.contains(filterAddOn, that.value.tag)) { if (that.value.tag && !_.contains(filterAddOn, that.value.tag)) {
that.ui.tagAttrFilter.prop('disabled', false); that.ui.tagAttrFilter.prop('disabled', false);
if (filterObj && filterObj.length) { if (filterObj && filterObj.length) {
...@@ -435,13 +436,17 @@ define(['require', ...@@ -435,13 +436,17 @@ define(['require',
}); });
}, },
okAttrFilterButton: function(e) { okAttrFilterButton: function(e) {
var isTag = this.attrModal.tag ? true : false, var that = this,
isTag = this.attrModal.tag ? true : false,
filtertype = isTag ? 'tagFilters' : 'entityFilters', filtertype = isTag ? 'tagFilters' : 'entityFilters',
queryBuilderRef = this.attrModal.RQueryBuilder.currentView.ui.builder, queryBuilderRef = this.attrModal.RQueryBuilder.currentView.ui.builder,
col = []; col = [];
function getIdFromRuleObject(rule) { function getIdFromRuleObject(rule) {
_.map(rule.rules, function(obj, key) { _.map(rule.rules, function(obj, key) {
if (obj.id === "__state") {
that.value.includeDE = (obj.value === "ACTIVE" && obj.operator === "=") || (obj.value === "DELETED" && obj.operator === "!=") ? false : true;
}
if (_.has(obj, 'condition')) { if (_.has(obj, 'condition')) {
return getIdFromRuleObject(obj); return getIdFromRuleObject(obj);
} else { } else {
......
...@@ -59,7 +59,7 @@ define(['require', ...@@ -59,7 +59,7 @@ define(['require',
title: 'Attribute Filter', title: 'Attribute Filter',
content: this, content: this,
allowCancel: true, allowCancel: true,
mainClass : 'modal-lg', mainClass: 'modal-lg',
okCloses: false, okCloses: false,
buttons: [{ buttons: [{
text: 'Cancel', text: 'Cancel',
...@@ -115,7 +115,7 @@ define(['require', ...@@ -115,7 +115,7 @@ define(['require',
attrMerge: true attrMerge: true
}); });
} }
if (Globals[this.value.type] ||Globals[Enums.addOnEntities[0]]) { if (Globals[this.value.type] || Globals[Enums.addOnEntities[0]]) {
obj['systemAttrArr'] = (Globals[this.value.type] || Globals[Enums.addOnEntities[0]]).attributeDefs; obj['systemAttrArr'] = (Globals[this.value.type] || Globals[Enums.addOnEntities[0]]).attributeDefs;
} }
} }
......
...@@ -218,7 +218,7 @@ define(['require', ...@@ -218,7 +218,7 @@ define(['require',
Utils.notifyError({ Utils.notifyError({
content: errorText content: errorText
}); });
this.$('.searchTable > .well').html('<center>' + errorText + '</center>') this.$('.searchTable > .well').html('<center>' + _.escape(errorText) + '</center>')
} }
}, this); }, this);
this.listenTo(this.searchCollection, "state-changed", function(state) { this.listenTo(this.searchCollection, "state-changed", function(state) {
...@@ -536,15 +536,6 @@ define(['require', ...@@ -536,15 +536,6 @@ define(['require',
} }
}, },
renderSearchQueryView: function() {
var that = this;
require(['views/search/SearchQueryView'], function(SearchQueryView) {
that.RSearchQuery.show(new SearchQueryView({
value: that.value,
searchVent: that.searchVent
}));
});
},
tableRender: function(options) { tableRender: function(options) {
var that = this, var that = this,
savedColumnOrder = options.order, savedColumnOrder = options.order,
...@@ -790,18 +781,19 @@ define(['require', ...@@ -790,18 +781,19 @@ define(['require',
} }
if (this.value && this.value.searchType === "basic") { if (this.value && this.value.searchType === "basic") {
var def = this.entityDefCollection.fullCollection.find({ name: this.value.type }), systemAttr = []; var def = this.entityDefCollection.fullCollection.find({ name: this.value.type }),
systemAttr = [];
if (def || Globals[this.value.type] || ( if (def || Globals[this.value.type] || (
this.value.tag this.value.tag ?
? Globals[this.value.tag] Globals[this.value.tag] ?
? Globals[this.value.tag] Globals[this.value.tag] :
: Globals[Enums.addOnClassification[0]] Globals[Enums.addOnClassification[0]] :
: undefined)) { undefined)) {
var attrObj = def ? Utils.getNestedSuperTypeObj({ data: def.toJSON(), collection: this.entityDefCollection, attrMerge: true }) : []; var attrObj = def ? Utils.getNestedSuperTypeObj({ data: def.toJSON(), collection: this.entityDefCollection, attrMerge: true }) : [];
if (this.value.type && ( Globals[this.value.type] || Globals[Enums.addOnEntities[0]])) { if (this.value.type && (Globals[this.value.type] || Globals[Enums.addOnEntities[0]])) {
systemAttr = (Globals[this.value.type] || Globals[Enums.addOnEntities[0]]).attributeDefs; systemAttr = (Globals[this.value.type] || Globals[Enums.addOnEntities[0]]).attributeDefs;
} }
if (this.value.tag && ( Globals[this.value.tag] || Globals[Enums.addOnClassification[0]])) { if (this.value.tag && (Globals[this.value.tag] || Globals[Enums.addOnClassification[0]])) {
systemAttr = (Globals[this.value.tag] || Globals[Enums.addOnClassification[0]]).attributeDefs; systemAttr = (Globals[this.value.tag] || Globals[Enums.addOnClassification[0]]).attributeDefs;
} }
attrObj = attrObj.concat(systemAttr); attrObj = attrObj.concat(systemAttr);
...@@ -816,7 +808,7 @@ define(['require', ...@@ -816,7 +808,7 @@ define(['require',
return; return;
} }
col[obj.name] = { col[obj.name] = {
label: _.escape(obj.name).capitalize(), label: Enums.systemAttributes[obj.name] ? Enums.systemAttributes[obj.name] : _.escape(obj.name).capitalize(),
cell: "Html", cell: "Html",
headerCell: Backgrid.HeaderHTMLDecodeCell, headerCell: Backgrid.HeaderHTMLDecodeCell,
editable: false, editable: false,
......
...@@ -41,7 +41,7 @@ define(['require', ...@@ -41,7 +41,7 @@ define(['require',
return events; return events;
}, },
initialize: function(options) { initialize: function(options) {
_.extend(this, _.pick(options, 'collection', 'typeHeaders', 'applyValue', 'fetchFavioriteCollection', 'isBasic', 'classificationDefCollection', 'entityDefCollection','searchTypeObj')); _.extend(this, _.pick(options, 'collection', 'typeHeaders', 'applyValue', 'fetchFavioriteCollection', 'isBasic', 'classificationDefCollection', 'entityDefCollection', 'searchTypeObj'));
this.model.id = this.model.get('guid'); this.model.id = this.model.get('guid');
this.model.idAttribute = 'guid'; this.model.idAttribute = 'guid';
}, },
......
...@@ -147,7 +147,7 @@ define(['require', ...@@ -147,7 +147,7 @@ define(['require',
if (options && options.model) { if (options && options.model) {
var searchParameters = options.model.toJSON().searchParameters, var searchParameters = options.model.toJSON().searchParameters,
params = CommonViewFunction.generateUrlFromSaveSearchObject({ params = CommonViewFunction.generateUrlFromSaveSearchObject({
value: {"searchParameters" : searchParameters, "uiParameters": options.model.get('uiParameters')}, value: { "searchParameters": searchParameters, "uiParameters": options.model.get('uiParameters') },
classificationDefCollection: this.classificationDefCollection, classificationDefCollection: this.classificationDefCollection,
entityDefCollection: this.entityDefCollection entityDefCollection: this.entityDefCollection
}); });
......
...@@ -188,7 +188,7 @@ pre { ...@@ -188,7 +188,7 @@ pre {
} }
} }
.panel-body .memory-details{ .panel-body .memory-details {
pre { pre {
&.code-block { &.code-block {
&.shrink { &.shrink {
......
...@@ -459,7 +459,7 @@ button:focus { ...@@ -459,7 +459,7 @@ button:focus {
border-color: $color_mountain_mist_approx; border-color: $color_mountain_mist_approx;
color: $color_mountain_mist_approx; color: $color_mountain_mist_approx;
cursor: default; cursor: default;
margin: 5px 10px; margin: 0px 10px;
&:hover { &:hover {
border-color: $color_mountain_mist_approx; border-color: $color_mountain_mist_approx;
......
...@@ -20,33 +20,41 @@ ...@@ -20,33 +20,41 @@
.jstree-default-dark { .jstree-default-dark {
background: transparent !important; background: transparent !important;
.jstree-anchor { .jstree-anchor {
width: calc(100% - 50px); width: calc(100% - 50px);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.jstree-children.jstree-children>li>a { .jstree-children.jstree-children>li>a {
max-width: 500px; max-width: 500px;
} }
.jstree-clicked, .jstree-clicked,
.jstree-wholerow-clicked { .jstree-wholerow-clicked {
background: $color_jungle_green_approx !important; background: $color_jungle_green_approx !important;
} }
.jstree-hovered { .jstree-hovered {
background: $color_star_dust_approx; background: $color_star_dust_approx;
} }
.jstree-anchor { .jstree-anchor {
color: #dbdbdb; color: #dbdbdb;
} }
.jstree-search { .jstree-search {
color: #fbfece !important color: #fbfece !important
} }
li[role="treeitem"] { li[role="treeitem"] {
.jstree-wholerow-clicked { .jstree-wholerow-clicked {
.tools { .tools {
display: inline-block; display: inline-block;
} }
} }
.tools { .tools {
display: none; display: none;
position: absolute; position: absolute;
......
...@@ -19,17 +19,21 @@ ...@@ -19,17 +19,21 @@
.navbar-atlas { .navbar-atlas {
background-color: $color_tuna_approx; //Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10) background-color: $color_tuna_approx; //Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
box-shadow: inset 0 0 0 $black_10, 0 1px 10px $black_10; box-shadow: inset 0 0 0 $black_10, 0 1px 10px $black_10;
.navbar-brand { .navbar-brand {
color: $white; color: $white;
} }
.nav>li>a { .nav>li>a {
color: $white; color: $white;
padding-top: 18px; padding-top: 18px;
padding-bottom: 18px; padding-bottom: 18px;
font-size: 100%; font-size: 100%;
&:focus { &:focus {
background-color: transparent; background-color: transparent;
} }
&:hover { &:hover {
background-color: transparent; background-color: transparent;
} }
...@@ -53,6 +57,7 @@ ...@@ -53,6 +57,7 @@
.navbar-form { .navbar-form {
width: 30%; width: 30%;
padding: 0; padding: 0;
.form-control { .form-control {
width: 100%; width: 100%;
padding: 6px 0; padding: 6px 0;
...@@ -63,6 +68,6 @@ ...@@ -63,6 +68,6 @@
} }
} }
.navbar-nav>li>a{ .navbar-nav>li>a {
padding: 15px 10px; padding: 15px 10px;
} }
\ No newline at end of file
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
//Instead of the line below you could use @include border-radius($radius, $vertical-radius) //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
border-radius: 0; border-radius: 0;
} }
&:last-child { &:last-child {
//Instead of the line below you could use @include border-radius($radius, $vertical-radius) //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
border-radius: 0; border-radius: 0;
...@@ -142,6 +143,7 @@ ...@@ -142,6 +143,7 @@
height: 330px; height: 330px;
overflow-y: auto; overflow-y: auto;
margin-bottom: 0; margin-bottom: 0;
i.fa { i.fa {
margin-right: 5px; margin-right: 5px;
} }
......
...@@ -333,6 +333,7 @@ div.columnmanager-visibilitycontrol { ...@@ -333,6 +333,7 @@ div.columnmanager-visibilitycontrol {
div.columnmanager-dropdown-container { div.columnmanager-dropdown-container {
&.open { &.open {
overflow: auto; overflow: auto;
width: auto;
} }
>li>span.column-label { >li>span.column-label {
......
...@@ -144,11 +144,13 @@ ...@@ -144,11 +144,13 @@
.panel-title { .panel-title {
font-weight: normal; font-weight: normal;
a:hover { a:hover {
color: $color_jungle_green_approx; color: $color_jungle_green_approx;
opacity: 0.7; opacity: 0.7;
} }
} }
.btn-group { .btn-group {
margin-top: 4px; margin-top: 4px;
} }
...@@ -157,6 +159,7 @@ ...@@ -157,6 +159,7 @@
.panel-default.custom-panel>.panel-actions { .panel-default.custom-panel>.panel-actions {
float: right; float: right;
margin-top: 15px; margin-top: 15px;
button { button {
margin-right: 10px; margin-right: 10px;
margin-top: -4px; margin-top: -4px;
...@@ -166,6 +169,7 @@ ...@@ -166,6 +169,7 @@
.panel-default.custom-panel>.panel-collapse>.panel-body { .panel-default.custom-panel>.panel-collapse>.panel-body {
border-top: none; border-top: none;
} }
.panel-default.custom-panel>.panel-heading > .btn-group > button {
.panel-default.custom-panel>.panel-heading>.btn-group>button {
color: $color_jungle_green_approx; color: $color_jungle_green_approx;
} }
\ No newline at end of file
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
.graphval { .graphval {
font-size: 15px; font-size: 15px;
.value-loader { .value-loader {
top: 10px; top: 10px;
} }
...@@ -48,9 +49,11 @@ svg.dateType .nv-bar { ...@@ -48,9 +49,11 @@ svg.dateType .nv-bar {
.progress.cstm_progress { .progress.cstm_progress {
margin-bottom: 0px; margin-bottom: 0px;
.progress-bar-success.cstm_success-bar { .progress-bar-success.cstm_success-bar {
background-color: $color_jungle_green_approx; background-color: $color_jungle_green_approx;
} }
.progress-bar-success.cstm_success-bar:hover { .progress-bar-success.cstm_success-bar:hover {
background-color: $color_puerto_rico_approx; background-color: $color_puerto_rico_approx;
} }
......
...@@ -55,7 +55,7 @@ $color_celeste_approx: #1D1F2B; ...@@ -55,7 +55,7 @@ $color_celeste_approx: #1D1F2B;
height: 16px; height: 16px;
background-color: $color_jungle_green_approx; background-color: $color_jungle_green_approx;
border-radius: 10px; border-radius: 10px;
@include transition(inherit) @include transition(inherit);
} }
.switch-input:checked~& { .switch-input:checked~& {
...@@ -72,13 +72,13 @@ $color_celeste_approx: #1D1F2B; ...@@ -72,13 +72,13 @@ $color_celeste_approx: #1D1F2B;
.srchTitle { .srchTitle {
font-size: 14px; font-size: 14px;
color: $gray color: $gray;
} }
} }
body.ui-autocomplete-small-height { body.ui-autocomplete-small-height {
.ui-menu.ui-widget-content.ui-autocomplete { .ui-menu.ui-widget-content.ui-autocomplete {
max-height: 40% max-height: 40%;
} }
} }
...@@ -152,7 +152,8 @@ body.ui-autocomplete-small-height { ...@@ -152,7 +152,8 @@ body.ui-autocomplete-small-height {
animation-fill-mode: backwards; animation-fill-mode: backwards;
animation: bottom-top 0.4s ease-in; animation: bottom-top 0.4s ease-in;
} }
.create-entity{
.create-entity {
position: absolute; position: absolute;
top: 0px; top: 0px;
right: 0px; right: 0px;
...@@ -219,8 +220,9 @@ body.ui-autocomplete-small-height { ...@@ -219,8 +220,9 @@ body.ui-autocomplete-small-height {
border-radius: 15px; border-radius: 15px;
} }
} }
.queryContainer{
float:left; .queryContainer {
float: left;
} }
.capsuleView { .capsuleView {
...@@ -423,7 +425,8 @@ hr.hr-filter { ...@@ -423,7 +425,8 @@ hr.hr-filter {
padding: 0px 15px; padding: 0px 15px;
} }
.attribute-result-footer,.attribute-edit-footer { .attribute-result-footer,
.attribute-edit-footer {
display: inline-block; display: inline-block;
} }
} }
...@@ -448,7 +451,8 @@ hr.hr-filter { ...@@ -448,7 +451,8 @@ hr.hr-filter {
border: none; border: none;
} }
.attribute-result-footer, .attribute-edit-footer { .attribute-result-footer,
.attribute-edit-footer {
text-align: right; text-align: right;
} }
} }
...@@ -462,14 +466,15 @@ hr.hr-filter { ...@@ -462,14 +466,15 @@ hr.hr-filter {
.ellipsis-with-margin { .ellipsis-with-margin {
.searchResult { .searchResult {
p { p {
margin: 10px 0px margin: 10px 0px;
} }
} }
} }
.popover{
.popover {
max-width: 800px; max-width: 800px;
.attributePopOver{ .attributePopOver {
min-height: 190px; min-height: 190px;
} }
} }
\ No newline at end of file
...@@ -25,7 +25,7 @@ $color_falu_red_approx: #8a1f11; ...@@ -25,7 +25,7 @@ $color_falu_red_approx: #8a1f11;
} }
%extend_2 { %extend_2 {
list-style: none!important; list-style: none !important;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
...@@ -67,28 +67,35 @@ $color_falu_red_approx: #8a1f11; ...@@ -67,28 +67,35 @@ $color_falu_red_approx: #8a1f11;
.wizard { .wizard {
@extend %wizard_tabcontrol; @extend %wizard_tabcontrol;
a { a {
outline: 0; outline: 0;
} }
ul { ul {
@extend %extend_2; @extend %extend_2;
>li { >li {
display: block; display: block;
padding: 0; padding: 0;
} }
} }
> { > {
.steps { .steps {
position: relative; position: relative;
display: block; display: block;
width: 100%; width: 100%;
.current-info { .current-info {
position: absolute; position: absolute;
left: -999em; left: -999em;
} }
.number { .number {
font-size: 1.429em; font-size: 1.429em;
} }
&>ul { &>ul {
position: relative; position: relative;
border: 0; border: 0;
...@@ -98,52 +105,66 @@ $color_falu_red_approx: #8a1f11; ...@@ -98,52 +105,66 @@ $color_falu_red_approx: #8a1f11;
list-style: none; list-style: none;
overflow: hidden; overflow: hidden;
margin-bottom: 10px; margin-bottom: 10px;
>li { >li {
width: 25%; width: 25%;
float: left; float: left;
&:first-child>a { &:first-child>a {
padding-left: 15px; padding-left: 15px;
} }
a { a {
@extend %extend_3; @extend %extend_3;
&:hover { &:hover {
cursor: pointer; cursor: pointer;
} }
margin: 0; margin: 0;
border: none; border: none;
border-radius: 0; border-radius: 0;
padding: 10px 0 10px 45px; padding: 10px 0 10px 45px;
&:before { &:before {
@extend %extend_befor_after; @extend %extend_befor_after;
border-left: 30px solid #ddd; border-left: 30px solid #ddd;
margin-left: 1px; margin-left: 1px;
z-index: 1; z-index: 1;
} }
&:after { &:after {
@extend %extend_befor_after; @extend %extend_befor_after;
border-left: 30px solid #f5f5f5; border-left: 30px solid #f5f5f5;
z-index: 2; z-index: 2;
} }
} }
&.disabled a { &.disabled a {
@extend %extend_4; @extend %extend_4;
} }
&.current a { &.current a {
@extend %extend_5; @extend %extend_5;
&:after { &:after {
border-left: 30px solid $color_keppel_approx; border-left: 30px solid $color_keppel_approx;
} }
} }
&.done a { &.done a {
background: #b4e5d9; background: #b4e5d9;
color: $white; color: $white;
&:after { &:after {
border-left: 30px solid #b4e5d9; border-left: 30px solid #b4e5d9;
} }
} }
&.error a { &.error a {
background: $color_scarlet_approx; background: $color_scarlet_approx;
color: $white; color: $white;
&:after { &:after {
border-left: 30px solid $color_scarlet_approx; border-left: 30px solid $color_scarlet_approx;
} }
...@@ -151,6 +172,7 @@ $color_falu_red_approx: #8a1f11; ...@@ -151,6 +172,7 @@ $color_falu_red_approx: #8a1f11;
} }
} }
} }
.content { .content {
background: #f5f5f5; background: #f5f5f5;
display: block; display: block;
...@@ -158,17 +180,21 @@ $color_falu_red_approx: #8a1f11; ...@@ -158,17 +180,21 @@ $color_falu_red_approx: #8a1f11;
position: relative; position: relative;
width: 100%; //Instead of the line below you could use @include border-radius($radius, $vertical-radius) width: 100%; //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
border-radius: 5px; border-radius: 5px;
> { > {
.title { .title {
display: none; display: none;
} }
.body { .body {
float: left; float: left;
width: 100%; width: 100%;
height: 95%; height: 95%;
padding: 2.5%; padding: 2.5%;
>ul { >ul {
list-style: disc!important; list-style: disc !important;
>li { >li {
display: list-item; display: list-item;
} }
...@@ -176,20 +202,24 @@ $color_falu_red_approx: #8a1f11; ...@@ -176,20 +202,24 @@ $color_falu_red_approx: #8a1f11;
} }
} }
} }
.actions { .actions {
position: relative; position: relative;
display: block; display: block;
text-align: right; text-align: right;
width: 100%; width: 100%;
ul[role="menu"] { ul[role="menu"] {
li+li { li+li {
margin-left: 5px; margin-left: 5px;
} }
li.disabled { li.disabled {
a { a {
opacity: .65; opacity: .65;
} }
} }
a { a {
padding: 10px 20px; padding: 10px 20px;
background-color: $color_keppel_approx; background-color: $color_keppel_approx;
...@@ -200,6 +230,7 @@ $color_falu_red_approx: #8a1f11; ...@@ -200,6 +230,7 @@ $color_falu_red_approx: #8a1f11;
transition: all .3s ease; transition: all .3s ease;
margin: 2px; margin: 2px;
} }
a[href="#cancel"] { a[href="#cancel"] {
padding: 10px 20px; padding: 10px 20px;
background-color: transparent; background-color: transparent;
...@@ -211,38 +242,46 @@ $color_falu_red_approx: #8a1f11; ...@@ -211,38 +242,46 @@ $color_falu_red_approx: #8a1f11;
margin: 2px; margin: 2px;
} }
} }
>ul { >ul {
display: inline-block; display: inline-block;
text-align: right; text-align: right;
>li { >li {
float: left; float: left;
margin: 0 .5em; margin: 0 .5em;
} }
} }
} }
.loading .spinner {} .loading .spinner {}
} }
&.vertical> { &.vertical> {
.steps { .steps {
display: inline; display: inline;
float: left; float: left;
width: 30%; width: 30%;
>ul>li { >ul>li {
float: none; float: none;
width: 100%; width: 100%;
} }
} }
.content { .content {
display: inline; display: inline;
float: left; float: left;
margin: 0 2.5% .5em 2.5%; margin: 0 2.5% .5em 2.5%;
width: 65%; width: 65%;
} }
.actions { .actions {
display: inline; display: inline;
float: right; float: right;
margin: 0 2.5%; margin: 0 2.5%;
width: 95%; width: 95%;
>ul>li { >ul>li {
margin: 0 0 0 1em; margin: 0 0 0 1em;
} }
...@@ -252,21 +291,26 @@ $color_falu_red_approx: #8a1f11; ...@@ -252,21 +291,26 @@ $color_falu_red_approx: #8a1f11;
.tabcontrol { .tabcontrol {
@extend %wizard_tabcontrol; @extend %wizard_tabcontrol;
a { a {
outline: 0; outline: 0;
} }
ul { ul {
@extend %extend_2; @extend %extend_2;
>li { >li {
display: block; display: block;
padding: 0; padding: 0;
} }
} }
> { > {
.steps .current-info { .steps .current-info {
position: absolute; position: absolute;
left: -999em; left: -999em;
} }
.content>.title { .content>.title {
display: none; display: none;
} }
...@@ -278,28 +322,34 @@ $color_falu_red_approx: #8a1f11; ...@@ -278,28 +322,34 @@ $color_falu_red_approx: #8a1f11;
>.steps { >.steps {
a { a {
margin-top: .5em; margin-top: .5em;
&:hover { &:hover {
margin-top: .5em; margin-top: .5em;
} }
&:active { &:active {
margin-top: .5em; margin-top: .5em;
} }
} }
>ul>li { >ul>li {
width: 50%; width: 50%;
} }
} }
&.vertical> { &.vertical> {
.steps { .steps {
display: block; display: block;
float: none; float: none;
width: 100%; width: 100%;
} }
.actions { .actions {
display: block; display: block;
float: none; float: none;
width: 100%; width: 100%;
} }
.content { .content {
display: block; display: block;
float: none; float: none;
...@@ -321,15 +371,18 @@ $color_falu_red_approx: #8a1f11; ...@@ -321,15 +371,18 @@ $color_falu_red_approx: #8a1f11;
overflow: hidden; overflow: hidden;
max-height: none; max-height: none;
} }
.wizard { .wizard {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
.content { .content {
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
margin: 0px 0px 15px 0px; margin: 0px 0px 15px 0px;
} }
.actions { .actions {
>ul>li { >ul>li {
margin: 0px; margin: 0px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment