 Chromium Code Reviews
 Chromium Code Reviews Issue 58593002:
  chromium-status: add status field help text  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-status
    
  
    Issue 58593002:
  chromium-status: add status field help text  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-status| OLD | NEW | 
|---|---|
| 1 {% extends "base.html" %} | 1 {% extends "base.html" %} | 
| 2 | 2 | 
| 3 {% block extra_head %} | |
| 4 <script src="js/main/main.js"></script> | |
| 5 {% endblock %} | |
| 6 | |
| 3 {% block content %} | 7 {% block content %} | 
| 4 <script type="text/javascript"> | 8 <!-- Keep in sync with status.py:Status.general_state() logic --> | 
| 5 window.onload=function() { | 9 <div id="help" class="help" hidden> | 
| 6 document.add_new_message.message.focus(); | 10 The message is scanned for partial matches (in the order listed)<br> | 
| 7 } | 11 and will set the tree state accordingly. The scan order does <b>not</b><br> | 
| 8 </script> | 12 correspond to the severity of the tree state.<br> | 
| 13 <br> | |
| 14  (1) "<span class="maintenance">maint</span>": The tree is closed for maint enance<br> | |
| 15             (also needs to have the text "close")< br> | |
| 16  (2) "<span class="throttled">throt</span>": The tree is throttled; tread c arefully<br> | |
| 17  (3) "<span class="closed">close</span>": The tree is closed<br> | |
| 18  (4) Otherwise, the tree is <span class="open">open</span> for business | |
| 
cmp
2013/11/10 16:31:06
The rest of this file is well-indented, let's keep
 
vapier
2013/11/10 20:49:05
done (although the rest of the file doesn't follow
 | |
| 19 </div> | |
| 20 | |
| 9 <center> | 21 <center> | 
| 10 {% if write_access %} | 22 {% if write_access %} | 
| 11 {% if error_message %} | 23 {% if error_message %} | 
| 12 <div class="error"> | 24 <div class="error"> | 
| 13 {{ error_message }} | 25 {{ error_message }} | 
| 14 </div> | 26 </div> | 
| 15 {% endif %} | 27 {% endif %} | 
| 16 <form action="/" name="add_new_message" method="post"> | 28 <form action="/" name="add_new_message" method="post"> | 
| 17 <input type="text" size="80" name="message" value="{{ message }}"> | 29 <textarea cols="80" rows="2" name="message" style="vertical-align: middle; ">{{ message }}</textarea> | 
| 18 <input type="hidden" name="last_status_key" value="{{ last_status_key }}"> | 30 <input type="hidden" name="last_status_key" value="{{ last_status_key }}"> | 
| 19 <input type="submit" name="change" value="Change"> | 31 <input type="submit" name="change" value="Change"> | 
| 20 <input type="button" name="refresh" value="Refresh" onclick="location.href ='/';"> | 32 <input type="button" name="refresh" value="Refresh" onclick="location.href ='/';"> | 
| 21 <input type="button" name="history" value="History" onclick="location.href ='/status_viewer';"> | 33 <input type="button" name="history" value="History" onclick="location.href ='/status_viewer';"> | 
| 22 </form> | 34 </form> | 
| 23 {% endif %} | 35 {% endif %} | 
| 24 <br><br> | 36 <br><br> | 
| 25 <h2>Last 25 {{ title }}</h2> | 37 <h2>Last 25 {{ title }}</h2> | 
| 26 <table border="1" cellpadding="5"> | 38 <table border="1" cellpadding="5"> | 
| 27 <tr bgcolor="#CCCCFF"> | 39 <tr bgcolor="#CCCCFF"> | 
| 28 <td><b>Who</b></td> | 40 <td><b>Who</b></td> | 
| 29 <td><b>When</b></td> | 41 <td><b>When</b></td> | 
| 30 <td><b>Message</b></td> | 42 <td><b>Message</b></td> | 
| 31 </tr> | 43 </tr> | 
| 32 {% for a_status in status %} | 44 {% for a_status in status %} | 
| 33 <tr class="{{ a_status.general_state }}"> | 45 <tr class="{{ a_status.general_state }}"> | 
| 34 <td>{{ a_status.username }}</td> | 46 <td>{{ a_status.username }}</td> | 
| 35 <td>{{ a_status.date|date:"D M d, H:i T " }}</td> | 47 <td>{{ a_status.date|date:"D M d, H:i T " }}</td> | 
| 36 <td>{{ a_status.message }}</td> | 48 <td>{{ a_status.message }}</td> | 
| 37 </tr> | 49 </tr> | 
| 38 {% endfor %} | 50 {% endfor %} | 
| 39 | 51 | 
| 40 </table> | 52 </table> | 
| 41 </center> | 53 </center> | 
| 42 {% endblock %} | 54 {% endblock %} | 
| OLD | NEW |