mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
adjusted unc message and supporter icon on every page
This commit is contained in:
parent
0b6e04190c
commit
98a9864097
5 changed files with 41 additions and 38 deletions
BIN
dashboard-ui/css/images/supporter/nonsupporterbadge.png
Normal file
BIN
dashboard-ui/css/images/supporter/nonsupporterbadge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
|
@ -151,7 +151,7 @@ pre, textarea.pre {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.imageLink.supporter {
|
.imageLink.supporterIcon {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -282,7 +282,7 @@ form, .readOnlyContent {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.imageLink.supporter {
|
.imageLink.supporterIcon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -526,6 +526,8 @@
|
||||||
$('#themeSongsCollapsible', page).show();
|
$('#themeSongsCollapsible', page).show();
|
||||||
|
|
||||||
$('#themeSongsContent', page).html(LibraryBrowser.getSongTableHtml(result.Items, { showArtist: true, showAlbum: true })).trigger('create');
|
$('#themeSongsContent', page).html(LibraryBrowser.getSongTableHtml(result.Items, { showArtist: true, showAlbum: true })).trigger('create');
|
||||||
|
} else {
|
||||||
|
$('#themeSongsCollapsible', page).hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -539,6 +541,8 @@
|
||||||
$('#themeVideosCollapsible', page).show();
|
$('#themeVideosCollapsible', page).show();
|
||||||
|
|
||||||
$('#themeVideosContent', page).html(getVideosHtml(result.Items)).trigger('create');
|
$('#themeVideosContent', page).html(getVideosHtml(result.Items)).trigger('create');
|
||||||
|
} else {
|
||||||
|
$('#themeVideosCollapsible', page).hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -477,7 +477,7 @@ var Dashboard = {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
options.header = options.header || "Select Media Path";
|
options.header = options.header || "Select Media Path";
|
||||||
options.instruction = options.instruction || "Any path will do, but network paths (UNC) will allow clients direct file playback when possible. For optimal playback of bluray and dvd folders, unc paths are recommended.";
|
options.instruction = options.instruction || "Any path will do, but <b>network paths (UNC)</b> allow clients direct file playback when possible. For optimal playback of bluray and dvd folders, <b>network paths</b> are recommended.";
|
||||||
|
|
||||||
var html = '<div data-role="popup" id="popupDirectoryPicker" class="ui-corner-all popup" style="min-width:65%;">';
|
var html = '<div data-role="popup" id="popupDirectoryPicker" class="ui-corner-all popup" style="min-width:65%;">';
|
||||||
|
|
||||||
|
@ -713,13 +713,17 @@ var Dashboard = {
|
||||||
|
|
||||||
header.append(headerHtml);
|
header.append(headerHtml);
|
||||||
|
|
||||||
Search.onSearchRendered(header);
|
if (!$('.supporterIcon', header).length) {
|
||||||
|
|
||||||
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
||||||
|
|
||||||
if (pluginSecurityInfo.IsMBSupporter) {
|
if (pluginSecurityInfo.IsMBSupporter) {
|
||||||
$('<a class="imageLink" href="supporter.html"><img src="css/images/supporter/supporterbadge.png" /></a>').insertBefore('.btnTools', header);
|
$('<a class="imageLink supporterIcon" href="supporter.html"><img src="css/images/supporter/supporterbadge.png" /></a>').insertBefore($('.btnTools', header));
|
||||||
|
} else {
|
||||||
|
$('<a class="imageLink supporterIcon nonSupporterIcon" href="supporter.html" title="Become a Media Browser supporter!"><img src="css/images/supporter/nonsupporterbadge.png" /></a>').insertBefore($('.btnTools', header));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
ensureToolsMenu: function (page) {
|
ensureToolsMenu: function (page) {
|
||||||
|
|
|
@ -20,23 +20,21 @@
|
||||||
<p>
|
<p>
|
||||||
By becoming a Media Browser Supporter, you ensure the continued development and support of this product <strong>and open up a whole new world of premium plug-ins.</strong>
|
By becoming a Media Browser Supporter, you ensure the continued development and support of this product <strong>and open up a whole new world of premium plug-ins.</strong>
|
||||||
</p>
|
</p>
|
||||||
<p style="margin-bottom: 30px">
|
<p>
|
||||||
A portion of all MB3 Supporter donations is also contributed to some of our metadata providers (<a href="http://themoviedb.org" target="_blank">The Movie Db</a>,
|
A portion of all MB3 Supporter donations is also contributed to some of our metadata providers (<a href="http://themoviedb.org" target="_blank">The Movie Db</a>,
|
||||||
<a href="http://thetvdb.com" target="_blank">The TVdb</a>, and <a href="http://fanart.tv" target="_blank">FanArt.tv</a>)
|
<a href="http://thetvdb.com" target="_blank">The TVdb</a>, and <a href="http://fanart.tv" target="_blank">FanArt.tv</a>)
|
||||||
</p>
|
</p>
|
||||||
<p style="margin-bottom: 30px">
|
<p>
|
||||||
Premium plug-ins can be installed and used for their trial periods (14 days on any particular machine) but, to register them for use
|
Premium plug-ins can be installed and used for their trial periods (14 days on any particular machine) but, to register them for use
|
||||||
beyond that period, you also have to be a Media Browser Supporter.
|
beyond that period, you also have to be a Media Browser Supporter.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<div style="display: none; padding: 10px 10px 10px 10px; margin-bottom: 10px" class="ui-bar-e supporterOnly">
|
<p style="display: none; padding: 1em; border-radius: 5px; font-weight: normal;" class="ui-bar-e supporterOnly">
|
||||||
<p>
|
<strong>Thank You</strong> for your past support of the Media Browser Team. Users like you make it possible for
|
||||||
<strong><em>Thank You</em></strong> for your past support of the Media Browser Team. Users like you make it possible for
|
|
||||||
Media Browser to exist and keep getting better and better. You can always support us again if you feel you are getting maximum
|
Media Browser to exist and keep getting better and better. You can always support us again if you feel you are getting maximum
|
||||||
value from the product.
|
value from the product.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
|
||||||
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr"
|
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr"
|
||||||
method="post">
|
method="post">
|
||||||
<label for="donateAmt">Amount (USD)</label>
|
<label for="donateAmt">Amount (USD)</label>
|
||||||
|
@ -55,11 +53,8 @@
|
||||||
<input type="hidden" name="item_number" value="MBSupporter">
|
<input type="hidden" name="item_number" value="MBSupporter">
|
||||||
<input type="hidden" name="notify_url" value="http://mb3admin.com/admin/service/services/ppipn.php">
|
<input type="hidden" name="notify_url" value="http://mb3admin.com/admin/service/services/ppipn.php">
|
||||||
<input type="hidden" name="return" id="paypalReturnUrl" value="#">
|
<input type="hidden" name="return" id="paypalReturnUrl" value="#">
|
||||||
<a data-role="button" onclick="_xclick.submit();"><img src="css/images/supporter/donatepaypal.png"/></a>
|
<a data-role="button" onclick="_xclick.submit();">
|
||||||
|
<img src="css/images/supporter/donatepaypal.png" /></a>
|
||||||
<p><small><em>This button is now <strong>live</strong>. Transactions will result in real money being transferred.</em></small></p>
|
|
||||||
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue