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

Unified Diff: appengine/machine_provider/templates/root.html

Issue 2196623004: Add basic Machine Provider UI (Closed) Base URL: https://github.com/luci/luci-py.git@master
Patch Set: Fix Created 4 years, 4 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
« no previous file with comments | « appengine/machine_provider/templates/leases.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/machine_provider/templates/root.html
diff --git a/appengine/machine_provider/templates/root.html b/appengine/machine_provider/templates/root.html
new file mode 100644
index 0000000000000000000000000000000000000000..c7005474e3cedac9bd769277fa8e79f131d6ac6f
--- /dev/null
+++ b/appengine/machine_provider/templates/root.html
@@ -0,0 +1,16 @@
+{% extends "templates/base.html" %}
+{% block content %}
+<div class="notice">
+ Machine Provider is an open-source provider of VMs and a part of <a href="https://github.com/luci/luci-py">LUCI</a>.
+</div>
+<h2>Pages</h2>
+<ul>
+{% if is_admin %}
+ <li><a href="/leases">Lease Requests</a></a></li>
+ <li><a href="/catalog">Machine Catalog</a></li>
+ <li><a href="/_ah/api/explorer">Endpoints</a></li>
+{% else %}
+ <li>Currently, pages are only visible to admins. Are you signed in?</li>
+{% endif %}
+</ul>
+{% endblock %}
« no previous file with comments | « appengine/machine_provider/templates/leases.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698