mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update notification styles
This commit is contained in:
parent
e90931eda1
commit
1663b40737
3 changed files with 14 additions and 1 deletions
|
@ -66,6 +66,8 @@
|
|||
|
||||
.flyoutNotification p {
|
||||
margin: .5em 0;
|
||||
white-space: normal;
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
.notificationName {
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<p><a href="scheduledtasks.html">Manage Scheduled Tasks</a></p>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 200px;">
|
||||
<div style="display:none;margin-top: 100px;" id="contribute">
|
||||
<h3 style="padding-left: 1em;">Help improve Media Browser</h3>
|
||||
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr"
|
||||
method="post">
|
||||
|
@ -68,6 +68,7 @@
|
|||
<input type="hidden" name="return" id="paypalReturnUrl" value="#">
|
||||
<a data-role="button" onclick="_xclick.submit();">
|
||||
<img src="css/images/supporter/donatepaypal.png" /></a>
|
||||
<a href="https://github.com/MediaBrowser" data-role="button" target="_blank">Become a Developer</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,6 +9,16 @@
|
|||
|
||||
DashboardPage.lastAppUpdateCheck = null;
|
||||
DashboardPage.lastPluginUpdateCheck = null;
|
||||
|
||||
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
||||
|
||||
if (pluginSecurityInfo.IsMBSupporter) {
|
||||
$('#contribute').hide();
|
||||
} else {
|
||||
$('#contribute').show();
|
||||
}
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
onPageHide: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue