Commit 894a91f6 by nixonrodrigues

ATLAS-1823 - UI - Change in base path URL for few api/images to make it relative…

ATLAS-1823 - UI - Change in base path URL for few api/images to make it relative from path it is accessed.
parent 82b6f727
...@@ -104,7 +104,7 @@ $color_suva_gray_approx: #868686; ...@@ -104,7 +104,7 @@ $color_suva_gray_approx: #868686;
$tag_color:#4A90E2; $tag_color:#4A90E2;
$delete_link:#BB5838; $delete_link:#BB5838;
//urls //urls
$url_0: url(../img/loading.gif); $url_0: url(img/loading.gif);
.card { .card {
background: $white none repeat scroll 0 0; background: $white none repeat scroll 0 0;
//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) //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)
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<header id="new-header" class="clearfix"></header> <header id="new-header" class="clearfix"></header>
<div id="new-page-wrapper"> <div id="new-page-wrapper">
<div> <div>
<img class="initialLoading" src="../img/ring.gif"> <img class="initialLoading" src="img/ring.gif">
</div> </div>
</div> </div>
</div> </div>
......
...@@ -20,8 +20,8 @@ define(['require', 'utils/Enums'], function(require, Enums) { ...@@ -20,8 +20,8 @@ define(['require', 'utils/Enums'], function(require, Enums) {
'use strict'; 'use strict';
var UrlLinks = { var UrlLinks = {
baseUrl: '/api/atlas', baseUrl: 'api/atlas',
baseUrlV2: '/api/atlas/v2', baseUrlV2: 'api/atlas/v2',
typedefsUrl: function() { typedefsUrl: function() {
return { return {
defs: this.baseUrlV2 + '/types/typedefs', defs: this.baseUrlV2 + '/types/typedefs',
......
...@@ -254,19 +254,19 @@ define(['require', ...@@ -254,19 +254,19 @@ define(['require',
if (node) { if (node) {
if (node.isProcess) { if (node.isProcess) {
if (Enums.entityStateReadOnly[node.status]) { if (Enums.entityStateReadOnly[node.status]) {
return '../img/icon-gear-delete.png'; return 'img/icon-gear-delete.png';
} else if (node.id == that.guid) { } else if (node.id == that.guid) {
return '../img/icon-gear-active.png'; return 'img/icon-gear-active.png';
} else { } else {
return '../img/icon-gear.png'; return 'img/icon-gear.png';
} }
} else { } else {
if (Enums.entityStateReadOnly[node.status]) { if (Enums.entityStateReadOnly[node.status]) {
return '../img/icon-table-delete.png'; return 'img/icon-table-delete.png';
} else if (node.id == that.guid) { } else if (node.id == that.guid) {
return '../img/icon-table-active.png'; return 'img/icon-table-active.png';
} else { } else {
return '../img/icon-table.png'; return 'img/icon-table.png';
} }
} }
} }
......
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