summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/project.html
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-07-31 15:09:03 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 11:26:11 +0100
commitb06a633f25aec303e867c6109fb97d63d9ee1f73 (patch)
treee8cb117fa87f50114d63fa1104804abeb0708433 /bitbake/lib/toaster/toastergui/templates/project.html
parent3d3a2dbf5fc10773bb18ab7fb00f3db254139f47 (diff)
downloadpoky-b06a633f25aec303e867c6109fb97d63d9ee1f73.tar.gz
bitbake: toastergui: Implement new project navigation
Change the structure of the project page to include a navigation menu and top tab navigation. Remove old breadcrumb method. [YOCTO #7329] (Bitbake rev: 66fa0dd988e01ec79e74be7a5697eaa3b4f017d8) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/project.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html38
1 files changed, 7 insertions, 31 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index b5d97cb419..0fbfb599b7 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -30,12 +30,7 @@ vim: expandtab tabstop=2
30 30
31{%else%} 31{%else%}
32 32
33<div id="main" role="main" data-ng-app="project" data-ng-controller="prjCtrl" class="top-padded" data-ng-cloak> 33<div id="main" role="main" data-ng-app="project" data-ng-controller="prjCtrl" data-ng-cloak>
34
35 <!-- project name -->
36 <div class="page-header">
37 <h1>{[project.name]}</h1>
38 </div>
39 34
40 <!-- alerts section 1--> 35 <!-- alerts section 1-->
41 <div data-ng-repeat="a in zone1alerts"> 36 <div data-ng-repeat="a in zone1alerts">
@@ -120,27 +115,6 @@ vim: expandtab tabstop=2
120 </script> 115 </script>
121 116
122 117
123 <!-- build form -->
124 <div class="well">
125 <form class="build-form" data-ng-submit="buildNamedTarget()">
126 <div class="input-append controls">
127 <input type="text" class="huge input-xxlarge" placeholder="Type the recipe(s) you want to build" autocomplete="off" data-ng-model="targetName" data-typeahead="a.name for a in getRecipesAutocompleteSuggestions($viewValue)" data-typeahead-template-url="recipes_suggestion_details" data-ng-disabled="!project.release || !layers.length"/>
128 <button type="submit" class="btn btn-large btn-primary" data-ng-disabled="!targetName.length">
129 Build
130 </button>
131 </div>
132 <i class="icon-question-sign get-help get-help-blue" 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 semicolon and a task name to a recipe name, like so: <code>core-image-minimal:do_build</code>"></i>
133 <p>
134 <a href="{% url 'projecttargets' project.id %}">View all compatible recipes</a>
135 <i class="icon-question-sign get-help get-help-blue heading-help" title="View all the recipes you can build with the release selected for this project, which is {[project.release.desc]}"></i>
136 {% if completedbuilds.count %}
137 | <a href="{% url 'projectbuilds' project.id %}">View all project builds ({{completedbuilds.count}})</a>
138 {% endif %}
139 </p>
140 </form>
141 </div>
142
143
144 <!-- latest builds list --> 118 <!-- latest builds list -->
145 119
146 <a id="buildslist"></a> 120 <a id="buildslist"></a>
@@ -290,7 +264,7 @@ vim: expandtab tabstop=2
290 </div> 264 </div>
291 <form data-ng-submit="layerAdd()"> 265 <form data-ng-submit="layerAdd()">
292 <div class="input-append"> 266 <div class="input-append">
293 <input type="text" class="input-xlarge" id="layer" autocomplete="off" placeholder="Type a layer name" data-minLength="1" data-ng-model="layerAddName" data-typeahead="e for e in getLayersAutocompleteSuggestions($viewValue)" data-typeahead-template-url="layers_suggestion_details" data-typeahead-on-select="onLayerSelect($item, $model, $label)" data-typeahead-editable="false" data-ng-class="{ 'has-error': layerAddName.$invalid }" data-ng-disabled="!project.release" /> 267 <input type="text" style="width: 100%" id="layer" autocomplete="off" placeholder="Type a layer name" data-minLength="1" data-ng-model="layerAddName" data-typeahead="e for e in getLayersAutocompleteSuggestions($viewValue)" data-typeahead-template-url="layers_suggestion_details" data-typeahead-on-select="onLayerSelect($item, $model, $label)" data-typeahead-editable="false" data-ng-class="{ 'has-error': layerAddName.$invalid }" data-ng-disabled="!project.release" />
294 <input type="submit" id="add-layer" class="btn" value="Add" data-ng-disabled="!layerAddName.length"/> 268 <input type="submit" id="add-layer" class="btn" value="Add" data-ng-disabled="!layerAddName.length"/>
295 </div> 269 </div>
296 {% csrf_token %} 270 {% csrf_token %}
@@ -317,7 +291,7 @@ vim: expandtab tabstop=2
317 </h3> 291 </h3>
318 <form data-ng-submit="buildNamedTarget()"> 292 <form data-ng-submit="buildNamedTarget()">
319 <div class="input-append"> 293 <div class="input-append">
320 <input type="text" class="input-xlarge" placeholder="Type the recipe(s) you want to build" autocomplete="off" data-minLength="1" data-ng-model="targetName1" data-typeahead="a.name for a in getRecipesAutocompleteSuggestions($viewValue)" data-typeahead-template-url="recipes_suggestion_details" data-ng-disabled="!project.release || !layers.length"> 294 <input type="text" style="width: 100%" placeholder="Type the recipe(s) you want to build" autocomplete="off" data-minLength="1" data-ng-model="targetName1" data-typeahead="a.name for a in getRecipesAutocompleteSuggestions($viewValue)" data-typeahead-template-url="recipes_suggestion_details" data-ng-disabled="!project.release || !layers.length">
321 <button type="submit" class="btn btn-primary" data-ng-disabled="!targetName1.length"> 295 <button type="submit" class="btn btn-primary" data-ng-disabled="!targetName1.length">
322 Build </button> 296 Build </button>
323 </div> 297 </div>
@@ -420,8 +394,10 @@ vim: expandtab tabstop=2
420 </div> 394 </div>
421 </div> 395 </div>
422 396
423<!-- end main --> 397</div> <!-- end main -->
424</div> 398
399</div> <!-- end row -->
400
425 401
426 402
427<!-- load application logic !--> 403<!-- load application logic !-->