diff options
author | Dan McGee <dan@archlinux.org> | 2014-11-08 14:00:06 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-11-08 14:00:09 -0600 |
commit | 713ab837ba59c4a7c0b60cb8e8be4b27f4520e52 (patch) | |
tree | 926af09762f87d14d14f118774240a34a8080430 /templates/mirrors/status.html | |
parent | eb7172cd4d9d7af690b2be06e3f925d3023be71c (diff) |
Convert mirror status tables to Jinja2
Yay for way improved performance. Local testing showed render times
going from 265 ms to 135 ms.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/status.html')
-rw-r--r-- | templates/mirrors/status.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 24408be7..530e3ff5 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -60,18 +60,18 @@ <a name="outofsync" id="outofsync"></a> <h3>Out of Sync Mirrors</h3> {% with urls=bad_urls table_id='outofsync_mirrors' %} - {% include "mirrors/status_table.html" %} + {% include "mirrors/status_table.html.jinja" %} {% endwith %} <a name="successful" id="successful"></a> <h3>Successfully Syncing Mirrors</h3> {% with urls=good_urls table_id='successful_mirrors' %} - {% include "mirrors/status_table.html" %} + {% include "mirrors/status_table.html.jinja" %} {% endwith %} <a name="errorlog" id="errorlog"></a> <h3>Mirror Syncing Error Log</h3> - {% include "mirrors/error_table.html" %} + {% include "mirrors/error_table.html.jinja" %} </div> {% endblock %} |