Update the views for Index, Greens, Search, and User

This commit is contained in:
AndyGrant committed 2020-02-28 01:35:47 -05:00
1 parent e6348916e2
commit 684fd636ed
7 files changed
+159 -103

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{% load mytags %}
<tr>
<td><a href="/viewUser/{{test.author}}">{{test.author|slice:":6"}}</a></td>
<td><a href="/user/{{test.author}}">{{test.author|slice:":6"}}</a></td>
<td>{{test.engine}}</td>
<td><a href="/viewTest/{{test.id}}">{{test.dev.name}}</a></td>
<td class="textcenter"><a href="{{test|gitDiffLink}}">diff</a></td>
+1 -1
View File
@@ -5,7 +5,7 @@
<table class="datatable">
<!-- Only show Pending tests for the front page of the Index -->
{% if paging.page == 1 and greens == False %}
{% if paging.page == 1 %}
<!-- Currently Pending tests (Waiting to be approved) -->
{% if pending %}
+4 -4
View File
@@ -14,23 +14,23 @@
<select name="engine">
<option selected value="">ALL</option>
{% for name, data in config.engines.items %}
<option value="{{name}}">{{data.name}}</option>
<option value="{{name}}">{{name}}</option>
{% endfor %}
</select><br>
<label> Show Passed </label>
<label> Show Greens </label>
<select name="showgreens">
<option selected value="True">True</option>
<option value="False">False</option>
</select><br>
<label> Show Failed </label>
<label> Show Yellows </label>
<select name="showyellows">
<option selected value="True">True</option>
<option value="False">False</option>
</select><br>
<label> Show Neutral </label>
<label> Show Reds </label>
<select name="showreds">
<option selected value="True">True</option>
<option value="False">False</option>
+1 -1
View File
@@ -17,7 +17,7 @@
{% for profile in profiles %}
{% if profile.enabled %}
<tr>
<td><a href="/viewUser/{{profile.user.username}}">{{profile.user.username}}</a></td>
<td><a href="/user/{{profile.user.username}}">{{profile.user.username}}</a></td>
<td style="text-align: right">{{profile.games|insertCommas}}</td>
<td style="text-align: right">{{profile.tests|insertCommas}}</td>
<td>{{profile.engine}}</td>