OLD | NEW |
1 {% extends "base.html" %} | 1 {% extends "base.html" %} |
2 | 2 |
3 {% block extra_head %} | 3 {% block extra_head %} |
4 <script src="js/main/main.js"></script> | 4 <script src="js/main/main.js"></script> |
5 {% endblock %} | 5 {% endblock %} |
6 | 6 |
7 {% block content %} | 7 {% block content %} |
8 <!-- Keep in sync with status.py:Status.general_state() logic --> | 8 <!-- Keep in sync with status.py:Status.general_state() logic --> |
9 <div id="help" class="help" hidden> | 9 <div id="help" class="help" hidden> |
10 The message is scanned for partial matches (in the order listed)<br> | 10 The message is scanned for partial matches (in the order listed)<br> |
(...skipping 11 matching lines...) Expand all Loading... |
22 </div> | 22 </div> |
23 | 23 |
24 <center> | 24 <center> |
25 {% if write_access %} | 25 {% if write_access %} |
26 {% if error_message %} | 26 {% if error_message %} |
27 <div class="error"> | 27 <div class="error"> |
28 {{ error_message }} | 28 {{ error_message }} |
29 </div> | 29 </div> |
30 {% endif %} | 30 {% endif %} |
31 <form action="/" name="add_new_message" method="post"> | 31 <form action="/" name="add_new_message" method="post"> |
32 <input type="text" size="80" name="message" value="{{ message }}"> | 32 <textarea cols="80" rows="2" name="message" |
| 33 style="vertical-align: middle;">{{ message }}</textarea> |
33 <input type="hidden" name="last_status_key" value="{{ last_status_key }}"> | 34 <input type="hidden" name="last_status_key" value="{{ last_status_key }}"> |
34 <input type="submit" name="change" value="Change"> | 35 <input type="submit" name="change" value="Change"> |
35 <input type="button" name="refresh" value="Refresh" onclick="location.href
='/';"> | 36 <input type="button" name="refresh" value="Refresh" onclick="location.href
='/';"> |
36 <input type="button" name="history" value="History" onclick="location.href
='/status_viewer';"> | 37 <input type="button" name="history" value="History" onclick="location.href
='/status_viewer';"> |
37 </form> | 38 </form> |
38 {% endif %} | 39 {% endif %} |
39 <br> | 40 <br> |
40 <h2>Last <a href="?limit={{ limit }}">{{ limit }}</a> {{ title }}</h2> | 41 <h2>Last <a href="?limit={{ limit }}">{{ limit }}</a> {{ title }}</h2> |
41 <table border="1" cellpadding="5"> | 42 <table border="1" cellpadding="5"> |
42 <tr bgcolor="#CCCCFF"> | 43 <tr bgcolor="#CCCCFF"> |
(...skipping 21 matching lines...) Expand all Loading... |
64 {{ a_link.text }} | 65 {{ a_link.text }} |
65 {% endif %} | 66 {% endif %} |
66 {% endfor %} | 67 {% endfor %} |
67 </td> | 68 </td> |
68 </tr> | 69 </tr> |
69 {% endfor %} | 70 {% endfor %} |
70 | 71 |
71 </table> | 72 </table> |
72 </center> | 73 </center> |
73 {% endblock %} | 74 {% endblock %} |
OLD | NEW |