Index: appengine/chrome_infra_mon_proxy/templates/set_credentials.html |
diff --git a/appengine/chrome_infra_mon_proxy/templates/set_credentials.html b/appengine/chrome_infra_mon_proxy/templates/set_credentials.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5b5dc697b718d322951b4185c02c4eb26ebf1ac6 |
--- /dev/null |
+++ b/appengine/chrome_infra_mon_proxy/templates/set_credentials.html |
@@ -0,0 +1,39 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<title>Monitoring Proxy: set credentials</title> |
+<style> |
+.message { |
+ color: #990000; |
+ font-weight: bold; |
+} |
+</style> |
+</head> |
+<body> |
+<p><a href="/admin/">< Admin</a> |
+<p><div class="message">%(message)s</div> |
+ |
+<p><form method="POST"> |
+Endpoint URL: |
+<p><input type="text" size="80" name="url" value="%(url)s"> |
+<br> |
+Credentials JSON: |
+<p><textarea rows="20" cols="80" name="credentials"> |
+%(credentials)s |
+</textarea> |
+<br> |
+Scopes (separated by space or end of line): |
+<p><textarea rows="5" cols="80" name="scopes"> |
+%(scopes)s |
+</textarea> |
+<br> |
+Additional HTTP headers (JSON). Leave empty if none: |
+<p><textarea rows="5" cols="80" name="headers"> |
+%(headers)s |
+</textarea> |
+<br> |
+<input type="submit"> |
+</form> |
+ |
+</body> |
+</html> |