primitive version of workflow config form (not working)
This commit is contained in:
58
rowers/templates/workflowconfig.html
Normal file
58
rowers/templates/workflowconfig.html
Normal file
@@ -0,0 +1,58 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Change Rower Export Settings{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<script type="text/javascript" src="/static/js/reorderSelect.js"></script>
|
||||
|
||||
<div class="grid_12 alpha">
|
||||
<h1>Workflow Page Configuration</h1>
|
||||
<p>
|
||||
Here, you can configure which elements, and in which order, are visible on the Workflow page.
|
||||
</p>
|
||||
<p>
|
||||
Select the elements you want to have in each panel. You can select multiple by holding down Control while clicking on an item. Similarly, you can unselect one item by holding down Control while clicking. Use the arrows to change the order by moving selected items up, resp down. Press the Save button to store your configuration.
|
||||
</p>
|
||||
<form enctype="multipart/form-data" action="" method="post">
|
||||
<div class="grid_4 alpha">
|
||||
<p>
|
||||
{% if formleft.errors %}
|
||||
<p style="color: red;">
|
||||
Please correct the error{{ formleft.errors|pluralize }} below.
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<table>
|
||||
{{ formleft.as_table }}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
</p>
|
||||
</div>
|
||||
<div class="grid_2">
|
||||
<img src="/static/img/moveup.gif" alt="Move Up" onclick="moveUp('id_leftpanel')" onmouseover="style.cursor=pointer;" /><br />
|
||||
<img src="/static/img/movedn.gif" alt="Move Down" onclick="moveDown('id_leftpanel')" />
|
||||
</div>
|
||||
<div class="grid_4">
|
||||
<p>
|
||||
{% if formmiddle.errors %}
|
||||
<p style="color: red;">
|
||||
Please correct the error{{ formmiddle.errors|pluralize }} below.
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<table>
|
||||
{{ formmiddle.as_table }}
|
||||
</table>
|
||||
</div>
|
||||
<div class="grid_2 omega">
|
||||
<img src="/static/img/moveup.gif" alt="Move Up" onclick="moveUp('id_middlepanel')" onmouseover="style.cursor=pointer;" /><br />
|
||||
<img src="/static/img/movedn.gif" alt="Move Down" onclick="moveDown('id_middlepanel')" />
|
||||
</div>
|
||||
<div class="grid_4 prefix_4 suffix_4">
|
||||
<input class="grid_4 button green" type="submit" value="Save">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user