nopaque/app/templates/services/setup_files.html.j2

95 lines
3.5 KiB
Plaintext
Raw Normal View History

2020-02-07 14:21:59 +00:00
{% extends "nopaque.html.j2" %}
2020-02-25 08:59:49 +00:00
{% set headline = '<i class="material-icons left service" data-service="setup_files" style="font-size: inherit;"></i>File setup' %}
2020-02-20 09:13:35 +00:00
2020-01-07 13:39:01 +00:00
{% block page_content %}
2020-02-18 14:31:10 +00:00
<div class="col s12 m9 l10">
2020-03-02 09:42:25 +00:00
<div class="card">
<div class="card-content">
<div class="row">
<div class="col s12">
<div class="card-panel z-depth-0">
2020-02-18 14:31:10 +00:00
<span class="card-title"><i class="left material-icons">layers</i>Merge process</span>
2020-03-02 09:42:25 +00:00
<p>nopaque converts and merges your files in its cloud infrastructure to facilitate further processing and the application of other services. You only have to number your files in the correct order to receive a multi-page TIFF file.</p>
2020-02-18 14:31:10 +00:00
</div>
2020-01-07 13:39:01 +00:00
</div>
</div>
</div>
</div>
2020-03-02 09:42:25 +00:00
<h3>Submit a job</h3>
<div class="card">
<form class="nopaque-job-form" data-progress-modal="progress-modal">
<div class="card-content">
{{ add_job_form.hidden_tag() }}
<div class="row">
<div class="col s12 l4">
<div class="input-field">
<i class="material-icons prefix">title</i>
{{ add_job_form.title(data_length='32') }}
{{ add_job_form.title.label }}
{% for error in add_job_form.title.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
2020-01-07 13:39:01 +00:00
</div>
2020-03-02 09:42:25 +00:00
</div>
<div class="col s12 l8">
<div class="input-field">
<i class="material-icons prefix">description</i>
{{ add_job_form.description(data_length='255') }}
{{ add_job_form.description.label }}
{% for error in add_job_form.description.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
2020-02-18 14:31:10 +00:00
</div>
2020-03-02 09:42:25 +00:00
</div>
<div class="col s12">
<div class="file-field input-field">
<div class="btn">
<span>{{ add_job_form.files.label.text }}</span>
{{ add_job_form.files(accept='image/jpeg, image/png, image/tiff') }}
2020-01-07 13:39:01 +00:00
</div>
2020-03-02 09:42:25 +00:00
<div class="file-path-wrapper">
<input class="file-path validate" type="text">
2020-02-18 14:31:10 +00:00
</div>
2020-03-02 09:42:25 +00:00
{% for error in add_job_form.files.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
</div>
<div class="col s12 hide">
<div class="input-field">
<i class="material-icons prefix">apps</i>
{{ add_job_form.version() }}
{{ add_job_form.version.label }}
{% for error in add_job_form.version.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
2020-01-07 13:39:01 +00:00
</div>
</div>
</div>
2020-03-02 09:42:25 +00:00
</div>
<div class="card-action right-align">
{{ macros.submit_button(add_job_form.submit) }}
</div>
</form>
2020-01-07 13:39:01 +00:00
</div>
</div>
2020-02-18 14:31:10 +00:00
<div class="col hide-on-small-only m3 l2">
{% include 'services/roadmap.html.j2' %}
</div>
2020-01-07 13:39:01 +00:00
<div id="progress-modal" class="modal">
<div class="modal-content">
<h4><i class="material-icons prefix">file_upload</i> Uploading files for <span class="title"></span></h4>
<div class="progress">
<div class="determinate" style="width: 0%"></div>
</div>
</div>
<div class="modal-footer">
2020-02-20 14:59:08 +00:00
<a href="#!" class="modal-close waves-effect waves-light btn red abort-request">Cancel</a>
2020-01-07 13:39:01 +00:00
</div>
</div>
{% endblock %}