Re-worked test views and routes for new DB schema
This commit is contained in:
@ -14,16 +14,33 @@
|
||||
<div class="twelve columns">
|
||||
<form action="{{ url_for('test.add') }}" method="POST" class="u-full-width">
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
<label for="test_name">Test name:</label>
|
||||
<input type="text" id="test_name" class="u-full-width" name="test_name">
|
||||
<div class="two columns">
|
||||
<label>
|
||||
Date Tag:
|
||||
<input class="u-full-width" type="text" name="test_date_tag" placeholder="(XY/AB)">
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
<label for="test_description">Description</label>
|
||||
<textarea class="u-full-width" name="test_description" id="test_description" placeholder="Describe this test..."></textarea>
|
||||
<div class="five columns">
|
||||
<label>
|
||||
Benchmark:
|
||||
<select class="u-full-width" name="test_benchmark">
|
||||
{% for b in benchmarks %}
|
||||
<option value="{{ b.id }}">{{ b.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="five columns">
|
||||
<label>
|
||||
Hardware component:
|
||||
<select class="u-full-width" name="test_component">
|
||||
{% for c in components %}
|
||||
<option value="{{ c.id }}">{{ c.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user