mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Settings page rewrite. Please clear page cache if things look funky.
Set default check github to enable after first run.
This commit is contained in:
parent
9a5348dbfa
commit
bb3139727e
6 changed files with 1419 additions and 6 deletions
|
@ -141,13 +141,13 @@ from plexpy import version
|
|||
% endif
|
||||
% if title=="Settings":
|
||||
<li class="active">
|
||||
<a href="config">
|
||||
<a href="settings">
|
||||
<i class="fa fa-cog fa-2x" data-toggle="tooltip" data-placement="bottom" title="Settings" id="settings"></i>
|
||||
</a>
|
||||
</li>
|
||||
% else:
|
||||
<li>
|
||||
<a href="config">
|
||||
<a href="settings">
|
||||
<i class="fa fa-cog fa-2x" data-toggle="tooltip" data-placement="bottom"
|
||||
title="Settings" id="settings"></i></a></li>
|
||||
% endif
|
||||
|
|
|
@ -349,10 +349,10 @@
|
|||
<input type="checkbox" name="music_notify_on_start" id="music_notify_on_start" value="1" ${config['music_notify_on_start']}> Notify on playback start
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<input type="checkbox" name="music_notify_on_stop" id="music_notify_on_stop" value="1" ${config['music_notify_on_stop']}> Notify on playback stop
|
||||
<input type="checkbox" name="music_notify_on_stop" id="music_notify_on_stop" data-parsley-multiple="music_notify" value="1" ${config['music_notify_on_stop']}> Notify on playback stop
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<input type="checkbox" name="music_notify_on_pause" id="music_notify_on_pause" value="1" ${config['music_notify_on_pause']}> Notify on playback pause
|
||||
<input type="checkbox" name="music_notify_on_pause" id="music_notify_on_pause" data-parsley-multiple="music_notify" data-parsley-mincheck="1" data-parsley-required value="1" ${config['music_notify_on_pause']}> Notify on playback pause
|
||||
</div>
|
||||
</div>
|
||||
</dd>
|
||||
|
|
|
@ -1405,7 +1405,7 @@ textarea::-webkit-input-placeholder {
|
|||
.radio input[type="radio"],
|
||||
.checkbox input[type="checkbox"] {
|
||||
float: left;
|
||||
margin-left: -25px;
|
||||
margin-left: -20px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.controls > .radio:first-child,
|
||||
|
@ -8334,3 +8334,56 @@ ol.test >li {
|
|||
.colvis-button-bar {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.settings-pane {
|
||||
padding: 20px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
width: 90%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.settings-pane-options-list {
|
||||
float: left;
|
||||
width: 25%;
|
||||
}
|
||||
.settings-pane-content {
|
||||
margin-left: 25%;
|
||||
padding-left: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-settings,
|
||||
.nav-settings ul {
|
||||
margin: 0px 0px 20px 0px;
|
||||
}
|
||||
|
||||
.nav-settings > li {
|
||||
list-style: none;
|
||||
background-color: #282828;
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.nav-settings > li > a {
|
||||
display: block;
|
||||
padding: 15px 15px 15px 15px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.nav-settings > li > a:hover,
|
||||
.nav-settings > li > a:focus {
|
||||
color: #eee;
|
||||
background-color: #2f2f2f;
|
||||
}
|
||||
|
||||
.nav-settings > .active > a,
|
||||
.nav-settings > .active > a:hover,
|
||||
.nav-settings > .active > a:focus {
|
||||
color: #eb8600;
|
||||
background-color: #2f2f2f;
|
||||
}
|
1250
data/interfaces/default/settings.html
Normal file
1250
data/interfaces/default/settings.html
Normal file
File diff suppressed because it is too large
Load diff
|
@ -162,6 +162,7 @@ from plexpy import version
|
|||
<input type="checkbox" name="movie_notify_enable" id="movie_notify_enable" value="1">
|
||||
<input type="checkbox" name="tv_notify_enable" id="tv_notify_enable" value="1">
|
||||
<input type="checkbox" name="music_notify_enable" id="music_notify_enable" value="1">
|
||||
<input type="checkbox" name="check_github" id="check_github" value="1" checked>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Required fields but hidden -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue