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

Side by Side Diff: templates/main.html

Issue 57643007: chromium-status: tighten up the Who/When columns (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-status
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « stylesheets/style.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% extends "base.html" %} 1 {% extends "base.html" %}
2 2
3 {% block content %} 3 {% block content %}
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 window.onload=function() { 5 window.onload=function() {
6 document.add_new_message.message.focus(); 6 document.add_new_message.message.focus();
7 } 7 }
8 </script> 8 </script>
9 <center> 9 <center>
10 {% if write_access %} 10 {% if write_access %}
11 {% if error_message %} 11 {% if error_message %}
12 <div class="error"> 12 <div class="error">
13 {{ error_message }} 13 {{ error_message }}
14 </div> 14 </div>
15 {% endif %} 15 {% endif %}
16 <form action="/" name="add_new_message" method="post"> 16 <form action="/" name="add_new_message" method="post">
17 <input type="text" size="80" name="message" value="{{ message }}"> 17 <input type="text" size="80" name="message" value="{{ message }}">
18 <input type="hidden" name="last_status_key" value="{{ last_status_key }}"> 18 <input type="hidden" name="last_status_key" value="{{ last_status_key }}">
19 <input type="submit" name="change" value="Change"> 19 <input type="submit" name="change" value="Change">
20 <input type="button" name="refresh" value="Refresh" onclick="location.href ='/';"> 20 <input type="button" name="refresh" value="Refresh" onclick="location.href ='/';">
21 <input type="button" name="history" value="History" onclick="location.href ='/status_viewer';"> 21 <input type="button" name="history" value="History" onclick="location.href ='/status_viewer';">
22 </form> 22 </form>
23 {% endif %} 23 {% endif %}
24 <br><br> 24 <br><br>
25 <h2>Last 25 {{ title }}</h2> 25 <h2>Last 25 {{ title }}</h2>
26 <table border="1" cellpadding="5"> 26 <table border="1" cellpadding="5">
27 <tr bgcolor="#CCCCFF"> 27 <tr bgcolor="#CCCCFF">
28 <td><b>Who</b></td> 28 <td><b>Who</b></td>
29 <td><b>When</b></td> 29 <td><b>When (UTC)</b></td>
30 <td><b>Message</b></td> 30 <td><b>Message</b></td>
31 </tr> 31 </tr>
32 {% for a_status in status %} 32 {% for a_status in status %}
33 <tr class="{{ a_status.general_state }}"> 33 <tr class="{{ a_status.general_state }}">
34 <td>{{ a_status.username }}</td> 34 <td class="username">{{ a_status.username }}</td>
35 <td>{{ a_status.date|date:"D M d, H:i T " }}</td> 35 <td class="date">{{ a_status.date|date:"D, d M H:i" }}</td>
36 <td>{{ a_status.message }}</td> 36 <td class="message">{{ a_status.message }}</td>
37 </tr> 37 </tr>
38 {% endfor %} 38 {% endfor %}
39 39
40 </table> 40 </table>
41 </center> 41 </center>
42 {% endblock %} 42 {% endblock %}
OLDNEW
« no previous file with comments | « stylesheets/style.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698