jellyfin-web/dashboard-ui/myprofile.html

96 lines
5.1 KiB
HTML
Raw Normal View History

2016-06-04 20:50:07 -07:00
<div id="userImagePage" data-role="page" class="page libraryPage userPreferencesPage userPasswordPage noSecondaryNavPage" data-title="${HeaderProfile}" data-require="emby-collapsible,scripts/myprofile,paper-checkbox,paper-input,emby-button" data-backbutton="true" data-menubutton="false">
2014-10-15 20:26:39 -07:00
2016-03-15 22:33:31 -07:00
<div data-role="content">
<br />
<div class="readOnlyContent" style="margin: 0 auto; padding: 0 1em;">
<div id="fldImage" style="display:inline-block;"></div>
2014-10-15 20:26:39 -07:00
2016-03-15 22:33:31 -07:00
<div style="vertical-align:top;margin: .5em 0 0 1em;display:inline-block;">
<h2 class="username" style="margin: 0;"></h2>
<br />
2016-06-04 20:50:07 -07:00
<button is="emby-button" type="button" class="raised cancel hide" id="btnDeleteImage"><iron-icon icon="delete"></iron-icon><span>${ButtonDeleteImage}</span></button>
2014-10-15 20:26:39 -07:00
</div>
2016-03-15 22:33:31 -07:00
</div>
2014-10-15 20:26:39 -07:00
2016-03-15 22:33:31 -07:00
<div class="connectMessage readOnlyContent" style="display:none;margin: 0 auto; padding: 0 1em; text-align:center;">
<p>${MessageProfileInfoSynced}</p>
<div style="margin-top: .75em;"><a href="http://emby.media/connect" target="_blank">${ButtonLearnMoreAboutEmbyConnect}</a></div>
</div>
2014-10-16 21:52:41 -07:00
2016-03-15 22:33:31 -07:00
<form class="newImageForm userProfileSettingsForm" style="display:none;margin: 1em auto 0;">
2014-10-15 20:26:39 -07:00
2016-05-23 10:54:38 -07:00
<emby-collapsible title="${HeaderUploadNewImage}">
<div id="fldNewImage">
<p>${ImageUploadAspectRatioHelp}</p>
<input type="file" accept="image/*" id="uploadUserImage" name="uploadUserImage" />
<div id="userImageDropZone" class="imageDropZone">
<h3>${LabelDropImageHere}</h3>
<output id="userImageOutput"></output>
2016-03-15 22:33:31 -07:00
</div>
2014-10-15 20:26:39 -07:00
</div>
2016-05-23 10:54:38 -07:00
<div id="fldNewImagePreview"></div>
<div id="fldUpload" style="display: none;">
<button type="submit" data-icon="check" data-theme="a">${ButtonUpload}</button>
</div>
</emby-collapsible>
2014-10-15 20:26:39 -07:00
2016-03-15 22:33:31 -07:00
</form>
2014-10-15 20:26:39 -07:00
2016-03-15 22:33:31 -07:00
<br />
2014-10-22 21:26:01 -07:00
2016-03-15 22:33:31 -07:00
<form class="updatePasswordForm passwordSection userProfileSettingsForm" style="display:none;margin: 0 auto 2em;">
2014-10-22 21:26:01 -07:00
2016-03-15 22:33:31 -07:00
<div class="detailSection">
<h1>
${HeaderPassword}
</h1>
<div class="detailSectionContent">
<div id="fldCurrentPassword" style="display: none;">
<paper-input type="password" id="txtCurrentPassword" label="${LabelCurrentPassword}" autocomplete="off"></paper-input>
</div>
<br />
<div>
<paper-input type="password" id="txtNewPassword" label="${LabelNewPassword}" autocomplete="off"></paper-input>
</div>
<br />
<div>
<paper-input type="password" id="txtNewPasswordConfirm" label="${LabelNewPasswordConfirm}" autocomplete="off"></paper-input>
</div>
<br />
<div>
2016-06-04 20:50:07 -07:00
<button is="emby-button" type="submit" class="raised submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></button>
2016-03-15 22:33:31 -07:00
<div id="btnResetPassword" style="display: none;">
2016-06-04 20:50:07 -07:00
<button is="emby-button" type="button" class="raised cancel block" onclick="UpdatePasswordPage.resetPassword();"><iron-icon icon="lock"></iron-icon><span>${ButtonResetPassword}</span></button>
2015-01-28 14:29:02 -07:00
</div>
</div>
2014-10-22 21:26:01 -07:00
</div>
2016-03-15 22:33:31 -07:00
</div>
</form>
<form class="localAccessForm localAccessSection userProfileSettingsForm" style="margin: 0 auto;display:none;">
<div class="detailSection">
<h1>
${HeaderEasyPinCode}
</h1>
<div class="detailSectionContent">
<br />
<div>${EasyPasswordHelp}</div>
<br />
<div>
<paper-input type="number" id="txtEasyPassword" label="${LabelEasyPinCode}" autocomplete="off" pattern="[0-9]*" step="1" maxlength="5"></paper-input>
</div>
<br />
<div>
<paper-checkbox class="chkEnableLocalEasyPassword">${LabelInNetworkSignInWithEasyPassword}</paper-checkbox>
<div class="fieldDescription paperCheckboxFieldDescription">${LabelInNetworkSignInWithEasyPasswordHelp}</div>
</div>
<br /><br />
<div>
2016-06-04 20:50:07 -07:00
<button is="emby-button" type="submit" class="raised submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></button>
<button is="emby-button" type="button" id="btnResetEasyPassword" class="raised cancel block hide" onclick="UpdatePasswordPage.resetEasyPassword();"><iron-icon icon="lock"></iron-icon><span>${ButtonResetEasyPassword}</span></button>
2015-01-28 14:29:02 -07:00
</div>
2014-10-22 21:26:01 -07:00
</div>
2016-03-15 22:33:31 -07:00
</div>
</form>
2014-10-15 20:26:39 -07:00
</div>
2016-03-15 22:33:31 -07:00
</div>