mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
copy dashboard to the output folder and load from the file system, instead of using embedded resources
This commit is contained in:
parent
799eebc9ed
commit
4dd9477bcd
137 changed files with 1424 additions and 1438 deletions
53
dashboard-ui/userImage.html
Normal file
53
dashboard-ui/userImage.html
Normal file
|
@ -0,0 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title> </title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="userImagePage" data-role="page" class="page type-interior userProfilesConfigurationPage">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" onclick="Dashboard.navigate('editUser.html', true);" data-role="button">Profile</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">Image</a>
|
||||
<a href="#" data-role="button" onclick="Dashboard.navigate('updatePassword.html', true);">Password</a>
|
||||
<a href="#" data-role="button" onclick="Dashboard.navigate('library.html', true);">Media Library</a>
|
||||
</div>
|
||||
<div class="readOnlyContent">
|
||||
<p id="fldImage"></p>
|
||||
<p id="fldDeleteImage" style="display: none;">
|
||||
<button id="btnDeleteImage" type="button" data-icon="delete" onclick="UserImagePage.deleteImage();">
|
||||
Delete Image
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<h2 id="headerUploadNewImage" style="display: none;">Upload New Image</h2>
|
||||
<form id="uploadUserImageForm">
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li id="fldNewImage">
|
||||
<p>1:1 Aspect Ratio Recommended</p>
|
||||
<input type="file" accept="image/*" id="uploadUserImage" name="uploadUserImage" onchange="UserImagePage.onFileUploadChange(this);" />
|
||||
|
||||
<div id="userImageDropZone" class="imageDropZone">
|
||||
<h3>Drop Image Here (Chrome / Firefox / Safari)</h3>
|
||||
<output id="userImageOutput"></output>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
<li id="fldNewImagePreview"></li>
|
||||
<li id="fldUpload" style="display: none;">
|
||||
<button type="submit" data-icon="picture">Upload</button>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('#uploadUserImageForm').on('submit', UserImagePage.onSubmit);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue