diff options
| author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-08-29 16:41:59 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 08:51:32 +0100 |
| commit | acd4a1799d51a9f0b192d12b2c58387595b27bf7 (patch) | |
| tree | 194260d1e025db5cfb94662c81fbef2488f1798e /bitbake/lib/toaster/toastergui/templates/project.html | |
| parent | fd0398f2c1355597a95242e6c8400eae6ad60fa4 (diff) | |
| download | poky-acd4a1799d51a9f0b192d12b2c58387595b27bf7.tar.gz | |
bitbake: toaster: add project pages for machines, targets, layers
We add new pages for the all-machines and all-targets
project-related views.
We update the existing template structure to create
a base project view, similar to a base build view, that includes
a breadcrumb.
Updating existing all layers view to use the new structure.
We update methods in the models to provide corrent
information display.
[YOCTO #6592]
[YOCTO #6593]
(Bitbake rev: 973f582a19441c1ec67061160e4c50ce03ed7b68)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@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.html | 69 |
1 files changed, 29 insertions, 40 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index 3c59fcf2ac..d7bfa2b9de 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
| @@ -224,36 +224,14 @@ $(document).ready(function () { | |||
| 224 | <div id="dependency-alert" class="alert alert-info" style="display:none;"> | 224 | <div id="dependency-alert" class="alert alert-info" style="display:none;"> |
| 225 | <p><strong>meta-tizen</strong> depends on the layers below. Check the ones you want to add: </p> | 225 | <p><strong>meta-tizen</strong> depends on the layers below. Check the ones you want to add: </p> |
| 226 | <ul class="unstyled"> | 226 | <ul class="unstyled"> |
| 227 | <li> | 227 | {% for f in layer_dependency %} |
| 228 | <label class="checkbox"> | ||
| 229 | <input checked="checked" type="checkbox"> | ||
| 230 | meta-efl | ||
| 231 | </label> | ||
| 232 | </li> | ||
| 233 | <li> | ||
| 234 | <label class="checkbox"> | ||
| 235 | <input checked="checked" type="checkbox"> | ||
| 236 | meta-intel | ||
| 237 | </label> | ||
| 238 | </li> | ||
| 239 | <li> | ||
| 240 | <label class="checkbox"> | ||
| 241 | <input checked="checked" type="checkbox"> | ||
| 242 | meta-multimedia | ||
| 243 | </label> | ||
| 244 | </li> | ||
| 245 | <li> | ||
| 246 | <label class="checkbox"> | ||
| 247 | <input checked="checked" type="checkbox"> | ||
| 248 | meta-oe | ||
| 249 | </label> | ||
| 250 | </li> | ||
| 251 | <li> | 228 | <li> |
| 252 | <label class="checkbox"> | 229 | <label class="checkbox"> |
| 253 | <input checked="checked" type="checkbox"> | 230 | <input checked="checked" type="checkbox"> |
| 254 | meta-ruby | 231 | meta-ruby |
| 255 | </label> | 232 | </label> |
| 256 | </li> | 233 | </li> |
| 234 | {% endfor %} | ||
| 257 | </ul> | 235 | </ul> |
| 258 | <button id="add-layer-dependencies" class="btn btn-info add-layer">Add layers</button> | 236 | <button id="add-layer-dependencies" class="btn btn-info add-layer">Add layers</button> |
| 259 | </div> | 237 | </div> |
| @@ -315,27 +293,38 @@ $(document).ready(function () { | |||
| 315 | </div> | 293 | </div> |
| 316 | 294 | ||
| 317 | <div class="well well-transparent span4"> | 295 | <div class="well well-transparent span4"> |
| 296 | |||
| 318 | <h3> | 297 | <h3> |
| 319 | Set machine | 298 | Project machine |
| 320 | <i data-original-title="The machine is the hardware for which you want to build. You can only set one machine per project" class="icon-question-sign get-help heading-help" title=""></i> | 299 | <i class="icon-question-sign get-help heading-help" title="The machine is the hardware for which you want to build. You can only set one machine per project"></i> |
| 321 | </h3> | 300 | </h3> |
| 322 | <p class="lead"> | 301 | <p class="lead" id="selected-machine"> {{machine}} |
| 323 | {{machine}} | 302 | <i id="change-machine" class="icon-pencil"></i> |
| 324 | <i title="" data-original-title="" class="icon-pencil"></i> | ||
| 325 | </p> | 303 | </p> |
| 326 | <h3> | 304 | <form id="select-machine"> |
| 327 | Set distro | 305 | <div class="alert alert-info"> |
| 328 | <i data-original-title="When you build an image using the Yocto Project and do not alter the distro, you are creating a Poky distribution" class="icon-question-sign get-help heading-help" title=""></i> | 306 | <strong>Machine changes have a big impact on build outcome.</strong> |
| 329 | </h3> | 307 | You cannot really compare the builds for the new machine with the previous ones. |
| 330 | <p class="lead"> | 308 | </div> |
| 331 | {{distro}} | 309 | <div class="input-append"> |
| 332 | <i title="" data-original-title="" class="icon-pencil"></i> | 310 | <input type="text" id="machine" autocomplete="off" value="qemux86" data-provide="typeahead" |
| 311 | data-minLength="1" | ||
| 312 | data-autocomplete="off" | ||
| 313 | data-source='[ | ||
| 314 | ]'> | ||
| 315 | <button id="apply-change-machine" class="btn" type="button">Save</button> | ||
| 316 | <a href="#" id="cancel-machine" class="btn btn-link">Cancel</a> | ||
| 317 | </div> | ||
| 318 | <p><a href="{% url 'machines' %}" class="link">View all machines</a></p> | ||
| 319 | </form> | ||
| 320 | <p class="link-action"> | ||
| 321 | <a href="{% url 'projectconf' project.id %}" class="link">Edit configuration variables</a> | ||
| 322 | <i class="icon-question-sign get-help heading-help" title="You can set other project configuration options here. Each option, like everything else in the build system, is a variable - value pair"></i> | ||
| 333 | </p> | 323 | </p> |
| 334 | <p class="link-action"> | 324 | |
| 335 | <a href="{% url 'projectconf' project.id %}" class="link">Edit configuration variables</a> | ||
| 336 | <i class="icon-question-sign get-help heading-help" title="You can set other project configuration options here. Each option, like everything else in the build system, is a variable - value pair"></i> | ||
| 337 | </p> | ||
| 338 | </div> | 325 | </div> |
| 326 | |||
| 327 | |||
| 339 | </div> | 328 | </div> |
| 340 | 329 | ||
| 341 | <h2>Project details</h2> | 330 | <h2>Project details</h2> |
