1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2017-09-18 12:46:03 -04:00
parent 6b5c8e2380
commit 25d8cf9179
8 changed files with 22 additions and 28 deletions

View file

@ -22,24 +22,21 @@
<form class="newImageForm userProfileSettingsForm hide" style="margin: 1em auto 0;">
<div is="emby-collapse" title="${HeaderUploadNewImage}">
<div class="collapseContent">
<div id="fldNewImage">
<p>${ImageUploadAspectRatioHelp}</p>
<input type="file" accept="image/*" id="uploadUserImage" name="uploadUserImage" />
<h1>${HeaderUploadNewImage}</h1>
<div id="userImageDropZone" class="imageDropZone">
<h3>${LabelDropImageHere}</h3>
<output id="userImageOutput"></output>
</div>
</div>
<div id="fldNewImagePreview"></div>
<div id="fldUpload" class="hide">
<button type="submit" data-icon="check">${ButtonUpload}</button>
</div>
<div id="fldNewImage">
<div id="userImageDropZone" class="imageDropZone squareImageDropZone fieldDescription">
<div>${LabelDropImageHere}</div>
<output id="userImageOutput" class="flex align-items-center justify-content-center" style="position: absolute;top:0;left:0;right:0;bottom:0;width:100%;"></output>
<input type="file" accept="image/*" id="uploadUserImage" name="uploadUserImage" style="position: absolute;top:0;left:0;right:0;bottom:0;width:100%;opacity:0;" />
</div>
</div>
<div id="fldUpload" class="hide" style="margin-top:1em;">
<button is="emby-button" type="submit" class="raised button-submit block">${ButtonUpload}</button>
</div>
</form>
<br />