mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 13:41:15 -07:00
Move admin CSS to separate file
This commit is contained in:
parent
567bba0c44
commit
f0ca7385b9
5 changed files with 19 additions and 18 deletions
|
@ -15,6 +15,9 @@
|
||||||
<link href="${http_root}css/bootstrap3/bootstrap.css" rel="stylesheet">
|
<link href="${http_root}css/bootstrap3/bootstrap.css" rel="stylesheet">
|
||||||
<link href="${http_root}css/pnotify.custom.min.css" rel="stylesheet" />
|
<link href="${http_root}css/pnotify.custom.min.css" rel="stylesheet" />
|
||||||
<link href="${http_root}css/plexpy.css" rel="stylesheet">
|
<link href="${http_root}css/plexpy.css" rel="stylesheet">
|
||||||
|
% if _session['user_group'] == 'admin' and plexpy.CONFIG.PMS_PLEXPASS:
|
||||||
|
<link href="${http_root}css/plexpy-admin.css" rel="stylesheet">
|
||||||
|
% endif
|
||||||
<link href="${http_root}css/opensans.min.css" rel="stylesheet">
|
<link href="${http_root}css/opensans.min.css" rel="stylesheet">
|
||||||
<link href="${http_root}css/font-awesome.min.css" rel="stylesheet">
|
<link href="${http_root}css/font-awesome.min.css" rel="stylesheet">
|
||||||
${next.headIncludes()}
|
${next.headIncludes()}
|
||||||
|
|
8
data/interfaces/default/css/plexpy-admin.css
Normal file
8
data/interfaces/default/css/plexpy-admin.css
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
.dashboard-activity-container:hover .dashboard-activity-info-platform {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
.dashboard-activity-container:hover .dashboard-activity-terminate-session {
|
||||||
|
background-color: rgba(0, 0, 0, 0.25);
|
||||||
|
opacity: 1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
|
@ -750,6 +750,9 @@ a .users-poster-face:hover {
|
||||||
-webkit-transition: all .2s;
|
-webkit-transition: all .2s;
|
||||||
transition: all .2s;
|
transition: all .2s;
|
||||||
}
|
}
|
||||||
|
.dashboard-activity-terminate-session:hover {
|
||||||
|
color: #e9a049;
|
||||||
|
}
|
||||||
.dashboard-activity-info-scroller {
|
.dashboard-activity-info-scroller {
|
||||||
height: 225px;
|
height: 225px;
|
||||||
width: 335px;
|
width: 335px;
|
||||||
|
@ -858,17 +861,6 @@ a .users-poster-face:hover {
|
||||||
.dashboard-activity-container:hover {
|
.dashboard-activity-container:hover {
|
||||||
height: 249px;
|
height: 249px;
|
||||||
}
|
}
|
||||||
.dashboard-activity-container:hover .dashboard-activity-info-platform {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.dashboard-activity-container:hover .dashboard-activity-terminate-session {
|
|
||||||
background-color: rgba(0, 0, 0, 0.25);
|
|
||||||
opacity: 1;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.dashboard-activity-terminate-session .btn-terminate-session:hover {
|
|
||||||
color: #e9a049;
|
|
||||||
}
|
|
||||||
.dashboard-activity-container:hover .dashboard-activity-progress {
|
.dashboard-activity-container:hover .dashboard-activity-progress {
|
||||||
height: 14px;
|
height: 14px;
|
||||||
}
|
}
|
||||||
|
@ -915,7 +907,7 @@ a:hover .dashboard-activity-cover {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
color: #999;
|
color: #999;
|
||||||
max-width: 75%;
|
max-width: 320px;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
.dashboard-activity-metadata-user {
|
.dashboard-activity-metadata-user {
|
||||||
|
@ -927,7 +919,7 @@ a:hover .dashboard-activity-cover {
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
color: #999;
|
color: #999;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
max-width: 25%;
|
width: 124px;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
.dashboard-activity-metadata-user-thumb {
|
.dashboard-activity-metadata-user-thumb {
|
||||||
|
|
|
@ -105,10 +105,8 @@ DOCUMENTATION :: END
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
% if _session['user_group'] == 'admin' and plexpy.CONFIG.PMS_PLEXPASS:
|
% if _session['user_group'] == 'admin' and plexpy.CONFIG.PMS_PLEXPASS:
|
||||||
<div class="dashboard-activity-terminate-session" id="terminate-button-${data['session_key']}" data-key="${data['session_key']}" data-id="${data['session_id']}">
|
<div class="dashboard-activity-terminate-session" id="terminate-button-${data['session_key']}" data-key="${data['session_key']}" data-id="${data['session_id']}" data-toggle="tooltip" title="Terminate Stream">
|
||||||
<span id="terminate-button-icon-${data['session_key']}" class="btn-terminate-session" data-toggle="tooltip" title="Terminate Stream">
|
<i class="fa fa-times"></i>
|
||||||
<i class="fa fa-times"></i>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
% endif
|
% endif
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -472,7 +472,7 @@
|
||||||
$('#currentActivity').append(xhr.responseText);
|
$('#currentActivity').append(xhr.responseText);
|
||||||
$('#instance-' + session.session_key + ' .dashboard-activity-info-scroller').scrollbar();
|
$('#instance-' + session.session_key + ' .dashboard-activity-info-scroller').scrollbar();
|
||||||
$('#instance-' + session.session_key + ' [data-toggle=tooltip]').tooltip({ container: 'body', placement: 'right', delay: 50 })
|
$('#instance-' + session.session_key + ' [data-toggle=tooltip]').tooltip({ container: 'body', placement: 'right', delay: 50 })
|
||||||
$('#terminate-button-icon-' + session.session_key).tooltip('destroy').tooltip({ container: 'body', placement: 'left', delay: 50 });
|
$('#terminate-button-' + session.session_key).tooltip('destroy').tooltip({ container: 'body', placement: 'left', delay: 50 });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue