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

update header

This commit is contained in:
Luke Pulverenti 2016-02-12 22:40:49 -05:00
parent 94bd1f190b
commit c0d966f1d8
2 changed files with 15 additions and 19 deletions

View file

@ -385,7 +385,7 @@
html += '<div style="padding:0; margin: 10px 0px 0px 0px"><paper-tabs hidescrollbuttons selected="0">';
html += '<paper-tab id="popupTab1" class="episodeTabButton">TV Episode</paper-tab>';
html += '<paper-tab id="popupTab2" class="movieTabButton">Movie</paper-tab>';
html += '</paper-tabs></div>'
html += '</paper-tabs></div>';
html += '<div class="editorContent" style="margin:auto;">';
html += Globalize.translateDocument(template);
@ -441,19 +441,8 @@
removeOnClose: true
});
dlg.setAttribute('with-backdrop', 'with-backdrop');
dlg.setAttribute('role', 'alertdialog');
// without this safari will scroll the background instead of the dialog contents
// but not needed here since this is already on top of an existing dialog
dlg.setAttribute('modal', 'modal');
dlg.setAttribute('noAutoFocus', 'noAutoFocus');
dlg.entryAnimation = 'scale-up-animation';
dlg.exitAnimation = 'fade-out-animation';
dlg.classList.add('ui-body-a');
dlg.classList.add('background-theme-a');
dlg.classList.add('smoothScrollY');
return dlg;
}