Commits

Benoît Allard committed 7496ac8

web/template: Improve formatting of the diffbuild page

Comments (0)

Files changed (2)

web/templates/diffbuild.html

 {% block body %}
 <h2>Difference between build#{{ request.args['old'] }} and build#{{ request.args['new'] }}.</h2>
 <div>
-  Global statistics:
+  <h3>Global statistics:</h3>
   {{ macros.render_issues(globals[0], globals[1], globals[2])|safe }}
 </div>
 <div>
-  Per repository:
+  <h3>Per repository:</h3>
   <ul>
     {% for repopath, repo in repositories.iteritems() %}
     {{ macros.diff_repo(repopath, repo, optparams)|safe }}

web/templates/macros.j2

 {% set oldch, newch, issuesmin, issuesplus, num_annon = repo %}
 {% if oldch != newch %}
 <li>
-  <h3><a href="{{ url_for('diff.changeset', repo=repopath, old=oldch,
+  <h4><a href="{{ url_for('diff.changeset', repo=repopath, old=oldch,
                           new=newch, **optparams) }}">
     {{- repopath -}}
-  </a> (<tt>{{ oldch[:12] }}</tt> &rarr; <tt>{{ newch[:12] }}</tt>)</h3>
+  </a> (<tt>{{ oldch[:12] }}</tt> &rarr; <tt>{{ newch[:12] }}</tt>)</h4>
   {{ render_issues(issuesmin, issuesplus, num_annon) }}
 </li>
 {% endif %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.