Remove protocol from new test submission, rely on base configuration

This commit is contained in:
AndyGrant committed 2019-10-21 22:10:39 -04:00
1 parent 81e791abec
commit 2f789b5a2e
2 files changed
+5 -12

No files matched your search

-8
View File
@@ -6,7 +6,6 @@
var configurations = {
{% for name, data in config.engines.items %}
'{{name}}' : {
'proto' : "{{data.proto}}",
'stc' : {
"threads" : "{{data.stc.threads}}",
"hash" : "{{data.stc.hash}}",
@@ -44,14 +43,11 @@
var threads = configurations[engine][mode]["threads"];
var hash = configurations[engine][mode]["hash"];
var timecontrol = configurations[engine][mode]["timecontrol"];
var protocol = configurations[engine]["proto"];
// Adjust all the fields to auto-fill the settings
document.getElementById("devoptions").value = "Threads=" + threads + " Hash=" + hash;
document.getElementById("baseoptions").value = "Threads=" + threads + " Hash=" + hash;
document.getElementById("timecontrol").value = timecontrol;
document.getElementById("devprotocol").value = protocol;
document.getElementById("baseprotocol").value = protocol;
}
{% endblock %}
{% block content %}
@@ -73,16 +69,12 @@
<input name="devbench"></br>
<label> Dev Options </label>
<input id="devoptions" name="devoptions"></br>
<label> Dev Protocol </label>
<input id="devprotocol" name="devprotocol"></br>
<label> Base Branch </label>
<input value="master" name="basebranch"></br>
<label> Base Bench </label>
<input name="basebench"></br>
<label> Base Options </label>
<input id="baseoptions" name="baseoptions"></br>
<label> Base Protocol </label>
<input id="baseprotocol" name="baseprotocol"></br>
<label> Source </label>
<input value="{{profile.repo}}" name="source"></br>
<label> Opening Book </label>