Replaced root specific absolute paths with relative paths.

pull/4/head
Mark McDowall 13 years ago
parent 86eb70bcbb
commit e978cc1261

@ -20,7 +20,7 @@
$.gritter.add({ $.gritter.add({
title: data.Title, title: data.Title,
text: data.Text, text: data.Text,
image: '/content/images/success.png', image: '../../content/images/success.png',
class_name: 'gritter-success' class_name: 'gritter-success'
}); });
} }
@ -28,7 +28,7 @@
$.gritter.add({ $.gritter.add({
title: data.Title, title: data.Title,
text: data.Text, text: data.Text,
image: '/content/images/error.png', image: '../../content/images/error.png',
class_name: 'gritter-fail' class_name: 'gritter-fail'
}); });
} }
@ -41,7 +41,7 @@
$.gritter.add({ $.gritter.add({
title: 'Request failed', title: 'Request failed',
text: this.url, text: this.url,
image: '/content/images/error.png', image: '../../content/images/error.png',
class_name: 'gritter-fail' class_name: 'gritter-fail'
}); });
} }

@ -8,7 +8,7 @@
@foreach (var root in Model) @foreach (var root in Model)
{ {
<div class="actionButton delete"> <div class="actionButton delete">
<img src="/Content/Images/x_16.png" alt="delete" id='@root'/> <img src="../../Content/Images/x_16.png" alt="delete" id='@root'/>
<span>@root</span> <span>@root</span>
</div> </div>
} }

@ -2,7 +2,7 @@
@model NzbDrone.Web.Models.NotificationSettingsModel @model NzbDrone.Web.Models.NotificationSettingsModel
@section HeaderContent{ @section HeaderContent{
<link rel="stylesheet" type="text/css" href="/Content/Settings.css" /> <link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
<style> <style>
.notifier .notifier

@ -1,8 +1,8 @@
@using NzbDrone.Web.Helpers; @using NzbDrone.Web.Helpers;
@model NzbDrone.Web.Models.QualityModel @model NzbDrone.Web.Models.QualityModel
@section HeaderContent{ @section HeaderContent{
<link rel="stylesheet" type="text/css" href="/Content/Settings.css" /> <link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
<link href="/Content/QualitySettings.css" rel="stylesheet" type="text/css" /> <link href="../../Content/QualitySettings.css" rel="stylesheet" type="text/css" />
} }
@section TitleContent{ @section TitleContent{
Settings Settings

Loading…
Cancel
Save