1<!DOCTYPE html> 2<!-- 3Copyright 2016 The Chromium Authors. All rights reserved. 4Use of this source code is governed by a BSD-style license that can be 5found 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 <style> 12 textarea { 13 height: 20em; 14 width: 40em; 15 } 16 </style> 17</head> 18<body> 19 <nav-bar></nav-bar> 20 <p class="error">{{error}}</p> 21 {% if key %} 22 <h2>Key: {{key}}</h2> 23 <p>For configs where there is not a separate value for internal and 24 external users (using <code>stored_object</code>, only the first 25 text area should be used; for configs where there is a separate value 26 (using <code>namespaced_stored_object</code>), the second and third 27 boxes should be filled out.</p> 28 <form action="/edit_site_config" method="post"> 29 <div> 30 <label for="value">Non-namespaced value:</label><br> 31 <textarea name="value" id="value">{{value}}</textarea> 32 </div> 33 <div> 34 <label for="external_value">Externally-visible value:</label><br> 35 <textarea name="external_value" id="external_value">{{external_value}}</textarea> 36 </div> 37 <div> 38 <label for="internal_value">Internal-only value:</label><br> 39 <textarea name="internal_value" id="internal_value">{{internal_value}}</textarea> 40 </div> 41 <input type="hidden" name="key" value="{{key}}"> 42 {{xsrf_input | safe}} 43 <input type="submit" value="Submit"> 44 </form> 45 {% else %} 46 <h2>Keys</h2> 47 <h3>Non-namespaced</h3> 48 <ul> 49 <li><a href="?key=bisect_fyi_config_map">bisect_fyi_config_map</a>: 50 Bisect FYI test cases.</li> 51 <li><a href="?key=internal_domain_key">internal_domain_key</a>: 52 The domain of users belong to to view internal data.</li> 53 <li><a href="?key=ip_whitelist">ip_whitelist</a>: 54 List of whitelisted sender IP addresses.</li> 55 <li><a href="?key=project_id">project_id</a>: 56 Project ID used for ticking custom metrics.</li> 57 <li><a href="?key=recipe_tester_director_map">recipe_tester_director_map</a>: 58 Map of tester names to bisector bot for recipe bisect.</li> 59 <li><a href="?key=sheriff_domains_key">sheriff_domains_key</a>: 60 The domains of users who can triage alerts.</li> 61 </ul> 62 <h3>Namespaced</h3> 63 <ul> 64 <li><a href="?key=bisect_bot_map">bisect_bot_map</a>: 65 Association between bot names and bisect bot names.</li> 66 <li><a href="?key=bisect_builder_types">bisect_builder_types</a>: 67 Map of master names to bisect "test types".</li> 68 <li><a href="?key=bot_browser_map">bot_browser_map</a>: 69 Browsers to use for Telemetry.</li> 70 <li><a href="?key=master_try_server_map">master_try_server_map</a>: 71 Try servers to use for bisect jobs.</li> 72 <li><a href="?key=revision_info">revision_info</a>: 73 Repository names and change log viewers.</li> 74 </ul> 75 {% endif %} 76</body> 77</html> 78