jellyfin-web/dashboard-ui/myprofile.html

134 lines
6.3 KiB
HTML
Raw Normal View History

2014-10-15 20:26:39 -07:00
<!DOCTYPE html>
<html>
<head>
2015-03-21 11:12:12 -07:00
<title>Emby</title>
2014-10-15 20:26:39 -07:00
</head>
<body>
<div id="userImagePage" data-role="page" class="page libraryPage userPreferencesPage userPasswordPage" data-contextname="${HeaderPreferences}">
2014-10-15 20:26:39 -07:00
<div class="libraryViewNav">
<a href="#" class="lnkDisplayPreferences">${TabDisplay}</a>
<a href="#" class="lnkLanguagePreferences">${TabPlayback}</a>
<a href="#" class="ui-btn-active lnkMyProfile">${TabProfile}</a>
<a href="#" class="lnkWebClientPreferences">${TabWebClient}</a>
</div>
<br />
<div class="readOnlyContent" style="margin: 0 auto; padding: 0 1em;">
<div id="fldImage" style="display:inline-block;"></div>
<div style="vertical-align:top;margin: .5em 0 0 1em;display:inline-block;">
<h2 class="username" style="margin: 0;"></h2>
<button id="btnDeleteImage" type="button" data-icon="delete" style="display: none;margin-top:1em;">
${ButtonDeleteImage}
</button>
</div>
</div>
2014-10-16 21:52:41 -07:00
<div class="connectMessage readOnlyContent" style="display:none;margin: 0 auto; padding: 0 1em; text-align:center;">
<p>${MessageProfileInfoSynced}</p>
2015-03-21 11:12:12 -07:00
<div style="margin-top: .75em;"><a href="http://emby.media/connect" target="_blank">${ButtonLearnMoreAboutEmbyConnect}</a></div>
2014-10-16 21:52:41 -07:00
</div>
2015-01-22 11:05:32 -07:00
<form class="newImageForm userProfileSettingsForm" style="display:none;margin: 1em auto 0;">
2014-10-15 20:26:39 -07:00
<div data-role="collapsible">
<h2 id="headerUploadNewImage" style="display: none;">${HeaderUploadNewImage}</h2>
<div>
<div id="fldNewImage">
<p>${ImageUploadAspectRatioHelp}</p>
<input type="file" accept="image/*" id="uploadUserImage" name="uploadUserImage" onchange="MyProfilePage.onFileUploadChange(this);" />
<div id="userImageDropZone" class="imageDropZone">
<h3>${LabelDropImageHere}</h3>
<output id="userImageOutput"></output>
</div>
</div>
<div id="fldNewImagePreview"></div>
<div id="fldUpload" style="display: none;">
2014-10-23 21:54:35 -07:00
<button type="submit" data-icon="check" data-theme="a">${ButtonUpload}</button>
2014-10-15 20:26:39 -07:00
</div>
</div>
</div>
</form>
2014-10-22 21:26:01 -07:00
<br />
2015-01-22 11:05:32 -07:00
<form class="updatePasswordForm passwordSection userProfileSettingsForm" style="display:none;margin: 0 auto 2em;">
2014-10-22 21:26:01 -07:00
2015-01-28 14:29:02 -07:00
<div class="detailSection">
<div class="detailSectionHeader">
${HeaderPassword}
</div>
<div class="detailSectionContent">
<br />
<div id="fldCurrentPassword" style="display: none;">
<label for="txtCurrentPassword">${LabelCurrentPassword}</label>
<input type="password" id="txtCurrentPassword" name="txtCurrentPassword" />
</div>
<br />
<div>
<label for="txtNewPassword">${LabelNewPassword}</label>
<input type="password" id="txtNewPassword" name="txtNewPassword" />
</div>
<br />
<div>
<label for="txtNewPasswordConfirm">${LabelNewPasswordConfirm}</label>
<input type="password" id="txtNewPasswordConfirm" name="txtNewPasswordConfirm" />
</div>
2014-10-22 21:26:01 -07:00
<br />
2015-01-28 14:29:02 -07:00
<div>
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
${ButtonSave}
</button>
<div id="btnResetPassword" style="display: none;">
<button type="button" data-icon="lock" onclick="UpdatePasswordPage.resetPassword();" data-mini="true">
${ButtonResetPassword}
2014-10-22 21:26:01 -07:00
</button>
2015-01-28 14:29:02 -07:00
</div>
</div>
2014-10-22 21:26:01 -07:00
</div>
</div>
</form>
2015-01-22 11:05:32 -07:00
<form class="localAccessForm localAccessSection userProfileSettingsForm" style="margin: 0 auto;">
2015-01-28 14:29:02 -07:00
<div class="detailSection">
<div class="detailSectionHeader">
2015-01-28 23:06:24 -07:00
${HeaderEasyPinCode}
2015-01-28 14:29:02 -07:00
</div>
<div class="detailSectionContent">
2015-01-28 23:06:24 -07:00
<br />
<div>${EasyPasswordHelp}</div>
<br />
<div>
<label for="txtEasyPassword">${LabelEasyPinCode}</label>
<input type="password" id="txtEasyPassword" />
</div>
2014-10-22 21:26:01 -07:00
<br />
2015-01-28 14:29:02 -07:00
<div>
2015-01-28 23:06:24 -07:00
<label for="chkEnableLocalEasyPassword">${LabelInNetworkSignInWithEasyPassword}</label>
<input type="checkbox" id="chkEnableLocalEasyPassword" />
<div class="fieldDescription">${LabelInNetworkSignInWithEasyPasswordHelp}</div>
2015-01-28 14:29:02 -07:00
</div>
<br />
<div>
2015-01-28 23:06:24 -07:00
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
2015-01-28 14:29:02 -07:00
${ButtonSave}
</button>
2015-01-28 23:06:24 -07:00
<button id="btnResetEasyPassword" style="display:none;" type="button" data-icon="lock" onclick="UpdatePasswordPage.resetEasyPassword();" data-mini="true">
${ButtonResetEasyPassword}
</button>
2015-01-28 14:29:02 -07:00
</div>
2014-10-22 21:26:01 -07:00
</div>
</div>
</form>
2014-10-15 20:26:39 -07:00
<script type="text/javascript">
$('.newImageForm').off('submit', MyProfilePage.onImageSubmit).on('submit', MyProfilePage.onImageSubmit);
2014-10-22 21:26:01 -07:00
$('.updatePasswordForm').off('submit', UpdatePasswordPage.onSubmit).on('submit', UpdatePasswordPage.onSubmit);
$('.localAccessForm').off('submit', UpdatePasswordPage.onLocalAccessSubmit).on('submit', UpdatePasswordPage.onLocalAccessSubmit);
2014-10-15 20:26:39 -07:00
</script>
</div>
</body>
</html>