Skip to content

Commit

Permalink
Added node icon;Removed CORS workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal-j committed Apr 5, 2016
1 parent 927ad46 commit 72cac86
Show file tree
Hide file tree
Showing 18 changed files with 16 additions and 11 deletions.
3 changes: 3 additions & 0 deletions app/bower_components/semantic-ui/dist/components/icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,9 @@ i.icons .inverted.corner.icon {
.icon.sidebar_networks:before {
content: "\e903";
}
.icon.sidebar_nodes:before {
content: "\e938";
}
.icon.sidebar_storagepolicies:before {
content: "\e904";
}
Expand Down

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions app/bower_components/semantic-ui/dist/semantic.css
Original file line number Diff line number Diff line change
Expand Up @@ -7745,6 +7745,10 @@ i.icons .inverted.corner.icon {
content: "\e903";
}

.icon.sidebar_nodes:before {
content: "\e938";
}

.icon.sidebar_storagepolicies:before {
content: "\e904";
}
Expand Down
2 changes: 1 addition & 1 deletion app/bower_components/semantic-ui/dist/semantic.min.css

Large diffs are not rendered by default.

Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@
.icon.sidebar_networks:before {
content: "\e903";
}
.icon.sidebar_nodes:before {
content: "\e938";
}
.icon.sidebar_storagepolicies:before {
content: "\e904";
}
Expand Down
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
Volumes
</a>
<a class="item" ui-sref="contiv.nodes()">
<i class="server icon"></i>
<i class="sidebar_nodes icon"></i>
Nodes
</a>
</div>
Expand Down
7 changes: 0 additions & 7 deletions app/networks/networkcreatectrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
* Created by vjain3 on 2/19/16.
*/
angular.module('contiv.networks')
/* Temporary Config to get around CORS issue during POST. */
.config(function ($httpProvider) {
$httpProvider.defaults.headers.common = {};
$httpProvider.defaults.headers.post = {};
$httpProvider.defaults.headers.put = {};
$httpProvider.defaults.headers.patch = {};
})
.config(function ($stateProvider) {
$stateProvider
.state('contiv.networks.create', {
Expand Down
2 changes: 1 addition & 1 deletion contiv-nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ server {
}

#cluster
location /info/nodes/ {
location /info/nodes {
proxy_pass http://localhost:9876;
}
location /commission/node/ {
Expand Down

0 comments on commit 72cac86

Please sign in to comment.