XBackBone/resources/templates/upload/web.twig

36 lines
1.5 KiB
Twig
Raw Normal View History

2019-11-13 15:23:10 +00:00
{% extends 'base.twig' %}
{% block title %}{{ lang('upload') }}{% endblock %}
{% block content %}
{% include 'comp/navbar.twig' %}
<div class="container">
{% include 'comp/alert.twig' %}
2020-04-05 12:53:22 +00:00
<div class="alert alert-success alert-permanent">
{{ lang('upload_max_file_size', [max_file_size]) }}
</div>
2019-11-13 15:23:10 +00:00
<div class="card shadow-sm">
<div class="card-body">
<div class="row mb-3">
<div class="col-10">
<div class="progress h-100">
<div class="progress-bar progress-bar-animated progress-bar-striped" style="width: 0;" id="uploadProgess"></div>
</div>
</div>
<div class="col-2 text-center">
<button type="button" class="btn btn-sm btn-outline-danger btn-block" onclick="Dropzone.instances[0].removeAllFiles(true)" data-toggle="tooltip" title="{{ lang('cancel') }}"><i class="fas fa-times"></i></button>
</div>
2019-11-19 13:52:44 +00:00
</div>
<div class="row">
<div class="col">
2020-03-02 18:16:11 +00:00
<form action="{{ route('upload.web') }}" method="post" id="upload-dropzone" class="dropzone">
<div class="fallback">
<input name="file" type="file" multiple>
</div>
</form>
2019-11-13 15:23:10 +00:00
</div>
</div>
2019-11-13 15:23:10 +00:00
</div>
</div>
</div>
{% endblock %}