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

Side by Side Diff: templates/main.html

Issue 58593002: chromium-status: add status field help text (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-status
Patch Set: split <input> change out into sep CL 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
« no previous file with comments | « stylesheets/style.css ('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 %}
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 &nbsp;(1) "<span class="maintenance">maint</span>": The tree is closed for
15 maintenance<br>
16 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (also needs to have the text
17 "close")<br>
18 &nbsp;(2) "<span class="throttled">throt</span>": The tree is throttled;
19 tread carefully<br>
20 &nbsp;(3) "<span class="closed">close</span>": The tree is closed<br>
21 &nbsp;(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
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 %}
OLDNEW
« no previous file with comments | « stylesheets/style.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698