update guest inviter

This commit is contained in:
Luke Pulverenti 2016-02-10 21:56:24 -05:00
parent 569aa605b4
commit cf11f24cc7
3 changed files with 12 additions and 15 deletions

View File

@ -111,7 +111,7 @@
dlg.innerHTML = html;
// needed for the collapsible
document.body.appendChild(dlg);
$(dlg).trigger('create');
$(dlg.querySelector('form')).trigger('create');
paperDialogHelper.open(dlg);

View File

@ -245,20 +245,18 @@
dlg.classList.add('popupEditor');
var html = '';
html += '<h2 class="dialogHeader">';
html += '<paper-fab icon="arrow-back" mini class="btnCancel"></paper-fab>';
html += '</h2>';
html += '<div class="dialogHeader">';
html += '<paper-icon-button icon="close" class="btnCancel" tabindex="-1"></paper-icon-button>';
html += '<div class="dialogHeaderTitle">';
html += Globalize.translate('SyncMedia');
html += '</div>';
html += '<div>';
html += '<a href="https://github.com/MediaBrowser/Wiki/wiki/Sync" target="_blank" class="clearLink" style="margin-top:0;display:inline-block;vertical-align:middle;margin-left:auto;"><paper-button class="mini"><iron-icon icon="info"></iron-icon><span>' + Globalize.translate('ButtonHelp') + '</span></paper-button></a>';
html += '</div>';
html += '<form class="formSubmitSyncRequest" style="margin: auto;">';
html += '<div style="margin:1em 0 1.5em;">';
html += '<h1 style="margin: 0;display:inline-block;vertical-align:middle;">' + Globalize.translate('SyncMedia') + '</h1>';
html += '<a href="https://github.com/MediaBrowser/Wiki/wiki/Sync" target="_blank" class="clearLink" style="margin-top:0;display:inline-block;vertical-align:middle;margin-left:1em;"><paper-button raised class="secondary mini"><iron-icon icon="info"></iron-icon><span>' + Globalize.translate('ButtonHelp') + '</span></paper-button></a>';
html += '</div>';
html += '<div class="formFields"></div>';
html += '<p>';
@ -266,7 +264,6 @@
html += '</p>';
html += '</form>';
html += '</div>';
dlg.innerHTML = html;
document.body.appendChild(dlg);

View File

@ -545,17 +545,17 @@ div.dialogHeader {
font-size: 110%;
}
.background-theme-a div.dialogHeader {
.ui-body-a div.dialogHeader {
background-color: #52B54B;
color: #fff;
}
.background-theme-a .pageContentPaperMaterial {
.ui-body-a .pageContentPaperMaterial {
background-color: #fff;
padding: 1.5em;
}
.background-theme-b div.dialogHeader {
.ui-body-b div.dialogHeader {
background-color: #101010;
}