Make the newTest forum more viewable
This commit is contained in:
1 parent
2f789b5a2e
commit
ed0b5693c8
2 files changed
+99
-56
No files matched your search
@@ -26,7 +26,7 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
|
|
||||||
#sidebar .header {
|
#sidebar .header {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #008888;
|
color: #00CCFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
@@ -36,8 +36,9 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content label {
|
#content label {
|
||||||
width: 180px;
|
width: 150px;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
|
text-align: right;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -47,7 +48,7 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
margin: 2px 0px;
|
margin: 2px 0px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
width: 400px;
|
width: 320px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
@@ -246,3 +247,32 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content form h3 {
|
||||||
|
margin-left: 160px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
color: #00CCFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content form #left-settings {
|
||||||
|
float: left;
|
||||||
|
padding-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content form #right-settings {
|
||||||
|
float: left;
|
||||||
|
padding-bottom: 4px;
|
||||||
|
padding-left: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #test-mode-buttons button {
|
||||||
|
width: 49.8%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #test-mode-buttons .left-floated {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #test-mode-buttons .right-floated {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
@@ -53,58 +53,71 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<form method="POST" action="/newTest/">
|
<form method="POST" action="/newTest/">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<label> Engine Name </label>
|
<div id="left-settings">
|
||||||
<select id="enginename" name="enginename" onchange="configure(testMode)">
|
<h3> Engine </h3>
|
||||||
{% for name, data in config.engines.items %}
|
<label> Engine Name </label>
|
||||||
{% if data.default %}
|
<select id="enginename" name="enginename" onchange="configure(testMode)">
|
||||||
<option selected value="{{name}}">{{data.name}}</option>
|
{% for name, data in config.engines.items %}
|
||||||
{% else %}
|
{% if data.default %}
|
||||||
<option value="{{name}}">{{data.name}}</option>
|
<option selected value="{{name}}">{{data.name}}</option>
|
||||||
{% endif %}
|
{% else %}
|
||||||
{% endfor %}
|
<option value="{{name}}">{{data.name}}</option>
|
||||||
</select><br>
|
{% endif %}
|
||||||
<label> Dev Branch </label>
|
{% endfor %}
|
||||||
<input name="devbranch" autofocus></br>
|
</select><br>
|
||||||
<label> Dev Bench </label>
|
<label> Source </label>
|
||||||
<input name="devbench"></br>
|
<input value="{{profile.repo}}" name="source"></br>
|
||||||
<label> Dev Options </label>
|
<h3> DEV SETTINGS </h3>
|
||||||
<input id="devoptions" name="devoptions"></br>
|
<label> Dev Branch </label>
|
||||||
<label> Base Branch </label>
|
<input name="devbranch" autofocus></br>
|
||||||
<input value="master" name="basebranch"></br>
|
<label> Dev Bench </label>
|
||||||
<label> Base Bench </label>
|
<input name="devbench"></br>
|
||||||
<input name="basebench"></br>
|
<label> Dev Options </label>
|
||||||
<label> Base Options </label>
|
<input id="devoptions" name="devoptions"></br>
|
||||||
<input id="baseoptions" name="baseoptions"></br>
|
<h3> BASE SETTINGS </h3>
|
||||||
<label> Source </label>
|
<label> Base Branch </label>
|
||||||
<input value="{{profile.repo}}" name="source"></br>
|
<input value="master" name="basebranch"></br>
|
||||||
<label> Opening Book </label>
|
<label> Base Bench </label>
|
||||||
<select name="bookname">
|
<input name="basebench"></br>
|
||||||
{% for name, data in config.books.items %}
|
<label> Base Options </label>
|
||||||
{% if data.default %}
|
<input id="baseoptions" name="baseoptions"></br>
|
||||||
<option selected value="{{name}}">{{data.name}}</option>
|
</div>
|
||||||
{% else %}
|
<div id="right-settings">
|
||||||
<option value="{{name}}">{{data.name}}</option>
|
<h3> GAME SETTINGS </h3>
|
||||||
{% endif %}
|
<label> Opening Book </label>
|
||||||
{% endfor %}
|
<select name="bookname">
|
||||||
</select></br>
|
{% for name, data in config.books.items %}
|
||||||
<label> Time Control </label>
|
{% if data.default %}
|
||||||
<input id="timecontrol" name="timecontrol"></br>
|
<option selected value="{{name}}">{{data.name}}</option>
|
||||||
<label> Priority </label>
|
{% else %}
|
||||||
<input value="0" name="priority"></br>
|
<option value="{{name}}">{{data.name}}</option>
|
||||||
<label> Throughput </label>
|
{% endif %}
|
||||||
<input value="1000" name="throughput"></br>
|
{% endfor %}
|
||||||
<label> Lower Bound </label>
|
</select></br>
|
||||||
<input value="{{config.sprt.elolower}}" name="elolower"></br>
|
<label> Time Control </label>
|
||||||
<label> Upper Bound </label>
|
<input id="timecontrol" name="timecontrol"></br>
|
||||||
<input value="{{config.sprt.eloupper}}" name="eloupper"></br>
|
<h3> TEST SETTINGS </h3>
|
||||||
<label> Alpha </label>
|
<label> Priority </label>
|
||||||
<input value="{{config.sprt.alpha}}" name="alpha"></br>
|
<input value="0" name="priority"></br>
|
||||||
<label> Beta </label>
|
<label> Throughput </label>
|
||||||
<input value="{{config.sprt.beta}}" name="beta"></br>
|
<input value="1000" name="throughput"></br>
|
||||||
<input type="submit" name="submit" value="Create Engine Test">
|
<h3> SPRT SETTINGS </h3>
|
||||||
|
<label> Lower Bound </label>
|
||||||
|
<input value="{{config.sprt.elolower}}" name="elolower"></br>
|
||||||
|
<label> Upper Bound </label>
|
||||||
|
<input value="{{config.sprt.eloupper}}" name="eloupper"></br>
|
||||||
|
<label> Alpha </label>
|
||||||
|
<input value="{{config.sprt.alpha}}" name="alpha"></br>
|
||||||
|
<label> Beta </label>
|
||||||
|
<input value="{{config.sprt.beta}}" name="beta"></br>
|
||||||
|
</div>
|
||||||
|
<br><input type="submit" name="submit" value="Create Engine Test"><br>
|
||||||
</form>
|
</form>
|
||||||
<button onClick="configure('stc')">Setup STC</button>
|
<div id="test-mode-buttons">
|
||||||
<button onClick="configure('ltc')">Setup LTC</button><br>
|
<button class="left-floated"onClick="configure('stc')">Setup STC</button>
|
||||||
<button onClick="configure('smpstc')">Setup SMP STC</button>
|
<button class="right-floated"onClick="configure('ltc')">Setup LTC</button><br>
|
||||||
<button onClick="configure('smpltc')">Setup SMP LTC</button>
|
<button class="left-floated"onClick="configure('smpstc')">Setup SMP STC</button>
|
||||||
|
<button class="right-floated"onClick="configure('smpltc')">Setup SMP LTC</button>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
Reference in new issue
Block a user