Leviathan/views/benchmark/add.twig

41 lines
1.3 KiB
Twig
Raw Normal View History

2023-11-27 00:42:42 -05:00
{% extends 'layouts/default.twig' %}
{% block title %}Add a Benchmark{% endblock %}
{% block content %}
<div class="row">
<h2>Add a benchmark</h2>
<form class="twelve columns" action="/benchmark/add" method="POST">
<div class="row">
<div class="nine columns">
<label for="benchmark_name">
Benchmark name:
<input id="benchmark_name" class="u-full-width" type="text" name="benchmark_name" placeholder="My hardware benchmarking benchmark">
</label>
</div>
<div class="three columns">
<label for="benchmark_scoring">
Scoring type:
<select id="benchmark_scoring" class="u-full-width" name="benchmark_scoring">
<option value="fps">Frames per second</option>
<option value="pts">Total points</option>
<option value="time">Frame time</option>
</select>
</label>
</div>
</div>
<div class="row">
<label for="benchmark_description">
Benchmark description:
<textarea id="benchmark_description" class="twelve columns" cols="30" rows="10" name="benchmark_description"></textarea>
</label>
</div>
<input class="button-primary u-full-width" type="submit" value="Submit">
</form>
</div>
{% endblock %}