1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

finish paper-fab removal

This commit is contained in:
Luke Pulverenti 2016-08-05 16:34:56 -04:00
parent e00fbec2a8
commit 0b0248cd60
4 changed files with 48 additions and 45 deletions

View file

@ -65,32 +65,32 @@
function getSubscriptionBenefitHtml(item) {
var html = '';
html += '<paper-icon-item>';
html += '<div class="listItem">';
html += '<paper-fab mini style="background-color:#52B54B;" icon="' + item.icon + '" item-icon></paper-fab>';
html += '<i class="listItemIcon md-icon">' + item.icon + '</i>';
html += '<paper-item-body three-line>';
html += '<div class="listItemBody two-line">';
html += '<a class="clearLink" href="https://emby.media/premiere" target="_blank">';
html += '<div>';
html += '<h3 class="listItemBodyText">';
html += item.name;
html += '</div>';
html += '</h3>';
html += '<div secondary style="white-space:normal;">';
html += '<div class="listItemBodyText secondary" style="white-space:normal;">';
html += item.text;
html += '</div>';
html += '</a>';
html += '</paper-item-body>';
html += '</div>';
html += '</paper-icon-item>';
html += '</div>';
return html;
}
function showPlaybackOverlay(resolve, reject) {
require(['dialogHelper', 'paper-fab', 'paper-item-body', 'paper-icon-item', 'emby-button'], function (dialogHelper) {
require(['dialogHelper', 'listViewStyle', 'emby-button'], function (dialogHelper) {
var dlg = dialogHelper.createDialog({
size: 'fullscreen-border',
@ -103,7 +103,7 @@
var html = '';
html += '<h2 class="dialogHeader">';
html += '<paper-fab icon="arrow-back" mini class="btnCancelSupporterInfo" tabindex="-1"></paper-fab>';
html += '<button is="emby-button" type="button" class="fab mini btnCancelSupporterInfo" tabindex="-1"><i class="md-icon">arrow_back</i></button>';
html += '</h2>';
html += '<div class="readOnlyContent" style="margin:0 auto 0;color:#fff;padding:1em;">';

View file

@ -1513,7 +1513,6 @@ var AppInfo = {};
define("paper-textarea", ['webcomponentsjs', "html!" + bowerPath + "/paper-input/paper-textarea.html"]);
define("paper-item", ["html!" + bowerPath + "/paper-item/paper-item.html"]);
define("paper-checkbox", ["html!" + bowerPath + "/paper-checkbox/paper-checkbox.html"]);
define("paper-fab", ["emby-icons", "html!" + bowerPath + "/paper-fab/paper-fab.html"]);
define("paper-progress", ["html!" + bowerPath + "/paper-progress/paper-progress.html"]);
define("paper-input", ['webcomponentsjs', "html!" + bowerPath + "/paper-input/paper-input.html"]);
define("paper-icon-item", ['webcomponentsjs', "html!" + bowerPath + "/paper-item/paper-icon-item.html"]);