diff options
Diffstat (limited to 'WebHob_1.5/b3/project-builds.html')
-rw-r--r-- | WebHob_1.5/b3/project-builds.html | 46 |
1 files changed, 44 insertions, 2 deletions
diff --git a/WebHob_1.5/b3/project-builds.html b/WebHob_1.5/b3/project-builds.html index f47c12f..f6d45db 100644 --- a/WebHob_1.5/b3/project-builds.html +++ b/WebHob_1.5/b3/project-builds.html @@ -24,7 +24,7 @@ Loading <i class="fa-pulse icon-spinner"></i> </div> - <div id="change-notification" class="alert alert-info alert-dismissible change-notification"> + <div id="change-notification" class="alert alert-info alert-dismissible change-notification" style="display:none;"> <button type="button" class="close" id="hide-alert" data-dismiss="alert">×</button> <span id="change-notification-msg">You have deleted <strong>1</strong> build: <strong>belen-minimal qemux86</strong> completed on <strong>15/07/16 12:18</strong></span> </div> @@ -134,7 +134,16 @@ <span class="glyphicon glyphicon-question-sign get-help" data-placement="left" title="Type the name of one or more recipes you want to build, separated by a space. You can also specify a task by appending a colon and a task name to the recipe name, like so: <code>busybox:clean</code>"></span> <input id="build-input" type="text" class="form-control input-lg" placeholder="Type the recipe you want to build" autocomplete="off"> </div> - <button id="build-button" class="btn btn-primary btn-lg" data-project-id="2" disabled>Build</button> + <div class="btn-group"> + <a href="#" id="build-button" class="btn btn-primary btn-lg" data-project-id="2" disabled> + <span class="glyphicon glyphicon-question-sign get-help get-help-white heading-help" title="Builds packages and, if selecting an image recipe, a set of root file system files"></span> + Build + </a> + <a href="#" class="btn btn-default btn-lg" disabled> + <span class="glyphicon glyphicon-question-sign get-help heading-help" title="Only for <strong>image recipes</strong>. Does everything build does, and it also generates the extensible SDK for application development"></span> + SDK + </a> + </div> </form> </li> </ul> @@ -148,6 +157,24 @@ <div id="latest-builds"> + <div data-latest-build-result="6" class="alert build-result alert-info" id="build-queued" style="display:none;"> + <div class="row"> + <div class="col-md-3"> + <span data-toggle="tooltip" data-original-title="" title=""></span> SDK + </div> + <div class="col-md-4"> + <span class="glyphicon glyphicon-question-sign help-blue"></span> + Build queued + </div> + <div class="col-md-5 progress-info"> + <a href="#" class="cancel-build-btn pull-right alert-link" data-buildrequest-id="5" data-request-url="/toastergui/xhr_buildrequest/project/3"> + <span class="glyphicon glyphicon-remove-circle"></span> + Cancel + </a> + </div> + </div> + </div> + <div data-latest-build-result="8" class="alert build-result alert-success"> <div class="row"> <div class="col-md-3"> @@ -599,5 +626,20 @@ </div> </div> + + <script> + + $(document).ready(function() { + + // start a build from another page + if (location.href.search('recipe=') > -1) { + var recipe = location.href.split('recipe=')[1]; + $('#build-queued .col-md-3 > span').text(recipe); + $('#build-queued').fadeIn(2000); + } + + }); + + </script> </body> </html> |