2018-06-02 22:53:35 +00:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header font-weight-bold">New Post</div>
|
|
|
|
<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/*">
|
|
|
|
<small class="form-text text-muted">
|
|
|
|
Max Size: @maxFileSize(). Supported formats: jpeg, png, gif, bmp.
|
|
|
|
</small>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="font-weight-bold text-muted small">Caption</label>
|
2018-06-09 22:29:36 +00:00
|
|
|
<input type="text" class="form-control" name="caption" placeholder="Add a caption here" autocomplete="off">
|
2018-06-02 22:53:35 +00:00
|
|
|
<small class="form-text text-muted">
|
|
|
|
Max length: {{config('pixelfed.max_caption_length')}} characters.
|
|
|
|
</small>
|
|
|
|
</div>
|
2018-06-09 22:29:36 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="font-weight-bold text-muted small">CW/NSFW</label>
|
|
|
|
<div class="switch switch-sm">
|
|
|
|
<input type="checkbox" class="switch" id="cw-switch" name="cw">
|
|
|
|
<label for="cw-switch" class="small font-weight-bold">(Default off)</label>
|
|
|
|
</div>
|
|
|
|
<small class="form-text text-muted">
|
|
|
|
Please mark all NSFW and controversial content, as per our content policy.
|
|
|
|
</small>
|
|
|
|
</div>
|
2018-06-02 22:53:35 +00:00
|
|
|
<button type="submit" class="btn btn-outline-primary btn-block">Post</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|