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
edb99a07
Commit
edb99a07
authored
Jul 31, 2018
by
echel0n
Browse files
Fixed CSS issue for quicksearch items
parent
3acc96bb
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
changelog.md
View file @
edb99a07
# Changelog
-
*
dbb9e7e - 2018-07-31: Pre-Release v9.3.56.dev11
-
*
1e6a667 - 2018-07-31: Fixed CSS issue for quicksearch items
-
*
3acc96b - 2018-07-31: Pre-Release v9.3.56.dev11
-
*
d60e09f - 2018-07-31: Added delay for quicksearch input
-
*
8c90243 - 2018-07-31: Pre-Release v9.3.56.dev10
-
*
133d2ef - 2018-07-29: Added categories to quicksearch for both tv shows and tv episodes
...
...
sickrage/core/webserver/static/js/core.min.js
View file @
edb99a07
This diff is collapsed.
Click to expand it.
src/js/core.js
View file @
edb99a07
...
...
@@ -170,22 +170,22 @@ $(document).ready(function ($) {
if
(
item
.
category
===
'
shows
'
)
{
$a
.
attr
({
href
:
`
${
SICKRAGE
.
srWebRoot
}
/home/displayShow?show=
${
item
.
showid
}
`
,
class
:
'
btn btn-dark btn-block text-left
'
class
:
'
btn btn-dark btn-block
d-inline-block
text-left
'
});
$li
.
append
(
$a
);
$li
.
find
(
'
a
'
).
append
(
$
(
'
<div class="row"><div
id="show-img" class="col-2"
></div><div class="col-10"><div class="row"><strong id="show-name" class="text-white text-truncate"></strong></div><div class="row"><strong id="show-seasons" class="text-secondary"></strong></div></div></div>
'
));
$li
.
find
(
'
a
'
).
append
(
$
(
'
<div class="row"><div
class="col-2"><div id="show-img"></div
></div><div class="col-10"><div class="row"><strong id="show-name" class="text-white text-truncate"></strong></div><div class="row"><strong id="show-seasons" class="text-secondary"></strong></div></div></div>
'
));
$li
.
find
(
'
#show-img
'
).
append
(
$img
);
$li
.
find
(
'
#show-name
'
).
append
(
item
.
name
);
$li
.
find
(
'
#show-seasons
'
).
append
(
item
.
seasons
+
'
seasons
'
);
}
else
{
$a
.
attr
({
href
:
`
${
SICKRAGE
.
srWebRoot
}
/home/displayShow?show=
${
item
.
showid
}
#S
${
item
.
season
}
E
${
item
.
episode
}
`
,
class
:
'
btn btn-dark btn-block text-left
'
class
:
'
btn btn-dark btn-block
d-inline-block
text-left
'
});
$li
.
append
(
$a
);
$li
.
find
(
'
a
'
).
append
(
$
(
'
<div class="row"><div
id="show-img" class="col-2"
></div><div class="col-10"><div class="row"><strong id="ep-name" class="text-white"></strong></div><div class="row"><strong id="show-name" class="text-secondary text-truncate"></strong></div></div></div>
'
));
$li
.
find
(
'
a
'
).
append
(
$
(
'
<div class="row"><div
class="col-2"><div id="show-img"></div
></div><div class="col-10"><div class="row"><strong id="ep-name" class="text-white"></strong></div><div class="row"><strong id="show-name" class="text-secondary text-truncate"></strong></div></div></div>
'
));
$li
.
find
(
'
#show-img
'
).
append
(
$img
);
$li
.
find
(
'
#ep-name
'
).
append
(
item
.
name
);
$li
.
find
(
'
#show-name
'
).
append
(
item
.
showname
);
...
...
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