mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Bunch of styling changes mostly in settings. Page refresh required.
This commit is contained in:
parent
2b187f0bf3
commit
5f203bb837
9 changed files with 115 additions and 47 deletions
|
@ -43,7 +43,7 @@ button.ColVis_Button {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-color: #444;
|
background-color: #444;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 14.5px;
|
border-radius: 3px;
|
||||||
outline:0px !important;
|
outline:0px !important;
|
||||||
-webkit-appearance:none;
|
-webkit-appearance:none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -640,7 +640,7 @@ h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
line-height: 24px;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
@ -1254,7 +1254,7 @@ input[type="color"],
|
||||||
padding: 4px 6px;
|
padding: 4px 6px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 20px;
|
line-height: 1.5em;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
-webkit-border-radius: 4px;
|
-webkit-border-radius: 4px;
|
||||||
-moz-border-radius: 4px;
|
-moz-border-radius: 4px;
|
||||||
|
@ -1289,10 +1289,10 @@ input[type="color"],
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 0px solid #444;
|
border: 0px solid #444;
|
||||||
background: #555;
|
background: #555;
|
||||||
height: 24px;
|
height: 22px;
|
||||||
padding: 2px 5px 2px 12px;
|
padding: 6px 12px;
|
||||||
background-color: #555;
|
background-color: #555;
|
||||||
border-radius: 14.5px;
|
border-radius: 3px;
|
||||||
transition: background-color .3s;
|
transition: background-color .3s;
|
||||||
}
|
}
|
||||||
textarea:focus,
|
textarea:focus,
|
||||||
|
@ -8323,6 +8323,61 @@ ol.test >li {
|
||||||
color: #444;
|
color: #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.squared {
|
||||||
|
padding: 4px 12px;
|
||||||
|
margin: 2px 2px 2px 0px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 1.42857143;
|
||||||
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
vertical-align: middle;
|
||||||
|
-ms-touch-action: manipulation;
|
||||||
|
touch-action: manipulation;
|
||||||
|
cursor: pointer;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
background-image: none;
|
||||||
|
background-color: #444;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: 3px;
|
||||||
|
outline:0px !important;
|
||||||
|
-webkit-appearance:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.squared:hover {
|
||||||
|
color: #F9AA03;
|
||||||
|
}
|
||||||
|
|
||||||
|
.squared:active {
|
||||||
|
border: 1px solid #eb8600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.squared-primary {
|
||||||
|
background-color: #eb8600;
|
||||||
|
color: #f2f2f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.squared-primary:hover {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.squared-primary:active {
|
||||||
|
border: 1px solid #444;
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
.squared-caps {
|
||||||
|
color: #f2f2f2;
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 2px 8px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.header-bar {
|
.header-bar {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
@ -8336,7 +8391,7 @@ ol.test >li {
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-pane {
|
.settings-pane {
|
||||||
padding: 20px;
|
padding: 0px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
@ -8349,9 +8404,10 @@ ol.test >li {
|
||||||
.settings-pane-options-list {
|
.settings-pane-options-list {
|
||||||
float: left;
|
float: left;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
|
max-width: 300px;
|
||||||
|
margin-right: 40px;
|
||||||
}
|
}
|
||||||
.settings-pane-content {
|
.settings-pane-content {
|
||||||
margin-left: 25%;
|
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8374,9 +8430,9 @@ ol.test >li {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 15px 15px 15px 15px;
|
padding: 15px 15px 15px 15px;
|
||||||
color: #999;
|
color: #999;
|
||||||
-webkit-transition: all 0.4s ease;
|
-webkit-transition: all 0.3s ease;
|
||||||
-o-transition: all 0.4s ease;
|
-o-transition: all 0.3s ease;
|
||||||
transition: all 0.4s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-settings > li > a:hover,
|
.nav-settings > li > a:hover,
|
||||||
|
@ -8411,9 +8467,9 @@ ol.test >li {
|
||||||
color: #eee;
|
color: #eee;
|
||||||
border-left: 2px solid #444;
|
border-left: 2px solid #444;
|
||||||
border-top: 1px solid #2d2d2d;
|
border-top: 1px solid #2d2d2d;
|
||||||
-webkit-transition: all 0.4s ease;
|
-webkit-transition: all 0.3s ease;
|
||||||
-o-transition: all 0.4s ease;
|
-o-transition: all 0.3s ease;
|
||||||
transition: all 0.4s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stacked-configs > li > span:hover,
|
.stacked-configs > li > span:hover,
|
||||||
|
@ -8460,9 +8516,9 @@ ol.test >li {
|
||||||
color: #999;
|
color: #999;
|
||||||
border-bottom: 1px solid #2d2d2d;
|
border-bottom: 1px solid #2d2d2d;
|
||||||
position: relative;
|
position: relative;
|
||||||
-webkit-transition: all 0.4s ease;
|
-webkit-transition: all 0.3s ease;
|
||||||
-o-transition: all 0.4s ease;
|
-o-transition: all 0.3s ease;
|
||||||
transition: all 0.4s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordion li:last-child .link { border-bottom: 0; }
|
.accordion li:last-child .link { border-bottom: 0; }
|
||||||
|
@ -8472,9 +8528,9 @@ ol.test >li {
|
||||||
top: 10px;
|
top: 10px;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
color: #999;
|
color: #999;
|
||||||
-webkit-transition: all 0.4s ease;
|
-webkit-transition: all 0.3s ease;
|
||||||
-o-transition: all 0.4s ease;
|
-o-transition: all 0.3s ease;
|
||||||
transition: all 0.4s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordion li i.fa-chevron-down {
|
.accordion li i.fa-chevron-down {
|
||||||
|
|
|
@ -38,7 +38,7 @@ DOCUMENTATION :: END
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<div>
|
<div>
|
||||||
<input type="button" id="save_user_name" class="rounded rounded-primary" value="Save">
|
<input type="button" id="save_user_name" class="squared squared-primary" value="Save">
|
||||||
<span id="edit-user-status-message"></span>
|
<span id="edit-user-status-message"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,7 +9,7 @@ var plex_log_table_options = {
|
||||||
"language": {
|
"language": {
|
||||||
"search":"Search: ",
|
"search":"Search: ",
|
||||||
"lengthMenu":"Show _MENU_ lines per page",
|
"lengthMenu":"Show _MENU_ lines per page",
|
||||||
"emptyTable": "No log information available. Have you set your logs folder in the <a href='config'>settings</a>?",
|
"emptyTable": "No log information available. Have you set your logs folder in the <a href='settings'>settings</a>?",
|
||||||
"info":"Showing _START_ to _END_ of _TOTAL_ lines",
|
"info":"Showing _START_ to _END_ of _TOTAL_ lines",
|
||||||
"infoEmpty":"Showing 0 to 0 of 0 lines",
|
"infoEmpty":"Showing 0 to 0 of 0 lines",
|
||||||
"infoFiltered":"(filtered from _MAX_ total lines)"},
|
"infoFiltered":"(filtered from _MAX_ total lines)"},
|
||||||
|
|
|
@ -22,7 +22,7 @@ from plexpy import helpers
|
||||||
<h2><i class="fa fa-book"></i> Logs</h2>
|
<h2><i class="fa fa-book"></i> Logs</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="button-bar">
|
<div class="button-bar">
|
||||||
<button class="rounded" id="clear-logs"><i class="fa fa-trash-o"></i> Clear log</button>
|
<button class="squared" id="clear-logs"><i class="fa fa-trash-o"></i> Clear log</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class='table-card-back'>
|
<div class='table-card-back'>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<div class="">
|
<div class="">
|
||||||
<input type="button" id="save-notification-item" class="rounded rounded-primary" value="Save">
|
<input type="button" id="save-notification-item" class="squared squared-primary" value="Save">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
% endif
|
% endif
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<div>
|
<div>
|
||||||
<input type="button" id="import_db" class="rounded rounded-primary" value="Import">
|
<input type="button" id="import_db" class="squared squared-primary" value="Import">
|
||||||
<span id="status-message"></span>
|
<span id="status-message"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,19 +14,19 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class='row-fluid'>
|
<div class='row-fluid'>
|
||||||
<div class='span12'>
|
<div class='span12'>
|
||||||
<div class='table-card-back'>
|
|
||||||
<div class="header-bar">
|
|
||||||
<h2><i class="fa fa-cog"></i> Settings</h2>
|
|
||||||
</div>
|
|
||||||
<div class="button-bar">
|
|
||||||
% if config['check_github']:
|
|
||||||
<button id="menu_link_update_check" class="rounded"><i class="fa fa-arrow-circle-up"></i> Check for Updates</button>
|
|
||||||
% endif
|
|
||||||
<button id="menu_link_restart" class="rounded"><i class="fa fa-refresh"></i> Restart</button>
|
|
||||||
<button id="menu_link_shutdown" class="rounded"><i class="fa fa-power-off"></i> Shut Down</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="settings-pane">
|
<div class="settings-pane">
|
||||||
|
<div class='table-card-back' style="width: initial;">
|
||||||
|
<div class="header-bar">
|
||||||
|
<h2><i class="fa fa-cog"></i> Settings</h2>
|
||||||
|
</div>
|
||||||
|
<div class="button-bar">
|
||||||
|
% if config['check_github']:
|
||||||
|
<button id="menu_link_update_check" class="squared"><i class="fa fa-arrow-circle-up"></i> Check for Updates</button>
|
||||||
|
% endif
|
||||||
|
<button id="menu_link_restart" class="squared"><i class="fa fa-refresh"></i> Restart</button>
|
||||||
|
<button id="menu_link_shutdown" class="squared"><i class="fa fa-power-off"></i> Shut Down</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div role="tabpanel" class="row-fluid">
|
<div role="tabpanel" class="row-fluid">
|
||||||
<!-- Nav tabs -->
|
<!-- Nav tabs -->
|
||||||
<div class="settings-pane-options-list">
|
<div class="settings-pane-options-list">
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
<p class="help-block">Set your preferred time format. <a href="#dateTimeOptionsModal" data-toggle="modal">Click here</a> to see the parameter list.</p>
|
<p class="help-block">Set your preferred time format. <a href="#dateTimeOptionsModal" data-toggle="modal">Click here</a> to see the parameter list.</p>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="button" class="rounded rounded-primary save-button" value="Save" data-success="Changes saved successfully">
|
<input type="button" class="squared squared-primary save-button" value="Save" data-success="Changes saved successfully">
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane" id="tabs-2">
|
<div role="tabpanel" class="tab-pane" id="tabs-2">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="button" class="rounded rounded-primary save-button" value="Save" data-success="Changes saved successfully">
|
<input type="button" class="squared squared-primary save-button" value="Save" data-success="Changes saved successfully">
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane" id="tabs-3">
|
<div role="tabpanel" class="tab-pane" id="tabs-3">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -144,7 +144,7 @@
|
||||||
<p class="help-block">Current API key: <strong><br/>${config['api_key']}</strong></p>
|
<p class="help-block">Current API key: <strong><br/>${config['api_key']}</strong></p>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="button" class="rounded rounded-primary save-button" value="Save" data-success="Changes saved successfully">
|
<input type="button" class="squared squared-primary save-button" value="Save" data-success="Changes saved successfully">
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane" id="tabs-4">
|
<div role="tabpanel" class="tab-pane" id="tabs-4">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -172,7 +172,7 @@
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" id="pms_identifier" name="pms_identifier" value="${config['pms_identifier']}">
|
<input type="hidden" id="pms_identifier" name="pms_identifier" value="${config['pms_identifier']}">
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="button" class="rounded rounded-primary save-button" value="Save" data-success="Changes saved successfully">
|
<input type="button" class="squared squared-primary save-button" value="Save" data-success="Changes saved successfully">
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane" id="tabs-5">
|
<div role="tabpanel" class="tab-pane" id="tabs-5">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -200,7 +200,7 @@
|
||||||
<p class="help-block">Refresh the user list when PlexPy starts.</p>
|
<p class="help-block">Refresh the user list when PlexPy starts.</p>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="button" class="rounded rounded-primary save-button" value="Save" data-success="Changes saved successfully">
|
<input type="button" class="squared squared-primary save-button" value="Save" data-success="Changes saved successfully">
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane" id="tabs-6">
|
<div role="tabpanel" class="tab-pane" id="tabs-6">
|
||||||
<div class="wellheader">
|
<div class="wellheader">
|
||||||
|
@ -228,7 +228,7 @@
|
||||||
</div>
|
</div>
|
||||||
<p class="help-block"><a href="#plexwatch-import-modal" id="toggle-plexwatch-import-modal" data-toggle="modal">Click here to Import an existing Plexwatch database.</a></p>
|
<p class="help-block"><a href="#plexwatch-import-modal" id="toggle-plexwatch-import-modal" data-toggle="modal">Click here to Import an existing Plexwatch database.</a></p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="button" class="rounded rounded-primary save-button" value="Save" data-success="Changes saved successfully">
|
<input type="button" class="squared squared-primary save-button" value="Save" data-success="Changes saved successfully">
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane" id="tabs-7">
|
<div role="tabpanel" class="tab-pane" id="tabs-7">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -271,7 +271,7 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="button" class="rounded rounded-primary save-button" value="Save" data-success="Changes saved successfully">
|
<input type="button" class="squared squared-primary save-button" value="Save" data-success="Changes saved successfully">
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane" id="tabs-8">
|
<div role="tabpanel" class="tab-pane" id="tabs-8">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -363,7 +363,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="button" class="rounded rounded-primary save-button" value="Save" data-success="Changes saved successfully">
|
<input type="button" class="squared squared-primary save-button" value="Save" data-success="Changes saved successfully">
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane" id="tabs-9">
|
<div role="tabpanel" class="tab-pane" id="tabs-9">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -551,7 +551,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<div class="">
|
<div class="">
|
||||||
<input type="button" id="get-pms-auth-token" class="rounded rounded-primary" value="Fetch Token">
|
<input type="button" id="get-pms-auth-token" class="squared squared-primary" value="Fetch Token">
|
||||||
<span id="pms-token-status"></span>
|
<span id="pms-token-status"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -701,6 +701,18 @@
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
// Javascript to enable link to tab
|
||||||
|
var hash = document.location.hash;
|
||||||
|
var prefix = "tab_";
|
||||||
|
if (hash) {
|
||||||
|
$('.nav-settings a[href='+hash.replace(prefix,"")+']').tab('show');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Change hash for page-reload
|
||||||
|
$('.nav-settings a').on('shown', function (e) {
|
||||||
|
window.location.hash = e.target.hash.replace("#", "#" + prefix);
|
||||||
|
});
|
||||||
|
|
||||||
var configForm = $("#configUpdate");
|
var configForm = $("#configUpdate");
|
||||||
$('.save-button').click(function() {
|
$('.save-button').click(function() {
|
||||||
if ($("#pms_identifier").val() == "") {
|
if ($("#pms_identifier").val() == "") {
|
||||||
|
|
|
@ -16,7 +16,7 @@ from plexpy import helpers
|
||||||
<h2><i class="fa fa-group"></i> Active Users</h2>
|
<h2><i class="fa fa-group"></i> Active Users</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="button-bar">
|
<div class="button-bar">
|
||||||
<button class="rounded" id="refresh-users-list"><i class="fa fa-refresh"></i> Refresh users</button>
|
<button class="squared" id="refresh-users-list"><i class="fa fa-refresh"></i> Refresh users</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class='table-card-back'>
|
<div class='table-card-back'>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue