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

Side by Side Diff: appengine/swarming/templates/root.html

Issue 2047753002: Add hack to enable multilogin. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 {% extends "swarming/base.html" %} 1 {% extends "swarming/base.html" %}
2 2
3 3
4 {% block headers %} 4 {% block headers %}
5 <script src="/third_party/webcomponentsjs/webcomponents.min.js"></script> 5 <script src="/third_party/webcomponentsjs/webcomponents.min.js"></script>
6 <link rel="import" href="/elements/stats-overview-build.html"> 6 <link rel="import" href="/elements/stats-overview-build.html">
7 <style> 7 <style>
8 .highlight_section { 8 .highlight_section {
9 background-color: #ffffee; 9 background-color: #ffffee;
10 border-radius: 20px; 10 border-radius: 20px;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 <div layout horizontal> 47 <div layout horizontal>
48 <div> 48 <div>
49 <div class=highlight_section> 49 <div class=highlight_section>
50 Swarming Server is an open source task distribution service. It is written 50 Swarming Server is an open source task distribution service. It is written
51 in python and runs on <a 51 in python and runs on <a
52 href="https://cloud.google.com/appengine/">AppEngine</a>. It is part of 52 href="https://cloud.google.com/appengine/">AppEngine</a>. It is part of
53 <a href="https://github.com/luci/luci-py">LUCI</a>. 53 <a href="https://github.com/luci/luci-py">LUCI</a>.
54 </div> 54 </div>
55 <p> 55 <p>
56 56
57 {% if not nickname %} 57 {% if user_type %}
58 As a {{user_type}}, you are entitled to see these pages:
59 {% else %}
58 Please <a href="{{signin_link|safe}}">sign in</a> for more access. 60 Please <a href="{{signin_link|safe}}">sign in</a> for more access.
59 {% else %}
60 As a {{user_type}}, you are entitled to see these pages:
61 {% endif %} 61 {% endif %}
62 62
63 <h3>Service Status</h3> 63 <h3>Service Status</h3>
64 <ul> 64 <ul>
65 <li class="user"><a href="/stats">Usage statistics</a></li> 65 <li class="user"><a href="/stats">Usage statistics</a></li>
66 <li class="user"><a href="/user/tasks">Tasks</a></li> 66 <li class="user"><a href="/user/tasks">Tasks</a></li>
67 <li class="privileged_user"><a href="/restricted/bots">Bots</a></li> 67 <li class="privileged_user"><a href="/restricted/bots">Bots</a></li>
68 <li class="admin"><a href="/restricted/ereporter2/report">Exceptions in se rver log</a></li> 68 <li class="admin"><a href="/restricted/ereporter2/report">Exceptions in se rver log</a></li>
69 <li class="admin"><a href="/restricted/ereporter2/errors">Ereporter2 error s</a></li> 69 <li class="admin"><a href="/restricted/ereporter2/errors">Ereporter2 error s</a></li>
70 <li class="admin"><a href="/restricted/mapreduce/status">Map reduce jobs</ a></li> 70 <li class="admin"><a href="/restricted/mapreduce/status">Map reduce jobs</ a></li>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 <button type="submit">Launch '{{job.name}}'</button> 108 <button type="submit">Launch '{{job.name}}'</button>
109 </form> 109 </form>
110 </li> 110 </li>
111 {% endfor %} 111 {% endfor %}
112 </ul> 112 </ul>
113 </div> 113 </div>
114 <stats-overview flex></stats-overview> 114 <stats-overview flex></stats-overview>
115 </div> 115 </div>
116 116
117 {% endblock %} 117 {% endblock %}
OLDNEW
« appengine/swarming/templates/base.html ('K') | « appengine/swarming/templates/base.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698