Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: dashboard/dashboard/templates/create_health_report.html

Issue 2622303003: Allows a user to create_health_reports. (Closed)
Patch Set: removing changes from other CL Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
3 Copyright 2017 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7 <html>
8 <head>
9 <link type="text/css" rel="stylesheet" href="/dashboard/static/base.css">
10 <link rel="import" href="/dashboard/elements/nav-bar.html">
11 <title>Create A Health Report</title>
12 <script>
13 'use strict';
14 // The user's XSRF token string, required to submit the form.
15 var XSRF_TOKEN = '{{xsrf_token}}';
16
17 /**
18 * Initializes the event listeners for events on the form.
19 */
20
21 window.addEventListener('DOMContentLoaded', initialize, true);
22 </script>
23 </head>
24 <body>
25 <nav-bar></nav-bar>
26 <h1>Create a Health Report</h1>
27 {{msg}}
28 <form method="POST">
29 {{xsrf_input | safe}}
30 <table>
31 <tr>
32 <td>Internal-only:</td>
33 <td>
34 <label><input type="radio" name="internal-only" id="internal-only-yes"
35 value="true" checked>yes</label>
36 <label><input type="radio" name="internal-only" id="internal-only-no"
37 value="false">no</label>
38 </td>
39 </tr>
40 </table>
41 <b>User-friendly name:</b><br>
42 <input type="text" name="name" id="name" size=75><br><br>
43
44 <b>Master/bots:</b><br>
45 Enter each master/bot pair, separated by line. For example:<br>
46 ChromiumPerf/Nexus5<br>
47 ClankInternal/mako<br>
48 ...<br>
49 <textarea name="masterBot" id="masterBot-textarea"
50 rows="15" cols="72"></textarea><br><br>
51
52 <b>Tests:</b><br>
53 Enter each test path in full, separated by line. For example: <br>
54 memory.top_10_mobile/memory:chrome:all_processes:reported_by_os:system_memor y:ashmem:proportional_resident_size_avg <br>
55 memory.top_10_mobile/memory:chrome:all_processes:reported_by_os:system_memor y:java_heap:proportional_resident_size_avg<br>
56 ...<br>
57 <textarea name="tests" id="tests-textarea"
58 rows="15" cols="72"></textarea><br><br>
59
60 <b>Test layout:</b><br>
61 Enter a serialized dict to specify the layout. For example: <br>
62 { <br>
63 &nbsp;&nbsp;"system_health.memory_mobile/foreground/ashmem": ["Foreground", "Ashmem"]<br>
64 &nbsp;&nbsp;...<br>
65 }<br>
66 <textarea name="tableLayout" id="table-layout-textarea"
67 rows="15" cols="72"></textarea><br><br>
68
69 <button type="submit">Submit</button><br><br>
70 </form>
71
72 </body>
73 </html>
OLDNEW
« dashboard/dashboard/models/table_config.py ('K') | « dashboard/dashboard/models/table_config.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698