flightlesssomething/templates/benchmark_create.tmpl

41 lines
1.6 KiB
Cheetah
Raw Normal View History

2024-07-04 22:29:32 +02:00
{{template "header.tmpl" .}}
<div class="d-flex justify-content-between align-items-center">
<h2>New benchmark</h2>
</div>
<form action="/benchmark" method="post" enctype="multipart/form-data">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Title</label>
2024-07-07 12:35:20 +02:00
<input type="text" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Title of your benchmark" required name="title" maxlength="100">
<div id="emailHelp" class="form-text"><small>For example: <code><i>Forza Horizon 5: BORE vs SCX schedulers</i></code></small></div>
2024-07-04 22:29:32 +02:00
</div>
<div class="mb-3">
2024-07-07 12:35:20 +02:00
<label for="exampleInputPassword1" class="form-label">Description <small>(optional)</small></label>
<textarea id="exampleInputPassword1" class="form-control" rows="4" placeholder="Description of your benchmark" name="description" maxlength="500"></textarea>
2024-07-04 22:29:32 +02:00
</div>
<div class="mb-3">
<label for="inputGroupFile01" class="form-label">CSV file(s)</label>
<input type="file" class="form-control" id="inputGroupFile01" required multiple name="files">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
2024-07-07 12:35:20 +02:00
<div class="d-flex justify-content-between align-items-center">
<h2 class="mt-3">Notes:</h2>
</div>
<ul>
2024-07-12 16:11:50 +02:00
<li>Filename (without the extension) is the name of the label.
2024-07-07 12:35:20 +02:00
<ul>
<li>You cannot rename once benchmark is submitted.</li>
</ul>
</li>
<li>You can upload at max 50 CSV files for a single benchmark.
</li>
2024-07-12 16:11:50 +02:00
<li>Only MangoHUD (*.csv) and Afterburner (*.hml) formats are supported.
2024-07-07 12:35:20 +02:00
</li>
</ul>
2024-07-04 22:29:32 +02:00
{{template "footer.tmpl" .}}