make logo configurable via HYDRA_LOGO env var
[?]
Apr 18, 2011, 8:21 AM
HRAFVVOEGQJQS4XQNZSMNYN2SUZGKEGPSJUDZUBMI2IN32WFNQ4QCDependencies
- [2]
GN3JXNQS - [3]
MVB7RRLT* Move NARs from the NixChannel controller to the Root controller and - [4]
K42RSSSI - [5]
SMCOU72Fhydra: add some admin for adding/enabling/etc build machines - [6]
J5UVLXOK* Start of a basic Catalyst web interface. - [7]
F2YSY4BKupdate jquery versions in templates - [8]
UVMFS73T* Some jQuery / CSS hackery. - [9]
BA46C5LN* Pretty-print the logs. - [10]
YTSIRIMK* Separate job status and all builds pages. - [11]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [12]
FKK2ZSTL* Split the CSS. - [13]
4JPNFWRB* Use jquery for the logfile manipulation. - [14]
TQKGQ5R3 - [15]
HJLYC753* Adding input value alternatives. - [16]
T2232OBS* Add some DB indices to make the /releases page much faster. - [17]
GCHNNFZP - [18]
NDL67SQT* XHTML validity. - [19]
YJAHR4FU* jQuery 1.8.4. - [20]
EFWN7JBV* Added a status page that shows all the currently executing build steps. - [21]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [22]
QL55ECJ6- adapted ui for hydra, more in line with nixos.org website - [23]
QB3LWT7N* Ouch. - [24]
6KJXJB7Nqualify ordery_by clauses when necessary, remove unnecessary order_by's, reported by Ludo, resulted in errors in sqlite - [25]
LP66DSH2* hydra: updated jquery version, needed for tabs (to be added later)
Change contents
- replacement in src/lib/Hydra/Controller/Root.pm at line 20
$c->stash->{logo} = $ENV{"HYDRA_LOGO"} ? "/logo" : "/static/images/hydra.png" ; - replacement in src/lib/Hydra/Controller/Root.pm at line 22
$c->stash->{nrRunningBuilds} = $c->model('DB::BuildSchedulingInfo')->search({ busy => 1 }, {})->count();$c->stash->{nrQueuedBuilds} = $c->model('DB::BuildSchedulingInfo')->count();$c->stash->{nrRunningBuilds} = $c->model('DB::BuildSchedulingInfo')->search({ busy => 1 }, {})->count();$c->stash->{nrQueuedBuilds} = $c->model('DB::BuildSchedulingInfo')->count(); - edit in src/lib/Hydra/Controller/Root.pm at line 227
sub logo :Local {my ($self, $c) = @_;my $path = $ENV{"HYDRA_LOGO"} or die("Logo not set!");$c->serve_static_file($path);} - replacement in src/root/layout.tt at line 10
- replacement in src/root/layout.tt at line 18
<script type="text/javascript" src="/static/js/jquery/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="/static/js/jquery/js/jquery-ui-1.8.5.custom.min.js"></script><script type="text/javascript" src="/static/js/jquery/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="/static/js/jquery/js/jquery-ui-1.8.5.custom.min.js"></script> - replacement in src/root/layout.tt at line 21
- replacement in src/root/layout.tt at line 26
- replacement in src/root/layout.tt at line 29
- replacement in src/root/layout.tt at line 72
- replacement in src/root/layout.tt at line 74
- replacement in src/root/layout.tt at line 76
<div id="page"><div id="header"><div id="logo"><a class="no-hover" href="/"><img src="/static/images/hydra.png" alt="Hydra Logo" /></a></div>[% PROCESS topbar.tt %]<div id="page"><div id="header"><div id="logo"><a class="no-hover" href="/"><img src="[% logo %]" alt="Hydra Logo" /></a></div>[% PROCESS topbar.tt %] - replacement in src/root/layout.tt at line 83
<div id="main">[% PROCESS navbar.tt %]<div id="main">[% PROCESS navbar.tt %]