Generalize lazy tabs
[?]
Feb 22, 2013, 12:36 PM
QCGCX2BRDJ3MECT45M6KUQDSTVXWRHGLD4KKNG5UOCOTNAW7L3TQCDependencies
- [2]
ASIRNHAHLoad the dependency tabs on demand - [3]
44AGCSXKUse a proper spinning wheel icon - [4]
36M6DGITShow the runtime/build dependencies in the build page - [5]
YPDYBK5GShow dependencies as a tree rather than a list - [6]
OEPUOUNBUsing twitter bootstrap for more consistent looks for Hydra - [7]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [8]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [9]
2R7GHSA4* hydra: added initial version of build graph - [10]
J5UVLXOK* Start of a basic Catalyst web interface. - [11]
VCOSLZRP - [12]
4WZQW2N6Fix indentation and get rid of some unnecessary whitespace in the output - [13]
RO7REZL3Remove unnecessary Javascript code - [14]
2GUAKGTBFix indentation of build.tt - [15]
WHAFVCEI - [*]
IK53RV4V
Change contents
- replacement in src/root/build.tt at line 516
<div id="tabs-build-deps" class="tab-pane"><center><img src="/static/images/ajax-loader.gif" alt="Loading..." /></center></div>[% INCLUDE makeLazyTab tabName="tabs-build-deps" uri=c.uri_for('/build' build.id 'build-deps') %] - replacement in src/root/build.tt at line 520
<div id="tabs-runtime-deps" class="tab-pane"><center><img src="/static/images/ajax-loader.gif" alt="Loading..." /></center></div>[% INCLUDE makeLazyTab tabName="tabs-runtime-deps" uri=c.uri_for('/build' build.id 'runtime-deps') %] - edit in src/root/build.tt at line 524
<script>$(function() {$('.nav-tabs').bind('show', function(e) {var pattern = /#.+/gi;var id = e.target.toString().match(pattern)[0];if (id == "#tabs-runtime-deps") {$('#tabs-runtime-deps').load("[% c.uri_for('/build' build.id 'runtime-deps') %]");} else if (id == "#tabs-build-deps") {$('#tabs-build-deps').load("[% c.uri_for('/build' build.id 'build-deps') %]");}});});</script> - replacement in src/root/common.tt at line 451
[% END %][4.1546][% END;BLOCK makeLazyTab %]<div id="[% tabName %]" class="tab-pane"><center><img src="/static/images/ajax-loader.gif" alt="Loading..." /></center></div><script>$(function() {$('.nav-tabs').bind('show', function(e) {var pattern = /#.+/gi;var id = e.target.toString().match(pattern)[0];if (id == "#[% tabName %]") {$('#[% tabName %]').load("[% uri %]");}});});</script>[% END;%]