Skip to content

Commit e8295df

Browse files
committed
Swap order of aggregations section and main summary
1 parent d32994f commit e8295df

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

site/static/compare.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -277,27 +277,27 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
277277
<button @click="resetFilter">Reset filters</button>
278278
</div>
279279
</fieldset>
280-
<fieldset id="aggregations" class="collapsible-section">
281-
<legend id="aggregations-toggle" class="section-heading">Aggregations<span class="toggle-indicator" id="aggregations-toggle-indicator"></span>
282-
</legend>
283-
<div id="aggregations-content" v-if="data">
284-
<aggregations :cases="testCases"></aggregations>
285-
</div>
286-
</fieldset>
287280
<p v-if="dataLoading && !data">Loading ...</p>
288-
<div v-if="data" id="content" style="margin-top: 15px">
289-
<div id="main-summary">
290-
<summary-table :summary="filteredSummary"></summary-table>
291-
<div style="position: absolute; right: 5px; top: 5px;">
281+
<div v-if="data" id="main-summary">
282+
<summary-table :summary="filteredSummary"></summary-table>
283+
<div style="position: absolute; right: 5px; top: 5px;">
292284
<span class="tooltip" style="margin-right: 1em;">?
293285
<span class="tooltiptext">
294286
The table shows summaries of regressions, improvements and all changes
295287
calculated from data that is currently visible (data that passes the
296288
active filters).
297289
</span>
298290
</span>
299-
</div>
300291
</div>
292+
</div>
293+
<fieldset id="aggregations" class="collapsible-section">
294+
<legend id="aggregations-toggle" class="section-heading">Aggregations<span class="toggle-indicator" id="aggregations-toggle-indicator"></span>
295+
</legend>
296+
<div id="aggregations-content" v-if="data">
297+
<aggregations :cases="testCases"></aggregations>
298+
</div>
299+
</fieldset>
300+
<div v-if="data" id="content" style="margin-top: 15px">
301301
<div v-if="data.new_errors.length">
302302
<p><b>Newly broken benchmarks</b>:</p>
303303
<details v-for="[crate, error] in data.new_errors">
@@ -306,7 +306,6 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
306306
</details>
307307
<hr />
308308
</div>
309-
310309
<test-cases-table
311310
title="Primary"
312311
:cases="testCases.filter(c => c.category === 'primary')"

0 commit comments

Comments
 (0)