mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-11 00:54:50 +00:00
Make file input look nicer
This commit is contained in:
parent
785d6af99f
commit
580d0d8a96
1 changed files with 6 additions and 3 deletions
|
@ -13,9 +13,12 @@
|
|||
<div class="card-body" id="statusForm">
|
||||
<form method="post" action="/timeline" enctype="multipart/form-data">
|
||||
@csrf
|
||||
<div class="form-group">
|
||||
<label class="font-weight-bold text-muted small">Upload Image</label>
|
||||
<input type="file" class="form-control-file" name="photo" accept="image/*">
|
||||
<div class="custom-file">
|
||||
<label class="custom-file-label">
|
||||
<span class="icon-picture mr-1"></span>
|
||||
Upload Image
|
||||
</label>
|
||||
<input type="file" class="custom-file-input" name="photo" accept="image/*">
|
||||
<small class="form-text text-muted">
|
||||
Max Size: @maxFileSize(). Supported formats: jpeg, png, gif, bmp.
|
||||
</small>
|
||||
|
|
Loading…
Reference in a new issue