Clean up the main page GUI, and general tables
This commit is contained in:
1 parent
869ce5487d
commit
3e217cefab
2 files changed
+12
-19
No files matched your search
@@ -121,13 +121,12 @@ body {
|
||||
color: white;
|
||||
font-size: 20px;
|
||||
padding: 6px 12px;
|
||||
border: 1px solid black;
|
||||
background-color: #15A049;
|
||||
}
|
||||
|
||||
#content .datatable td {
|
||||
padding: 6px 12px;
|
||||
border: 1px solid black;
|
||||
|
||||
}
|
||||
|
||||
#content .datatable .numeric {
|
||||
@@ -151,7 +150,7 @@ body {
|
||||
}
|
||||
|
||||
#content .datatable .green {
|
||||
background-color: #9DF779
|
||||
background-color: #7DF779
|
||||
}
|
||||
|
||||
#content .datatable .yellow {
|
||||
@@ -197,7 +196,7 @@ body {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: black;
|
||||
border-radius: 16px;
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
padding-top : 8px;
|
||||
|
||||
@@ -6,9 +6,8 @@
|
||||
<tr><td class="embedded"><h2>Pending</h2></td></tr>
|
||||
{% if pending %}
|
||||
<tr>
|
||||
<th>Creation</th>
|
||||
<th>Author</th>
|
||||
<th>Engine</th>
|
||||
<th>Author</th>
|
||||
<th>Test</th>
|
||||
<th>Diff</th>
|
||||
<th>P</th>
|
||||
@@ -18,9 +17,8 @@
|
||||
{% endif %}
|
||||
{% for test in pending %}
|
||||
<tr>
|
||||
<td>{{test.creation|date:'Y-m-d'}}</td>
|
||||
<td><a href="/viewUser/{{test.author}}">{{test.author}}</a></td>
|
||||
<td>{{test.engine}}</td>
|
||||
<td><a href="/viewUser/{{test.author}}">{{test.author}}</a></td>
|
||||
<td><a href="/viewTest/{{test.id}}">{{test.dev.name}}</a></td>
|
||||
<td class="textcenter"><a href="{{test|gitDiffLink}}">diff</a></td>
|
||||
<td>{{test.priority}}</td>
|
||||
@@ -31,9 +29,8 @@
|
||||
<tr><td class="embedded"><h2>Active</h2></td></tr>
|
||||
{% if active %}
|
||||
<tr>
|
||||
<th>Creation</th>
|
||||
<th>Author</th>
|
||||
<th>Engine</th>
|
||||
<th>Author</th>
|
||||
<th>Test</th>
|
||||
<th>Diff</th>
|
||||
<th>P</th>
|
||||
@@ -42,10 +39,9 @@
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% for test in active %}
|
||||
<tr class="{{test|testResultColour}}">
|
||||
<td>{{test.creation|date:'Y-m-d'}}</td>
|
||||
<td><a href="/viewUser/{{test.author}}">{{test.author}}</a></td>
|
||||
<tr>
|
||||
<td>{{test.engine}}</td>
|
||||
<td><a href="/viewUser/{{test.author}}">{{test.author}}</a></td>
|
||||
<td><a href="/viewTest/{{test.id}}">{{test.dev.name}}</a></td>
|
||||
<td class="textcenter"><a href="{{test|gitDiffLink}}">diff</a></td>
|
||||
<td>{{test.priority}}</td>
|
||||
@@ -57,9 +53,8 @@
|
||||
<tr><td class="embedded"><h2>Finished</h2></td></tr>
|
||||
{% if completed %}
|
||||
<tr>
|
||||
<th>Creation</th>
|
||||
<th>Author</th>
|
||||
<th>Engine</th>
|
||||
<th>Author</th>
|
||||
<th>Test</th>
|
||||
<th>Diff</th>
|
||||
<th>P</th>
|
||||
@@ -68,15 +63,14 @@
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% for test in completed %}
|
||||
<tr class="{{test|testResultColour}}">
|
||||
<td>{{test.creation|date:'Y-m-d'}}</td>
|
||||
<td><a href="/viewUser/{{test.author}}">{{test.author}}</a></td>
|
||||
<tr>
|
||||
<td>{{test.engine}}</td>
|
||||
<td><a href="/viewUser/{{test.author}}">{{test.author}}</a></td>
|
||||
<td><a href="/viewTest/{{test.id}}">{{test.dev.name}}</a></td>
|
||||
<td class="textcenter"><a href="{{test|gitDiffLink}}">diff</a></td>
|
||||
<td>{{test.priority}}</td>
|
||||
<td>{{test.timecontrol}}</td>
|
||||
<td class="statblock"><strong>{{test|shortStatBlock|linebreaksbr}}</strong></td>
|
||||
<td class='statblock {{test|testResultColour}}'><strong>{{test|shortStatBlock|linebreaksbr}}</strong></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
Reference in new issue
Block a user