pull/884/head
Moravčík, Marian 5 years ago
parent 07ded54d4d
commit 3d5cad545b

@ -24,6 +24,9 @@ File: scss
top: calc(50% - 3.5px);
left: calc(50% - 3.5px); }
body {
font-family: "Roboto", "open sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; }
/*******************
/*Top bar
*******************/
@ -258,6 +261,9 @@ a.link:hover, a.link:focus {
padding-left: 10px; }
.topbar .top-navbar .navbar-header .navbar-brand .light-logo {
display: none; }
.topbar .top-navbar .navbar-header .navbar-brand b {
line-height: 60px;
display: inline-block; }
.topbar .dropdown-menu {
box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
-webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);

File diff suppressed because one or more lines are too long

@ -19,6 +19,10 @@ $sidebar: #3a3f51;
$swhite: #e1e2e3;
$bodycolor: white;
body {
font-family: $bodyfont;
}
/*******************
/*Top bar
@ -269,50 +273,65 @@ a.link {
.left-sidebar {
width: 60px;
}
.user-profile {
padding-bottom: 15px;
width: 60px;
margin-bottom: 7px;
.profile-img {
padding: 15px 0 0 0;
margin: 0px 0 0 6px;
&:before {
top: 15px;
}
}
}
.scroll-sidebar {
padding-bottom: 0px;
position: absolute;
}
.hide-menu,
.nav-small-cap,
.sidebar-footer,
.user-profile .profile-text {
display: none;
}
.nav-devider {
width: 50px;
}
.sidebar-nav{ background: transparent;}
.sidebar-nav {
background: transparent;
}
.sidebar-nav #sidebarnav > li > a {
padding: 9px 20px;
width: 60px;
}
.sidebar-nav #sidebarnav > li:hover > a {
width: 260px;
background: $themecolor-alt;
color: $white;
border-color: $themecolor;
i {
color: $white;
}
.hide-menu {
display: inline;
}
}
.sidebar-nav #sidebarnav > li.active > a {
border-color: transparent;
&.active {
border-color: $topbar;
}
@ -369,6 +388,10 @@ a.link {
.light-logo {
display: none;
}
b {
line-height: 60px;
display: inline-block;
}
}
}
}

@ -196,10 +196,28 @@
<!-- End Left Sidebar - style you can find in sidebar.scss -->
<!-- ============================================================== -->
<div class="page-wrapper">
<div class="container-fluid">
{% block breadcrumb %}
<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
<div class="col-md-5 col-8 align-self-center">
{% block bcleft %}
{% endblock bcleft %}
</span>
</div>
<div class="col-md-7 col-4 align-self-center">
{% block bcright %}
{% endblock bcright %}
</div>
</div>
{% endblock breadcrumb %}
{% block body %}
{% endblock body %}
</div>
</div>
<!-- ============================================================== -->
<!-- footer -->
<!-- ============================================================== -->
@ -238,7 +256,6 @@
url: "{{url_for('api.badges')}}",
async: true,
success: function (data) {
console.log(data);
if (data['throttled_providers']) {
$('#throttled_providers_count').append('<div class="floating ui tiny yellow label" style="left:90% !important;top:0.5em !important;">' + data['throttled_providers'] + '</div>')
}

@ -2,30 +2,22 @@
{% block title %}History (Series) - Bazarr{% endblock %}
{% block head %}
{% block bcleft %}
<div class="d-flex">
<button class="btn btn-outline">
<i class="fas fa-sync align-top text-themecolor text-center" aria-hidden="true"></i>
<span class="align-bottom">Update</span>
</button>
</div>
{% endblock bcleft %}
{% endblock head %}
{% block bcright %}
<div class="d-flex m-t-5 justify-content-end">
<h5 class="m-t-0 text-themecolor">Some page settings</h5>
</div>
{% endblock bcright %}
{% block body %}
<div class="container-fluid">
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
<div class="col-md-5 col-8 align-self-center">
<h3 class="text-themecolor m-b-0 m-t-0"><i class="fas fa-sync"></i></h3>
</div>
<div class="col-md-7 col-4 align-self-center">
<div class="d-flex m-t-10 justify-content-end">
<div class="d-flex m-r-20 m-l-10 hidden-md-down">
<div class="chart-text m-r-10">
<h5 class="m-t-0 text-white">Some page settings</h5></div>
</div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<table id="history_movies" class="table table-striped" style="width:100%">
<thead>
<tr>
@ -36,18 +28,21 @@
</tr>
</thead>
</table>
</div>
{% endblock body %}
{% block tail %}
<script>
$(document).ready(function () {
var table = $('#history_movies').DataTable({
"processing": true,
"dom":"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
"processing": false,
"serverSide": true,
"searching": false,
"ordering": false,
"lengthChange": false,
"responsive": true,
"lengthChange": true,
"pageLength": {{ settings.general.page_size }},
"ajax": "{{ url_for('api.historymovies') }}",
"columns": [
{"data": "action"},

@ -2,30 +2,22 @@
{% block title %}History (Series) - Bazarr{% endblock %}
{% block head %}
{% block bcleft %}
<div class="d-flex">
<button class="btn btn-outline">
<i class="fas fa-sync align-top text-themecolor text-center" aria-hidden="true"></i>
<span class="align-bottom">Update</span>
</button>
</div>
{% endblock bcleft %}
{% endblock head %}
{% block bcright %}
<div class="d-flex m-t-5 justify-content-end">
<h5 class="m-t-0 text-themecolor">Some page settings</h5>
</div>
{% endblock bcright %}
{% block body %}
<div class="container-fluid">
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
<div class="col-md-5 col-8 align-self-center">
<h3 class="text-themecolor m-b-0 m-t-0"><i class="fas fa-sync"></i></h3>
</div>
<div class="col-md-7 col-4 align-self-center">
<div class="d-flex m-t-10 justify-content-end">
<div class="d-flex m-r-20 m-l-10 hidden-md-down">
<div class="chart-text m-r-10">
<h5 class="m-t-0 text-white">Some page settings</h5></div>
</div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<table id="history_series" class="table table-striped" style="width:100%">
<thead>
<tr>
@ -38,18 +30,21 @@
</tr>
</thead>
</table>
</div>
{% endblock body %}
{% block tail %}
<script>
$(document).ready(function () {
var table = $('#history_series').DataTable({
"dom":
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
"processing": true,
"serverSide": true,
"searching": false,
"ordering": false,
"lengthChange": false,
"lengthChange": true,
"pageLength": {{ settings.general.page_size }},
"ajax": "{{ url_for('api.historyseries') }}",
"columns": [
{"data": "action"},

@ -2,30 +2,22 @@
{% block title %}Movies - Bazarr{% endblock %}
{% block head %}
{% block bcleft %}
<div class="d-flex">
<button class="btn btn-outline">
<i class="fas fa-sync align-top text-themecolor text-center" aria-hidden="true"></i>
<span class="align-bottom">Update</span>
</button>
</div>
{% endblock bcleft %}
{% endblock head %}
{% block bcright %}
<div class="d-flex m-t-5 justify-content-end">
<h5 class="m-t-0 text-themecolor">Some page settings</h5>
</div>
{% endblock bcright %}
{% block body %}
<div class="container-fluid">
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
<div class="col-md-5 col-8 align-self-center">
<h3 class="text-themecolor m-b-0 m-t-0"><i class="fas fa-sync"></i></h3>
</div>
<div class="col-md-7 col-4 align-self-center">
<div class="d-flex m-t-10 justify-content-end">
<div class="d-flex m-r-20 m-l-10 hidden-md-down">
<div class="chart-text m-r-10">
<h5 class="m-t-0 text-white">Some page settings</h5></div>
</div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<table id="movies" class="table table-striped" style="width:100%">
<thead>
<tr>
@ -39,19 +31,22 @@
</tr>
</thead>
</table>
</div>
{% endblock body %}
{% block tail %}
<script>
$(document).ready(function () {
var table = $('#movies').DataTable({
"dom":
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
"processing": false,
"serverSide": true,
"searching": false,
"ordering": false,
"lengthChange": false,
"lengthChange": true,
"responsive": true,
"pageLength": {{ settings.general.page_size }},
"ajax": "{{ url_for('api.movies') }}",
"columns": [
{
@ -102,7 +97,8 @@
}
}
},
{"data": "hearing_impaired",
{
"data": "hearing_impaired",
"className": "dt-center",
"render": function (data) {
if (data === 'False') {
@ -112,7 +108,8 @@
}
}
},
{"data": "forced",
{
"data": "forced",
"className": "dt-center",
"render": function (data) {
if (data === 'False') {

@ -2,27 +2,22 @@
{% block title %}Series - Bazarr{% endblock %}
{% block head %}
{% block bcleft %}
<div class="d-flex">
<button class="btn btn-outline">
<i class="fas fa-sync align-top text-themecolor text-center" aria-hidden="true"></i>
<span class="align-bottom">Update</span>
</button>
</div>
{% endblock bcleft %}
{% endblock head %}
{% block bcright %}
<div class="d-flex m-t-5 justify-content-end">
<h5 class="m-t-0 text-themecolor">Some page settings</h5>
</div>
{% endblock bcright %}
{% block body %}
<div class="container-fluid">
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
<div class="col-md-5 col-8 align-self-center">
<h3 class="text-themecolor m-b-0 m-t-0"><i class="fas fa-sync"></i></h3>
</div>
<div class="col-md-7 col-4 align-self-center">
<div class="d-flex m-t-10 justify-content-end">
<div class="d-flex m-r-20 m-l-10 hidden-md-down">
<div class="chart-text m-r-10">
<h5 class="m-t-0 text-white">Some page settings</h5></div>
</div>
</div>
</div>
</div>
<table id="series" class="table table-striped" style="width:100%">
<thead>
<tr>
@ -36,19 +31,23 @@
</tr>
</thead>
</table>
</div>
{% endblock body %}
{% block tail %}
<script>
$(document).ready(function () {
var table = $('#series').DataTable({
"dom":
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
"processing": false,
"serverSide": true,
"searching": false,
"ordering": false,
"lengthChange": false,
"lengthChange": true,
"responsive": true,
"pageLength": {{ settings.general.page_size }},
"ajax": "{{ url_for('api.series') }}",
"columns": [
{"data": "title"},
@ -81,7 +80,8 @@
}
}
},
{"data": "hearing_impaired",
{
"data": "hearing_impaired",
"className": "dt-center",
"render": function (data) {
if (data === 'False') {
@ -91,7 +91,8 @@
}
}
},
{"data": "forced",
{
"data": "forced",
"className": "dt-center",
"render": function (data) {
if (data === 'False') {

Loading…
Cancel
Save