Remove URLs that require mod_rewrite

This commit is contained in:
mattbk
2015-10-29 19:11:33 -05:00
parent 99c1dd6788
commit 323a7a741e

View File

@ -7,8 +7,8 @@
<div class="alert alert-info">{% if records == 1 %}Retrieved 1 result.{% else %}Retrieved {{ records }} results.{% endif %}</div> <div class="alert alert-info">{% if records == 1 %}Retrieved 1 result.{% else %}Retrieved {{ records }} results.{% endif %}</div>
{% if allow_filtering %} {% if allow_filtering %}
<div class="btn-group"> <div class="btn-group">
<a class="btn{% if filtered %} active{% endif %}" href="results/filtered">Filtered results</a> <a class="btn{% if filtered %} active{% endif %}" href="index.php?mode=results&filtered=1">Filtered results</a>
<a class="btn{% if not filtered %} active{% endif %}" href="results">All results</a> <a class="btn{% if not filtered %} active{% endif %}" href="index.php?mode=results">All results</a>
</div> </div>
{% endif %} {% endif %}
@ -26,19 +26,20 @@
{% for record in stats %} {% for record in stats %}
<tr> <tr>
<td>{{ loop.index }}.</td> <td>{{ loop.index }}.</td>
{% if record.scene1.correct %}<td class="alert-success"><i class="icon-ok"></i>{% else %}<td class="alert-danger"><i class="icon-remove"></i>{% endif %}&nbsp;{{ record.notable.time / 1000 }} seconds</td> {% if record.scene1.correct %}<td class="alert-success"><i class="icon-ok"></i>{% else %}<td class="alert-danger"><i class="icon-remove"></i>{% endif %}&nbsp;{{ record.scene1.time / 1000 }} seconds</td>
{% if record.unnoted.correct %}<td class="alert-success"><i class="icon-ok"></i>{% else %}<td class="alert-danger"><i class="icon-remove"></i>{% endif %}&nbsp;{{ record.unnoted.time / 1000 }} seconds</td> {% if record.scene2.correct %}<td class="alert-success"><i class="icon-ok"></i>{% else %}<td class="alert-danger"><i class="icon-remove"></i>{% endif %}&nbsp;{{ record.scene2.time / 1000 }} seconds</td>
{% if record.renoted.correct %}<td class="alert-success"><i class="icon-ok"></i>{% else %}<td class="alert-danger"><i class="icon-remove"></i>{% endif %}&nbsp;{{ record.renoted.time / 1000 }} seconds</td> {% if record.scene3.correct %}<td class="alert-success"><i class="icon-ok"></i>{% else %}<td class="alert-danger"><i class="icon-remove"></i>{% endif %}&nbsp;{{ record.scene3.time / 1000 }} seconds</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
<!--Doing some debugging.-->
<!--Doing some debugging.
<pre>{{ dump(stats) }}</pre> <pre>{{ dump(stats) }}</pre>
<pre>{{ dump(data) }}</pre> <pre>{{ dump(data) }}</pre> -->
<h2 id="raw-results">Raw results</h2> <h2 id="raw-results">Raw results</h2>
<p><a class="btn" href="results/download"><i class="icon-download-alt"></i> Download results</a></p> <p><a class="btn" href="index.php?mode=result&download=1"><i class="icon-download-alt"></i> Download results</a></p>
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>