mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
report app usage to server
This commit is contained in:
parent
1c0b553e3d
commit
ee9f68f14f
3 changed files with 25 additions and 13 deletions
|
@ -59,10 +59,23 @@
|
|||
}
|
||||
|
||||
.libraryMenuButton {
|
||||
left: 0;
|
||||
opacity: .8;
|
||||
opacity: .95;
|
||||
}
|
||||
|
||||
.libraryMenuButton img {
|
||||
border: 1px solid #444 !important;
|
||||
padding: .5em;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.libraryMenuButton:hover {
|
||||
opacity: 1!important;
|
||||
}
|
||||
|
||||
.libraryMenuButton img:hover {
|
||||
background-color: #38c;
|
||||
}
|
||||
|
||||
.libraryMenuButtonText {
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
|
@ -70,7 +83,11 @@
|
|||
font-size: 15px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-left: .5em;
|
||||
line-height: 51px;
|
||||
padding-left: 0 !important;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
margin-left: -5px;
|
||||
}
|
||||
|
||||
.viewMenuBar {
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
|
||||
var html = '<div class="viewMenuBar ui-bar-b">';
|
||||
|
||||
html += '<button type="button" data-role="none" title="Menu" onclick="LibraryMenu.showLibraryMenu();" class="headerButton libraryMenuButton headerButtonLeft"><img src="css/images/menu.png" />';
|
||||
html += '<div class="libraryMenuButtonText"><span>MEDIA</span><span class="mediaBrowserAccent">BROWSER</span></div>';
|
||||
html += '<button type="button" data-role="none" title="Menu" onclick="LibraryMenu.showLibraryMenu();" class="headerButton libraryMenuButton headerButtonLeft">';
|
||||
html += '<img src="css/images/menu.png" />';
|
||||
html += '</button>';
|
||||
html += '<div class="libraryMenuButtonText headerButton"><span>MEDIA</span><span class="mediaBrowserAccent">BROWSER</span></div>';
|
||||
|
||||
html += '<div class="viewMenuSecondary">';
|
||||
|
||||
|
|
|
@ -45,9 +45,9 @@
|
|||
|
||||
html += '</p>';
|
||||
|
||||
html += '<div class="btnNotificationListContainer"><a data-role="button" href="notificationlist.html" data-icon="action" data-mini="true">View Notifications</a></div>';
|
||||
html += '<div style="display:none;" class="btnMarkReadContainer"><button class="btnMarkRead" type="button" data-icon="check" data-mini="true" data-theme="b">Mark these read</button></div>';
|
||||
|
||||
html += '<div class="btnNotificationListContainer"><button class="btnNotificationList" type="button" data-icon="action" data-mini="true">View Notifications</button></div>';
|
||||
|
||||
html += '</div>';
|
||||
|
||||
|
@ -73,18 +73,12 @@
|
|||
|
||||
});
|
||||
|
||||
}).on("click", ".btnNotificationList", function(e) {
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
Dashboard.navigate("notificationlist.html");
|
||||
|
||||
});
|
||||
|
||||
self.isFlyout = true;
|
||||
|
||||
var startIndex = 0;
|
||||
var limit = 4;
|
||||
var limit = 5;
|
||||
var elem = $('.notificationsFlyoutlist');
|
||||
var markReadButton = $('.btnMarkReadContainer');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue