Skip to content

Commit 1228e59

Browse files
committed
Make compare.settings a form
Note that this diff doesn't change input form of other pages like index or bootstrap.
1 parent 0c4b315 commit 1228e59

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

site/static/compare.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,20 @@ <h3>Cache states</h3>
4646
</ul>
4747
</div>
4848
<div id="content" style="display: none"></div>
49-
<div id="settings">
50-
<div id="commits" class="settings" style="text-align:left;">
51-
<h3>Commits</h3>
52-
Commit/Date A: <input width="100em" placeholder="YYYY-MM-DD or SHA" id="start-bound" /><br>
53-
Commit/Date B: <input width="100em" placeholder="YYYY-MM-DD or SHA" id="end-bound" /><br>
54-
<select id='stats' name="stat">
55-
</select>
56-
<div class="submit">
57-
<a href="#" onClick="submit_settings(); return false;">Submit</a>
58-
</div>
59-
</div>
60-
</div>
49+
<form id="settings" action="">
50+
<fieldset id="commits">
51+
<legend>Commits</legend>
52+
<label for="start-bound">Commit/Date A:</label>
53+
<input width="100em" placeholder="YYYY-MM-DD or SHA" id="start-bound" /><br>
54+
<label for="end-bound">Commit/Date B:</label>
55+
<input width="100em" placeholder="YYYY-MM-DD or SHA" id="end-bound" /><br>
56+
</fieldset>
57+
<label for="stats">Choose a comparison method:</label>
58+
<select id='stats' name="stat">
59+
</select><br>
60+
<input type="submit" value="Submit" onclick="submit_settings(); return false;">
61+
</form>
62+
<br>
6163
<div id="as-of"></div>
6264
<a href="https://github.com/rust-lang-nursery/rustc-perf">
6365
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">

0 commit comments

Comments
 (0)