Added preview for

- Video (HTML5)
- Audio (HTML5)
- PDF (Browser capabilities)
attachment.
Added drag & drop functionality
Added attachment preview to preview before submitting
This commit is contained in:
thororm 2017-02-12 15:35:37 +01:00
parent dd721c651b
commit faf596aeb7
8 changed files with 238 additions and 58 deletions

View file

@ -64,12 +64,25 @@ body.navbar-spacing {
margin-right: 8px;
}
#image img {
#attachmentPreview img {
max-width: 100%;
height: auto;
margin-bottom: 20px;
}
#attachmentPreview .pdfPreview {
width: 100%;
height: 100vh;
margin-bottom: 20px;
}
.dragAndDropFile{
color:#777;
font-size:1em;
display:inline;
}
#deletelink {
float: right;
}