mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
commit
c7966313b2
13 changed files with 86 additions and 106 deletions
|
@ -21,6 +21,7 @@
|
|||
* Fix article removal for sorting on Display Show, and API pages
|
||||
* Fix visual positioning of sprites on Config page
|
||||
* Fix missing navbar gradients for all browsers
|
||||
* Update qTip2 to v2.2.1
|
||||
|
||||
[develop changelog]
|
||||
* Add TVRage network name standardization
|
||||
|
|
1
gui/slick/css/lib/jquery.qtip-2.0.1.min.css
vendored
1
gui/slick/css/lib/jquery.qtip-2.0.1.min.css
vendored
File diff suppressed because one or more lines are too long
3
gui/slick/css/lib/jquery.qtip-2.2.1.min.css
vendored
Normal file
3
gui/slick/css/lib/jquery.qtip-2.2.1.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -42,7 +42,7 @@
|
|||
$(this).qtip({
|
||||
show: {solo:true},
|
||||
position: {viewport:$(window), my:'left center', adjust:{ y: -10, x: 2 }},
|
||||
style: {tip:{corner:true, method:'polygon'}, classes:'qtip-rounded qtip-shadow ui-tooltip-sb'}
|
||||
style: {classes:'qtip-rounded qtip-shadow'}
|
||||
});
|
||||
});
|
||||
#end raw
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="$sbRoot/css/lib/bootstrap.css?$sbPID"/>
|
||||
<link rel="stylesheet" type="text/css" href="$sbRoot/css/browser.css?$sbPID" />
|
||||
<link rel="stylesheet" type="text/css" href="$sbRoot/css/lib/jquery-ui-1.10.4.custom.css?$sbPID" />
|
||||
<link rel="stylesheet" type="text/css" href="$sbRoot/css/lib/jquery.qtip-2.0.1.min.css?$sbPID"/>
|
||||
<link rel="stylesheet" type="text/css" href="$sbRoot/css/lib/jquery.qtip-2.2.1.min.css?$sbPID"/>
|
||||
<link rel="stylesheet" type="text/css" href="$sbRoot/css/lib/pnotify.custom.min.css?$sbPID" />
|
||||
<link rel="stylesheet" type="text/css" href="$sbRoot/css/style.css?$sbPID"/>
|
||||
<link rel="stylesheet" type="text/css" href="$sbRoot/css/${sickbeard.THEME_NAME}.css?$sbPID" />
|
||||
|
@ -52,7 +52,7 @@
|
|||
<script type="text/javascript" src="$sbRoot/js/lib/jquery.selectboxes.min.js?$sbPID"></script>
|
||||
<script type="text/javascript" src="$sbRoot/js/lib/jquery.tablesorter-2.17.7.min.js?$sbPID"></script>
|
||||
<script type="text/javascript" src="$sbRoot/js/lib/jquery.tablesorter.widgets-2.17.7.min.js?$sbPID"></script>
|
||||
<script type="text/javascript" src="$sbRoot/js/lib/jquery.qtip-2.0.1.min.js?$sbPID"></script>
|
||||
<script type="text/javascript" src="$sbRoot/js/lib/jquery.qtip-2.2.1.min.js?$sbPID"></script>
|
||||
<script type="text/javascript" src="$sbRoot/js/lib/pnotify.custom.min.js"></script>
|
||||
<script type="text/javascript" src="$sbRoot/js/lib/jquery.form-3.35.js?$sbPID"></script>
|
||||
<script type="text/javascript" src="$sbRoot/js/lib/jquery.ui.touch-punch-0.2.2.min.js?$sbPID"></script>
|
||||
|
|
|
@ -17,7 +17,7 @@ $(document).ready(function () {
|
|||
} else {
|
||||
$('#unpack').qtip('option', {
|
||||
'content.text': 'Unrar Executable not found.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#unpack').qtip('toggle', true);
|
||||
$('#unpack').css('background-color', '#FFFFDD');
|
||||
|
@ -56,21 +56,21 @@ $(document).ready(function () {
|
|||
if (data == "invalid") {
|
||||
$('#naming_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is invalid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_pattern').qtip('toggle', true);
|
||||
$('#naming_pattern').css('background-color', '#FFDDDD');
|
||||
} else if (data == "seasonfolders") {
|
||||
$('#naming_pattern').qtip('option', {
|
||||
'content.text': 'This pattern would be invalid without the folders, using it will force "Flatten" off for all shows.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_pattern').qtip('toggle', true);
|
||||
$('#naming_pattern').css('background-color', '#FFFFDD');
|
||||
} else {
|
||||
$('#naming_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is valid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-green'
|
||||
'style.classes': 'qtip-green qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_pattern').qtip('toggle', false);
|
||||
$('#naming_pattern').css('background-color', '#FFFFFF');
|
||||
|
@ -97,21 +97,21 @@ $(document).ready(function () {
|
|||
if (data == "invalid") {
|
||||
$('#naming_abd_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is invalid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_abd_pattern').qtip('toggle', true);
|
||||
$('#naming_abd_pattern').css('background-color', '#FFDDDD');
|
||||
} else if (data == "seasonfolders") {
|
||||
$('#naming_abd_pattern').qtip('option', {
|
||||
'content.text': 'This pattern would be invalid without the folders, using it will force "Flatten" off for all shows.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_abd_pattern').qtip('toggle', true);
|
||||
$('#naming_abd_pattern').css('background-color', '#FFFFDD');
|
||||
} else {
|
||||
$('#naming_abd_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is valid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-green'
|
||||
'style.classes': 'qtip-green qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_abd_pattern').qtip('toggle', false);
|
||||
$('#naming_abd_pattern').css('background-color', '#FFFFFF');
|
||||
|
@ -138,21 +138,21 @@ $(document).ready(function () {
|
|||
if (data == "invalid") {
|
||||
$('#naming_sports_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is invalid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_sports_pattern').qtip('toggle', true);
|
||||
$('#naming_sports_pattern').css('background-color', '#FFDDDD');
|
||||
} else if (data == "seasonfolders") {
|
||||
$('#naming_sports_pattern').qtip('option', {
|
||||
'content.text': 'This pattern would be invalid without the folders, using it will force "Flatten" off for all shows.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_sports_pattern').qtip('toggle', true);
|
||||
$('#naming_sports_pattern').css('background-color', '#FFFFDD');
|
||||
} else {
|
||||
$('#naming_sports_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is valid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-green'
|
||||
'style.classes': 'qtip-green qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_sports_pattern').qtip('toggle', false);
|
||||
$('#naming_sports_pattern').css('background-color', '#FFFFFF');
|
||||
|
@ -179,21 +179,21 @@ $(document).ready(function () {
|
|||
if (data == "invalid") {
|
||||
$('#naming_sports_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is invalid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_sports_pattern').qtip('toggle', true);
|
||||
$('#naming_sports_pattern').css('background-color', '#FFDDDD');
|
||||
} else if (data == "seasonfolders") {
|
||||
$('#naming_sports_pattern').qtip('option', {
|
||||
'content.text': 'This pattern would be invalid without the folders, using it will force "Flatten" off for all shows.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_sports_pattern').qtip('toggle', true);
|
||||
$('#naming_sports_pattern').css('background-color', '#FFFFDD');
|
||||
} else {
|
||||
$('#naming_sports_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is valid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-green'
|
||||
'style.classes': 'qtip-green qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_sports_pattern').qtip('toggle', false);
|
||||
$('#naming_sports_pattern').css('background-color', '#FFFFFF');
|
||||
|
@ -232,21 +232,21 @@ $(document).ready(function () {
|
|||
if (data == "invalid") {
|
||||
$('#naming_anime_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is invalid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_anime_pattern').qtip('toggle', true);
|
||||
$('#naming_anime_pattern').css('background-color', '#FFDDDD');
|
||||
} else if (data == "seasonfolders") {
|
||||
$('#naming_anime_pattern').qtip('option', {
|
||||
'content.text': 'This pattern would be invalid without the folders, using it will force "Flatten" off for all shows.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-red'
|
||||
'style.classes': 'qtip-red qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_anime_pattern').qtip('toggle', true);
|
||||
$('#naming_anime_pattern').css('background-color', '#FFFFDD');
|
||||
} else {
|
||||
$('#naming_anime_pattern').qtip('option', {
|
||||
'content.text': 'This pattern is valid.',
|
||||
'style.classes': 'qtip-rounded qtip-shadow qtip-green'
|
||||
'style.classes': 'qtip-green qtip-rounded qtip-shadow'
|
||||
});
|
||||
$('#naming_anime_pattern').qtip('toggle', false);
|
||||
$('#naming_anime_pattern').css('background-color', '#FFFFFF');
|
||||
|
@ -485,35 +485,27 @@ $(document).ready(function () {
|
|||
}
|
||||
|
||||
$(this).refreshMetadataConfig(true);
|
||||
$('img[title]').qtip( {
|
||||
$('img[title]').qtip({
|
||||
position: {
|
||||
viewport: $(window),
|
||||
at: 'bottom center',
|
||||
my: 'top right'
|
||||
my: 'top right',
|
||||
at: 'bottom center'
|
||||
},
|
||||
style: {
|
||||
tip: {
|
||||
corner: true,
|
||||
method: 'polygon'
|
||||
},
|
||||
classes: 'qtip-shadow qtip-dark'
|
||||
classes: 'qtip-dark qtip-rounded qtip-shadow'
|
||||
}
|
||||
});
|
||||
$('i[title]').qtip( {
|
||||
$('i[title]').qtip({
|
||||
position: {
|
||||
viewport: $(window),
|
||||
at: 'top center',
|
||||
my: 'bottom center'
|
||||
my: 'bottom center',
|
||||
at: 'top center'
|
||||
},
|
||||
style: {
|
||||
tip: {
|
||||
corner: true,
|
||||
method: 'polygon'
|
||||
},
|
||||
classes: 'qtip-rounded qtip-shadow ui-tooltip-sb'
|
||||
classes: 'qtip-rounded qtip-shadow'
|
||||
}
|
||||
});
|
||||
$('.custom-pattern,#unpack').qtip( {
|
||||
$('.custom-pattern,#unpack').qtip({
|
||||
content: 'validating...',
|
||||
show: {
|
||||
event: false,
|
||||
|
@ -522,15 +514,11 @@ $(document).ready(function () {
|
|||
hide: false,
|
||||
position: {
|
||||
viewport: $(window),
|
||||
at: 'center left',
|
||||
my: 'center right'
|
||||
my: 'right center',
|
||||
at: 'left center'
|
||||
},
|
||||
style: {
|
||||
tip: {
|
||||
corner: true,
|
||||
method: 'polygon'
|
||||
},
|
||||
classes: 'qtip-rounded qtip-shadow qtip-red'
|
||||
classes: 'qtip-red qtip-rounded qtip-shadow'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -54,11 +54,7 @@
|
|||
}
|
||||
},
|
||||
style: {
|
||||
tip: {
|
||||
corner: true,
|
||||
method: 'polygon'
|
||||
},
|
||||
classes: 'qtip-rounded qtip-dark qtip-shadow ui-tooltip-sb'
|
||||
classes: 'qtip-dark qtip-rounded qtip-shadow'
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
2
gui/slick/js/lib/jquery.qtip-2.0.1.min.js
vendored
2
gui/slick/js/lib/jquery.qtip-2.0.1.min.js
vendored
File diff suppressed because one or more lines are too long
5
gui/slick/js/lib/jquery.qtip-2.2.1.min.js
vendored
Normal file
5
gui/slick/js/lib/jquery.qtip-2.2.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
13
gui/slick/js/lib/jquery.qtip-2012-04-26.min.js
vendored
13
gui/slick/js/lib/jquery.qtip-2012-04-26.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,20 +1,27 @@
|
|||
$(function () {
|
||||
$('.plotInfo').each(function () {
|
||||
match = $(this).attr("id").match(/^plot_info_(\d+)_(\d+)_(\d+)$/);
|
||||
var match = $(this).attr('id').match(/^plot_info_(\d+)_(\d+)_(\d+)$/);
|
||||
$(this).qtip({
|
||||
content: {
|
||||
text: 'Loading...',
|
||||
ajax: {
|
||||
url: $("#sbRoot").val() + '/home/plotDetails',
|
||||
type: 'GET',
|
||||
data: {
|
||||
show: match[1],
|
||||
episode: match[3],
|
||||
season: match[2]
|
||||
},
|
||||
success: function (data, status) {
|
||||
this.set('content.text', data);
|
||||
}
|
||||
text: function(event, api) {
|
||||
// deferred object ensuring the request is only made once
|
||||
$.ajax({
|
||||
url: $('#sbRoot').val() + '/home/plotDetails',
|
||||
type: 'GET',
|
||||
data: {
|
||||
show: match[1],
|
||||
episode: match[3],
|
||||
season: match[2]
|
||||
}
|
||||
})
|
||||
.then(function(content) {
|
||||
// Set the tooltip content upon successful retrieval
|
||||
api.set('content.text', content);
|
||||
}, function(xhr, status, error) {
|
||||
// Upon failure... set the tooltip content to the status and error value
|
||||
api.set('content.text', status + ': ' + error);
|
||||
});
|
||||
return 'Loading...'; // Set initial text
|
||||
}
|
||||
},
|
||||
show: {
|
||||
|
@ -29,11 +36,7 @@ $(function () {
|
|||
}
|
||||
},
|
||||
style: {
|
||||
tip: {
|
||||
corner: true,
|
||||
method: 'polygon'
|
||||
},
|
||||
classes: 'qtip-rounded qtip-shadow ui-tooltip-sb'
|
||||
classes: 'qtip-rounded qtip-shadow'
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -15,15 +15,11 @@ $(function () {
|
|||
at: 'center left',
|
||||
adjust: {
|
||||
y: 0,
|
||||
x: -6
|
||||
x: -2
|
||||
}
|
||||
},
|
||||
style: {
|
||||
tip: {
|
||||
corner: true,
|
||||
method: 'polygon'
|
||||
},
|
||||
classes: 'qtip-rounded qtip-shadow ui-tooltip-sb'
|
||||
classes: 'qtip-rounded qtip-shadow'
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,17 +1,25 @@
|
|||
$(function () {
|
||||
$('.title span').each(function () {
|
||||
var match = $(this).parent().attr('id').match(/^scene_exception_(\d+)$/);
|
||||
$(this).qtip({
|
||||
content: {
|
||||
text: 'Loading...',
|
||||
ajax: {
|
||||
url: $("#sbRoot").val() + '/home/sceneExceptions',
|
||||
type: 'GET',
|
||||
data: {
|
||||
show: match[1]
|
||||
},
|
||||
success: function (data, status) {
|
||||
this.set('content.text', data);
|
||||
}
|
||||
text: function(event, api) {
|
||||
// deferred object ensuring the request is only made once
|
||||
$.ajax({
|
||||
url: $('#sbRoot').val() + '/home/sceneExceptions',
|
||||
type: 'GET',
|
||||
data: {
|
||||
show: match[1]
|
||||
}
|
||||
})
|
||||
.then(function(content) {
|
||||
// Set the tooltip content upon successful retrieval
|
||||
api.set('content.text', content);
|
||||
}, function(xhr, status, error) {
|
||||
// Upon failure... set the tooltip content to the status and error value
|
||||
api.set('content.text', status + ': ' + error);
|
||||
});
|
||||
return 'Loading...'; // Set initial text
|
||||
}
|
||||
},
|
||||
show: {
|
||||
|
@ -19,19 +27,15 @@ $(function () {
|
|||
},
|
||||
position: {
|
||||
viewport: $(window),
|
||||
my: 'left middle',
|
||||
at: 'right middle',
|
||||
my: 'left center',
|
||||
at: 'right center',
|
||||
adjust: {
|
||||
y: 0,
|
||||
x: 10
|
||||
x: 2
|
||||
}
|
||||
},
|
||||
style: {
|
||||
tip: {
|
||||
corner: true,
|
||||
method: 'polygon'
|
||||
},
|
||||
classes: 'qtip-rounded qtip-shadow ui-tooltip-sb'
|
||||
classes: 'qtip-rounded qtip-shadow'
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue