mirror of
https://git.yoctoproject.org/poky
synced 2026-05-16 08:28:01 +02:00
Instead of putting the DATABASE_URL as part of the command for launching the bitbake observer process set it as part of environment. This fixes two issues 1. Where the value isn't quoted and therefore will be interpreted in the shell and 2. Anyone being able to see the value of DATABASE_URL in the process tree. [YOCTO #8669] (Bitbake rev: 832a8523067606b180c02f0d1544e8a23219bb08) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
130 lines
4.8 KiB
HTML
130 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
{% load static %}
|
|
{% load projecttags %}
|
|
{% load project_url_tag %}
|
|
<html lang="en">
|
|
<head>
|
|
<title>
|
|
{% block title %} Toaster {% endblock %}
|
|
</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>
|
|
libtoaster.ctx = {
|
|
jsUrl : "{% static 'js/' %}",
|
|
htmlUrl : "{% static 'html/' %}",
|
|
projectsUrl : "{% url 'all-projects' %}",
|
|
projectsTypeAheadUrl: {% url 'xhr_projectstypeahead' as prjurl%}{{prjurl|json}},
|
|
{% if project.id %}
|
|
projectId : {{project.id}},
|
|
projectPageUrl : {% url 'project' project.id as purl %}{{purl|json}},
|
|
projectName : {{project.name|json}},
|
|
recipesTypeAheadUrl: {% url 'xhr_recipestypeahead' project.id as paturl%}{{paturl|json}},
|
|
layersTypeAheadUrl: {% url 'xhr_layerstypeahead' project.id as paturl%}{{paturl|json}},
|
|
machinesTypeAheadUrl: {% url 'xhr_machinestypeahead' project.id as paturl%}{{paturl|json}},
|
|
|
|
projectBuildsUrl: {% url 'projectbuilds' project.id as pburl %}{{pburl|json}},
|
|
projectId : {{project.id}},
|
|
{% else %}
|
|
projectId : undefined,
|
|
projectPageUrl : undefined,
|
|
projectName : undefined,
|
|
{% endif %}
|
|
};
|
|
</script>
|
|
{% block extraheadcontent %}
|
|
{% endblock %}
|
|
</head>
|
|
|
|
<body style="height: 100%">
|
|
|
|
{% csrf_token %}
|
|
<div id="loading-notification" class="alert lead text-center" style="display:none">
|
|
Loading <i class="fa-pulse icon-spinner"></i>
|
|
</div>
|
|
|
|
<div id="change-notification" class="alert lead alert-info" style="display:none">
|
|
<button type="button" class="close" id="hide-alert">×</button>
|
|
<span id="change-notification-msg"></span>
|
|
</div>
|
|
|
|
<div class="navbar navbar-fixed-top">
|
|
<div class="navbar-inner">
|
|
<div class="container-fluid">
|
|
<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></dl>"></i>
|
|
{% endif %}
|
|
</span>
|
|
{% if BUILD_MODE and request.resolver_match.url_name != 'landing' and request.resolver_match.url_name != 'newproject' %}
|
|
<ul class="nav">
|
|
<li {% if request.resolver_match.url_name == 'all-builds' %}
|
|
class="active"
|
|
{% endif %}>
|
|
<a href="{% url 'all-builds' %}">
|
|
<i class="icon-tasks"></i>
|
|
All builds
|
|
</a>
|
|
</li>
|
|
<li {% if request.resolver_match.url_name == 'all-projects' %}
|
|
class="active"
|
|
{% endif %}>
|
|
<a href="{% url 'all-projects' %}">
|
|
<i class="icon-folder-open"></i>
|
|
All projects
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
{% endif %}
|
|
<ul class="nav pull-right">
|
|
<li>
|
|
<a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
|
|
<i class="icon-book"></i>
|
|
Manual
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<span class="pull-right divider-vertical"></span>
|
|
|
|
<!-- new project button; only show in build mode -->
|
|
{% if BUILD_MODE %}
|
|
<div class="btn-group pull-right">
|
|
<a class="btn" id="new-project-button" href="{% url 'newproject' %}">New project</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container-fluid top-padded">
|
|
<div class="row-fluid">
|
|
{% block pagecontent %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|