diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html index a91802ad..57b7be47 100644 --- a/data/interfaces/default/base.html +++ b/data/interfaces/default/base.html @@ -15,6 +15,9 @@ + % if _session['user_group'] == 'admin' and plexpy.CONFIG.PMS_PLEXPASS: + + % endif ${next.headIncludes()} diff --git a/data/interfaces/default/css/plexpy-admin.css b/data/interfaces/default/css/plexpy-admin.css new file mode 100644 index 00000000..b435c082 --- /dev/null +++ b/data/interfaces/default/css/plexpy-admin.css @@ -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; +} \ No newline at end of file diff --git a/data/interfaces/default/css/plexpy.css b/data/interfaces/default/css/plexpy.css index c0317765..2c735e18 100644 --- a/data/interfaces/default/css/plexpy.css +++ b/data/interfaces/default/css/plexpy.css @@ -750,6 +750,9 @@ a .users-poster-face:hover { -webkit-transition: all .2s; transition: all .2s; } +.dashboard-activity-terminate-session:hover { + color: #e9a049; +} .dashboard-activity-info-scroller { height: 225px; width: 335px; @@ -858,17 +861,6 @@ a .users-poster-face:hover { .dashboard-activity-container:hover { 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 { height: 14px; } @@ -915,7 +907,7 @@ a:hover .dashboard-activity-cover { font-weight: bold; line-height: 25px; color: #999; - max-width: 75%; + max-width: 320px; float: left; } .dashboard-activity-metadata-user { @@ -927,7 +919,7 @@ a:hover .dashboard-activity-cover { line-height: 25px; color: #999; text-align: right; - max-width: 25%; + width: 124px; float: right; } .dashboard-activity-metadata-user-thumb { diff --git a/data/interfaces/default/current_activity_instance.html b/data/interfaces/default/current_activity_instance.html index 2ca19ecd..bf10cdc1 100644 --- a/data/interfaces/default/current_activity_instance.html +++ b/data/interfaces/default/current_activity_instance.html @@ -105,10 +105,8 @@ DOCUMENTATION :: END % if _session['user_group'] == 'admin' and plexpy.CONFIG.PMS_PLEXPASS: -