mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 09:15:41 +00:00
88 lines
3.2 KiB
Django/Jinja
88 lines
3.2 KiB
Django/Jinja
{% extends "nopaque.html.j2" %}
|
|
{% import 'materialize/wtf.html.j2' as wtf %}
|
|
{% from '_constants.html.j2' import COLORS %}
|
|
|
|
{% set scheme_color = COLORS.file_setup_darken %}
|
|
|
|
{% block nav_content %}
|
|
{% include 'services/_nav_content.html.j2' %}
|
|
{% endblock nav_content %}
|
|
|
|
{% block main_attribs %} class="file-setup-color lighten"{% endblock main_attribs %}
|
|
|
|
{% block page_content %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<p class="hide-on-small-only"> </p>
|
|
<h1 id="title">{{ title }}</h1>
|
|
</div>
|
|
|
|
<div class="col s12 m3 push-m9">
|
|
<div class="center-align">
|
|
<p class="hide-on-small-only"> </p>
|
|
<p class="hide-on-small-only"> </p>
|
|
<a class="btn-floating btn-large waves-effect waves-light" style="transform: scale(2);">
|
|
<i class="material-icons service" data-service="file-setup"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col s12 m9 pull-m3">
|
|
<div class="card" style="border-top: 10px solid {{ COLORS.file_setup_darken }};">
|
|
<div class="card-content">
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<div class="card-panel z-depth-0">
|
|
<span class="card-title"><i class="left material-icons">layers</i>Merge process</span>
|
|
<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 PDF file.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col s12">
|
|
<h2>Submit a job</h2>
|
|
<div class="card">
|
|
<form class="nopaque-submit-form" data-progress-modal="progress-modal">
|
|
<div class="card-content">
|
|
{{ add_job_form.hidden_tag() }}
|
|
<div class="row">
|
|
<div class="col s12 l4">
|
|
{{ wtf.render_field(add_job_form.title, data_length='32', material_icon='title') }}
|
|
</div>
|
|
<div class="col s12 l8">
|
|
{{ wtf.render_field(add_job_form.description, data_length='255', material_icon='description') }}
|
|
</div>
|
|
<div class="col s12">
|
|
{{ wtf.render_field(add_job_form.files, accept='image/jpeg, image/png, image/tiff', placeholder='Choose your .jpeg, .png or .tiff files') }}
|
|
</div>
|
|
<div class="col s12 hide">
|
|
{{ wtf.render_field(add_job_form.version, material_icon='apps') }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-action right-align">
|
|
{{ wtf.render_field(add_job_form.submit, material_icon='send') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="progress-modal" class="modal">
|
|
<div class="modal-content">
|
|
<h4><i class="material-icons prefix">file_upload</i> Uploading files...</h4>
|
|
<div class="progress">
|
|
<div class="determinate" style="width: 0%"></div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<a href="#!" class="modal-close waves-effect waves-light btn red abort-request">Cancel</a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|