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 |
| 15 maintenance<br> |
| 16 (also needs to have the text |
| 17 "close")<br> |
| 18 (2) "<span class="throttled">throt</span>": The tree is throttled; |
| 19 tread carefully<br> |
| 20 (3) "<span class="closed">close</span>": The tree is closed<br> |
| 21 (4) Otherwise, the tree is <span class="open">open</span> for business |
| 22 </div> |
| 23 |
9 <center> | 24 <center> |
10 {% if write_access %} | 25 {% if write_access %} |
11 {% if error_message %} | 26 {% if error_message %} |
12 <div class="error"> | 27 <div class="error"> |
13 {{ error_message }} | 28 {{ error_message }} |
14 </div> | 29 </div> |
15 {% endif %} | 30 {% endif %} |
16 <form action="/" name="add_new_message" method="post"> | 31 <form action="/" name="add_new_message" method="post"> |
17 <input type="text" size="80" name="message" value="{{ message }}"> | 32 <input type="text" size="80" name="message" value="{{ message }}"> |
18 <input type="hidden" name="last_status_key" value="{{ last_status_key }}"> | 33 <input type="hidden" name="last_status_key" value="{{ last_status_key }}"> |
(...skipping 30 matching lines...) Expand all Loading... |
49 {{ a_link.text }} | 64 {{ a_link.text }} |
50 {% endif %} | 65 {% endif %} |
51 {% endfor %} | 66 {% endfor %} |
52 </td> | 67 </td> |
53 </tr> | 68 </tr> |
54 {% endfor %} | 69 {% endfor %} |
55 | 70 |
56 </table> | 71 </table> |
57 </center> | 72 </center> |
58 {% endblock %} | 73 {% endblock %} |
OLD | NEW |