| Index: appengine/swarming/templates/restricted_config.html
|
| diff --git a/appengine/swarming/templates/restricted_config.html b/appengine/swarming/templates/restricted_config.html
|
| index 8e94b966cdbc4f707685e1e0b430b08c134c5819..f5c8e61b2a67e28dde520020d2f6e7c5a69c53af 100644
|
| --- a/appengine/swarming/templates/restricted_config.html
|
| +++ b/appengine/swarming/templates/restricted_config.html
|
| @@ -12,43 +12,28 @@ function onclick_ts_mon() {
|
|
|
| {% block body %}
|
| <h1>Server global config</h1>
|
| +This config is distributed by
|
| +<a href="https://luci-config.appspot.com">luci-config</a>.
|
| +Using revision <a href="{{rev_url}}">{{rev}}</a>.
|
| +
|
| +<h2>General</h2>
|
| +<p>
|
| +Google Analytics ID:
|
| +<input name="google_analytics" value="{{cfg.google_analytics}}"/>
|
| +</p>
|
| +
|
| +<p>
|
| +Enable timeseries monitoring: <input id="enable_ts_monitoring" type="checkbox" name="enable_ts_monitoring" value="True" onclick="onclick_ts_mon()" {% if cfg.enable_ts_monitoring %}checked{% endif %}>
|
| + <input id="enable_ts_monitoring_hidden" type="hidden" name="enable_ts_monitoring" value="False">
|
| +</p>
|
| +
|
| +<h2>Bots</h2>
|
| +Delay in seconds before a bot is considered dead after it stops pinging:
|
| +<input name="bot_death_timeout_secs" value="{{cfg.bot_death_timeout_secs}}"/>
|
| +<br>
|
| +
|
| +<h2>Tasks</h2>
|
| +Max age in seconds for task reuse:
|
| +<input name="reusable_task_age_secs" value="{{cfg.reusable_task_age_secs}}"/>
|
|
|
| -Last updated by:
|
| -<strong>{% if cfg.updated_by %}{{cfg.updated_by.to_bytes()}}{% else%}N/A{%endif%}
|
| - </strong>.<br>
|
| -Last updated on:
|
| -<strong>{{cfg.updated_ts|datetimeformat}}</strong>.<br>
|
| -
|
| -{% if note %}
|
| -<span style="color: red; font-style: italic">{{note}}</span><p>
|
| -{% endif %}
|
| -
|
| -<form method="post" action="{{path}}">
|
| - <h2>General</h2>
|
| - <p>
|
| - Google Analytics ID:
|
| - <input name="google_analytics" value="{{cfg.google_analytics}}"/>
|
| - </p>
|
| -
|
| - <p>
|
| - Enable timeseries monitoring: <input id="enable_ts_monitoring" type="checkbox" name="enable_ts_monitoring" value="True" onclick="onclick_ts_mon()" {% if cfg.enable_ts_monitoring %}checked{% endif %}>
|
| - <input id="enable_ts_monitoring_hidden" type="hidden" name="enable_ts_monitoring" value="False">
|
| - </p>
|
| -
|
| - <h2>Bots</h2>
|
| - Delay in seconds before a bot is considered dead after it stops pinging:
|
| - <input name="bot_death_timeout_secs" value="{{cfg.bot_death_timeout_secs}}"/>
|
| - <br>
|
| -
|
| - <h2>Tasks</h2>
|
| - Max age in seconds for task reuse:
|
| - <input name="reusable_task_age_secs" value="{{cfg.reusable_task_age_secs}}"/>
|
| - <br>
|
| -
|
| - <br>
|
| - <input type="hidden" name="keyid" value="{{cfg.key.integer_id()}}" />
|
| - <input type="hidden" name="xsrf_token" value="{{xsrf_token}}" />
|
| - <input type="submit" value="Update" />
|
| - <br>
|
| -</form>
|
| {% endblock %}
|
|
|