| Index: dashboard/dashboard/templates/create_health_report.html
|
| diff --git a/dashboard/dashboard/templates/create_health_report.html b/dashboard/dashboard/templates/create_health_report.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4bbab8102cac8277553ffc3176a697ec97474367
|
| --- /dev/null
|
| +++ b/dashboard/dashboard/templates/create_health_report.html
|
| @@ -0,0 +1,73 @@
|
| +<!DOCTYPE html>
|
| +<!--
|
| +Copyright 2017 The Chromium Authors. All rights reserved.
|
| +Use of this source code is governed by a BSD-style license that can be
|
| +found in the LICENSE file.
|
| +-->
|
| +<html>
|
| +<head>
|
| + <link type="text/css" rel="stylesheet" href="/dashboard/static/base.css">
|
| + <link rel="import" href="/dashboard/elements/nav-bar.html">
|
| + <title>Create A Health Report</title>
|
| + <script>
|
| + 'use strict';
|
| + // The user's XSRF token string, required to submit the form.
|
| + var XSRF_TOKEN = '{{xsrf_token}}';
|
| +
|
| + /**
|
| + * Initializes the event listeners for events on the form.
|
| + */
|
| +
|
| + window.addEventListener('DOMContentLoaded', initialize, true);
|
| + </script>
|
| +</head>
|
| +<body>
|
| + <nav-bar></nav-bar>
|
| + <h1>Create a Health Report</h1>
|
| + {{msg}}
|
| + <form method="POST">
|
| + {{xsrf_input | safe}}
|
| + <table>
|
| + <tr>
|
| + <td>Internal-only:</td>
|
| + <td>
|
| + <label><input type="radio" name="internal-only" id="internal-only-yes"
|
| + value="true" checked>yes</label>
|
| + <label><input type="radio" name="internal-only" id="internal-only-no"
|
| + value="false">no</label>
|
| + </td>
|
| + </tr>
|
| + </table>
|
| + <b>User-friendly name:</b><br>
|
| + <input type="text" name="name" id="name" size=75><br><br>
|
| +
|
| + <b>Master/bots:</b><br>
|
| + Enter each master/bot pair, separated by line. For example:<br>
|
| + ChromiumPerf/Nexus5<br>
|
| + ClankInternal/mako<br>
|
| + ...<br>
|
| + <textarea name="masterBot" id="masterBot-textarea"
|
| + rows="15" cols="72"></textarea><br><br>
|
| +
|
| + <b>Tests:</b><br>
|
| + Enter each test path in full, separated by line. For example: <br>
|
| + memory.top_10_mobile/memory:chrome:all_processes:reported_by_os:system_memory:ashmem:proportional_resident_size_avg <br>
|
| + memory.top_10_mobile/memory:chrome:all_processes:reported_by_os:system_memory:java_heap:proportional_resident_size_avg<br>
|
| + ...<br>
|
| + <textarea name="tests" id="tests-textarea"
|
| + rows="15" cols="72"></textarea><br><br>
|
| +
|
| + <b>Test layout:</b><br>
|
| + Enter a serialized dict to specify the layout. For example: <br>
|
| + { <br>
|
| + "system_health.memory_mobile/foreground/ashmem": ["Foreground", "Ashmem"]<br>
|
| + ...<br>
|
| + }<br>
|
| + <textarea name="tableLayout" id="table-layout-textarea"
|
| + rows="15" cols="72"></textarea><br><br>
|
| +
|
| + <button type="submit">Submit</button><br><br>
|
| + </form>
|
| +
|
| +</body>
|
| +</html>
|
|
|