templates: Use uri_for to reference static paths.

[?]
Sep 25, 2013, 10:34 AM
GS4SFHCPF76AX2U4NLLJGUISF6Y4AHYWEW3GLTDCKVDDXLSIGXUQC

Dependencies

  • [2] MFHM3RLC * Add an icon for PDFs.
  • [3] 4RHAHTL6
  • [4] 74VYRQ6W Add an icon for binary distributions
  • [5] 2P7VNAAC Move common Javascript code into a separate file
  • [6] XBLTCIUZ Show build status 2 and 5 in the same way
  • [7] D7X6XTKQ Integrate the "Job status" and "All jobs" tabs
  • [8] N2ZF5JUL Use a different icon for aborted builds
  • [9] YBUGFKLE Use a distinct icon for cancelled builds
  • [10] T6KISLR6 Fix indentation
  • [11] 3TL5XENE Different icons (darker red) for cancelled builds. Fixes #25.
  • [12] YPDYBK5G Show dependencies as a tree rather than a list
  • [13] PZL3SZM3 Give every page a consistent title
  • [14] 2GUAKGTB Fix indentation of build.tt
  • [15] WRIU3S5E * UI for cloning builds (not functional yet).
  • [16] GPRYAAFP hydra: change icon for positive failures
  • [17] 4WZQW2N6 Fix indentation and get rid of some unnecessary whitespace in the output
  • [18] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [19] KXO3EUSV Factor out the tree rendering
  • [20] QCGCX2BR Generalize lazy tabs
  • [21] QTC3SYBM Jobset page: Load the jobs and status tabs on demand
  • [22] BIVZGPUT Optimise clickable rows
  • [23] EVYSAFB2 Transpose the aggregate constituents table
  • [24] LL36GPHA added help, removed nix closure from 'failed build with output' productlist
  • [25] 6GEU36HW Remove obsolete CSS classes
  • [26] E5DMQRPO Remove unnecessary whitespace in the HTML output
  • [27] J7EE2XZA Fix a huge performance regression in the jobstatus page
  • [28] SMM4HQTP * Put actions related to builds under /build (e.g. /log/<buildid>
  • [29] ELABMHJI * hydra: layout changes
  • [30] Y35C6GHH * One-click installs.
  • [31] R7MDDCB2 Some unnecessary job names
  • [32] 6KIJX24R Get rid of unnecessary [%- and -%] tags
  • [33] 3PNG7NIB Remove trailing whitespace
  • [34] JY7BXXOP Split viewing and editing a project
  • [35] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [36] KT2SLXPU Move <style> to hydra.css
  • [37] KKJNJHO5 Update bootstrap to 2.0.3
  • [38] SBMOICGV Evil CSS hackery to prevent link targets from being under the navbar
  • [39] 3ZAJ2ZRP Use popovers for the product list help/details
  • [40] 2G63HKCH Fix some wellformedness issues
  • [41] HPEG2RHV Merge the BuildResultInfo table into the Builds table
  • [42] TCXFZZFN * hydra: make chart zoomable and clickable
  • [43] P5X4P6VK * Renaming "release sets" to "views" (not finished yet). Having
  • [44] CVWQXYKM use newer icons consistently
  • [45] A4ZMBK7D * Icon for ISOs.
  • [46] 4JPNFWRB * Use jquery for the logfile manipulation.
  • [47] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [48] TLJC6BJ3 Add a menu item for deleting jobsets
  • [49] 6Q2JPSWG Fix lazy tab loading
  • [50] JFZNAYJX * Showing releases.
  • [51] E3X3C5LK Replace ugly link with nice small buttons
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] IK53RV4V
  • [*] 7YBYT2LQ

Change contents

  • replacement in src/root/build.tt at line 405
    [10.975][10.13473:13651]()
    <script src="/static/js/flot/jquery.flot.js" type="text/javascript"></script>
    <script src="/static/js/flot/jquery.flot.selection.js" type="text/javascript"></script>
    [10.975]
    [10.13651]
    <script src="[% c.uri_for("/static/js/flot/jquery.flot.js") %]" type="text/javascript"></script>
    <script src="[% c.uri_for("/static/js/flot/jquery.flot.selection.js") %]" type="text/javascript"></script>
  • replacement in src/root/clone-build.tt at line 47
    [10.21308][10.2098:2201](),[10.2098][10.2098:2201]()
    <p><button type="submit"><img alt="Add" src="/static/images/success.gif" />Add to queue</button></p>
    [10.21308]
    [10.2201]
    <p><button type="submit"><img alt="Add" src="[% c.uri_for("/static/images/success.gif") %]" />Add to queue</button></p>
  • replacement in src/root/common.tt at line 198
    [10.2144][10.276:352](),[10.4010][10.276:352](),[10.4561][10.276:352](),[10.276][10.276:352]()
    <img src="/static/images/checkmark_[% size %].png" alt="Succeeded" />
    [10.4561]
    [10.4011]
    <img src="[% c.uri_for("/static/images/checkmark_${size}.png") %]" alt="Succeeded" />
  • replacement in src/root/common.tt at line 200
    [10.2180][10.385:454](),[10.4044][10.385:454](),[10.385][10.385:454]()
    <img src="/static/images/error_[% size %].png" alt="Failed" />
    [10.4044]
    [6.0]
    <img src="[% c.uri_for("/static/images/error_${size}.png") %]" alt="Failed" />
  • replacement in src/root/common.tt at line 202
    [6.53][10.487:572](),[10.2216][10.487:572](),[10.4078][10.487:572](),[10.487][10.487:572]()
    <img src="/static/images/dependency_[% size %].png" alt="Dependency failed" />
    [6.53]
    [8.0]
    <img src="[% c.uri_for("/static/images/dependency_${size}.png") %]" alt="Dependency failed" />
  • replacement in src/root/common.tt at line 204
    [8.33][8.33:105]()
    <img src="/static/images/warning_[% size %].png" alt="Aborted" />
    [8.33]
    [10.4079]
    <img src="[% c.uri_for("/static/images/warning_${size}.png") %]" alt="Aborted" />
  • replacement in src/root/common.tt at line 206
    [10.4112][9.0:76]()
    <img src="/static/images/forbidden_[% size %].png" alt="Cancelled" />
    [10.4112]
    [10.4147]
    <img src="[% c.uri_for("/static/images/forbidden_${size}.png") %]" alt="Cancelled" />
  • replacement in src/root/common.tt at line 208
    [10.2324][10.809:892](),[10.4180][10.809:892](),[10.809][10.809:892]()
    <img src="/static/images/error_[% size %].png" alt="Failed (with result)" />
    [10.4180]
    [10.4181]
    <img src="[% c.uri_for("/static/images/error_${size}.png") %]" alt="Failed (with result)" />
  • replacement in src/root/common.tt at line 210
    [10.2342][10.907:976](),[10.4196][10.907:976](),[10.907][10.907:976]()
    <img src="/static/images/error_[% size %].png" alt="Failed" />
    [10.4196]
    [10.4562]
    <img src="[% c.uri_for("/static/images/error_${size}.png") %]" alt="Failed" />
  • replacement in src/root/common.tt at line 213
    [10.2382][10.1011:1075](),[10.4230][10.1011:1075](),[10.4590][10.1011:1075](),[10.1011][10.1011:1075]()
    <img src="/static/images/help_[% size %].png" alt="Busy" />
    [10.4590]
    [10.4231]
    <img src="[% c.uri_for("/static/images/help_${size}.png") %]" alt="Busy" />
  • replacement in src/root/common.tt at line 215
    [10.2398][10.1088:1157](),[10.4244][10.1088:1157](),[10.1088][10.1088:1157]()
    <img src="/static/images/help_[% size %].png" alt="Scheduled" />
    [10.4244]
    [10.4591]
    <img src="[% c.uri_for("/static/images/help_${size}.png") %]" alt="Scheduled" />
  • replacement in src/root/common.tt at line 459
    [10.285][10.285:368]()
    <center><img src="/static/images/ajax-loader.gif" alt="Loading..." /></center>
    [10.285]
    [10.368]
    <center><img src="[% c.uri_for("/static/images/ajax-loader.gif") %]" alt="Loading..." /></center>
  • replacement in src/root/jobset-jobs-tab.tt at line 9
    [7.798][7.798:905]()
    <img src="/static/images/ajax-loader.gif" alt="Loading..." style="display: none;" id="filter-loading" />
    [7.798]
    [7.905]
    <img src="[% c.uri_for("/static/images/ajax-loader.gif") %]" alt="Loading..." style="display: none;" id="filter-loading" />
  • replacement in src/root/layout.tt at line 18
    [10.271][10.72552:72641](),[10.72641][10.2976:3053](),[10.271][10.2976:3053]()
    <script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
    <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    [10.271]
    [10.72642]
    <script type="text/javascript" src="[% c.uri_for("/static/bootstrap/js/bootstrap.min.js") %]"></script>
    <link href="[% c.uri_for("/static/bootstrap/css/bootstrap.min.css") %]" rel="stylesheet" />
  • replacement in src/root/layout.tt at line 23
    [10.72750][10.72750:72825](),[10.72825][10.1597:1677](),[10.1677][10.3053:3141](),[10.72825][10.3053:3141](),[10.3053][10.3053:3141]()
    <link rel="stylesheet" href="/static/css/hydra.css" type="text/css" />
    <link rel="stylesheet" href="/static/css/rotated-th.css" type="text/css" />
    <link href="/static/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" />
    [10.72750]
    [10.401]
    <link rel="stylesheet" href="[% c.uri_for("/static/css/hydra.css") %]" type="text/css" />
    <link rel="stylesheet" href="[% c.uri_for("/static/css/rotated-th.css") %]" type="text/css" />
    <link href="[% c.uri_for("/static/bootstrap/css/bootstrap-responsive.min.css") %]" rel="stylesheet" />
  • replacement in src/root/layout.tt at line 31
    [10.1][10.1:78]()
    <script type="text/javascript" src="/static/js/bootbox.min.js"></script>
    [10.1]
    [10.191]
    <script type="text/javascript" src="[% c.uri_for("/static/js/bootbox.min.js") %]"></script>
  • replacement in src/root/layout.tt at line 33
    [10.267][10.0:74](),[10.74][10.267:344](),[10.267][10.267:344]()
    <link rel="stylesheet" href="/static/css/tree.css" type="text/css" />
    <link rel="stylesheet" href="/static/css/logfile.css" type="text/css" />
    [10.192]
    [10.344]
    <link rel="stylesheet" href="[% c.uri_for("/static/css/tree.css") %]" type="text/css" />
    <link rel="stylesheet" href="[% c.uri_for("/static/css/logfile.css") %]" type="text/css" />
  • replacement in src/root/layout.tt at line 36
    [10.345][5.0:72]()
    <script type="text/javascript" src="/static/js/common.js"></script>
    [10.345]
    [10.54]
    <script type="text/javascript" src="[% c.uri_for("/static/js/common.js") %]"></script>
  • replacement in src/root/product-list.tt at line 43
    [10.137][10.137:206]()
    <img src="/static/images/error_32.png" alt="Source" />
    [10.137]
    [10.206]
    <img src="[% c.uri_for("/static/images/error_32.png") %]" alt="Source" />
  • replacement in src/root/product-list.tt at line 62
    [10.551][10.551:621]()
    <img src="/static/images/nix-build.png" alt="Source" />
    [10.551]
    [10.621]
    <img src="[% c.uri_for("/static/images/nix-build.png") %]" alt="Source" />
  • replacement in src/root/product-list.tt at line 90
    [10.929][10.929:999]()
    <img src="/static/images/nix-build.png" alt="Source" />
    [10.929]
    [10.999]
    <img src="[% c.uri_for("/static/images/nix-build.png") %]" alt="Source" />
  • replacement in src/root/product-list.tt at line 130
    [10.4571][10.4571:4689]()
    <img src="/static/images/source-dist.png" alt="Source" /> Source distribution <tt>[% product.name %]</tt>
    [10.4571]
    [10.4689]
    <img src="[% c.uri_for("/static/images/source-dist.png") %]" alt="Source" /> Source distribution <tt>[% product.name %]</tt>
  • replacement in src/root/product-list.tt at line 132
    [10.4716][10.4716:4815]()
    <img src="/static/images/rpm.png" alt="RPM" /> RPM package <tt>[% product.name %]</tt>
    [10.4716]
    [3.0]
    <img src="[% c.uri_for("/static/images/rpm.png") %]" alt="RPM" /> RPM package <tt>[% product.name %]</tt>
  • replacement in src/root/product-list.tt at line 134
    [3.28][3.28:141]()
    <img src="/static/images/rpm.png" alt="Source RPM" /> Source RPM package <tt>[% product.name %]</tt>
    [3.28]
    [10.4815]
    <img src="[% c.uri_for("/static/images/rpm.png") %]" alt="Source RPM" /> Source RPM package <tt>[% product.name %]</tt>
  • replacement in src/root/product-list.tt at line 136
    [10.4842][10.4842:4947]()
    <img src="/static/images/debian.png" alt="RPM" /> Debian package <tt>[% product.name %]</tt>
    [10.4842]
    [10.0]
    <img src="[% c.uri_for("/static/images/debian.png") %]" alt="RPM" /> Debian package <tt>[% product.name %]</tt>
  • replacement in src/root/product-list.tt at line 138
    [10.27][10.27:136]()
    <img src="/static/images/iso.png" alt="ISO" /> ISO-9660 CD/DVD image <tt>[% product.name %]</tt>
    [10.27]
    [4.0]
    <img src="[% c.uri_for("/static/images/iso.png") %]" alt="ISO" /> ISO-9660 CD/DVD image <tt>[% product.name %]</tt>
  • replacement in src/root/product-list.tt at line 140
    [4.35][4.35:166]()
    <img src="/static/images/binary-dist.png" alt="Binary distribution" /> Binary distribution <tt>[% product.name %]</tt>
    [4.35]
    [10.4947]
    <img src="[% c.uri_for("/static/images/binary-dist.png") %]" alt="Binary distribution" /> Binary distribution <tt>[% product.name %]</tt>
  • replacement in src/root/product-list.tt at line 163
    [10.2561][10.6042:6105](),[10.6042][10.6042:6105]()
    <img src="/static/images/report.png" alt="Report" />
    [10.2561]
    [10.6105]
    <img src="[% c.uri_for("/static/images/report.png") %]" alt="Report" />
  • replacement in src/root/product-list.tt at line 180
    [2.82][2.82:150]()
    <img src="/static/images/pdf.png" alt="PDF document" />
    [2.82]
    [2.150]
    <img src="[% c.uri_for("/static/images/pdf.png") %]" alt="PDF document" />
  • replacement in src/root/product-list.tt at line 182
    [2.171][2.171:240]()
    <img src="/static/images/document.png" alt="Document" />
    [2.171]
    [2.240]
    <img src="[% c.uri_for("/static/images/document.png") %]" alt="Document" />
  • replacement in src/root/project.tt at line 35
    [10.3575][10.3575:3650]()
    <img src="/static/images/help_16.png" alt="Scheduled" />
    [10.3575]
    [10.3650]
    <img src="[% c.uri_for("/static/images/help_16.png") %]" alt="Scheduled" />
  • replacement in src/root/project.tt at line 37
    [10.3709][10.3709:3789]()
    <img src="/static/images/checkmark_16.png" alt="Succeeded" />
    [10.3709]
    [10.3789]
    <img src="[% c.uri_for("/static/images/checkmark_16.png") %]" alt="Succeeded" />
  • replacement in src/root/project.tt at line 39
    [10.3881][10.3881:3964]()
    <img src="/static/images/error_some_16.png" alt="Some Failed" />
    [10.3881]
    [10.3964]
    <img src="[% c.uri_for("/static/images/error_some_16.png") %]" alt="Some Failed" />
  • replacement in src/root/project.tt at line 41
    [10.3991][10.3991:4068]()
    <img src="/static/images/error_16.png" alt="All Failed" />
    [10.3991]
    [10.33458]
    <img src="[% c.uri_for("/static/images/error_16.png") %]" alt="All Failed" />
  • replacement in src/root/view.tt at line 30
    [10.11791][10.1994:2052]()
    <img src="/static/images/checkmark_16.png" />
    [10.11791]
    [10.11792]
    <img src="[% c.uri_for("/static/images/checkmark_16.png") %]" />
  • replacement in src/root/view.tt at line 32
    [10.11833][10.2053:2107]()
    <img src="/static/images/error_16.png" />
    [10.11833]
    [10.11834]
    <img src="[% c.uri_for("/static/images/error_16.png") %]" />
  • replacement in src/root/view.tt at line 34
    [10.11875][10.2108:2161]()
    <img src="/static/images/help_16.png" />
    [10.11875]
    [10.9258]
    <img src="[% c.uri_for("/static/images/help_16.png") %]" />
  • replacement in src/root/view.tt at line 51
    [10.23333][10.2162:2226]()
    <img src="/static/images/checkmark_16.png" />
    [10.23333]
    [10.9783]
    <img src="[% c.uri_for("/static/images/checkmark_16.png") %]" />
  • replacement in src/root/view.tt at line 53
    [10.9810][10.2227:2287]()
    <img src="/static/images/error_16.png" />
    [10.9810]
    [10.9869]
    <img src="[% c.uri_for("/static/images/error_16.png") %]" />