2022-01-05 15:10:18 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block main %}
|
2022-01-07 16:55:40 +01:00
|
|
|
<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>
|
2022-01-05 19:36:18 +01:00
|
|
|
<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-05 19:36:18 +01:00
|
|
|
{{ uploadform.submit }}
|
2022-01-07 16:55:40 +01:00
|
|
|
</fieldset>
|
2022-01-05 19:36:18 +01:00
|
|
|
</form>
|
2022-01-07 16:55:40 +01:00
|
|
|
{% if success %}
|
|
|
|
<p>Your file has been uploaded successfully</h2>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div id="theme" class="workflow">
|
|
|
|
<h3>Step 2: Theme</h3>
|
2022-01-05 19:36:18 +01:00
|
|
|
<p>dropdown css file selector</p>
|
2022-01-07 16:55:40 +01:00
|
|
|
</div>
|
|
|
|
<div id="edit" class="workflow">
|
|
|
|
<h3>Step 3: Edit</h3>
|
2022-01-05 19:36:18 +01:00
|
|
|
<p>go to CSS editor</p>
|
2022-01-07 16:55:40 +01:00
|
|
|
</div>
|
|
|
|
<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-05 19:36:18 +01:00
|
|
|
|
2022-01-05 15:10:18 +01:00
|
|
|
{% endblock main %}
|