|
@@ -189,16 +189,21 @@ if(SLIMBAR == "true") {
|
|
|
button.settingsMenu:hover {
|
|
button.settingsMenu:hover {
|
|
|
width: 250px !important;
|
|
width: 250px !important;
|
|
|
z-index: 10000;
|
|
z-index: 10000;
|
|
|
- color: black !important;
|
|
|
|
|
|
|
+ opacity: 1 !important;
|
|
|
}
|
|
}
|
|
|
button.settingsMenu:hover p{
|
|
button.settingsMenu:hover p{
|
|
|
display: block !important;
|
|
display: block !important;
|
|
|
-webkit-animation: fadeIn 1s;
|
|
-webkit-animation: fadeIn 1s;
|
|
|
animation: fadeIn 1s;
|
|
animation: fadeIn 1s;
|
|
|
|
|
+ opacity: 1 !important;
|
|
|
}
|
|
}
|
|
|
button.settingsMenuActive {
|
|
button.settingsMenuActive {
|
|
|
margin-left: 0px !important;
|
|
margin-left: 0px !important;
|
|
|
color: black !important;
|
|
color: black !important;
|
|
|
|
|
+ opacity: 1 !important;
|
|
|
|
|
+ }
|
|
|
|
|
+ button.settingsMenuInactive {
|
|
|
|
|
+ opacity: .5;
|
|
|
}
|
|
}
|
|
|
.loop-animation {
|
|
.loop-animation {
|
|
|
animation-iteration-count: infinite;
|
|
animation-iteration-count: infinite;
|
|
@@ -391,89 +396,89 @@ $buildMenu = array(
|
|
|
'id' => 'open-tabs',
|
|
'id' => 'open-tabs',
|
|
|
'box' => 'tab-box',
|
|
'box' => 'tab-box',
|
|
|
'name' => 'Edit Tabs',
|
|
'name' => 'Edit Tabs',
|
|
|
- 'icon_1' => 'circle',
|
|
|
|
|
|
|
+ 'icon_1' => 'view-list',
|
|
|
'icon_2' => 'th-list',
|
|
'icon_2' => 'th-list',
|
|
|
'color' => 'red-orange',
|
|
'color' => 'red-orange',
|
|
|
'color2' => 'palette-Red-A700 bg',
|
|
'color2' => 'palette-Red-A700 bg',
|
|
|
- 'padding' => '8',
|
|
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
'id' => 'open-colors',
|
|
'id' => 'open-colors',
|
|
|
'box' => 'color-box',
|
|
'box' => 'color-box',
|
|
|
'name' => 'Edit Colors',
|
|
'name' => 'Edit Colors',
|
|
|
- 'icon_1' => 'circle',
|
|
|
|
|
|
|
+ 'icon_1' => 'format-paint',
|
|
|
'icon_2' => 'paint-brush',
|
|
'icon_2' => 'paint-brush',
|
|
|
'color' => 'red',
|
|
'color' => 'red',
|
|
|
'color2' => 'palette-Indigo-A700 bg',
|
|
'color2' => 'palette-Indigo-A700 bg',
|
|
|
- 'padding' => '8',
|
|
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
'id' => 'open-users',
|
|
'id' => 'open-users',
|
|
|
'box' => 'users-box',
|
|
'box' => 'users-box',
|
|
|
'name' => 'Manage Users',
|
|
'name' => 'Manage Users',
|
|
|
- 'icon_1' => 'circle',
|
|
|
|
|
|
|
+ 'icon_1' => 'account-multiple',
|
|
|
'icon_2' => 'user',
|
|
'icon_2' => 'user',
|
|
|
'color' => 'green',
|
|
'color' => 'green',
|
|
|
'color2' => 'palette-Blue-Grey-700 bg',
|
|
'color2' => 'palette-Blue-Grey-700 bg',
|
|
|
- 'padding' => '9',
|
|
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
'id' => 'open-logs',
|
|
'id' => 'open-logs',
|
|
|
'box' => 'logs-box',
|
|
'box' => 'logs-box',
|
|
|
'name' => 'View Logs',
|
|
'name' => 'View Logs',
|
|
|
- 'icon_1' => 'circle',
|
|
|
|
|
|
|
+ 'icon_1' => 'file-document-box',
|
|
|
'icon_2' => 'list-alt',
|
|
'icon_2' => 'list-alt',
|
|
|
'color' => 'blue',
|
|
'color' => 'blue',
|
|
|
- 'color2' => 'palette-Light-Blue-A700 bg',
|
|
|
|
|
- 'padding' => '8',
|
|
|
|
|
|
|
+ 'color2' => 'palette-Teal-A700 bg',
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
'id' => 'open-homepage',
|
|
'id' => 'open-homepage',
|
|
|
'box' => 'homepage-box',
|
|
'box' => 'homepage-box',
|
|
|
'name' => 'Edit Homepage',
|
|
'name' => 'Edit Homepage',
|
|
|
- 'icon_1' => 'circle',
|
|
|
|
|
|
|
+ 'icon_1' => 'television-guide',
|
|
|
'icon_2' => 'home',
|
|
'icon_2' => 'home',
|
|
|
'color' => 'yellow',
|
|
'color' => 'yellow',
|
|
|
- 'color2' => 'palette-Yellow-A700 bg',
|
|
|
|
|
- 'padding' => '9',
|
|
|
|
|
|
|
+ 'color2' => 'palette-Deep-Orange-A400 bg',
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
'id' => 'open-invites',
|
|
'id' => 'open-invites',
|
|
|
'box' => 'invites-box',
|
|
'box' => 'invites-box',
|
|
|
'name' => 'Plex Invites',
|
|
'name' => 'Plex Invites',
|
|
|
- 'icon_1' => 'circle',
|
|
|
|
|
|
|
+ 'icon_1' => 'account-multiple-plus',
|
|
|
'icon_2' => 'user-plus',
|
|
'icon_2' => 'user-plus',
|
|
|
'color' => 'light-blue',
|
|
'color' => 'light-blue',
|
|
|
'color2' => 'palette-Amber-A700 bg',
|
|
'color2' => 'palette-Amber-A700 bg',
|
|
|
- 'padding' => '7',
|
|
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
'id' => 'open-advanced',
|
|
'id' => 'open-advanced',
|
|
|
'box' => 'advanced-box',
|
|
'box' => 'advanced-box',
|
|
|
'name' => 'Advanced',
|
|
'name' => 'Advanced',
|
|
|
- 'icon_1' => 'circle',
|
|
|
|
|
|
|
+ 'icon_1' => 'settings',
|
|
|
'icon_2' => 'cog',
|
|
'icon_2' => 'cog',
|
|
|
'color' => 'gray',
|
|
'color' => 'gray',
|
|
|
- 'color2' => 'light-blue-bg',
|
|
|
|
|
- 'padding' => '8',
|
|
|
|
|
|
|
+ 'color2' => 'palette-Grey-600 bg',
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),array(
|
|
),array(
|
|
|
'id' => 'open-info',
|
|
'id' => 'open-info',
|
|
|
'box' => 'info-box',
|
|
'box' => 'info-box',
|
|
|
'name' => 'About',
|
|
'name' => 'About',
|
|
|
- 'icon_1' => 'circle',
|
|
|
|
|
|
|
+ 'icon_1' => 'information',
|
|
|
'icon_2' => 'info-circle',
|
|
'icon_2' => 'info-circle',
|
|
|
'color' => 'orange',
|
|
'color' => 'orange',
|
|
|
- 'color2' => 'palette-Blue-A700 bg',
|
|
|
|
|
- 'padding' => '8',
|
|
|
|
|
|
|
+ 'color2' => 'palette-Light-Blue-A700 bg',
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),array(
|
|
),array(
|
|
|
'id' => 'open-donate',
|
|
'id' => 'open-donate',
|
|
|
'box' => 'donate-box',
|
|
'box' => 'donate-box',
|
|
|
'name' => 'Donate',
|
|
'name' => 'Donate',
|
|
|
- 'icon_1' => 'square',
|
|
|
|
|
|
|
+ 'icon_1' => 'cash-usd',
|
|
|
'icon_2' => 'money',
|
|
'icon_2' => 'money',
|
|
|
'color' => 'red',
|
|
'color' => 'red',
|
|
|
'color2' => 'palette-Green-A700 bg',
|
|
'color2' => 'palette-Green-A700 bg',
|
|
|
- 'padding' => '7',
|
|
|
|
|
|
|
+ 'padding' => '2',
|
|
|
),
|
|
),
|
|
|
);
|
|
);
|
|
|
if($userDevice !== "phone"){ echo "<br><br><br>".buildMenu($buildMenu); }else{ echo buildMenuPhone($buildMenu); }
|
|
if($userDevice !== "phone"){ echo "<br><br><br>".buildMenu($buildMenu); }else{ echo buildMenuPhone($buildMenu); }
|
|
@@ -2741,8 +2746,10 @@ echo buildSettings(
|
|
|
<script>
|
|
<script>
|
|
|
<?php echo speedTestDisplay(speedTestData(),"graph");?>
|
|
<?php echo speedTestDisplay(speedTestData(),"graph");?>
|
|
|
$(".settingsMenu").click(function() {
|
|
$(".settingsMenu").click(function() {
|
|
|
- $(".settingsMenu").removeClass("settingsMenuActive");
|
|
|
|
|
- $(this).addClass("settingsMenuActive");
|
|
|
|
|
|
|
+ $(".settingsMenu").removeClass("settingsMenuActive");
|
|
|
|
|
+ $(this).addClass("settingsMenuActive");
|
|
|
|
|
+ $(".settingsMenu").addClass("settingsMenuInactive");
|
|
|
|
|
+ $(this).removeClass("settingsMenuInactive");
|
|
|
})
|
|
})
|
|
|
$(".special").click(function() {
|
|
$(".special").click(function() {
|
|
|
swal({
|
|
swal({
|
|
@@ -3327,8 +3334,9 @@ echo buildSettings(
|
|
|
$(".email-header .close-button").click(function () {
|
|
$(".email-header .close-button").click(function () {
|
|
|
$(".email-content").removeClass("email-active");
|
|
$(".email-content").removeClass("email-active");
|
|
|
$(".settingsMenu").removeClass("settingsMenuActive");
|
|
$(".settingsMenu").removeClass("settingsMenuActive");
|
|
|
|
|
+ $(".settingsMenu").removeClass("settingsMenuInactive");
|
|
|
$('html').removeClass("overhid");
|
|
$('html').removeClass("overhid");
|
|
|
- $("#settings-list").find("li").removeClass("active");
|
|
|
|
|
|
|
+ $("#settings-list").find("li").removeClass("active");
|
|
|
});
|
|
});
|
|
|
$(document).mouseup(function (e)
|
|
$(document).mouseup(function (e)
|
|
|
{
|
|
{
|
|
@@ -3345,9 +3353,11 @@ echo buildSettings(
|
|
|
var container = $(".email-content");
|
|
var container = $(".email-content");
|
|
|
|
|
|
|
|
if (!container.is(e.target) && container.has(e.target).length === 0) {
|
|
if (!container.is(e.target) && container.has(e.target).length === 0) {
|
|
|
- $(".email-content").removeClass("email-active");
|
|
|
|
|
- $('html').removeClass("overhid");
|
|
|
|
|
- $("#settings-list").find("li").removeClass("active");
|
|
|
|
|
|
|
+ $(".email-content").removeClass("email-active");
|
|
|
|
|
+ $(".settingsMenu").removeClass("settingsMenuActive");
|
|
|
|
|
+ $(".settingsMenu").removeClass("settingsMenuInactive");
|
|
|
|
|
+ $('html').removeClass("overhid");
|
|
|
|
|
+ $("#settings-list").find("li").removeClass("active");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|