perf-o-matic should store test results' units
[WebKit-https.git] / Websites / webkit-perf.appspot.com / admin.html
1 <!DOCTYPE html>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this file,
4    - You can obtain one at http://mozilla.org/MPL/2.0/.  -->
5 <html>
6 <head>
7     <title>Admin - Perf-o-Matic</title>
8     <link rel="stylesheet" href="../css/reset.min.css" type="text/css" />
9     <link rel="stylesheet" href="../css/common.css" type="text/css" />
10     <link rel="stylesheet" href="../css/admin.css" type="text/css" />
11 </head>
12 <body>
13     
14 <header id="header">
15     <h1>
16         <a href="/"><span id="logo">Perf-O-Matic</span></a>
17     </h1>
18     <nav>
19         <a href="/">Dashboard</a>
20         <a href="/graph.html">Custom Chart</a>
21     </nav>
22 </header>
23
24 <div id="summary">
25
26 <section>
27 <h2>Report logs</h2>
28 <dl class="counts">
29     <dt>Total</dt>
30     <dd>{{ report_log_total }}</dd>
31     <dt>Committed</dt>
32     <dd>{{ report_log_committed }}</dd>
33 </dl>
34
35 <!-- FIXME: Merge /admin/report-logs here -->
36 <p><a href="/admin/report-logs">Manage report logs</a></p>
37 </section>
38
39 <section id="branches">
40 <h2>Branches</h2>
41 <ul>
42     <li class="form">
43         <form method="POST" action="create/branch">
44         <dl>
45         <dt><label for="branch-key">Key</label></dt><dd><input type="text" id="branch-key" name="key"></dd>
46         <dt><label for="branch-name">Name</label></dt><dd><input type="text" id="branch-name" name="name"></dd>
47         </dl>
48         <button type="submit">Create</button>
49         </form>
50     </li>
51 </ul>
52 </section>
53
54 <section id="platforms">
55 <h2>Platforms</h2>
56 <ul>
57     <li class="form">
58         <form method="POST" action="create/platform">
59         <dl>
60         <dt><label for="platform-key">Key</label></dt><dd><input type="text" id="platform-key" name="key"></dd>
61         <dt><label for="platform-name">Name</label></dt><dd><input type="text" id="platform-name" name="name"></dd>
62         </dl>
63         <button type="submit">Create</button>
64         </form>
65     </li>
66 </ul>
67 </section>
68
69 <section id="builders">
70 <h2>Builders</h2>
71 <ul>
72     <li class="form">
73         <form method="POST" action="create/builder">
74         <dl>
75         <dt><label for="builder-name">Name</label></dt><dd><input type="text" id="builder-name" name="name"></dd>
76         <dt><label for="builder-password">Password</label></dt><dd><input type="password" id="builder-password" name="password"></dd>
77         </dl>
78         <button type="submit">Create</button>
79         </form>
80     </li>
81 </ul>
82 </section>
83
84 <section id="tests">
85 <h2>Tests</h2>
86 <ul>
87     <li class="form">
88         <form method="POST" action="merge-tests">
89         <button type="submit">Merge</button>
90         <select name="merge"></select> into
91         <select name="into"></select>
92         </form>
93     </li>
94 </ul>
95 </section>
96 </div>
97
98 <div id="manual-submission">
99 <section>
100 <h2>Manual submission</h2>
101 <form method="POST" action="/admin/report/">
102 <textarea name="payload" rows="20" cols="100">
103 </textarea><br>
104 <button type="submit">Submit</button>
105 </form>
106 </section>
107 <!-- FIXME: Merge admin/manual-submit.html here -->
108 </div>
109
110 <div id="errors">
111 </div>
112
113 <div id="footer">
114 <a href="https://appengine.google.com/dashboard?app_id=webkit-perf">App Engine dashboard</a>
115 </div>
116
117 <script type="text/javascript" src="../jq/jquery-1.4.4.min.js"></script>
118 <script type="text/javascript" src="../js/config.js"></script>
119 <script type="text/javascript" src="../js/common.js"></script>
120 <script type="text/javascript" src="../js/admin.js"></script>
121
122 </body>
123 </html>