mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move user image into profile settings
This commit is contained in:
parent
c2ea67d056
commit
53cd8b0eb8
36 changed files with 376 additions and 372 deletions
56
dashboard-ui/myprofile.html
Normal file
56
dashboard-ui/myprofile.html
Normal file
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleMediaBrowser}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="userImagePage" data-role="page" class="page libraryPage userPreferencesPage" data-theme="b" data-contextname="${HeaderPreferences}">
|
||||
|
||||
<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>
|
||||
|
||||
<form class="newImageForm" style="display:none;margin: 1em auto 0;">
|
||||
|
||||
<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;">
|
||||
<button type="submit" data-icon="check">${ButtonUpload}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('.newImageForm').off('submit', MyProfilePage.onImageSubmit).on('submit', MyProfilePage.onImageSubmit);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue