crunk
3 years ago
9 changed files with 176 additions and 48 deletions
@ -0,0 +1,3 @@ |
|||||
|
* |
||||
|
*/ |
||||
|
!.gitignore |
@ -0,0 +1,3 @@ |
|||||
|
* |
||||
|
*/ |
||||
|
!.gitignore |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 4.5 KiB |
@ -1,50 +1,55 @@ |
|||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||
{% block main %} |
{% block main %} |
||||
<div id="upload" class="workflow"> |
<div id="mainworkflow"> |
||||
<h3>Step 1: Upload</h3> |
|
||||
<p>Upload your files here, the only accepted file type is a zip file</p> |
<div id="upload" class="workflow"> |
||||
<form method="POST" enctype="multipart/form-data" action="{{ url_for('upload') }}"> |
<h3>Step 1: Upload</h3> |
||||
{{ uploadform.csrf_token }} |
<p>Upload your files here, the only accepted file type is a zip file</p> |
||||
<fieldset class="required"> |
<form method="POST" enctype="multipart/form-data" action="{{ url_for('upload') }}"> |
||||
{{ uploadform.sitename.label }} |
{{ uploadform.csrf_token }} |
||||
{{ uploadform.sitename }} |
<fieldset class="required"> |
||||
{% for message in uploadform.sitename.errors %} |
{{ uploadform.sitename.label }} |
||||
<div class="error">{{ message }}</div> |
{{ uploadform.sitename }} |
||||
{% endfor %} |
{% for message in uploadform.sitename.errors %} |
||||
</fieldset> |
<div class="error">{{ message }}</div> |
||||
<fieldset class="required"> |
{% endfor %} |
||||
{{ uploadform.zipfile.label }} |
</fieldset> |
||||
{{ uploadform.zipfile }} |
<fieldset class="required"> |
||||
{% for message in uploadform.zipfile.errors %} |
{{ uploadform.zipfile.label }} |
||||
<div class="error">{{ message }}</div> |
{{ uploadform.zipfile }} |
||||
{% endfor %} |
{% for message in uploadform.zipfile.errors %} |
||||
</fieldset> |
<div class="error">{{ message }}</div> |
||||
<fieldset class="button required"> |
{% endfor %} |
||||
{{ uploadform.submit }} |
</fieldset> |
||||
</fieldset> |
|
||||
</form> |
|
||||
{% if success %} |
|
||||
<p>Your file has been uploaded successfully</h2> |
|
||||
{% endif %} |
|
||||
</div> |
|
||||
<div id="theme" class="workflow"> |
|
||||
<h3>Step 2: Theme</h3> |
|
||||
<p>dropdown css file selector</p> |
|
||||
</div> |
|
||||
<div id="edit" class="workflow"> |
|
||||
<h3>Step 3: Edit</h3> |
|
||||
<p>go to CSS editor</p> |
|
||||
</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"> |
<fieldset class="button required"> |
||||
{{ distribusiform.submit }} |
{{ uploadform.submit }} |
||||
</fieldset> |
</fieldset> |
||||
</form> |
</form> |
||||
|
{% 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"> |
||||
|
<h3>Step 2: Theme</h3> |
||||
|
<p>dropdown css file selector</p> |
||||
|
</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> |
||||
</div> |
</div> |
||||
|
|
||||
{% endblock main %} |
{% endblock main %} |
||||
|
Loading…
Reference in new issue