CSS cleanups
This commit is contained in:
1 parent
36470ff7ef
commit
6d2c38b095
6 files changed
+51
-47
No files matched your search
@@ -2,9 +2,11 @@
|
||||
<tr>
|
||||
<td><a href="/user/{{test.author}}">{{test.author|capfirst|slice:":6"}}</a></td>
|
||||
<td>{{test.engine}}</td>
|
||||
{% if test.error %} <td><a href="/test/{{test.id}}"><span style="color: red">[x]</span> {{test|prettyDevName}}</a></td>
|
||||
{% elif test|testIsFRC %} <td><a href="/test/{{test.id}}">{{test|prettyDevName}}<span style="color: green">[FRC]</span></a></td>
|
||||
{% else %} <td><a href="/test/{{test.id}}">{{test|prettyDevName}}</a></td> {% endif %}
|
||||
<td>
|
||||
<a href="/test/{{test.id}}">{{test|prettyDevName}}</a>
|
||||
{% if test.error %} <span style="color: red">*</span> {% endif %}
|
||||
{% if test|testIsFRC %} <span style="color: green">[FRC]</span> {% endif %}
|
||||
</td>
|
||||
<td class="textcenter"><a href="{{test|gitDiffLink}}">diff</a></td>
|
||||
<td>{{test.timecontrol}}</td>
|
||||
<td class='statblock statblock-{{test|testResultColour}}'><strong>{{test|shortStatBlock|linebreaksbr}}</strong></td>
|
||||
|
||||
@@ -44,12 +44,6 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Views may return an error message -->
|
||||
{% if error %}
|
||||
<div id="error">
|
||||
<pre>{{error}}</pre>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="sidebar">
|
||||
|
||||
@@ -115,7 +109,8 @@
|
||||
|
||||
<div id="content-parent">
|
||||
<div id="content">
|
||||
<h2> <a class="TitleLink" href="/">OpenBench Testing Framework</a></h2>
|
||||
<h2><a class="site-title" href="/">OpenBench Testing Framework</a></h2>
|
||||
{% if error %}<div class="error"><pre>{{error}}</pre></div>{% endif %}
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
@@ -147,17 +147,18 @@
|
||||
<form method="POST" action="/newTest/">
|
||||
{% csrf_token %}
|
||||
|
||||
|
||||
|
||||
<div class="form w-100">
|
||||
<div class="col">
|
||||
|
||||
<h3> Engine </h3>
|
||||
<div class="row">
|
||||
<label> Engine </label> <select id="enginename" name="enginename" onchange="set_engine(value);">
|
||||
{% for engine in config.engines %}
|
||||
<option value="{{ engine }}">{{ engine }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<label> Engine </label>
|
||||
<select id="enginename" name="enginename" onchange="set_engine(value);">
|
||||
{% for engine in config.engines %}
|
||||
<option value="{{ engine }}">{{ engine }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
@@ -284,5 +285,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user