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;
$tag_color:#4A90E2;
$delete_link:#BB5838;
//urls
$url_0: url(../img/loading.gif);
$url_0: url(img/loading.gif);
.card {
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)
......
......@@ -63,7 +63,7 @@
<header id="new-header" class="clearfix"></header>
<div id="new-page-wrapper">
<div>
<img class="initialLoading" src="../img/ring.gif">
<img class="initialLoading" src="img/ring.gif">
</div>
</div>
</div>
......
......@@ -20,8 +20,8 @@ define(['require', 'utils/Enums'], function(require, Enums) {
'use strict';
var UrlLinks = {
baseUrl: '/api/atlas',
baseUrlV2: '/api/atlas/v2',
baseUrl: 'api/atlas',
baseUrlV2: 'api/atlas/v2',
typedefsUrl: function() {
return {
defs: this.baseUrlV2 + '/types/typedefs',
......
......@@ -254,19 +254,19 @@ define(['require',
if (node) {
if (node.isProcess) {
if (Enums.entityStateReadOnly[node.status]) {
return '../img/icon-gear-delete.png';
return 'img/icon-gear-delete.png';
} else if (node.id == that.guid) {
return '../img/icon-gear-active.png';
return 'img/icon-gear-active.png';
} else {
return '../img/icon-gear.png';
return 'img/icon-gear.png';
}
} else {
if (Enums.entityStateReadOnly[node.status]) {
return '../img/icon-table-delete.png';
return 'img/icon-table-delete.png';
} else if (node.id == that.guid) {
return '../img/icon-table-active.png';
return 'img/icon-table-active.png';
} 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