Skip to content

Commit

Permalink
add basic instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobruni committed Jan 25, 2024
1 parent 638a968 commit 859bfca
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</div>
<div class="button-row">
<a href="#about">About Speedometer</a>
<a href="#instructions">Test Instructions</a>
</div>
</div>
</section>
Expand Down Expand Up @@ -176,6 +177,46 @@ <h1 class="section-header">About Speedometer 3</h1>
</div>
</div>
</section>

<section id="instructions" data-title="Test Instructions">
<a href="#home" class="logo">
<img srcset="resources/[email protected] 2x" src="resources/logo.png" alt="Speedometer" />
<div class="version">3.0</div>
</a>
<div class="section-grid">
<h1 class="section-header">Speedometer 3 Test Instructions</h1>
<div class="section-content">
<h2>General Instructions</h2>
<ol>
<li>Before running Speedometer:</li>
<ul>
<li>Close all other applications.</li>
<li>Close other browser windows and tabs.</li>
<li>Use a fresh browser profile and a single window.</li>
</ul>
<li>While running Speedometer: </li>
<ul>
<li>Keep the browser window in the foreground.</li>
<li>Do not use any other applications while Speedometer runs.</li>
</ul>
</ol>

<!-- TODO: fill in detailed instructions
<h2>Detailed browser-specific instructions</h2>
<h3>Chrome</h3>
<h3>Edge</h3>
<h3>Firefox</h3>
<h3>Safari</h3>
-->
</div>
<div class="buttons section-footer">
<div class="button-row">
<a class="button" href="#home" title="Show main section.">Home</a>
</div>
</div>
</div>
</section>

</main>
</body>
</html>
2 changes: 1 addition & 1 deletion resources/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class MainBenchmarkClient {
return;
}
} else {
if (hash !== "" && hash !== "#home" && hash !== "#about") {
if (hash === "#summary" || hash === "#details") {
this._setLocationHash("#home");
return;
}
Expand Down

0 comments on commit 859bfca

Please sign in to comment.