update dialogs
This commit is contained in:
parent
c2a1e49e38
commit
95e99a6716
113 changed files with 277 additions and 439 deletions
|
@ -55,7 +55,14 @@ define(['dialogHelper', 'layoutManager', 'scrollHelper', 'globalize', 'require',
|
|||
|
||||
var item = options.buttons[i];
|
||||
var autoFocus = i == 0 ? ' autofocus' : '';
|
||||
html += '<button is="emby-button" type="button" class="btnOption raised block formDialogFooterItem" data-id="' + item.id + '"' + autoFocus + '>' + item.name + '</button>';
|
||||
|
||||
var buttonClass = 'btnOption raised block formDialogFooterItem';
|
||||
|
||||
if (item.type) {
|
||||
buttonClass += ' button-' + item.type;
|
||||
}
|
||||
|
||||
html += '<button is="emby-button" type="button" class="' + buttonClass + '" data-id="' + item.id + '"' + autoFocus + '>' + item.name + '</button>';
|
||||
}
|
||||
|
||||
dlg.querySelector('.formDialogFooter').innerHTML = html;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<div class="formDialogHeader">
|
||||
<h3 class="formDialogHeaderTitle" style="margin-left:1em;"></h3>
|
||||
<h3 class="formDialogHeaderTitle" style="margin-left:.75em;"></h3>
|
||||
<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1" style="visibility:hidden;"><i class="md-icon"></i></button>
|
||||
</div>
|
||||
|
||||
<div class="formDialogContent smoothScrollY">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue