mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-30 10:51:52 +00:00
WIP
This commit is contained in:
parent
9741ed2b91
commit
106528977a
5 changed files with 337 additions and 332 deletions
|
@ -161,8 +161,7 @@ def sync_episodes():
|
|||
event_stream.write(type='episode', action='insert', series=added_episode['sonarrSeriesId'],
|
||||
episode=added_episode['sonarrEpisodeId'])
|
||||
else:
|
||||
logging.debug('BAZARR unable to insert this episode into the database:',
|
||||
path_replace(added_episode['path']))
|
||||
logging.debug('BAZARR unable to insert this episode into the database:{}'.format(path_replace(added_episode['path'])))
|
||||
|
||||
# Store subtitles for added or modified episodes
|
||||
for i, altered_episode in enumerate(altered_episodes, 1):
|
||||
|
|
|
@ -33,7 +33,6 @@ body {
|
|||
.buttons_bars {
|
||||
position: fixed;
|
||||
top: 60px;
|
||||
width: 100%;
|
||||
z-index: 19; }
|
||||
|
||||
.topbar {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -30,7 +30,6 @@ body {
|
|||
.buttons_bars {
|
||||
position: fixed;
|
||||
top: 60px;
|
||||
width: 100%;
|
||||
z-index: 19;
|
||||
}
|
||||
|
||||
|
|
|
@ -117,7 +117,8 @@
|
|||
<div class="typeahead__container">
|
||||
<div class="typeahead__field">
|
||||
<div class="typeahead__query">
|
||||
<input class="form-control text-white js-typeahead" id="search" placeholder="Search..." autocomplete="off">
|
||||
<input class="form-control text-white js-typeahead" id="search"
|
||||
placeholder="Search..." autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -132,7 +133,9 @@
|
|||
<!-- Profile -->
|
||||
<!-- ============================================================== -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-muted fas fa-heart" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XHHRWXT9YB7WE&source=url" target=”_blank”></a>
|
||||
<a class="nav-link text-muted fas fa-heart"
|
||||
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XHHRWXT9YB7WE&source=url"
|
||||
target=”_blank”></a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle text-muted fas fa-user" href=""
|
||||
|
@ -142,7 +145,8 @@
|
|||
<li><a id="restart"><i class="fas fa-redo"></i> Restart</a></li>
|
||||
<li><a id="shutdown"><i class="fas fa-power-off"></i> Shutdown</a></li>
|
||||
{% if settings.auth.type != 'None' %}
|
||||
<li><a href="{{ url_for('logout') }}"><i class="fas fa-sign-out-alt"></i> Logout</a></li>
|
||||
<li><a href="{{ url_for('logout') }}"><i class="fas fa-sign-out-alt"></i> Logout</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -186,7 +190,8 @@
|
|||
</ul>
|
||||
</li>
|
||||
|
||||
<li><a href="#"><i class="fas fa-exclamation-triangle"></i><span class="hide-menu"> Wanted</span></a>
|
||||
<li><a href="#"><i class="fas fa-exclamation-triangle"></i><span
|
||||
class="hide-menu"> Wanted</span></a>
|
||||
<ul aria-expanded="false" class="collapse">
|
||||
{% if settings.general.getboolean('use_sonarr') %}
|
||||
<li><a href="{{ url_for('wantedseries') }}"> Series</a></li>
|
||||
|
@ -237,11 +242,11 @@
|
|||
<!-- Bread crumb and right sidebar toggle -->
|
||||
<!-- ============================================================== -->
|
||||
<div id="buttons_bars" class="row page-titles buttons_bars">
|
||||
<div id="buttons_bar_left" class="col-md-5 col-8 align-self-center">
|
||||
<div id="buttons_bar_left" class="col-8 align-self-center">
|
||||
{% block bcleft %}
|
||||
{% endblock bcleft %}
|
||||
</div>
|
||||
<div id="buttons_bar_right" class="col-md-7 col-4 align-self-center">
|
||||
<div id="buttons_bar_right" class="col-4 align-self-center">
|
||||
{% block bcright %}
|
||||
{% endblock bcright %}
|
||||
</div>
|
||||
|
@ -302,6 +307,9 @@
|
|||
<script>
|
||||
$(document).ready(function () {
|
||||
BadgesAjax();
|
||||
$(window).on('load resize', function () {
|
||||
$('#buttons_bars').width($('.page-wrapper').width());
|
||||
});
|
||||
|
||||
$('.table').on('draw.dt', function () {
|
||||
$('[data-toggle="tooltip"]').tooltip({html: true});
|
||||
|
|
Loading…
Reference in a new issue