Prettified the website (#76)
This commit is contained in:
1 parent
9fa5c92fc9
commit
191b9a150d
4 files changed
+176
-14
No files matched your search
@@ -0,0 +1,146 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
sodipodi:docname="logo.svg"
|
||||||
|
inkscape:version="1.0 (4035a4f, 2020-05-01)"
|
||||||
|
id="svg8"
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 250 250"
|
||||||
|
height="250mm"
|
||||||
|
width="250mm">
|
||||||
|
<defs
|
||||||
|
id="defs2">
|
||||||
|
<inkscape:perspective
|
||||||
|
id="perspective857"
|
||||||
|
inkscape:persp3d-origin="105 : 51.999997 : 1"
|
||||||
|
inkscape:vp_z="210 : 101.5 : 1"
|
||||||
|
inkscape:vp_y="0 : 999.99996 : 0"
|
||||||
|
inkscape:vp_x="-192.73904 : 85.416586 : 1"
|
||||||
|
sodipodi:type="inkscape:persp3d" />
|
||||||
|
<rect
|
||||||
|
id="rect853"
|
||||||
|
height="28.649736"
|
||||||
|
width="9.3152771"
|
||||||
|
y="167.60974"
|
||||||
|
x="191.06123" />
|
||||||
|
<rect
|
||||||
|
id="rect24"
|
||||||
|
height="150.35945"
|
||||||
|
width="83.140968"
|
||||||
|
y="27.845661"
|
||||||
|
x="120.10982" />
|
||||||
|
<rect
|
||||||
|
id="rect18"
|
||||||
|
height="89.834076"
|
||||||
|
width="68.721581"
|
||||||
|
y="28.873098"
|
||||||
|
x="113.84743" />
|
||||||
|
<rect
|
||||||
|
id="rect12"
|
||||||
|
height="106.64691"
|
||||||
|
width="79.874741"
|
||||||
|
y="98.018333"
|
||||||
|
x="37.502277" />
|
||||||
|
</defs>
|
||||||
|
<sodipodi:namedview
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:window-y="27"
|
||||||
|
inkscape:window-x="67"
|
||||||
|
inkscape:window-height="1025"
|
||||||
|
inkscape:window-width="1853"
|
||||||
|
inkscape:snap-bbox="false"
|
||||||
|
fit-margin-bottom="0"
|
||||||
|
fit-margin-right="0"
|
||||||
|
fit-margin-left="0"
|
||||||
|
fit-margin-top="0"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:document-rotation="0"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
inkscape:cy="232.95515"
|
||||||
|
inkscape:cx="-293.38921"
|
||||||
|
inkscape:zoom="0.35"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
borderopacity="1.0"
|
||||||
|
bordercolor="#666666"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
id="base" />
|
||||||
|
<metadata
|
||||||
|
id="metadata5">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
transform="translate(16.1122,-26.054426)"
|
||||||
|
id="layer1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
inkscape:label="Layer 1">
|
||||||
|
<g
|
||||||
|
transform="translate(-9.9657959,11.90565)"
|
||||||
|
id="g900">
|
||||||
|
<rect
|
||||||
|
style="fill:#a4d1ee;fill-opacity:1;stroke-width:0.264583"
|
||||||
|
id="rect873"
|
||||||
|
width="250"
|
||||||
|
height="250"
|
||||||
|
x="-6.1464038"
|
||||||
|
y="14.148776" />
|
||||||
|
<rect
|
||||||
|
style="fill:#0c5889;fill-opacity:1;stroke-width:0.264583"
|
||||||
|
id="rect875"
|
||||||
|
width="125"
|
||||||
|
height="125"
|
||||||
|
x="-6.1464038"
|
||||||
|
y="14.148776" />
|
||||||
|
<rect
|
||||||
|
y="139.14877"
|
||||||
|
x="118.85358"
|
||||||
|
height="125"
|
||||||
|
width="125"
|
||||||
|
id="rect875-3"
|
||||||
|
style="fill:#0c5889;fill-opacity:1;stroke-width:0.264583" />
|
||||||
|
</g>
|
||||||
|
<text
|
||||||
|
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect18);fill:#000000;fill-opacity:1;stroke:none;"
|
||||||
|
id="text16"
|
||||||
|
xml:space="preserve" />
|
||||||
|
<g
|
||||||
|
transform="matrix(1.55,0,0,1.55,-43.848331,-18.924265)"
|
||||||
|
id="g906">
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
id="text10"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:88.1944px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';white-space:pre;shape-inside:url(#rect12);fill:#2793ff;fill-opacity:1;stroke:none;"
|
||||||
|
transform="translate(9.671798,-51.440428)"><tspan
|
||||||
|
x="37.501953"
|
||||||
|
y="176.04895"><tspan
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:88.1944px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';fill:#2793ff;fill-opacity:1">O</tspan></tspan></text>
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
id="text22"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:105.833px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';white-space:pre;shape-inside:url(#rect24);fill:#5cbefe;fill-opacity:1;stroke:none;"
|
||||||
|
transform="translate(-47.822016,38.692498)"><tspan
|
||||||
|
x="120.10938"
|
||||||
|
y="121.4831"><tspan
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:105.833px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';fill:#5cbefe;fill-opacity:1">B</tspan></tspan></text>
|
||||||
|
</g>
|
||||||
|
<text
|
||||||
|
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect853);fill:#000000;fill-opacity:1;stroke:none;"
|
||||||
|
id="text851"
|
||||||
|
xml:space="preserve" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 5.1 KiB |
+25
-12
@@ -1,7 +1,7 @@
|
|||||||
body {
|
body {
|
||||||
font-family: "Courier New";
|
font-family: "Montserrat";
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
background: #303030;
|
background: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link, a:visited, a:hover, a:active {
|
a:link, a:visited, a:hover, a:active {
|
||||||
@@ -21,16 +21,17 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
|
|
||||||
#sidebar li a {
|
#sidebar li a {
|
||||||
color: #A2A2A2;
|
color: #A2A2A2;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .header {
|
#sidebar .header {
|
||||||
font-size: 16px;
|
font-size: 12px;
|
||||||
color: #00AF00;
|
color: #00AF00;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 32px;
|
margin-top: 0;
|
||||||
color: #EAEAEA;
|
color: #EAEAEA;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,7 +41,7 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #A2A2A2;
|
color: #A2A2A2;
|
||||||
font-size: 16px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content input, #content select {
|
#content input, #content select {
|
||||||
@@ -100,6 +101,7 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
#content #actions {
|
#content #actions {
|
||||||
margin-left: 32px;
|
margin-left: 32px;
|
||||||
float: right;
|
float: right;
|
||||||
|
margin-top: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content #actions .anchorbutton {
|
#content #actions .anchorbutton {
|
||||||
@@ -108,6 +110,7 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
margin: 0px 8px;
|
margin: 0px 8px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-family: "Courier New";
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
@@ -151,18 +154,21 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content tr:hover {
|
#content tr:hover {
|
||||||
background-color: #00AF00;
|
background-color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content th {
|
#content th {
|
||||||
color: #00AF00;
|
color: #00AF00;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
padding: 6px 12px;
|
font-family: "Courier New";
|
||||||
|
font-weight: 100;
|
||||||
|
padding: 7px 12px 5px 12px;
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content td {
|
#content td {
|
||||||
padding: 6px 12px;
|
padding: 7px 12px 5px 12px;
|
||||||
|
font-family: "Courier New";
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .numeric {
|
#content .numeric {
|
||||||
@@ -170,11 +176,11 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content tr {
|
#content tr {
|
||||||
background-color: #1A1A1A;
|
background-color: #2a2a2a;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .table-spacer th {
|
#content .table-spacer th {
|
||||||
background: #303030;
|
background: #404040;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -212,10 +218,17 @@ a:link, a:visited, a:hover, a:active {
|
|||||||
|
|
||||||
#content strong {
|
#content strong {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content a {
|
#content a:not(.TitleLink) {
|
||||||
font-weight: bold;
|
font-weight: 100;
|
||||||
|
color: #8bbad6;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content h1, h2, h3 {
|
||||||
|
color: #a7a7a7;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content #pagebrowse {
|
#content #pagebrowse {
|
||||||
|
|||||||
+2
-2
@@ -78,8 +78,8 @@ def getMachineStatus(username=None):
|
|||||||
if username != None:
|
if username != None:
|
||||||
machines = machines.filter(user__username=username)
|
machines = machines.filter(user__username=username)
|
||||||
|
|
||||||
return "{0} Machines ".format(len(machines)) + \
|
return ": {0} Machines / ".format(len(machines)) + \
|
||||||
"{0} Threads ".format(sum([f.threads for f in machines])) + \
|
"{0} Threads / ".format(sum([f.threads for f in machines])) + \
|
||||||
"{0} MNPS ".format(round(sum([f.threads * f.mnps for f in machines]), 2))
|
"{0} MNPS ".format(round(sum([f.threads * f.mnps for f in machines]), 2))
|
||||||
|
|
||||||
def getPaging(content, page, url, pagelen=25):
|
def getPaging(content, page, url, pagelen=25):
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="{% static 'style.css' %}">
|
<link rel="stylesheet" href="{% static 'style.css' %}">
|
||||||
|
<link rel="icon" type="image/svg+xml" href="{% static 'logo.svg' %}">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;1,100&display=swap" rel="stylesheet">
|
||||||
<title>OpenBench</title>
|
<title>OpenBench</title>
|
||||||
<script>
|
<script>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
@@ -61,6 +63,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
<h2> <a class = "TitleLink" href = "http://chess.grantnet.us/"> OpenBench Testing Framework </a> </h2>
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user