Try to improved logo upload.

This commit is contained in:
Martin Edenhofer 2014-11-15 13:59:05 +01:00
parent f116ac34bc
commit 8b61ac1403
2 changed files with 13 additions and 3 deletions

View file

@ -56,8 +56,12 @@
<div class="form-group">
<label>Logo</label>
<div class="horizontal center">
<img class="fileUpload-preview" src="">
<div class="btn btn--success fileUpload">Upload<input type="file" class="js-upload" accept="image/*"></div>
<div class="flex fileUpload-placeholder">
<img class="fileUpload-preview" src="">
</div>
<div class="flex">
<div class="btn btn--success fileUpload"><%- @T('Upload') %><input type="file" class="js-upload" accept="image/*"></div>
</div>
</div>
</div>
<div class="form-group">

View file

@ -4195,8 +4195,14 @@ label + .wizard-buttonList {
}
}
.setup.wizard .fileUpload-placeholder {
border: dotted 1px #eee;
height: 100px;
}
.setup.wizard .fileUpload-preview {
height: 36px;
max-height: 100px;
max-width: 180px;
}
.setup.wizard .fileUpload-preview:not([src=""]) + .fileUpload {