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

Side by Side Diff: templates/main.html

Issue 108823002: chromium-status: improve status field editing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-status
Patch Set: fix up status __init__ Created 7 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 | Annotate | Revision Log
« status.py ('K') | « status.py ('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 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
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
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 %}
OLDNEW
« status.py ('K') | « status.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698