{% 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 %}
