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

Unified Diff: appengine/isolate/templates/restricted_config.html

Issue 1708283003: isolateserver: add checkbox to enable ts_mon (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Addressed comments Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
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
« appengine/isolate/handlers_frontend.py ('K') | « appengine/isolate/handlers_frontend.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698