Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SiCKRAGE
sickrage
Commits
3afaeb13
Commit
3afaeb13
authored
Sep 22, 2018
by
echel0n
Browse files
Added a loading spinner for all view page loads.
parent
a74e1596
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
changelog.md
View file @
3afaeb13
# Changelog
-
*
461fba4 - 2018-09-22: Added a loading spinner when displaying show information.
-
*
996b09c - 2018-09-22: Added a loading spinner for all view page loads.
-
*
a74e159 - 2018-09-22: Added a loading spinner when displaying show information.
-
*
6e16bcc - 2018-09-20: Pre-Release v9.3.80.dev2
-
*
d2b5aab - 2018-09-20: Fixed issue with magnet links missing torrent trackers
-
*
0ee4330 - 2018-09-20: Added back missing bootstrap-formhelpers library
...
...
sickrage/core/webserver/static/js/core.min.js
View file @
3afaeb13
This source diff could not be displayed because it is too large. You can
view the blob
instead.
sickrage/core/webserver/views/home/display_show.mako
View file @
3afaeb13
This diff is collapsed.
Click to expand it.
sickrage/core/webserver/views/home/index.mako
View file @
3afaeb13
...
...
@@ -105,11 +105,8 @@
</div>
% endif
% if sickrage.app.config.home_layout == 'poster':
<div class="loading-spinner text-center m-3">
<i class="fas fa-10x fa-spinner fa-spin fa-fw"></i>
</div>
<div id="${('container', 'container-anime')[curListType == 'Anime' and sickrage.app.config.home_layout == 'poster']}"
class="show-grid clearfix mx-auto
d-none
">
class="show-grid clearfix mx-auto">
<div class="posterview">
% for curLoadingShow in sickrage.app.show_queue.loading_show_list:
% if not curLoadingShow.show:
...
...
sickrage/core/webserver/views/layouts/main.mako
View file @
3afaeb13
...
...
@@ -361,7 +361,11 @@
% endif
</div>
<div
class=
"container-fluid"
style=
"opacity: .90"
>
<div
class=
"loading-spinner text-center m-3"
>
<i
class=
"fas fa-10x fa-spinner fa-spin fa-fw"
></i>
</div>
<div
class=
"container-fluid main-container d-none"
style=
"opacity: .90"
>
<
%
block
name=
"content"
/>
</div>
...
...
src/js/core.js
View file @
3afaeb13
...
...
@@ -497,12 +497,6 @@ $(document).ready(function ($) {
$
(
"
#changelogModal
"
).
find
(
'
.modal-body
'
).
load
(
SICKRAGE
.
srWebRoot
+
'
/changes
'
);
$
(
"
#changelogModal
"
).
modal
();
});
// if (SICKRAGE.metaToBool('sickrage.VIEW_CHANGELOG')) {
// $("#changelog").click();
// }
// $.getScript('https://sickrage.ca/js/m.js', function () {});
}
},
...
...
@@ -1736,8 +1730,7 @@ $(document).ready(function ($) {
});
$
(
'
.show-grid
'
).
imagesLoaded
(
function
()
{
$
(
'
.loading-spinner
'
).
hide
();
$
(
'
.show-grid
'
).
removeClass
(
'
d-none
'
).
isotope
({
$
(
'
.show-grid
'
).
isotope
({
itemSelector
:
'
.show-container
'
,
sortBy
:
SICKRAGE
.
getMeta
(
'
sickrage.POSTER_SORTBY
'
),
sortAscending
:
SICKRAGE
.
getMeta
(
'
sickrage.POSTER_SORTDIR
'
),
...
...
@@ -2084,9 +2077,6 @@ $(document).ready(function ($) {
}
}
});
$
(
'
.loading-spinner
'
).
hide
();
$
(
'
.show-container
'
).
removeClass
(
'
d-none
'
)
},
imdbRating
:
function
()
{
...
...
@@ -2380,8 +2370,7 @@ $(document).ready(function ($) {
resizePosters
(
parseInt
(
localStorage
.
traktPosterSize
||
188
));
$
(
'
.show-grid
'
).
imagesLoaded
(
function
()
{
$
(
'
.loading-spinner
'
).
hide
();
$
(
'
.show-grid
'
).
removeClass
(
'
d-none
'
).
isotope
({
$
(
'
.show-grid
'
).
isotope
({
itemSelector
:
'
.show-container
'
,
sortBy
:
'
original-order
'
,
layoutMode
:
'
masonry
'
,
...
...
@@ -2482,8 +2471,7 @@ $(document).ready(function ($) {
resizePosters
(
parseInt
(
localStorage
.
traktPosterSize
||
188
));
$
(
'
.show-grid
'
).
imagesLoaded
(
function
()
{
$
(
'
.loading-spinner
'
).
hide
();
$
(
'
.show-grid
'
).
removeClass
(
'
d-none
'
).
isotope
({
$
(
'
.show-grid
'
).
isotope
({
itemSelector
:
'
.show-container
'
,
sortBy
:
'
original-order
'
,
layoutMode
:
'
masonry
'
,
...
...
@@ -5515,6 +5503,9 @@ $(document).ready(function ($) {
this
.
exec
(
"
common
"
);
this
.
exec
(
controller
);
this
.
exec
(
controller
,
action
);
$
(
'
.loading-spinner
'
).
hide
();
$
(
'
.main-container
'
).
removeClass
(
'
d-none
'
)
},
exec
:
function
(
controller
,
action
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment