Move more actions from the top bar
[?]
Oct 2, 2013, 11:17 PM
D7PL2VWUCRIFGFPFXTB466NIUYU4FECAQPHF4TDFVMOK23VEHDEACDependencies
- [2]
HU5DPGCVThere is only one channel, so drop the "(latest)" suffix - [3]
N4ODPYP7Job page: Remove channel tab - [4]
2G63HKCHFix some wellformedness issues - [5]
JIJDYWPYRemove the Build menu from the top bar - [6]
Z2E5PAYYMove Hide/Unhide links for project to toplevel menu. - [7]
TLJC6BJ3Add a menu item for deleting jobsets - [8]
JY7BXXOPSplit viewing and editing a project - [9]
7ZQAHJQMFix indentation - [10]
Q4VDOA76Replace last 5 builds on jobset page with last 5 evaluations. Moved hide/unhide and evaluate options to jobset topmenu. - [11]
BIVZGPUTOptimise clickable rows - [12]
3PNG7NIBRemove trailing whitespace - [13]
PVIRRARJTurn hiding/unhiding a jobset into a checkbox - [14]
TSJHDJVIFix hide/unhide links. - [15]
ZRRPBEI4Make jobset deletion consistent with project deletion - [16]
I4K2UPCWTweaks - [17]
J5UVLXOK* Start of a basic Catalyst web interface. - [18]
JARRBLZDBootstrapify the Hydra forms (except the project and jobset edit pages) - [19]
IHU3IMC6Revert changeset 4399683fa0e9abb64f63affc7caca7f77abea1b7, make jobset options available to project members as well - [20]
OR5SJ42YShow releases in a tab on the project page - [21]
2DTJNAMXAllow project members to create jobsets, regression introduced by bootstrap make-over. Currently all logged in users see these options, however, only on performing the action the privileges are checked. Need to change that in the future. - [22]
XTKCALUAMake "Add to release" a modal dialog - [23]
SPHE6E75Allow manually scheduling disabled jobsets for evaluation - [24]
GEL2WHSUMove channel link to top menu of Project and Jobset. - [25]
A6XVP6FEMake the hide/unhide actions a checkbox in the project settings - [26]
4JS4DWHDAll/recent builds -> Latest builds - [27]
OEPUOUNBUsing twitter bootstrap for more consistent looks for Hydra - [28]
YG6VGK4F"Evaluate" command: push the jobset to the front of the eval queue - [29]
NRSKJPP4makeLink -> menuItem - [*]
2GUAKGTBFix indentation of build.tt - [*]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [*]
OX6NYJDVSplit viewing and editing a jobset - [*]
TFK74CQRPut job status on a separate tab - [*]
7YBYT2LQ - [*]
QL55ECJ6- adapted ui for hydra, more in line with nixos.org website
Change contents
- edit in src/root/build.tt at line 103
- replacement in src/root/build.tt at line 611
<a href="#" class="btn btn-primary clode" data-dismiss="modal">Close</a><a href="#" class="btn btn-primary" data-dismiss="modal">Close</a> - edit in src/root/jobset.tt at line 45
[% IF c.user_exists %]<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Actions<b class="caret"></b></a><ul class="dropdown-menu">[% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit configuration" %][% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'clone') title="Clone this jobset" %][% INCLUDE menuItem uri = "javascript:confirmEvaluateJobset()" title="Evaluate this jobset" %]</ul></li>[% END %] - edit in src/root/jobset.tt at line 164
<script>function confirmEvaluateJobset() {bootbox.confirm('Are you sure you want to force evaluation of this jobset?',function(c) {if (!c) return;$.post("[% HTML.escape(c.uri_for('/api/push', { jobsets = project.name _ ':' _ jobset.name, force = "1" })) %]").done(function(data) {if (data.error)bootbox.alert("Unable to schedule the jobset for evaluation: " + data.error);elsebootbox.alert("The jobset has been scheduled for evaluation.");}).fail(function() { bootbox.alert("Server request failed!"); });});return;};</script> - edit in src/root/project.tt at line 5
[% IF c.user_exists %]<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Actions<b class="caret"></b></a><ul class="dropdown-menu">[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'edit') title="Edit configuration" %][% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create_jobset'), [project.name]) title = "Create jobset" %][% INCLUDE menuItem uri = c.uri_for('/project' project.name 'create-release') title = "Create release" %]</ul></li>[% END %] - edit in src/root/project.tt at line 154
[% END %] - edit in src/root/project.tt at line 155
[% IF c.user_exists %]<p><a class="btn" href="[% c.uri_for('/project' project.name 'create-release') %]"><i class="icon-plus"></i> Create a release</a></p> - edit in src/root/topbar.tt at line 37
<li class="divider"></li> - edit in src/root/topbar.tt at line 38[2.142]→[6.0:29](∅→∅),[6.116]→[6.0:29](∅→∅),[6.29]→[6.536:570](∅→∅),[6.570]→[6.90:182](∅→∅),[6.1079]→[6.183:323](∅→∅),[6.280]→[6.12219:12235](∅→∅),[6.323]→[6.12219:12235](∅→∅),[6.1079]→[6.12219:12235](∅→∅),[6.12219]→[6.12219:12235](∅→∅)
[% IF c.user_exists %]<li class="divider"></li>[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'edit') title="Edit" %][% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create_jobset'), [project.name]) title = "Create jobset" %][% END %] - edit in src/root/topbar.tt at line 57
<li class="divider"></li> - edit in src/root/topbar.tt at line 58[2.261]→[6.0:29](∅→∅),[6.244]→[6.0:29](∅→∅),[6.29]→[6.1080:1114](∅→∅),[6.1114]→[6.324:427](∅→∅),[6.6553]→[6.6553:6658](∅→∅),[6.6658]→[6.47:274](∅→∅),[6.274]→[4.4143:4272](∅→∅),[6.277]→[6.377:929](∅→∅),[4.4272]→[6.377:929](∅→∅),[6.377]→[6.377:929](∅→∅),[6.929]→[6.13438:13454](∅→∅),[6.1888]→[6.13438:13454](∅→∅),[6.3520]→[6.13438:13454](∅→∅),[6.13438]→[6.13438:13454](∅→∅)
[% IF c.user_exists %]<li class="divider"></li>[% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit" %][% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'clone') title="Clone" %]<script>function confirmEvaluateJobset() {bootbox.confirm('Are you sure you want to force evaluation of this jobset?',function(c) {if (!c) return;$.post("[% HTML.escape(c.uri_for('/api/push', { jobsets = project.name _ ':' _ jobset.name, force = "1" })) %]").done(function(data) {if (data.error)bootbox.alert("Unable to schedule the jobset for evaluation: " + data.error);elsebootbox.alert("The jobset has been scheduled for evaluation.");}).fail(function() { bootbox.alert("Server request failed!"); });});return;};</script>[% INCLUDE menuItem title="Evaluate" uri = "javascript:confirmEvaluateJobset()" %][% END %] - edit in src/root/topbar.tt at line 74
<li class="divider"></li>