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

Side by Side Diff: appengine_apps/chromium_status/templates/main.html

Issue 778533003: Moved chromium_status to appengine/ (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years 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
(Empty)
1 {% extends "base.html" %}
2
3 {% block extra_head %}
4 <script src="js/main/main.js"></script>
5 <script data-dojo-config="async:true"
6 src="//ajax.googleapis.com/ajax/libs/dojo/1.9.1/dojo/dojo.js"></script >
7 {% endblock %}
8
9 {% block content %}
10 <!-- Keep in sync with status.py:Status.general_state() logic -->
11 <div id="help" class="help" hidden>
12 The message is scanned for partial matches (in the order listed)<br>
13 and will set the tree state accordingly. The scan order does <b>not</b><br>
14 correspond to the severity of the tree state.<br>
15 <br>
16 &nbsp;(1) "<span class="maintenance">maint</span>": The tree is closed for
17 maintenance<br>
18 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (also needs to have the text
19 "close")<br>
20 &nbsp;(2) "<span class="throttled">throt</span>": The tree is throttled;
21 tread carefully<br>
22 &nbsp;(3) "<span class="closed">close</span>": The tree is closed<br>
23 &nbsp;(4) Otherwise, the tree is <span class="open">open</span> for business
24 </div>
25
26 <center>
27 {% if write_access %}
28 {% if error_message %}
29 <div class="error">
30 {{ error_message }}
31 </div>
32 {% endif %}
33 <form action="/" name="add_new_message" method="post">
34 <textarea cols="80" rows="2" name="message"
35 style="vertical-align: middle;">{{ message }}</textarea>
36 <input type="hidden" name="last_status_key" value="{{ last_status_key }}">
37 <input type="submit" name="change" value="Change">
38 <input type="button" name="refresh" value="Refresh" onclick="location.href ='/';">
39 <input type="button" name="history" value="History" onclick="location.href ='/status_viewer';">
40 </form>
41 {% endif %}
42 <br>
43 <h2>Last <a href="?limit={{ limit }}">{{ limit }}</a> {{ title }}</h2>
44 <table border="1" cellpadding="5">
45 <tr bgcolor="#CCCCFF">
46 <td><b>Who</b></td>
47 <td><b>When (<span name="date.tz">UTC</span>)</b></td>
48 <td><b>Message</b></td>
49 </tr>
50 {% for a_status in status %}
51 <tr class="{{ a_status.general_state }}">
52 <td class="username">
53 {% for a_link in a_status.username_links.links %}
54 {% if a_link.target %}
55 <a href="{% if a_link.is_email %}mailto:{% endif %}{{ a_link.target }}">{{ a_link.text }}</a>
56 {% else %}
57 {{ a_link.text }}
58 {% endif %}
59 {% endfor %}
60 </td>
61 <td class="date" name="date.date">{{ a_status.date|date:"D, d M H:i" }}</t d>
62 <td class="message">
63 {% for a_link in a_status.message_links.links %}
64 {% if a_link.target %}
65 <a href="{% if a_link.is_email %}mailto:{% endif %}{{ a_link.target }}">{{ a_link.text }}</a>
66 {% else %}
67 {{ a_link.text }}
68 {% endif %}
69 {% endfor %}
70 </td>
71 </tr>
72 {% endfor %}
73
74 </table>
75 </center>
76 {% endblock %}
OLDNEW
« no previous file with comments | « appengine_apps/chromium_status/templates/current.html ('k') | appengine_apps/chromium_status/templates/revisions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698