diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/project.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/project.html | 58 |
1 files changed, 35 insertions, 23 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index d7bfa2b9de..c3a470c54a 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
@@ -110,22 +110,34 @@ $(document).ready(function () { | |||
110 | 110 | ||
111 | 111 | ||
112 | <div class="well"> | 112 | <div class="well"> |
113 | <!--div class="control-group error"--> | 113 | <form class="build-form"> |
114 | <button id="build-all-button" class="btn btn-primary btn-large">Build all added targets</button> | 114 | <div class="input-append input-prepend controls"> |
115 | <div class="input-append build-form controls"> | 115 | <input type="text" class="huge span7" placeholder="Type the target(s) you want to build" autocomplete="off" data-minLength="1" data-autocomplete="off" |
116 | <input class="huge input-xxlarge" placeholder="Or enter the target you want to build" autocomplete="off" data-minlength="1" data-autocomplete="off" data-provide="typeahead" data-source="" type="text"> | 116 | data-provide="typeahead" data-source='["core-image-base [meta | daisy]", |
117 | <button id="build-button" class="btn btn-large" disabled="">Build</button> | 117 | "core-image-clutter [meta | daisy]", |
118 | "core-image-directfb [meta | daisy]", | ||
119 | "core-image-myimage [meta-imported-layer | 3e1dbabbf3…]", | ||
120 | "core-image-anotherimage [meta-imported-layer | master]", | ||
121 | "core-image-full-cmdline [meta | daisy]", | ||
122 | "core-image-lsb [meta | daisy]", | ||
123 | "core-image-lsb-dev [meta | daisy]", | ||
124 | "core-image-lsb-sdk [meta| daisy]", | ||
125 | "core-image-minimal [meta| daisy]" | ||
126 | ]'> | ||
127 | <a href="#" id="build-button" class="btn btn-large btn-primary" disabled> | ||
128 | Build | ||
129 | <i class="icon-question-sign get-help heading-help" style="margin-left: 5px;" title="Type the name of one or more targets you want to build, separated by a space. You can also specify a task by appending a semicolon and a task name to a target name, like so: <code>core-image-minimal:do_build</code>"></i> | ||
130 | </a> | ||
118 | </div> | 131 | </div> |
119 | 132 | <p> | |
120 | <!--span class="help-inline">This target is not provided <br />by any of your added layers | 133 | <a href="all-targets.html" style="padding-right: 5px;"> |
121 | <i class="icon-question-sign get-help get-help-red" title="Review your list of added layers to make sure one of them provides core-image-xyz. Clicking on a layer name will give you all the information Toaster has about the layer"></i> | 134 | View all targets |
122 | </span> | 135 | </a> |
123 | </div--> | 136 | | |
124 | </div> | 137 | <a href="{% url 'projectbuilds' project.id%}" style="padding-left:5px;"> |
125 | 138 | View all project builds ({{project.build_set.count}}) | |
126 | <div id="meta-tizen-alert" class="alert alert-info lead air" style="display:none;"> | 139 | </a> |
127 | <button type="button" class="close" data-dismiss="alert">?</button> | 140 | </form> |
128 | You have added <strong>6</strong> layers: <a href="#">meta-tizen</a> and its dependencies (<a href="#">meta-efl</a>, <a href="#">meta-intel</a>, <a href="#">meta-multimedia</a>, <a href="#">meta-oe</a> and <a href="#">meta-ruby</a>). | ||
129 | </div> | 141 | </div> |
130 | 142 | ||
131 | 143 | ||
@@ -145,11 +157,11 @@ $(document).ready(function () { | |||
145 | </span> | 157 | </span> |
146 | </div> | 158 | </div> |
147 | <div class="span2"> | 159 | <div class="span2"> |
148 | {{br.0.get_state_display}} | 160 | {{br.0.get_state_display}} |
149 | </div> | 161 | </div> |
150 | <div class="span8"> | 162 | <div class="span8"> |
151 | {% if br.state == br.REQ_FAILED%} | 163 | {% if br.state == br.REQ_FAILED%} |
152 | {% for bre in br.0.brerror_set.all %} {{bre.errmsg}} ({{bre.errtype}}) <br/><hr/><code>{{bre.traceback}}</code>{%endfor%} | 164 | {% for bre in br.0.brerror_set.all %} {{bre.errmsg}} ({{bre.errtype}}) <br/><hr/><code>{{bre.traceback}}</code>{%endfor%} |
153 | {%endif%} | 165 | {%endif%} |
154 | </div> | 166 | </div> |
155 | 167 | ||
@@ -224,14 +236,14 @@ $(document).ready(function () { | |||
224 | <div id="dependency-alert" class="alert alert-info" style="display:none;"> | 236 | <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> | 237 | <p><strong>meta-tizen</strong> depends on the layers below. Check the ones you want to add: </p> |
226 | <ul class="unstyled"> | 238 | <ul class="unstyled"> |
227 | {% for f in layer_dependency %} | 239 | {% for f in layer_dependency %} |
228 | <li> | 240 | <li> |
229 | <label class="checkbox"> | 241 | <label class="checkbox"> |
230 | <input checked="checked" type="checkbox"> | 242 | <input checked="checked" type="checkbox"> |
231 | meta-ruby | 243 | meta-ruby |
232 | </label> | 244 | </label> |
233 | </li> | 245 | </li> |
234 | {% endfor %} | 246 | {% endfor %} |
235 | </ul> | 247 | </ul> |
236 | <button id="add-layer-dependencies" class="btn btn-info add-layer">Add layers</button> | 248 | <button id="add-layer-dependencies" class="btn btn-info add-layer">Add layers</button> |
237 | </div> | 249 | </div> |
@@ -278,9 +290,9 @@ $(document).ready(function () { | |||
278 | {% if target %} | 290 | {% if target %} |
279 | <li> | 291 | <li> |
280 | <a href="#">{{target.target}}{% if target.task%} (target.task){%endif%}</a> | 292 | <a href="#">{{target.target}}{% if target.task%} (target.task){%endif%}</a> |
281 | {% if target.notprovided %} | 293 | {% if target.notprovided %} |
282 | <i title="" data-original-title="" id="msg1" class="icon-exclamation-sign get-help-yellow" data-title="<strong>Target may not be provided</strong>" data-content="From the layer information it currently has, Toaster thinks this target is not provided by any of your added layers. If a target is not provided by one of your added layers, the build will fail.<h5>What Toaster suggests</h5><p>The <a href='#'>meta-abc</a> and <a href='#'>meta-efg</a> layers provide core-image-notprovided. You could add one of them to your project.</p><button class='btn btn-block'>Add meta-abc</button><button class='btn btn-block'>Add meta-efg</button><button id='dismiss1' class='btn btn-block btn-info'>Stop showing this message</button>"></i> | 294 | <i title="" data-original-title="" id="msg1" class="icon-exclamation-sign get-help-yellow" data-title="<strong>Target may not be provided</strong>" data-content="From the layer information it currently has, Toaster thinks this target is not provided by any of your added layers. If a target is not provided by one of your added layers, the build will fail.<h5>What Toaster suggests</h5><p>The <a href='#'>meta-abc</a> and <a href='#'>meta-efg</a> layers provide core-image-notprovided. You could add one of them to your project.</p><button class='btn btn-block'>Add meta-abc</button><button class='btn btn-block'>Add meta-efg</button><button id='dismiss1' class='btn btn-block btn-info'>Stop showing this message</button>"></i> |
283 | {% elif target.notknown %} | 295 | {% elif target.notknown %} |
284 | <i title="" data-original-title="" id="msg2" class="icon-exclamation-sign get-help-yellow" data-title="<strong>Target may not be provided</strong>" data-content="From the layer information it currently has, Toaster thinks this target is not provided by any of your added layers. If a target is not provided by one of your added layers, the build will fail.<h5>What Toaster suggests</h5><p>Review your added layers to make sure one of them provides core-image-unknown. Clicking on a layer name will give you all the information Toaster has about the layer. </p> <button class='btn btn-block btn-info'>Stop showing this message</button>"></i> | 296 | <i title="" data-original-title="" id="msg2" class="icon-exclamation-sign get-help-yellow" data-title="<strong>Target may not be provided</strong>" data-content="From the layer information it currently has, Toaster thinks this target is not provided by any of your added layers. If a target is not provided by one of your added layers, the build will fail.<h5>What Toaster suggests</h5><p>Review your added layers to make sure one of them provides core-image-unknown. Clicking on a layer name will give you all the information Toaster has about the layer. </p> <button class='btn btn-block btn-info'>Stop showing this message</button>"></i> |
285 | {% endif %} | 297 | {% endif %} |
286 | <i title="" data-original-title="" class="icon-trash" id="del-target-icon" x-data="{{target.pk}}"></i> | 298 | <i title="" data-original-title="" class="icon-trash" id="del-target-icon" x-data="{{target.pk}}"></i> |
@@ -347,7 +359,7 @@ $(document).ready(function () { | |||
347 | </p> | 359 | </p> |
348 | <h3>Yocto Project version</h3> | 360 | <h3>Yocto Project version</h3> |
349 | <p class="lead"> | 361 | <p class="lead"> |
350 | {{project.release}} - {{project.short_description}} | 362 | {{project.release.name}} - {{project.release.description}} |
351 | <i title="" data-original-title="" class="icon-pencil"></i> | 363 | <i title="" data-original-title="" class="icon-pencil"></i> |
352 | </p> | 364 | </p> |
353 | </div> | 365 | </div> |