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

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

Issue 2196623004: Add basic Machine Provider UI (Closed) Base URL: https://github.com/luci/luci-py.git@master
Patch Set: Created 4 years, 5 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/machine_provider/templates/index.html
diff --git a/appengine/machine_provider/templates/index.html b/appengine/machine_provider/templates/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..c7005474e3cedac9bd769277fa8e79f131d6ac6f
--- /dev/null
+++ b/appengine/machine_provider/templates/index.html
@@ -0,0 +1,16 @@
+{% extends "templates/base.html" %}
M-A Ruel 2016/07/30 01:41:58 Please name it 'root.html' for consistency with th
smut 2016/08/02 23:26:33 Done.
+{% 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 %}

Powered by Google App Engine
This is Rietveld 408576698