mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 15:32:13 +02:00
A recent round of informal user feedback has revealed that the term 'target' is quite problematic. For all the users we spoke to the word refers to the target arch. In Toaster, it refers to the software you build. This patch replaces the word 'target' with 'recipe' across the Toaster interface. This is by no means self-explanatory, but at least it cannot be confused with target hardware, and it is also consistent with the terminology we use in the analysis portion of the interface. (Bitbake rev: ac10b5d83172feb10f1f3a3c894a54d2c4c4f09d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
126 lines
5.2 KiB
HTML
126 lines
5.2 KiB
HTML
<!DOCTYPE html>
|
|
{% load static %}
|
|
<html lang="en">
|
|
<head>
|
|
<title>{% if objectname %} {{objectname|title}} - {% endif %}Toaster</title>
|
|
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}" type="text/css"/>
|
|
<link rel="stylesheet" href="{% static 'css/bootstrap-responsive.min.css' %}" type='text/css'/>
|
|
<link rel="stylesheet" href="{% static 'css/font-awesome.min.css' %}" type='text/css'/>
|
|
<link rel="stylesheet" href="{% static 'css/prettify.css' %}" type='text/css'/>
|
|
<link rel="stylesheet" href="{% static 'css/default.css' %}" type='text/css'/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
|
<script src="{% static 'js/jquery-2.0.3.min.js' %}">
|
|
</script>
|
|
<script src="{% static 'js/jquery.cookie.js' %}">
|
|
</script>
|
|
<script src="{% static 'js/bootstrap.min.js' %}">
|
|
</script>
|
|
<script src="{% static 'js/prettify.js' %}">
|
|
</script>
|
|
<script src="{% static 'js/libtoaster.js' %}">
|
|
</script>
|
|
{% if DEBUG %}
|
|
<script>
|
|
libtoaster.debug = true;
|
|
</script>
|
|
{% endif %}
|
|
<script src="{% static 'js/base.js' %}"></script>
|
|
{%if MANAGED %}
|
|
<script>
|
|
$(document).ready(function () {
|
|
/* Vars needed for base.js */
|
|
var ctx = {};
|
|
ctx.xhrDataTypeaheadUrl = "{% url 'xhr_datatypeahead' %}";
|
|
ctx.projectBuildUrl = "{% url 'xhr_build' %}";
|
|
ctx.projectPageUrl = "{% url 'base_project' %}";
|
|
ctx.projectInfoUrl = "{% url 'xhr_projectinfo' %}";
|
|
ctx.numProjects = {{projects|length}};
|
|
{% if project %}
|
|
ctx.projectId = {{project.id}};
|
|
{% endif %}
|
|
ctx.currentUrl = "{{request.path|escapejs}}";
|
|
|
|
basePageInit(ctx);
|
|
});
|
|
</script>
|
|
{% endif %}
|
|
<script>
|
|
|
|
</script>
|
|
|
|
{% block extraheadcontent %}
|
|
{% endblock %}
|
|
</head>
|
|
|
|
<body style="height: 100%">
|
|
<div class="navbar navbar-static-top">
|
|
<div class="navbar-inner">
|
|
<a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a>
|
|
<span class="brand">
|
|
<a href="/">Toaster</a>
|
|
{% if DEBUG %}
|
|
<i class="icon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Revision</dt><dd>{{TOASTER_REVISION}}</dd><dt>Mode</dt><dd>{%if MANAGED%}Build{%else%}Analysis{%endif%}</dd></dl>"></i>
|
|
{% endif %}
|
|
</span>
|
|
<a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
|
|
<i class="icon-book"></i>
|
|
Toaster manual
|
|
</a>
|
|
{%if MANAGED %}
|
|
<div class="btn-group pull-right">
|
|
<a class="btn" id="new-project-button" href="{% url 'newproject' %}">New project</a>
|
|
</div>
|
|
<!-- New build popover -->
|
|
<div class="btn-group pull-right" id="new-build-button">
|
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
|
New build
|
|
<i class="icon-caret-down"></i>
|
|
</button>
|
|
<ul class="dropdown-menu new-build multi-select">
|
|
<li>
|
|
<h3>New build</h3>
|
|
<h6>Project:</h6>
|
|
<span id="project">
|
|
<a class="lead" href="{% if project.id %}{% url 'project' project.id %}{% endif %}">{{project.name}}</a>
|
|
<i class="icon-pencil"></i>
|
|
</span>
|
|
<form id="change-project-form" style="display:none;">
|
|
<div class="input-append">
|
|
<input type="text" class="input-medium" id="project-name-input" placeholder="Type a project name" autocomplete="off" data-minLength="1" data-autocomplete="off" data-provide="typeahead"/>
|
|
<button id="save-project-button" class="btn" type="button">Save</button>
|
|
<a href="#" id="cancel-change-project" class="btn btn-link">Cancel</a>
|
|
</div>
|
|
<p><a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a></p>
|
|
</form>
|
|
</li>
|
|
<div class="alert" style="display:none">
|
|
This project's configuration is incomplete,<br/>so you cannot run builds.<br/>
|
|
<p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p>
|
|
</div>
|
|
<li id="targets-form">
|
|
<h6>Recipe(s):</h6>
|
|
<form>
|
|
<input type="text" class="input-xlarge" id="build-target-input" placeholder="Type a recipe name" autocomplete="off" data-minLength="1" data-autocomplete="off" data-provide="typeahead" />
|
|
<div>
|
|
<a class="btn btn-primary" id="build-button" disabled="disabled" data-project-id="{{project.id}}">Build</a>
|
|
</div>
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
{%endif%}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container-fluid">
|
|
{% block pagecontent %}
|
|
{% endblock %}
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|