game-data/views/benchmark/add.erb

38 lines
1.0 KiB
Plaintext

<div class="grid-x grid-margin-x">
<div class="cell small-12">
<h1>Add new benchmark</h1>
</div>
</div>
<div class="grid-x grid-margin-x">
<form class="cell small-12" action="/benchmark/add" method="post">
<div class="grid-x grid-padding-x">
<div class="cell medium-9">
<label>
Benchmark name
<input type="text" name="benchmark_name" placeholder="Example benchmark">
</label>
</div>
<div class="cell medium-3">
<label>
Scoring type
<select name="benchmark_scoring">
<option value="fps">Frames per Second (fps)</option>
<option value="ms">Frame Time (ms)</option>
<option value="pts">Total Points</option>
</select>
</label>
</div>
</div>
<div class="grid-x grid-padding-x">
<textarea name="benchmark_description" class="cell small-12">Enter a description/notes here.</textarea>
</div>
<input type="submit" class="button" value="Submit">
</form>
</div>