1 parent
a8e977da57
commit
21f83a93fe
19 files changed
+1255
-412
No files matched your search
@@ -0,0 +1,315 @@
|
|||||||
|
/* Width classes */
|
||||||
|
.w-25 {
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w-50 {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w-75 {
|
||||||
|
width: 75%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w-100 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mw-25 {
|
||||||
|
max-width: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mw-50 {
|
||||||
|
max-width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mw-75 {
|
||||||
|
max-width: 75%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mw-100 {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Margin and Padding classes */
|
||||||
|
.mt-1 {
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mt-2 {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mt-3 {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mt-4 {
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mt-5 {
|
||||||
|
margin-top: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-1 {
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-2 {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-3 {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-4 {
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-5 {
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ml-1 {
|
||||||
|
margin-left: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ml-2 {
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ml-3 {
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ml-4 {
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ml-5 {
|
||||||
|
margin-left: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mr-1 {
|
||||||
|
margin-right: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mr-2 {
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mr-3 {
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mr-4 {
|
||||||
|
margin-right: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mr-5 {
|
||||||
|
margin-right: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx-1 {
|
||||||
|
margin-left: 0.25rem;
|
||||||
|
margin-right: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx-2 {
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx-3 {
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx-4 {
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
margin-right: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx-5 {
|
||||||
|
margin-left: 3rem;
|
||||||
|
margin-right: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-1 {
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-2 {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-3 {
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-4 {
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-5 {
|
||||||
|
margin-top: 3rem;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-1{
|
||||||
|
padding: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-2{
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-3{
|
||||||
|
padding: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-4{
|
||||||
|
padding: 1.0rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-5{
|
||||||
|
padding: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pt-1 {
|
||||||
|
padding-top: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pt-2 {
|
||||||
|
padding-top: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pt-3 {
|
||||||
|
padding-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pt-4 {
|
||||||
|
padding-top: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pt-5 {
|
||||||
|
padding-top: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pb-1 {
|
||||||
|
padding-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pb-2 {
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pb-3 {
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pb-4 {
|
||||||
|
padding-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pb-5 {
|
||||||
|
padding-bottom: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl-1 {
|
||||||
|
padding-left: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl-2 {
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl-3 {
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl-4 {
|
||||||
|
padding-left: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl-5 {
|
||||||
|
padding-left: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr-1 {
|
||||||
|
padding-right: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr-2 {
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr-3 {
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr-4 {
|
||||||
|
padding-right: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr-5 {
|
||||||
|
padding-right: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.px-1 {
|
||||||
|
padding-left: 0.25rem;
|
||||||
|
padding-right: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.px-2 {
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.px-3 {
|
||||||
|
padding-left: 1rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.px-4 {
|
||||||
|
padding-left: 1.5rem;
|
||||||
|
padding-right: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.px-5 {
|
||||||
|
padding-left: 3rem;
|
||||||
|
padding-right: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.py-1 {
|
||||||
|
padding-top: 0.25rem;
|
||||||
|
padding-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.py-2 {
|
||||||
|
padding-top: 0.5rem;
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.py-3 {
|
||||||
|
padding-top: 1rem;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.py-4 {
|
||||||
|
padding-top: 1.5rem;
|
||||||
|
padding-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.py-5 {
|
||||||
|
padding-top: 3rem;
|
||||||
|
padding-bottom: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,307 @@
|
|||||||
|
body {
|
||||||
|
font-family: "Courier Prime";
|
||||||
|
font-size: 18px;
|
||||||
|
background: #303030;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link, a:visited, a:hover, a:active {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar {
|
||||||
|
float: left;
|
||||||
|
margin: 16px;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar ul {
|
||||||
|
list-style-type: none;
|
||||||
|
padding: 0px 16px 0px 8px;
|
||||||
|
line-height: 1.75;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar li a {
|
||||||
|
color: #A2A2A2;
|
||||||
|
padding: 0px 16px;
|
||||||
|
font-size: 1.0rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar li:hover {
|
||||||
|
background-color: #666666;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar .header {
|
||||||
|
color: #00AF00;
|
||||||
|
padding: 0px 16px;
|
||||||
|
font-size: 1.0rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar .header:hover {
|
||||||
|
background-color: #303030;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
float: left;
|
||||||
|
margin-top: 0;
|
||||||
|
color: #EAEAEA;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content label {
|
||||||
|
width: 128px;
|
||||||
|
padding-right: 10px;
|
||||||
|
text-align: right;
|
||||||
|
display: inline-block;
|
||||||
|
color: #A2A2A2;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content input, #content select {
|
||||||
|
background-color: #BBBBBB;
|
||||||
|
color: #000000;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 1px 0px;
|
||||||
|
width: 320px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content button {
|
||||||
|
padding: 8px 0px;
|
||||||
|
margin: 2px 0px;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 290px;
|
||||||
|
background-color: #777777;
|
||||||
|
color: black;
|
||||||
|
border: none;
|
||||||
|
border-radius: 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content button:hover {
|
||||||
|
background-color: #00AF00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content input[type=submit] {
|
||||||
|
background-color: #00AF00;
|
||||||
|
color: #000000;
|
||||||
|
border: none;
|
||||||
|
border-radius: 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100%;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content input:read-only {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content input:-moz-read-only {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #configuration {
|
||||||
|
float: left;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions {
|
||||||
|
margin-left: 32px;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions h4 {
|
||||||
|
color: #A2A2A2;
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions .anchorbutton {
|
||||||
|
color: #000000;
|
||||||
|
padding: 8px 8px;
|
||||||
|
margin: 0px 8px;
|
||||||
|
border-radius: 16px;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
display: inline-block;
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions .anchorbutton a:hover {
|
||||||
|
background-color: #00AF00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions #approvebutton {
|
||||||
|
background-color: #9DF779;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions #stopbutton {
|
||||||
|
background-color: #EEF788;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions #restartbutton {
|
||||||
|
background-color: #EEF788;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions #deletebutton {
|
||||||
|
background-color: #FA8E8E;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions .deadbutton {
|
||||||
|
background-color: #808080;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions input {
|
||||||
|
width: 260px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions input[type=submit] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .left-align {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content tr:hover {
|
||||||
|
background-color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content th {
|
||||||
|
color: #00AF00;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 100;
|
||||||
|
padding: 7px 12px 5px 12px;
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content td {
|
||||||
|
padding: 7px 12px 5px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .numeric {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content tr {
|
||||||
|
background-color: #202020;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .table-spacer th {
|
||||||
|
background: #303030;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .statblock {
|
||||||
|
line-height: 70%;
|
||||||
|
color: black;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-family: "Courier New";
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .green {
|
||||||
|
background-color: #9DF779
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .yellow {
|
||||||
|
background-color: #EEF788
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .red {
|
||||||
|
background-color: #FA8E8E
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #results {
|
||||||
|
display: inline-block;
|
||||||
|
width: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content table {
|
||||||
|
line-height: 96%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .textcenter {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content strong {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content a:not(.TitleLink) {
|
||||||
|
font-weight: 100;
|
||||||
|
color: #8BBAD6;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content a.redlink {
|
||||||
|
color: #FF4D4D;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content a.unstarred {
|
||||||
|
color: #808080;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content h1, h2, h3 {
|
||||||
|
color: #a7a7a7;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #pagebrowse {
|
||||||
|
text-align: center;
|
||||||
|
margin: 16px 0px 16px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .page {
|
||||||
|
text-align: center;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 8px 0px;
|
||||||
|
width: 5%;
|
||||||
|
background-color: #1A1A1A;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .page:hover {
|
||||||
|
background-color: #00AF00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#error {
|
||||||
|
background-color: #EE7676;
|
||||||
|
padding: 8px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content form h3 {
|
||||||
|
margin-left: 110px;
|
||||||
|
margin-bottom: 2px;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: normal;
|
||||||
|
color: #00AF00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content h4 a {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content form .settings-column {
|
||||||
|
float: left;
|
||||||
|
padding-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #test-mode-buttons button {
|
||||||
|
width: 49.8%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #test-mode-buttons .left-floated {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #test-mode-buttons .right-floated {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
|
||||||
|
#content .form {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .form .col {
|
||||||
|
display: inline-block;
|
||||||
|
width: 50%;
|
||||||
|
white-space: normal;
|
||||||
|
margin-left: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .form .col-full {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
white-space: normal;
|
||||||
|
margin-left: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Styles for screen widths less than 600px */
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
#content .form .col {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .form h3 {
|
||||||
|
font-weight: 700;
|
||||||
|
width: 100%;
|
||||||
|
display: inline-block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 2rem;
|
||||||
|
text-align: left;
|
||||||
|
color: var(--color-font3)
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .form .row {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .row label {
|
||||||
|
width: 25%;
|
||||||
|
min-width: 128px;
|
||||||
|
margin-right: 1rem;
|
||||||
|
text-align: right;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-font2)
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .row input,
|
||||||
|
#content .row select {
|
||||||
|
flex-grow: 1;
|
||||||
|
min-width: 0;
|
||||||
|
border: 1px solid var(--color3);
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 6px;
|
||||||
|
background-color: var(--color2);
|
||||||
|
color: var(--color-font2)
|
||||||
|
}
|
||||||
|
#content .row input[type="file"]{
|
||||||
|
padding: 2px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .row input:focus,
|
||||||
|
#content .row select:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--color3);
|
||||||
|
box-shadow: 0 0 0 3px rgba(77, 144, 254, 0.25);
|
||||||
|
background-color: var(--color2);
|
||||||
|
color: var(--color-font2)
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .row input[type="file"]::file-selector-button {
|
||||||
|
background-color: var(--color3);
|
||||||
|
border: 1px solid var(--color2);
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 4px 6px;
|
||||||
|
color: var(--color-font2);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.3s, border-color 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .row input[type="file"]::file-selector-button:hover {
|
||||||
|
background-color: rgba(77, 144, 254, 0.8);
|
||||||
|
border-color: var(--color2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .form .flex {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
max-width: 100%;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .form .flex button{
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
+226
-250
@@ -1,225 +1,276 @@
|
|||||||
body {
|
|
||||||
font-family: "Courier Prime";
|
|
||||||
font-size: 18px;
|
|
||||||
background: #303030;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:link, a:visited, a:hover, a:active {
|
a:link, a:visited, a:hover, a:active {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #FFFFFF;
|
color: #8BBAD6;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
--color1: #222222;
|
||||||
|
--color2: #2D2D2D;
|
||||||
|
--color3: #3B3B3B;
|
||||||
|
|
||||||
|
--color-font1: #DBDEE1;
|
||||||
|
--color-font2: #949BA4;
|
||||||
|
--color-font3: #008F11;
|
||||||
|
|
||||||
|
background-color: var(--color1);
|
||||||
|
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: "Courier Prime";
|
||||||
|
display:flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
body, html, main{
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
min-width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
float: left;
|
/*float: left;*/
|
||||||
margin: 16px;
|
padding: 60px 16px 16px 16px;
|
||||||
margin-top: 60px;
|
flex-basis: calc(min(300px, max(200px, 15%)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content-parent{
|
||||||
|
flex-grow: 1;
|
||||||
|
justify-content: left;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 2rem;
|
||||||
|
padding-right: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content{
|
||||||
|
max-width: calc(min(100%,1200px));
|
||||||
|
width: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Styles for screen widths less than 600px */
|
||||||
|
@media (max-width: 599px) {
|
||||||
|
#sidebar {
|
||||||
|
flex-basis: 100%;
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content-parent {
|
||||||
|
height: auto;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-basis: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#sidebar ul {
|
#sidebar ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding: 0px 0px 0px 8px;
|
padding: 0px 16px 0px 8px;
|
||||||
line-height: 1.50;
|
line-height: 1.75;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar li {
|
||||||
|
padding: 2px 16px;
|
||||||
|
font-size: 1.0rem;
|
||||||
|
border-radius: 4px;
|
||||||
|
transition: background-color 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar li a {
|
#sidebar li a {
|
||||||
color: #A2A2A2;
|
color: var(--color-font2);
|
||||||
padding: 0px 16px;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar li:hover {
|
#sidebar li:hover {
|
||||||
background-color: #666666;
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sidebar .header {
|
|
||||||
color: #00AF00;
|
|
||||||
padding: 0px 16px;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sidebar .header:hover {
|
|
||||||
background-color: #303030;
|
background-color: #303030;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#sidebar .header {
|
||||||
float: left;
|
color: var(--color-font3);
|
||||||
margin-top: 0;
|
font-size: 1.1rem;
|
||||||
color: #EAEAEA;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content label {
|
|
||||||
width: 128px;
|
|
||||||
padding-right: 10px;
|
|
||||||
text-align: right;
|
|
||||||
display: inline-block;
|
|
||||||
color: #A2A2A2;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content input, #content select {
|
|
||||||
|
|
||||||
background-color: #BBBBBB;
|
|
||||||
color: #000000;
|
|
||||||
padding: 10px;
|
|
||||||
margin: 1px 0px;
|
|
||||||
width: 340px;
|
|
||||||
|
|
||||||
border: 2px solid black;
|
|
||||||
border-radius: 6px;
|
|
||||||
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content button {
|
|
||||||
padding: 8px 0px;
|
|
||||||
margin: 2px 0px;
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: middle;
|
|
||||||
width: 290px;
|
|
||||||
background-color: #777777;
|
|
||||||
color: black;
|
|
||||||
border: none;
|
|
||||||
border-radius: 16px;
|
|
||||||
cursor: pointer;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content button:hover {
|
|
||||||
background-color: #00AF00;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content input[type=submit] {
|
|
||||||
background-color: #00AF00;
|
|
||||||
color: #000000;
|
|
||||||
border: none;
|
|
||||||
border-radius: 16px;
|
|
||||||
cursor: pointer;
|
|
||||||
width: 100%;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content input:read-only {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content input:-moz-read-only {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #configuration {
|
|
||||||
float: left;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions {
|
|
||||||
margin-left: 32px;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions h4 {
|
|
||||||
color: #A2A2A2;
|
|
||||||
font-size: 15px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions .anchorbutton {
|
|
||||||
color: #000000;
|
|
||||||
padding: 8px 8px;
|
|
||||||
margin: 0px 8px;
|
|
||||||
border-radius: 16px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
display: inline-block;
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions .anchorbutton a:hover {
|
|
||||||
background-color: #00AF00;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions #approvebutton {
|
|
||||||
background-color: #9DF779;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions #stopbutton {
|
|
||||||
background-color: #EEF788;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions #restartbutton {
|
|
||||||
background-color: #EEF788;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions #deletebutton {
|
|
||||||
background-color: #FA8E8E;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #actions .deadbutton {
|
|
||||||
background-color: #808080;
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content #actions input {
|
#sidebar hr {
|
||||||
width: 260px;
|
border: 1px var(--color2) solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content #actions input[type=submit] {
|
/* Table Striping, with overriding for the Table Header */
|
||||||
width: 100%;
|
|
||||||
|
#content .stripes tr:nth-child(odd):not(.table-header) {
|
||||||
|
background-color: var(--color1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .left-align {
|
#content .stripes tr:nth-child(even):not(.table-header) {
|
||||||
text-align: left;
|
background-color: var(--color2);
|
||||||
}
|
}
|
||||||
|
|
||||||
#content tr:hover {
|
#content .stripes th {
|
||||||
background-color: #666666;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content th {
|
/* Tables that have hoverable table rows */
|
||||||
color: #00AF00;
|
|
||||||
font-size: 16px;
|
#content .hoverable tr:nth-child(odd):hover:not(.table-header) {
|
||||||
font-weight: 100;
|
background-color: #323232;
|
||||||
padding: 7px 12px 5px 12px;
|
}
|
||||||
background-color: #000000;
|
|
||||||
|
#content .hoverable tr:nth-child(even):hover:not(.table-header) {
|
||||||
|
background-color: #323232;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .hoverable tr:hover{
|
||||||
|
background-color: var(--color1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tables that are too long can wrap words*/
|
||||||
|
|
||||||
|
#content .wrappable td{
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-break: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Table Headers in General */
|
||||||
|
|
||||||
|
#content .table-header th:first-child {
|
||||||
|
border-top-left-radius: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .table-header th:last-child {
|
||||||
|
border-top-right-radius: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .table-header th {
|
||||||
|
color: var(--color-font3);
|
||||||
|
font-weight: 400;
|
||||||
|
background-color: #171717;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Table Spacer for chaining Tables as a hack */
|
||||||
|
|
||||||
|
#content .table-spacer th {
|
||||||
|
background-color: var(--color1);
|
||||||
|
height: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Generic Table CSS for all Tables */
|
||||||
|
|
||||||
|
#content table {
|
||||||
|
line-height: 96%;
|
||||||
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content td {
|
#content td {
|
||||||
padding: 7px 12px 5px 12px;
|
color: var(--color-font2);
|
||||||
|
border-bottom: 1px #444444 solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .numeric {
|
#content th, #content td {
|
||||||
text-align: right;
|
padding: 10px 12px 6px 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content tr {
|
#content .anchorbutton {
|
||||||
background-color: #202020;
|
border-radius: 4px;
|
||||||
|
padding: 8px;
|
||||||
|
border-color: transparent;
|
||||||
|
color: var(--color-font1);
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
transition: background-color 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .table-spacer th {
|
#content .btn-blue {
|
||||||
background: #303030;
|
background-color: #1C2D40;
|
||||||
height: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content .btn-yellow {
|
||||||
|
background-color: #7A4E09;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .btn-red {
|
||||||
|
background-color: #74261E;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .btn-disabled {
|
||||||
|
background-color: var(--color3);
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .btn-blue:hover {
|
||||||
|
background-color: #2E3F57;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .btn-yellow:hover {
|
||||||
|
background-color: #9B6B0F;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .btn-red:hover {
|
||||||
|
background-color: #8E3D28;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .btn-disabled:hover {
|
||||||
|
background-color: var(--color3);
|
||||||
|
cursor: not-allowed;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .copy-button {
|
||||||
|
color: var(--color-font2);
|
||||||
|
transition: color 0.2s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .copy-button:hover {
|
||||||
|
color: var(--color-font3);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Short StatBlock to show SPRT and Test Results */
|
||||||
|
|
||||||
#content .statblock {
|
#content .statblock {
|
||||||
line-height: 70%;
|
font-size: 13px;
|
||||||
color: black;
|
color: black;
|
||||||
|
line-height: 96%;
|
||||||
background-color: #CCCCCC;
|
background-color: #CCCCCC;
|
||||||
border-radius: 4px;
|
|
||||||
font-family: "Courier New";
|
font-family: "Courier New";
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 8px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .green {
|
#content .statblock-green {
|
||||||
background-color: #9DF779
|
background-color: #76D576;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .yellow {
|
#content .statblock-yellow {
|
||||||
background-color: #EEF788
|
background-color: #EFF891
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .red {
|
#content .statblock-red {
|
||||||
background-color: #FA8E8E
|
background-color: #FA9696
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Long StatBlock which we can copy */
|
||||||
|
|
||||||
|
#content .long-statblock {
|
||||||
|
background-color: var(--color3);
|
||||||
|
color: var(--color-font2);
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 0.50rem 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test Views */
|
||||||
|
|
||||||
|
#content #config {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #actions {
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content #results {
|
#content #results {
|
||||||
@@ -227,89 +278,14 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
width: inherit;
|
width: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content table {
|
#content .test-config {
|
||||||
line-height: 96%;
|
font-size: 1.0rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .textcenter {
|
#content .test-config .td-label {
|
||||||
text-align: center;
|
color: var(--color-font1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#content strong {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content a:not(.TitleLink) {
|
|
||||||
font-weight: 100;
|
|
||||||
color: #8BBAD6;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content a.redlink {
|
|
||||||
color: #FF4D4D;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content a.unstarred {
|
|
||||||
color: #808080;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content h1, h2, h3 {
|
|
||||||
color: #a7a7a7;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #pagebrowse {
|
|
||||||
text-align: center;
|
|
||||||
margin: 16px 0px 16px 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content .page {
|
|
||||||
text-align: center;
|
|
||||||
display: inline-block;
|
|
||||||
padding: 8px 0px;
|
|
||||||
width: 5%;
|
|
||||||
background-color: #1A1A1A;
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content .page:hover {
|
|
||||||
background-color: #00AF00;
|
|
||||||
}
|
|
||||||
|
|
||||||
#error pre {
|
|
||||||
background-color: #EE7676;
|
|
||||||
padding: 6px;
|
|
||||||
margin: 0px;
|
|
||||||
text-align: center;
|
|
||||||
font-family: "Courier Prime";
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content form h3 {
|
|
||||||
margin-left: 110px;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: normal;
|
|
||||||
color: #00AF00;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content h4 a {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content form .settings-column {
|
|
||||||
float: left;
|
|
||||||
padding-bottom: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #test-mode-buttons button {
|
|
||||||
width: 49.8%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #test-mode-buttons .left-floated {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content #test-mode-buttons .right-floated {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
@@ -113,16 +113,17 @@ def longStatBlock(test):
|
|||||||
upperllr = twoDigitPrecision(test.upperllr)
|
upperllr = twoDigitPrecision(test.upperllr)
|
||||||
elolower = twoDigitPrecision(test.elolower)
|
elolower = twoDigitPrecision(test.elolower)
|
||||||
eloupper = twoDigitPrecision(test.eloupper)
|
eloupper = twoDigitPrecision(test.eloupper)
|
||||||
|
timecontrol = test.timecontrol + ['s', '']['=' in test.timecontrol]
|
||||||
|
|
||||||
return 'ELO | {0} +- {1} (95%)\n'.format(elo, error) \
|
return 'ELO | {0} +- {1} (95%)\n'.format(elo, error) \
|
||||||
+ 'SPRT | {0}s Threads={1} Hash={2}MB\n'.format(test.timecontrol, threads, hash) \
|
+ 'SPRT | {0} Threads={1} Hash={2}MB\n'.format(timecontrol, threads, hash) \
|
||||||
+ 'LLR | {0} ({1}, {2}) [{3}, {4}]\n'.format(currentllr, lowerllr, upperllr, elolower, eloupper) \
|
+ 'LLR | {0} ({1}, {2}) [{3}, {4}]\n'.format(currentllr, lowerllr, upperllr, elolower, eloupper) \
|
||||||
+ 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws)
|
+ 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws)
|
||||||
|
|
||||||
if test.test_mode == 'GAMES':
|
if test.test_mode == 'GAMES':
|
||||||
|
|
||||||
return 'ELO | {0} +- {1} (95%)\n'.format(elo, error) \
|
return 'ELO | {0} +- {1} (95%)\n'.format(elo, error) \
|
||||||
+ 'CONF | {0}s Threads={1} Hash={2}MB\n'.format(test.timecontrol, threads, hash) \
|
+ 'CONF | {0} Threads={1} Hash={2}MB\n'.format(timecontrol, threads, hash) \
|
||||||
+ 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws)
|
+ 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws)
|
||||||
|
|
||||||
def testResultColour(test):
|
def testResultColour(test):
|
||||||
|
|||||||
@@ -7,5 +7,5 @@
|
|||||||
{% else %} <td><a href="/test/{{test.id}}">{{test|prettyDevName}}</a></td> {% endif %}
|
{% else %} <td><a href="/test/{{test.id}}">{{test|prettyDevName}}</a></td> {% endif %}
|
||||||
<td class="textcenter"><a href="{{test|gitDiffLink}}">diff</a></td>
|
<td class="textcenter"><a href="{{test|gitDiffLink}}">diff</a></td>
|
||||||
<td>{{test.timecontrol}}</td>
|
<td>{{test.timecontrol}}</td>
|
||||||
<td class='statblock {{test|testResultColour}}'><strong>{{test|shortStatBlock|linebreaksbr}}</strong></td>
|
<td class='statblock statblock-{{test|testResultColour}}'><strong>{{test|shortStatBlock|linebreaksbr}}</strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="{% static 'style.css' %}">
|
<link rel="stylesheet" href="{% static 'style.css' %}">
|
||||||
|
<link rel="stylesheet" href="{% static 'base.css' %}">
|
||||||
|
<link rel="stylesheet" href="{% static 'form.css' %}">
|
||||||
<link rel="icon" type="image/svg+xml" href="{% static 'logo.svg' %}">
|
<link rel="icon" type="image/svg+xml" href="{% static 'logo.svg' %}">
|
||||||
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css' rel='stylesheet'>
|
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css' rel='stylesheet'>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;1,100&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;1,100&display=swap" rel="stylesheet">
|
||||||
@@ -42,7 +44,6 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<!-- Views may return an error message -->
|
<!-- Views may return an error message -->
|
||||||
{% if error %}
|
{% if error %}
|
||||||
<div id="error">
|
<div id="error">
|
||||||
@@ -111,11 +112,14 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="content-parent">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2> <a class="TitleLink" href="/">OpenBench Testing Framework</a></h2>
|
<h2> <a class="TitleLink" href="/">OpenBench Testing Framework</a></h2>
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="{% static 'style.css' %}">
|
<link rel="stylesheet" href="{% static 'ethereal.css' %}">
|
||||||
<link rel="icon" type="image/svg+xml" href="{% static 'logo.svg' %}">
|
<link rel="icon" type="image/svg+xml" href="{% static 'logo.svg' %}">
|
||||||
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<table>
|
<table class="hoverable">
|
||||||
|
|
||||||
<tr>
|
<tr class="table-header">
|
||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th>Test</th>
|
<th>Test</th>
|
||||||
|
|||||||
@@ -2,42 +2,42 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<table class="datatable">
|
<table class="test-list stripes hoverable">
|
||||||
|
|
||||||
<!-- Only show Pending tests for the front page of the Index -->
|
<!-- Only show Pending tests for the front page of the Index -->
|
||||||
{% if paging.page == 1 %}
|
{% if paging.page == 1 %}
|
||||||
|
|
||||||
<!-- Currently Pending tests (Waiting to be approved) -->
|
<!-- Currently Pending tests (Waiting to be approved) -->
|
||||||
{% if pending %}
|
{% if pending %}
|
||||||
<tr><th colspan='6'>Pending</th></tr>
|
<tr class="table-header"><th colspan='6'>Pending</th></tr>
|
||||||
{% for test in pending %}
|
{% for test in pending %}
|
||||||
{% include "OpenBench/Blocks/testsummary.html" %}
|
{% include "OpenBench/Blocks/testsummary.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<tr class="table-spacer"><th></th></tr>
|
<tr class="table-spacer"><th colspan='6'></th></tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Currently Awaiting tests (Waiting for Artifacts) -->
|
<!-- Currently Awaiting tests (Waiting for Artifacts) -->
|
||||||
{% if awaiting %}
|
{% if awaiting %}
|
||||||
<tr><th colspan='6'>Awaiting Artifacts</th></tr>
|
<tr class="table-header"><th colspan='6'>Awaiting Artifacts</th></tr>
|
||||||
{% for test in awaiting %}
|
{% for test in awaiting %}
|
||||||
{% include "OpenBench/Blocks/testsummary.html" %}
|
{% include "OpenBench/Blocks/testsummary.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<tr class="table-spacer"><th></th></tr>
|
<tr class="table-spacer"><th colspan='6'></th></tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Currently Running tests (Waiting to be completed) -->
|
<!-- Currently Running tests (Waiting to be completed) -->
|
||||||
{% if active %}
|
{% if active %}
|
||||||
<tr><th colspan='6'>Active {{status}}</th></tr>
|
<tr class="table-header"><th colspan='6'>Active {{status}}</th></tr>
|
||||||
{% for test in active %}
|
{% for test in active %}
|
||||||
{% include "OpenBench/Blocks/testsummary.html" %}
|
{% include "OpenBench/Blocks/testsummary.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<tr class="table-spacer"><th></th></tr>
|
<tr class="table-spacer"><th colspan='6'></th></tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Tests which have already finished -->
|
<!-- Tests which have already finished -->
|
||||||
<tr><th colspan='6'>Finished</th></tr>
|
<tr class="table-header"><th colspan='6'>Finished</th></tr>
|
||||||
{% for test in completed %}
|
{% for test in completed %}
|
||||||
{% include "OpenBench/Blocks/testsummary.html" %}
|
{% include "OpenBench/Blocks/testsummary.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -4,9 +4,17 @@
|
|||||||
|
|
||||||
<form method="POST" action="/login/">
|
<form method="POST" action="/login/">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
<div class="form">
|
||||||
|
<div class="col">
|
||||||
|
<div class="row">
|
||||||
<label type="text">Username</label> <input type="text" name="username"><br>
|
<label type="text">Username</label> <input type="text" name="username"><br>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
<label type="text">Password</label> <input type="password" name="password"><br>
|
<label type="text">Password</label> <input type="password" name="password"><br>
|
||||||
<input type="submit" name="submit" value="Login">
|
</div>
|
||||||
|
<input type="submit" name="submit" value="Login" class="anchorbutton btn-blue w-100">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<table>
|
<table class="hoverable">
|
||||||
|
|
||||||
<tr>
|
<tr class="table-header">
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th>System</th>
|
<th>System</th>
|
||||||
|
|||||||
@@ -55,9 +55,9 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<table id="network-table">
|
<table id="network-table" class="hoverable">
|
||||||
|
|
||||||
<tr>
|
<tr class="table-header">
|
||||||
<th onclick=sort_networks("default")></th>
|
<th onclick=sort_networks("default")></th>
|
||||||
<th onclick=sort_networks("engine")>Engine</th>
|
<th onclick=sort_networks("engine")>Engine</th>
|
||||||
<th onclick=sort_networks("author")>Uploader</th>
|
<th onclick=sort_networks("author")>Uploader</th>
|
||||||
|
|||||||
@@ -23,14 +23,14 @@
|
|||||||
|
|
||||||
if (mode == "SPRT") {
|
if (mode == "SPRT") {
|
||||||
document.getElementById("test_bounds" ).value = engines[engine].bounds
|
document.getElementById("test_bounds" ).value = engines[engine].bounds
|
||||||
document.getElementById("test_confidence").value = "{{config.tests.confidence}}";
|
document.getElementById("test_confidence").value = "{{ config.tests.confidence }}";
|
||||||
document.getElementById("test_max_games" ).value = "N/A";
|
document.getElementById("test_max_games" ).value = "N/A";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mode == "GAMES") {
|
if (mode == "GAMES") {
|
||||||
document.getElementById("test_bounds" ).value = "N/A";
|
document.getElementById("test_bounds" ).value = "N/A";
|
||||||
document.getElementById("test_confidence").value = "N/A";
|
document.getElementById("test_confidence").value = "N/A";
|
||||||
document.getElementById("test_max_games" ).value = "{{config.tests.max_games}}";
|
document.getElementById("test_max_games" ).value = "{{ config.tests.max_games }}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -81,7 +81,11 @@
|
|||||||
btn = document.createElement('button')
|
btn = document.createElement('button')
|
||||||
btn.innerHTML = mode;
|
btn.innerHTML = mode;
|
||||||
btn.onclick = function() { set_test_mode(mode); };
|
btn.onclick = function() { set_test_mode(mode); };
|
||||||
btn.class = (++index % 2) ? "left-floated" : "right-floated";
|
{# btn.class = (++index % 2) ? "left-floated" : "right-floated";#}
|
||||||
|
btn.classList.add("anchorbutton")
|
||||||
|
btn.classList.add("btn-yellow")
|
||||||
|
btn.classList.add("mr-2")
|
||||||
|
btn.classList.add("mt-2")
|
||||||
button_div.append(btn);
|
button_div.append(btn);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -131,7 +135,7 @@
|
|||||||
document.addEventListener(
|
document.addEventListener(
|
||||||
'DOMContentLoaded', function () {
|
'DOMContentLoaded', function () {
|
||||||
set_test_type();
|
set_test_type();
|
||||||
set_engine("{{profile.engine}}");
|
set_engine("{{ profile.engine }}");
|
||||||
set_test_mode("STC");
|
set_test_mode("STC");
|
||||||
}, false
|
}, false
|
||||||
);
|
);
|
||||||
@@ -142,82 +146,143 @@
|
|||||||
|
|
||||||
<form method="POST" action="/newTest/">
|
<form method="POST" action="/newTest/">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<div class="settings-column">
|
|
||||||
|
|
||||||
|
<div class="form w-100">
|
||||||
|
<div class="col">
|
||||||
|
|
||||||
<h3> Engine </h3>
|
<h3> Engine </h3>
|
||||||
|
<div class="row">
|
||||||
<label> Engine </label> <select id="enginename" name="enginename" onchange="set_engine(value);">
|
<label> Engine </label> <select id="enginename" name="enginename" onchange="set_engine(value);">
|
||||||
{% for engine in config.engines %}
|
{% for engine in config.engines %}
|
||||||
<option value="{{engine}}">{{engine}}</option>
|
<option value="{{ engine }}">{{ engine }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select><br>
|
</select>
|
||||||
<label> Source </label> <input value="{{profile.repo}}" name="source"><br>
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<label> Source </label> <input value="{{ profile.repo }}" name="source">
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3> Dev Settings </h3>
|
<h3> Dev Settings </h3>
|
||||||
<label> Dev Bench </label> <input name="devbench"><br>
|
<div class="row">
|
||||||
<label> Dev Branch </label> <input name="devbranch" autofocus><br>
|
<label> Dev Bench </label> <input name="devbench">
|
||||||
<label> Dev Options </label> <input id="devoptions" name="devoptions"><br>
|
</div>
|
||||||
<label> Dev Network </label> <select id="devnetwork" name="devnetwork"></select><br>
|
<div class="row">
|
||||||
|
<label> Dev Branch </label> <input name="devbranch" autofocus>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Dev Options </label> <input id="devoptions" name="devoptions">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Dev Network </label> <select id="devnetwork" name="devnetwork"></select>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3> Base Settings </h3>
|
<h3> Base Settings </h3>
|
||||||
<label> Base Bench </label> <input name="basebench"><br>
|
|
||||||
<label> Base Branch </label> <input id="basebranch" name="basebranch"><br>
|
<div class="row">
|
||||||
<label> Base Options </label> <input id="baseoptions" name="baseoptions"><br>
|
<label> Base Bench </label> <input name="basebench">
|
||||||
<label> Base Network </label> <select id="basenetwork" name="basenetwork"></select><br>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Base Branch </label> <input id="basebranch" name="basebranch">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Base Options </label> <input id="baseoptions" name="baseoptions">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Base Network </label> <select id="basenetwork" name="basenetwork"></select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h3> Workload Settings </h3>
|
<h3> Workload Settings </h3>
|
||||||
<label> Report Rate </label> <input id="report_rate" name="report_rate"><br>
|
<div class="row">
|
||||||
<label> Workload Size </label> <input id="workload_size" name="workload_size"<br>
|
<label> Report Rate </label> <input id="report_rate" name="report_rate">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Workload Size </label> <input id="workload_size" name="workload_size">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="settings-column">
|
<div class="col">
|
||||||
|
|
||||||
<h3> Game Settings </h3>
|
<h3> Game Settings </h3>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
<label> Book </label> <select id="bookname" name="bookname">
|
<label> Book </label> <select id="bookname" name="bookname">
|
||||||
{% for name, data in config.books.items %}
|
{% for name, data in config.books.items %}
|
||||||
<option value="{{name}}">{{name}}</option>
|
<option value="{{ name }}">{{ name }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select><br>
|
</select>
|
||||||
<label> Time </label> <input id="timecontrol" name="timecontrol"><br>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Time </label> <input id="timecontrol" name="timecontrol">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h3> Test Settings </h3>
|
<h3> Test Settings </h3>
|
||||||
<label> Test Mode </label> <select onchange='set_test_type()' id="test_mode" name="test_mode">
|
<div class="row">
|
||||||
<option selected value="SPRT"> SPRT </option>
|
<label> Test Mode </label>
|
||||||
<option value="GAMES"> Fixed Games </option>
|
<select onchange='set_test_type()' id="test_mode" name="test_mode">
|
||||||
</select><br>
|
<option selected value="SPRT"> SPRT</option>
|
||||||
<label> Bounds </label> <input id="test_bounds" name="bounds"><br>
|
<option value="GAMES"> Fixed Games</option>
|
||||||
<label> Confidence </label> <input id="test_confidence" name="confidence"><br>
|
</select>
|
||||||
<label> Max Games </label> <input id="test_max_games" name="max_games"><br>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Bounds </label> <input id="test_bounds" name="bounds">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Confidence </label> <input id="test_confidence" name="confidence">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Max Games </label> <input id="test_max_games" name="max_games">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h3> General Settings </h3>
|
<h3> General Settings </h3>
|
||||||
<label> Priority </label> <input value="0" name="priority"><br>
|
<div class="row">
|
||||||
<label> Throughput </label> <input value="1000" id="throughput", name="throughput"><br>
|
<label> Priority </label> <input value="0" name="priority">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Throughput </label> <input value="1000" id="throughput" , name="throughput">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
<label> Syzygy WDL </label> <select name="syzygy_wdl">
|
<label> Syzygy WDL </label> <select name="syzygy_wdl">
|
||||||
<option value="OPTIONAL"> Optional </option>
|
<option value="OPTIONAL"> Optional</option>
|
||||||
<option value="REQUIRED"> Required </option>
|
<option value="REQUIRED"> Required</option>
|
||||||
<option selected value="DISABLED"> Disabled </option>
|
<option selected value="DISABLED"> Disabled</option>
|
||||||
</select><br>
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3> Adjudication Settings </h3>
|
<h3> Adjudication Settings </h3>
|
||||||
|
<div class="row">
|
||||||
<label> Syzygy ADJ. </label> <select name="syzygy_adj">
|
<label> Syzygy ADJ. </label>
|
||||||
<option selected value="OPTIONAL"> Optional </option>
|
<select name="syzygy_adj">
|
||||||
<option value="REQUIRED"> Required </option>
|
<option selected value="OPTIONAL"> Optional</option>
|
||||||
<option value="DISABLED"> Disabled </option>
|
<option value="REQUIRED"> Required</option>
|
||||||
</select><br>
|
<option value="DISABLED"> Disabled</option>
|
||||||
|
</select>
|
||||||
<label> Win ADJ. </label> <input id="win_adj" name="win_adj"><br>
|
</div>
|
||||||
<label> Draw ADJ. </label> <input id="draw_adj" name="draw_adj"><br>
|
<div class="row">
|
||||||
|
<label> Win ADJ. </label> <input id="win_adj" name="win_adj">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label> Draw ADJ. </label> <input id="draw_adj" name="draw_adj">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br><input type="submit" name="submit" value="Create Engine Test">
|
<input type="submit" class="anchorbutton btn-blue mt-3 ml-3" name="submit" value="Create Engine Test">
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="test-mode-buttons">
|
<div class="form">
|
||||||
|
<div class="col-full">
|
||||||
|
<div class="row flex">
|
||||||
|
<div class="ml-3" id="test-mode-buttons">
|
||||||
<!-- Generated based on the selected Engine -->
|
<!-- Generated based on the selected Engine -->
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -4,16 +4,26 @@
|
|||||||
|
|
||||||
<form method="POST" action="/profile/">
|
<form method="POST" action="/profile/">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
<div class="form">
|
||||||
<!-- Profile information. Everything may be changed but the Username -->
|
<div class="col">
|
||||||
<label>Username</label><input readonly value="{{profile.user.username}}"><br>
|
<div class="row">
|
||||||
<label>Email</label><input value="{{profile.user.email}}" name="email"><br>
|
<label>Username</label><input readonly value="{{profile.user.username}}">
|
||||||
<label>Source Repo</label><input value="{{profile.repo}}" name="repo"><br>
|
</div>
|
||||||
<label>New Password</label><input type="password" name="password1"><br>
|
<div class="row">
|
||||||
<label>New Password</label><input type="password" name="password2"><br>
|
<label>Email</label><input value="{{profile.user.email}}" name="email">
|
||||||
|
</div>
|
||||||
<!-- User's have a default engine. Select the default, otherwise show an empty line -->
|
<div class="row">
|
||||||
<label>Engine</label> <select id="engine" name="engine">
|
<label>Source Repo</label><input value="{{profile.repo}}" name="repo">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>New Password</label><input type="password" name="password1">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>New Password</label><input type="password" name="password2">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>Engine</label>
|
||||||
|
<select id="engine" name="engine">
|
||||||
{% for engine in config.engines %}
|
{% for engine in config.engines %}
|
||||||
{% if profile.engine == engine %}
|
{% if profile.engine == engine %}
|
||||||
<option selected value="{{engine}}">{{engine}}</option>
|
<option selected value="{{engine}}">{{engine}}</option>
|
||||||
@@ -24,9 +34,14 @@
|
|||||||
{% if not profile.engine %}
|
{% if not profile.engine %}
|
||||||
<option selected value=""></option>
|
<option selected value=""></option>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</select><br>
|
</select>
|
||||||
|
</div>
|
||||||
|
<input class="anchorbutton btn-blue w-100" type="submit" value="Update Profile">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="submit" value="Update Profile">
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@@ -23,54 +23,66 @@
|
|||||||
<form method="POST" action="/search/">
|
<form method="POST" action="/search/">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
<label> Keywords </label> <input name="keywords"><br>
|
<div class="form">
|
||||||
<label> Author </label> <input name="author"><br>
|
<div class="col">
|
||||||
|
<div class="row">
|
||||||
<label> Engine </label>
|
<label>Keywords</label> <input name="keywords"><br>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>Author</label> <input name="author"><br>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>Engine</label>
|
||||||
<select id="engine" name="engine">
|
<select id="engine" name="engine">
|
||||||
<option selected value="">ALL</option>
|
<option selected value="">ALL</option>
|
||||||
{% for name, data in config.engines.items %}
|
{% for name, data in config.engines.items %}
|
||||||
<option value="{{name}}">{{name}}</option>
|
<option value="{{name}}">{{name}}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select><br>
|
</select><br>
|
||||||
|
</div>
|
||||||
<label> Show Greens </label>
|
<div class="row">
|
||||||
|
<label>Show Greens</label>
|
||||||
<select name="showgreens">
|
<select name="showgreens">
|
||||||
<option selected value="True">True</option>
|
<option selected value="True">True</option>
|
||||||
<option value="False">False</option>
|
<option value="False">False</option>
|
||||||
</select><br>
|
</select><br>
|
||||||
|
</div>
|
||||||
<label> Show Yellows </label>
|
<div class="row">
|
||||||
|
<label>Show Yellows</label>
|
||||||
<select name="showyellows">
|
<select name="showyellows">
|
||||||
<option selected value="True">True</option>
|
<option selected value="True">True</option>
|
||||||
<option value="False">False</option>
|
<option value="False">False</option>
|
||||||
</select><br>
|
</select><br>
|
||||||
|
</div>
|
||||||
<label> Show Reds </label>
|
<div class="row">
|
||||||
|
<label>Show Reds</label>
|
||||||
<select name="showreds">
|
<select name="showreds">
|
||||||
<option selected value="True">True</option>
|
<option selected value="True">True</option>
|
||||||
<option value="False">False</option>
|
<option value="False">False</option>
|
||||||
</select><br>
|
</select><br>
|
||||||
|
</div>
|
||||||
<label> Show Stopped </label>
|
<div class="row">
|
||||||
|
<label>Show Stopped</label>
|
||||||
<select name="showunfinished">
|
<select name="showunfinished">
|
||||||
<option value="True">True</option>
|
<option value="True">True</option>
|
||||||
<option selected value="False">False</option>
|
<option selected value="False">False</option>
|
||||||
</select><br>
|
</select><br>
|
||||||
|
</div>
|
||||||
<label> Show Deleted </label>
|
<div class="row">
|
||||||
|
<label>Show Deleted</label>
|
||||||
<select name="showdeleted">
|
<select name="showdeleted">
|
||||||
<option value="True">True</option>
|
<option value="True">True</option>
|
||||||
<option selected value="False">False</option>
|
<option selected value="False">False</option>
|
||||||
</select><br>
|
</select><br>
|
||||||
|
</div>
|
||||||
<input type="submit" name="submit" value="Search Tests">
|
<input type="submit" class="anchorbutton btn-blue w-100" name="submit" value="Search Tests">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<table class="datatable">
|
<table class="test-list stripes hoverable">
|
||||||
{% for test in tests %}
|
{% for test in tests %}
|
||||||
{% include "OpenBench/Blocks/testsummary.html" %}
|
{% include "OpenBench/Blocks/testsummary.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -6,43 +6,54 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
|
||||||
|
function copy_statblock() {
|
||||||
|
var text = document.getElementById("long-statblock").innerHTML;
|
||||||
|
text = text.replace(/<br>/g, "\n");
|
||||||
|
text += "\n" + window.location.href;
|
||||||
|
navigator.clipboard.writeText(text);
|
||||||
|
}
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div id="configuration">
|
<div id="config" style="display: block; overflow-x: auto;">
|
||||||
<table class="datatable left-align">
|
<table class="test-config left-align wrappable" style="table-layout: auto; width: 100%;">
|
||||||
<tr><th>Author</th><td>{{test.author|capfirst}}</td></tr>
|
<tr><td class="td-label">Author</td><td>{{test.author|capfirst}}</td></tr>
|
||||||
<tr><th>Creation</th><td class="timestamp">{{test.creation|date:'U'}}</td></tr>
|
<tr><td class="td-label">Creation</td><td class="timestamp">{{test.creation|date:'U'}}</td></tr>
|
||||||
<tr><th>Engine</th><td>{{test.engine}}</td></tr>
|
<tr><td class="td-label">Engine</td><td>{{test.engine}}</td></tr>
|
||||||
<tr><th>Dev Branch</th><td>{{test.dev.name|prettyName}}</td></tr>
|
<tr><td class="td-label">Dev Branch</td><td>{{test.dev.name|prettyName}}</td></tr>
|
||||||
<tr><th>Dev Bench</th><td>{{test.dev.bench}}</td></tr>
|
<tr><td class="td-label">Dev Bench</td><td>{{test.dev.bench}}</td></tr>
|
||||||
<tr><th>Dev Options</th><td>{{test.devoptions}}</td></tr>
|
<tr><td class="td-label">Dev Options</td><td>{{test.devoptions}}</td></tr>
|
||||||
<tr><th>Dev Sha</th><td>{{test.dev.sha}}</td></tr>
|
<tr><td class="td-label">Dev Sha</td><td>{{test.dev.sha}}</td></tr>
|
||||||
{% if test.devnetwork %}
|
{% if test.devnetwork %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>Dev Network</th>
|
<td class="td-label">Dev Network</td>
|
||||||
<td><a href="{{test.devnetwork|resolveNetworkURL}}">{{test.devnetname}}</td>
|
<td><a href="{{test.devnetwork|resolveNetworkURL}}">{{test.devnetname}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr><th>Base Branch</th><td>{{test.base.name|prettyName}}</td></tr>
|
<tr><td class="td-label">Base Branch</td><td>{{test.base.name|prettyName}}</td></tr>
|
||||||
<tr><th>Base Bench</th><td>{{test.base.bench}}</td></tr>
|
<tr><td class="td-label">Base Bench</td><td>{{test.base.bench}}</td></tr>
|
||||||
<tr><th>Base Options</th><td>{{test.baseoptions}}</td></tr>
|
<tr><td class="td-label">Base Options</td><td>{{test.baseoptions}}</td></tr>
|
||||||
<tr><th>Base Sha</th><td>{{test.base.sha}}</td></tr>
|
<tr><td class="td-label">Base Sha</td><td>{{test.base.sha}}</td></tr>
|
||||||
{% if test.basenetwork %}
|
{% if test.basenetwork %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>Base Network</th>
|
<td class="td-label">Base Network</td>
|
||||||
<td><a href="{{test.basenetwork|resolveNetworkURL}}">{{test.basenetname}}</td>
|
<td><a href="{{test.basenetwork|resolveNetworkURL}}">{{test.basenetname}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr><th>Source Repo</th><td><a href="{{test.source}}">{{test.source}}</a></td></tr>
|
<tr><td class="td-label">Source Repo</td><td><a href="{{test.source}}">{{test.source}}</a></td></tr>
|
||||||
<tr><th>Opening Book</th><td><a href="{{config.framework}}/raw/master/Books/">{{test.bookname}}</a></td></tr>
|
<tr><td class="td-label">Opening Book</td><td><a href="{{config.framework}}raw/master/Books/{{test.bookname}}.zip">{{test.bookname}}</a></td></tr>
|
||||||
<tr><th>Syzygy WDL</th><td>{{test.syzygy_wdl}}</td></tr>
|
<tr><td class="td-label">Syzygy WDL</td><td>{{test.syzygy_wdl}}</td></tr>
|
||||||
<tr><th>Syzygy ADJ.</th><td>{{test.syzygy_adj}}</td></tr>
|
<tr><td class="td-label">Syzygy ADJ.</td><td>{{test.syzygy_adj}}</td></tr>
|
||||||
<tr><th>Win ADJ.</th><td>{{test.win_adj}}</td></tr>
|
<tr><td class="td-label">Win ADJ.</td><td>{{test.win_adj}}</td></tr>
|
||||||
<tr><th>Draw ADJ.</th><td>{{test.draw_adj}}</td></tr>
|
<tr><td class="td-label">Draw ADJ.</td><td>{{test.draw_adj}}</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="actions">
|
<div id="actions" class="ml-3">
|
||||||
|
|
||||||
<!-- Dev vs Base [Git Diff Link] -->
|
<!-- Dev vs Base [Git Diff Link] -->
|
||||||
<h4><a href="{{test|gitDiffLink}}">
|
<h4><a href="{{test|gitDiffLink}}">
|
||||||
@@ -51,69 +62,76 @@
|
|||||||
|
|
||||||
<!-- Approve Button: For Admins, or Cross-approvers -->
|
<!-- Approve Button: For Admins, or Cross-approvers -->
|
||||||
{% if not test.approved and profile.approver and profile.user.username != test.author %}
|
{% if not test.approved and profile.approver and profile.user.username != test.author %}
|
||||||
<a class="anchorbutton" id="approvebutton" href="/test/{{test.id}}/APPROVE">Approve</a>
|
<a class="w-25 mr-2 anchorbutton btn-blue" href="/test/{{test.id}}/APPROVE">Approve</a>
|
||||||
{% elif not test.approved and request.user.is_superuser %}
|
{% elif not test.approved and request.user.is_superuser %}
|
||||||
<a class="anchorbutton" id="approvebutton" href="/test/{{test.id}}/APPROVE">Approve</a>
|
<a class="w-25 mr-2 anchorbutton btn-blue" href="/test/{{test.id}}/APPROVE">Approve</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="anchorbutton deadbutton">Approve</a>
|
<a class="w-25 mr-2 anchorbutton btn-disabled">Approve</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Restart Button: For Approvers or Test Authors of finished tests -->
|
<!-- Restart Button: For Approvers or Test Authors of finished tests -->
|
||||||
{% if test.finished and profile.approver %}
|
{% if test.finished and profile.approver %}
|
||||||
<a class="anchorbutton" id="stopbutton" href="/test/{{test.id}}/RESTART">Restart</a>
|
<a class="w-25 mr-2 anchorbutton btn-yellow" href="/test/{{test.id}}/RESTART">Restart</a>
|
||||||
{% elif test.finished and profile.user.username == test.author %}
|
{% elif test.finished and profile.user.username == test.author %}
|
||||||
<a class="anchorbutton" id="stopbutton" href="/test/{{test.id}}/RESTART">Restart</a>
|
<a class="w-25 mr-2 anchorbutton btn-yellow" href="/test/{{test.id}}/RESTART">Restart</a>
|
||||||
{% elif test.finished %}
|
{% elif test.finished %}
|
||||||
<a class="anchorbutton deadbutton">Restart</a>
|
<a class="w-25 mr-2 anchorbutton btn-disabled">Restart</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Stop Button: For Approvers or Test Authors of active tests -->
|
<!-- Stop Button: For Approvers or Test Authors of active tests -->
|
||||||
{% if not test.finished and profile.approver %}
|
{% if not test.finished and profile.approver %}
|
||||||
<a class="anchorbutton" id="restartbutton" href="/test/{{test.id}}/STOP">Stop</a>
|
<a class="w-25 mr-2 anchorbutton btn-yellow" href="/test/{{test.id}}/STOP">Stop</a>
|
||||||
{% elif not test.finished and profile.user.username == test.author %}
|
{% elif not test.finished and profile.user.username == test.author %}
|
||||||
<a class="anchorbutton" id="restartbutton" href="/test/{{test.id}}/STOP">Stop</a>
|
<a class="w-25 mr-2 anchorbutton btn-yellow" href="/test/{{test.id}}/STOP">Stop</a>
|
||||||
{% elif not test.finished %}
|
{% elif not test.finished %}
|
||||||
<a class="anchorbutton deadbutton">Stop</a>
|
<a class="w-25 mr-2 anchorbutton btn-disabled">Stop</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Delete Button: For Approvers or Test Authors -->
|
<!-- Delete Button: For Approvers or Test Authors -->
|
||||||
{% if profile.approver or profile.user.username == test.author %}
|
{% if profile.approver or profile.user.username == test.author %}
|
||||||
<a class="anchorbutton" id="deletebutton" href="/test/{{test.id}}/DELETE">Delete</a>
|
<a class="w-25 mr-2 anchorbutton btn-red" href="/test/{{test.id}}/DELETE">Delete</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="anchorbutton deadbutton">Delete</a>
|
<a class="w-25 mr-2 anchorbutton btn-disabled">Delete</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<a class="copy-button" onclick="copy_statblock()">
|
||||||
|
<i class="fa-regular fa-clone copy-button"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
<!-- Elo, (SPRT/LRR if SPRT, otherwise CONF), Games -->
|
<!-- Elo, (SPRT/LRR if SPRT, otherwise CONF), Games -->
|
||||||
<pre>{{test|longStatBlock|linebreaksbr}}</pre>
|
<pre class="long-statblock" id="long-statblock">{{test|longStatBlock|linebreaksbr}}</pre>
|
||||||
|
|
||||||
<!-- Forum to modify the Priority or Throughput -->
|
<!-- Forum to modify the Priority or Throughput -->
|
||||||
<form method="POST" action="/test/{{test.id}}/MODIFY">
|
<form method="POST" action="/test/{{test.id}}/MODIFY">
|
||||||
|
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
<div class="form">
|
||||||
<label>Priority</label><input value="{{test.priority}}" name="priority"><br>
|
<div class="col-full">
|
||||||
<label>Throughput</label><input value="{{test.throughput}}" name="throughput"><br>
|
<div class="row">
|
||||||
<label>Report Rate</label><input value="{{test.report_rate}}" name="report_rate"><br>
|
<label>Priority</label><input value="{{test.priority}}" name="priority">
|
||||||
<label>Workload Size</label><input value="{{test.workload_size}}" name="workload_size"><br>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>Throughput</label><input value="{{test.throughput}}" name="throughput">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>Report Rate</label><input value="{{test.report_rate}}" name="report_rate">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>Workload Size</label><input value="{{test.workload_size}}" name="workload_size">
|
||||||
|
</div>
|
||||||
<!-- Edit Button: For Approvers or Test Authors -->
|
<!-- Edit Button: For Approvers or Test Authors -->
|
||||||
{% if profile.approver or profile.user.username == test.author %}
|
{% if profile.approver or profile.user.username == test.author %}
|
||||||
<input type="submit" name="submit" value="Modify">
|
<input class="anchorbutton btn-blue w-100" type="submit" name="submit" value="Modify">
|
||||||
{% else %}
|
{% else %}
|
||||||
<input class="deadbutton" type="submit" name="submit" value="Modify">
|
<input class="anchorbutton btn-disabled w-100" type="submit" name="submit" value="Modify">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<div id="results" class="w-100 mt-3" style="float:left;">
|
||||||
|
<table class="stripes wrappable">
|
||||||
<div id="results">
|
<tr class="table-header">
|
||||||
|
|
||||||
<table class="datatable">
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th>OS</th>
|
<th>OS</th>
|
||||||
|
|||||||
@@ -5,20 +5,35 @@
|
|||||||
<form method="post" enctype="multipart/form-data">
|
<form method="post" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
<label>Name</label><input name="name"><br>
|
<div class="form">
|
||||||
<label>Weights</label><input name="netfile" type="file"><br>
|
<div class="col">
|
||||||
|
<div class="row">
|
||||||
<label>Engine</label> <select id="engine" name="engine">
|
<label>Name</label><input name="name">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>Weights</label><input name="netfile" type="file">
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<label>Engine</label>
|
||||||
|
<select id="engine" name="engine">
|
||||||
{% for engine in config.engines %}
|
{% for engine in config.engines %}
|
||||||
{% if engine == profile.engine %}
|
{% if engine == profile.engine %}
|
||||||
<option selected value="{{engine}}">{{engine}}</option>
|
<option selected value="{{ engine }}">{{ engine }}</option>
|
||||||
{% else %}
|
{% else %}
|
||||||
<option value="{{engine}}">{{engine}}</option>
|
<option value="{{ engine }}">{{ engine }}</option>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select><br>
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<input type="submit" class="anchorbutton btn-blue w-100" value="Upload">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="submit" value="Upload">
|
|
||||||
<form>
|
<form>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<table>
|
<table class="hoverable">
|
||||||
|
|
||||||
<tr>
|
<tr class="table-header">
|
||||||
<th>Username</th>
|
<th>Username</th>
|
||||||
<th>Games</th>
|
<th>Games</th>
|
||||||
<th>Tests</th>
|
<th>Tests</th>
|
||||||
@@ -14,12 +14,14 @@
|
|||||||
<th>Default Repository</th>
|
<th>Default Repository</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<!---
|
||||||
<tr style="font-weight: bold">
|
<tr style="font-weight: bold">
|
||||||
<th>{{profiles|length}}</th>
|
<th>{{profiles|length}}</th>
|
||||||
<th>{{profiles|sumAttributes:"games"|insertCommas}}</th>
|
<th>{{profiles|sumAttributes:"games"|insertCommas}}</th>
|
||||||
<th>{{profiles|sumAttributes:"tests"|insertCommas}}</th>
|
<th>{{profiles|sumAttributes:"tests"|insertCommas}}</th>
|
||||||
<th></th><th></th>
|
<th></th><th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
--->
|
||||||
|
|
||||||
{% for profile in profiles %}
|
{% for profile in profiles %}
|
||||||
{% if profile.enabled %}
|
{% if profile.enabled %}
|
||||||
|
|||||||
Reference in new issue
Block a user