Index: appengine/isolate/templates/restricted_config.html |
diff --git a/appengine/isolate/templates/restricted_config.html b/appengine/isolate/templates/restricted_config.html |
index 6f220ac58ca70366596fa58ba397246b36af26f0..37aafa529c9235b0d8a48c99a5fe762ea920d060 100644 |
--- a/appengine/isolate/templates/restricted_config.html |
+++ b/appengine/isolate/templates/restricted_config.html |
@@ -1,6 +1,15 @@ |
{% set title = 'Isolate global config' %} |
{% extends "isolate/base.html" %} |
+{% block headers %} |
+<script> |
+function onclick_ts_mon() { |
+ document.getElementById("enable_ts_monitoring_hidden").disabled = |
+ document.getElementById("enable_ts_monitoring").checked; |
+ } |
+</script> |
+{% endblock %} |
+ |
{% block body %} |
<h1>Server global config</h1> |
@@ -24,6 +33,11 @@ Last updated on: <strong>{{cfg.updated_ts|datetimeformat}}</strong>.<br> |
<input type="text" name="default_expiration" |
value="{{cfg.default_expiration}}" size="60" /> |
</div> |
+ <h2>Timeseries Monitoring</h2> |
+ <div> |
+ Enable: <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"> |
+ </div> |
<h2>Google storage</h2> |
See this <a href="https://developers.google.com/storage/docs/accesscontrol#About-the-Client-ID"> |
page</a> for instructions on how to setup Service account for API Access to |