Number of CSS and display changes
Make copy button show hoverable pointer events Stop truncating usernames on worker result pages Fixes for setting dev/base options when doing cross-engine play - Base will inherit dev's threads and hash options - Base will discard everything else, and add their own specific options Move to using a 2-dot .. diff instead of a 3-dot ... diff for now.
This commit is contained in:
1 parent
711608a8ee
commit
000fcc17ba
6 files changed
+120
-99
No files matched your search
@@ -14,9 +14,7 @@
|
||||
document.addEventListener(
|
||||
'DOMContentLoaded', function () {
|
||||
set_test_type();
|
||||
set_engine("{{ profile.engine }}", "dev");
|
||||
set_engine("{{ profile.engine }}", "base");
|
||||
set_test_mode("STC");
|
||||
set_engine('{{ profile.engine }}', 'dev');
|
||||
enforce_default_text('dev_repo', 'https://github.com/');
|
||||
enforce_default_text('base_repo', 'https://github.com/');
|
||||
}, false
|
||||
|
||||
@@ -122,6 +122,7 @@
|
||||
<a class="w-25 mr-2 anchorbutton btn-disabled">Delete</a>
|
||||
{% endif %}
|
||||
|
||||
<!-- Copy Button: Copy the current results statblock -->
|
||||
<a class="copy-button" onclick="copy_statblock()">
|
||||
<i class="fa-regular fa-clone copy-button"></i>
|
||||
</a>
|
||||
@@ -174,7 +175,7 @@
|
||||
{% for id, result in results.items %}
|
||||
<tr>
|
||||
<td>{{result.machine_id}}</td>
|
||||
<td>{{result.username|capfirst|slice:"6"}}</td>
|
||||
<td>{{result.username|capfirst}}</td>
|
||||
<td class="timestamp">{{result.updated|date:'U'}}</td>
|
||||
<td class="numeric">{{result.games}}</td>
|
||||
<td class="numeric">{{result.wins}}</td>
|
||||
|
||||
@@ -11,29 +11,18 @@
|
||||
<th>Games</th>
|
||||
<th>Tests</th>
|
||||
<th>Engine</th>
|
||||
<th>Default Repository</th>
|
||||
<th>Created</th>
|
||||
</tr>
|
||||
|
||||
<!---
|
||||
<tr style="font-weight: bold">
|
||||
<th>{{profiles|length}}</th>
|
||||
<th>{{profiles|sumAttributes:"games"|insertCommas}}</th>
|
||||
<th>{{profiles|sumAttributes:"tests"|insertCommas}}</th>
|
||||
<th></th><th></th>
|
||||
</tr>
|
||||
--->
|
||||
|
||||
{% for profile in profiles %}
|
||||
{% if profile.enabled %}
|
||||
{% if profile.games or profile.tests or profile.approver %}
|
||||
<tr>
|
||||
<td><a href="/user/{{profile.user.username}}">{{profile.user.username|capfirst}}</a></td>
|
||||
<td style="text-align: right">{{profile.games|insertCommas}}</td>
|
||||
<td style="text-align: right">{{profile.tests|insertCommas}}</td>
|
||||
<td>{{profile.engine}}</td>
|
||||
<td><a href="{{profile.repo}}">{{profile.repo}}</a></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if profile.games or profile.tests or profile.approver %}
|
||||
<tr>
|
||||
<td><a href="/user/{{profile.user.username}}">{{profile.user.username|capfirst}}</a></td>
|
||||
<td style="text-align: right">{{profile.games|insertCommas}}</td>
|
||||
<td style="text-align: right">{{profile.tests|insertCommas}}</td>
|
||||
<td>{{profile.engine}}</td>
|
||||
<td class="timestamp">{{profile.user.date_joined|date:'U'}}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user