Skip to content

Commit e90b9b6

Browse files
Merge pull request #782 from lzutao/narrow-compare
Restructure looks of compare.html site
2 parents fcb49f8 + f762dde commit e90b9b6

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

site/static/compare.html

+16-13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
56
<title>rustc performance data</title>
67
<link rel="stylesheet" type="text/css" href="perf.css">
78
<link rel="alternate icon" type="image/png" href="/favicon-32x32.png">
@@ -18,7 +19,7 @@
1819
}
1920
</style>
2021
</head>
21-
<body class="container">
22+
<body class="container" style="max-width:800px">
2223
<div>&gt; <a href="index.html">graphs</a>, <a href="compare.html">compare</a>,
2324
<a href="dashboard.html">dashboard</a>, <a href="bootstrap.html">bootstrap</a>,
2425
<a href="status.html">status</a>.</div>
@@ -46,18 +47,20 @@ <h3>Cache states</h3>
4647
</ul>
4748
</div>
4849
<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>
50+
<form id="settings" action="">
51+
<fieldset id="commits">
52+
<legend>Commits</legend>
53+
<label for="start-bound">Commit/Date A:</label>
54+
<input width="100em" placeholder="YYYY-MM-DD or SHA" id="start-bound" /><br>
55+
<label for="end-bound">Commit/Date B:</label>
56+
<input width="100em" placeholder="YYYY-MM-DD or SHA" id="end-bound" /><br>
57+
</fieldset>
58+
<label for="stats">Choose a comparison method:</label>
59+
<select id='stats' name="stat">
60+
</select><br>
61+
<input type="submit" value="Submit" onclick="submit_settings(); return false;">
62+
</form>
63+
<br>
6164
<div id="as-of"></div>
6265
<a href="https://github.com/rust-lang-nursery/rustc-perf">
6366
<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)