2022-01-05 15:10:18 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block main %}
|
2022-01-09 14:40:40 +01:00
|
|
|
<div id="mainworkflow">
|
|
|
|
|
|
|
|
<div id="upload" class="workflow">
|
|
|
|
<h3>Step 1: Upload</h3>
|
|
|
|
<p>Upload your files here, the only accepted file type is a zip file</p>
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="{{ url_for('upload') }}">
|
|
|
|
{{ uploadform.csrf_token }}
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.sitename.label }}
|
|
|
|
{{ uploadform.sitename }}
|
|
|
|
{% for message in uploadform.sitename.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.zipfile.label }}
|
|
|
|
{{ uploadform.zipfile }}
|
|
|
|
{% for message in uploadform.zipfile.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
2022-01-07 16:55:40 +01:00
|
|
|
<fieldset class="button required">
|
2022-01-09 14:40:40 +01:00
|
|
|
{{ uploadform.submit }}
|
2022-01-07 16:55:40 +01:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
2022-01-09 14:40:40 +01:00
|
|
|
{% if success %}
|
|
|
|
<p>Your file has been uploaded successfully</h2>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<img src="{{ url_for('static', filename='svg/arrow_1.svg')}}" />
|
|
|
|
<div id="theme" class="workflow">
|
2022-01-09 17:22:38 +01:00
|
|
|
<h3>(Optional) Step 2: Theme</h3>
|
|
|
|
<p>Select your Theme here. If you want your own custom css, skip and go to
|
|
|
|
step 3. Don't forget to press Save</p>
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="{{ url_for('theme') }}">
|
|
|
|
{{ themeform.csrf_token }}
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ themeform.theme.label }}
|
|
|
|
{{ themeform.theme }}
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="button required">
|
|
|
|
{{ themeform.save }}
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
2022-01-09 14:40:40 +01:00
|
|
|
</div>
|
|
|
|
<img src="{{ url_for('static', filename='svg/arrow_2.svg')}}" />
|
|
|
|
<div id="edit" class="workflow">
|
|
|
|
<h3>(Optional) Step 3: Edit</h3>
|
|
|
|
<p>go to CSS editor</p>
|
|
|
|
</div>
|
|
|
|
<img src="{{ url_for('static', filename='svg/arrow_3.svg')}}" />
|
|
|
|
<div id="distribusi" class="workflow">
|
|
|
|
<h3>Step 4: Distribusi</h3>
|
|
|
|
<p>run distribusi on your files, this will generate your website and make
|
|
|
|
your content public.</p>
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="{{ url_for('distribusi') }}">
|
|
|
|
{{ distribusiform.csrf_token }}
|
|
|
|
<fieldset class="button required">
|
|
|
|
{{ distribusiform.submit }}
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|
2022-01-07 16:55:40 +01:00
|
|
|
</div>
|
2022-01-05 15:10:18 +01:00
|
|
|
{% endblock main %}
|