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

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: replace newlines with spaces Created 6 years, 9 months 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 | « 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 <script data-dojo-config="async:true" 5 <script data-dojo-config="async:true"
6 src="//ajax.googleapis.com/ajax/libs/dojo/1.9.1/dojo/dojo.js"></script > 6 src="//ajax.googleapis.com/ajax/libs/dojo/1.9.1/dojo/dojo.js"></script >
7 {% endblock %} 7 {% endblock %}
8 8
9 {% block content %} 9 {% block content %}
10 <!-- Keep in sync with status.py:Status.general_state() logic --> 10 <!-- Keep in sync with status.py:Status.general_state() logic -->
(...skipping 13 matching lines...) Expand all
24 </div> 24 </div>
25 25
26 <center> 26 <center>
27 {% if write_access %} 27 {% if write_access %}
28 {% if error_message %} 28 {% if error_message %}
29 <div class="error"> 29 <div class="error">
30 {{ error_message }} 30 {{ error_message }}
31 </div> 31 </div>
32 {% endif %} 32 {% endif %}
33 <form action="/" name="add_new_message" method="post"> 33 <form action="/" name="add_new_message" method="post">
34 <input type="text" size="80" name="message" value="{{ message }}"> 34 <textarea cols="80" rows="2" name="message"
35 style="vertical-align: middle;">{{ message }}</textarea>
35 <input type="hidden" name="last_status_key" value="{{ last_status_key }}"> 36 <input type="hidden" name="last_status_key" value="{{ last_status_key }}">
36 <input type="submit" name="change" value="Change"> 37 <input type="submit" name="change" value="Change">
37 <input type="button" name="refresh" value="Refresh" onclick="location.href ='/';"> 38 <input type="button" name="refresh" value="Refresh" onclick="location.href ='/';">
38 <input type="button" name="history" value="History" onclick="location.href ='/status_viewer';"> 39 <input type="button" name="history" value="History" onclick="location.href ='/status_viewer';">
39 </form> 40 </form>
40 {% endif %} 41 {% endif %}
41 <br> 42 <br>
42 <h2>Last <a href="?limit={{ limit }}">{{ limit }}</a> {{ title }}</h2> 43 <h2>Last <a href="?limit={{ limit }}">{{ limit }}</a> {{ title }}</h2>
43 <table border="1" cellpadding="5"> 44 <table border="1" cellpadding="5">
44 <tr bgcolor="#CCCCFF"> 45 <tr bgcolor="#CCCCFF">
(...skipping 21 matching lines...) Expand all
66 {{ a_link.text }} 67 {{ a_link.text }}
67 {% endif %} 68 {% endif %}
68 {% endfor %} 69 {% endfor %}
69 </td> 70 </td>
70 </tr> 71 </tr>
71 {% endfor %} 72 {% endfor %}
72 73
73 </table> 74 </table>
74 </center> 75 </center>
75 {% endblock %} 76 {% endblock %}
OLDNEW
« no previous file with comments | « status.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698