~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/svnlog/template.html

  • Committer: David Coles
  • Date: 2010-07-17 11:32:50 UTC
  • Revision ID: coles.david@gmail.com-20100717113250-vi18n50bcjmfmzrt
Show warning for CGI header field-names which contain restricted characters.

Forbidden characters are the separators defined by RFC3875. This is mainly to 
fix an issue where printing a dictionary (with no CGI headers) could be 
assumed to be a CGI header with no warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>${title} (log)</title>
 
5
  </head>
 
6
  <body>
 
7
    <div id="ivle_padding">
 
8
      <ul id="svnlog">
 
9
        <li py:for="log in logs">
 
10
          <h2>
 
11
            Revision <a href="/svnlog/${path}?r=${log['revno']}"
 
12
                        style="font-weight: bold">${log['revno']}</a>
 
13
            by <strong>${log['author']}</strong>,
 
14
            <span title="${format_datetime(log['date'])}">${format_datetime_short(log['date'])}</span>
 
15
            <py:choose test="revno">
 
16
              <span py:when="log['revno']">[selected]</span>
 
17
              <a py:otherwise="" href="${url}?r=${log['revno']}">[select]</a>
 
18
            </py:choose>
 
19
            <a py:if="revno" href="${diffurl}?r=${revno}&amp;r=${log['revno']}">[diff]</a>
 
20
            <input type="button" value="Update to Revision ${log['revno']}"
 
21
                onclick="update_revision(this, ${log['revno']})" />
 
22
          </h2>
 
23
          <div class="svnlogcontent">
 
24
            <pre py:content="log['message']" />
 
25
            <div class="svnlogpathlist">
 
26
              <h3>Changed paths:</h3>
 
27
              <ul>
 
28
                <li py:for="path in log['paths']">
 
29
                  ${path[1]} ${path[0]}
 
30
                </li>
 
31
              </ul>
 
32
            </div>
 
33
          </div>
 
34
        </li>
 
35
      </ul>
 
36
    </div>
 
37
  </body>
 
38
</html>