Chromium Code Reviews| 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 %} |