1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-27 03:21:29 +03:00

Bug #770: Fixed non relative paths to make ozones fit to run on a reverse proxy

This commit is contained in:
Hector Sanjuan 2011-09-01 01:27:58 +02:00 committed by Ruben S. Montero
parent 9ce9362829
commit 9154a08d83
2 changed files with 4 additions and 4 deletions

View File

@ -201,7 +201,7 @@ var oZones = {
var request = oZones.Helper.request(resource,"login");
$.ajax({
url: "/login",
url: "login",
type: "POST",
data: {remember: remember},
beforeSend : function(req) {
@ -235,7 +235,7 @@ var oZones = {
var request =oZones.Helper.request(resource,"logout");
$.ajax({
url: "/logout",
url: "logout",
type: "POST",
success: function(response)
{
@ -267,7 +267,7 @@ var oZones = {
var request = oZones.Helper.request(resource,"list");
$.ajax({
url: "/config",
url: "config",
type: "GET",
dataType: "json",
success: function(response)

View File

@ -47,7 +47,7 @@
<div id="header" class="ui-layout-north">
<div id="logo">
<img src="/images/opennebula-zones-small.png"/>
<img src="images/opennebula-zones-small.png"/>
</div>
<div id="login-info">
Welcome <span id="user"></span>&nbsp;|&nbsp;<a href="#" id="logout">Sign Out</a>