Files
poky/bitbake/lib/toaster/toastergui/templates/projectconf.html
Alexandru DAMIAN 372c9d144e bitbake: toastergui: added pages for project details
We add new pages for the layer importing, layer details,
showing project builds and project configuration.

The pages are  in read-only mode, but they're needed as
to be able to verify the quality of data in the system.

Write capabilities will be added in a subsequent patch.

[YOCTO #6595]
[YOCTO #6590]
[YOCTO #6591]
[YOCTO #6588]
[YOCTO #6589]

(Bitbake rev: eed9ae5c2a2bd7567e12ae9a4f02a5a966a1e1a3)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-01 08:51:33 +01:00

63 lines
2.1 KiB
HTML

{% extends "baseprojectpage.html" %}
{% load projecttags %}
{% load humanize %}
{% block localbreadcrumb %}
<li>Project configuration</li>
{% endblock %}
{% block projectinfomain %}
<div class="page-header">
<h1>Configuration Variables</h1>
</div>
<div style="padding-left:19px;">
<dl class="dl-vertical">
{% for c in configvars %}
<dt>
{{c.name}}
<i class="icon-question-sign get-help" title="{{c.desc}}"></i>
</dt>
<dd class="lead">
<span id="distro">{{c.value}}</span>
<i class="icon-pencil" id="change-distro-icon"></i>
<form id="change-distro-form" style="display:none;">
<div class="input-append">
<input type="text" id="new-distro" value="poky tiny">
<button id="apply-change-distro" class="btn" type="button">Save</button>
<button id="cancel-change-distro" type="button" class="btn btn-link">Cancel</button>
</div>
</form>
</dd>
{% endfor %}
</dl>
<form id="variable-form">
<fieldset style="padding-left:0px;">
<legend>Add variable</legend>
<label>
Variable
<i class="icon-question-sign get-help" title="Variable names are case sensitive, cannot have spaces, and can only include letters, numbers, underscores and dashes"></i>
</label>
<input id="variable" type="text" placeholder="Type variable name">
<label>Value</label>
<input id="value" type="text" placeholder="Type variable value">
<div style="display:block;margin-top:10px;">
<a href="#" class="btn save" disabled>
Add variable
</a>
</div>
</fieldset>
</form>
<!--button id="add-variable" class="btn air">
<i class="icon-plus"></i>
Add variable
</button-->
</div>
{% endblock %}