|
|
|
<div id="distribusi" class="workflow">
|
|
|
|
<h2>Welcome back to your Distribusi</h2>
|
|
|
|
<p>You have already uploaded a distribusi website:</p>
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="{{ url_for('selector') }}">
|
|
|
|
{{ selectorform.csrf_token }}
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ selectorform.distribusis.label }}
|
|
|
|
<div class="selector-style">
|
|
|
|
{{ selectorform.distribusis }}
|
|
|
|
{% for message in selectorform.distribusis.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<p>You can update your distribusi.
|
|
|
|
When you upload new files, they will <strong>replace</strong> the old ones.</p>
|
|
|
|
<fieldset class="button required multiselect update">
|
|
|
|
{{ selectorform.update }}
|
|
|
|
</fieldset>
|
|
|
|
<hr>
|
|
|
|
<p>
|
|
|
|
This will delete your distribusi site.
|
|
|
|
<strong> This action cannot be undone! </strong>
|
|
|
|
</p>
|
|
|
|
<fieldset class="button required multiselect delete">
|
|
|
|
{{ selectorform.delete }}
|
|
|
|
{% for message in selectorform.delete.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
|
|
|
<hr>
|
|
|
|
{% if limit_reached %}
|
|
|
|
<p>You have reached your limit of distribusi websites</p>
|
|
|
|
{% else %}
|
|
|
|
<p>Alternatively you can make a new site</p>
|
|
|
|
<fieldset class="button required multiselect">
|
|
|
|
{{ selectorform.new }}
|
|
|
|
</fieldset>
|
|
|
|
{% endif %}
|
|
|
|
</form>
|
|
|
|
</div>
|