mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dialogs
This commit is contained in:
parent
c71f597c58
commit
afc7e51fc8
33 changed files with 152 additions and 139 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
var html = '';
|
||||
|
||||
html += '<div class="dialogContent smoothScrollY" style="padding-top:2em;">';
|
||||
html += '<div class="formDialogContent smoothScrollY" style="padding-top:2em;">';
|
||||
html += '<div class="dialogContentInner dialog-content-centered">';
|
||||
html += '<form style="margin:auto;">';
|
||||
|
||||
|
@ -121,9 +121,9 @@
|
|||
var html = '';
|
||||
var title = globalize.translate('sharedcomponents#RefreshMetadata');
|
||||
|
||||
html += '<div class="dialogHeader">';
|
||||
html += '<div class="formDialogHeader">';
|
||||
html += '<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon"></i></button>';
|
||||
html += '<div class="dialogHeaderTitle">';
|
||||
html += '<div class="formDialogHeaderTitle">';
|
||||
html += title;
|
||||
html += '</div>';
|
||||
|
||||
|
@ -142,13 +142,13 @@
|
|||
});
|
||||
|
||||
if (layoutManager.tv) {
|
||||
centerFocus(dlg.querySelector('.dialogContent'), false, true);
|
||||
centerFocus(dlg.querySelector('.formDialogContent'), false, true);
|
||||
}
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
if (layoutManager.tv) {
|
||||
centerFocus(dlg.querySelector('.dialogContent'), false, false);
|
||||
centerFocus(dlg.querySelector('.formDialogContent'), false, false);
|
||||
}
|
||||
|
||||
dlg.addEventListener('close', resolve);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue