Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion server/fishtest/static/css/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ legend {
/* Icons */
.mainnavbar a::before,
#diff-num-comments + a::before,
#copy-diff::before {
#copy-diff::before,
#statistical-charts a::before {
display: inline-block;
font-style: normal;
font-variant: normal;
Expand Down Expand Up @@ -453,6 +454,10 @@ legend {
content: "\f328";
}

#statistical-charts a::before {
content: "\f1fe";
}

#div_spsa_preload {
background-image: url("/img/preload.gif");
height: 32px;
Expand Down
12 changes: 12 additions & 0 deletions server/fishtest/templates/tests_view.mak
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@
<%include file="elo_results.mak" args="run=run" />
</div>

% if 'spsa' not in run['args']:
<div id="statistical-charts">
<a
href="https://stockfish.dev/chart/tracker.php?test_id=${str(run['_id'])}"
class="btn btn-sm btn-light border mb-2"
target="_blank" rel="noopener"
>
Statistical charts
</a>
</div>
% endif

<div class="row">
<div class="col-12 col-lg-9">
<div id="diff-section">
Expand Down
Loading