diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
18 files changed, 266 insertions, 84 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index 9e19cc33ca..e90be69620 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html | |||
@@ -14,11 +14,11 @@ | |||
14 | 14 | ||
15 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 15 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
16 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> | 16 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> |
17 | <script src="{% static 'js/jquery-2.0.3.min.js' %}"> | 17 | <script src="{% static 'js/jquery-3.7.1.min.js' %}"> |
18 | </script> | 18 | </script> |
19 | <script src="{% static 'js/jquery.cookie.js' %}"> | 19 | <script src="{% static 'js/jquery.cookie.js' %}"> |
20 | </script> | 20 | </script> |
21 | <script src="{% static 'js/bootstrap.min.js' %}"> | 21 | <script src="{% static 'js/bootstrap-3.4.1.min.js' %}"> |
22 | </script> | 22 | </script> |
23 | <script src="{% static 'js/typeahead.jquery.js' %}"> | 23 | <script src="{% static 'js/typeahead.jquery.js' %}"> |
24 | </script> | 24 | </script> |
@@ -94,7 +94,7 @@ | |||
94 | </a> | 94 | </a> |
95 | <a class="brand" href="/">Toaster</a> | 95 | <a class="brand" href="/">Toaster</a> |
96 | {% if DEBUG %} | 96 | {% if DEBUG %} |
97 | <span class="glyphicon glyphicon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Git branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Git revision</dt><dd>{{TOASTER_REVISION}}</dd></dl>"></i> | 97 | <span id="toaster-version-info-sign" class="glyphicon glyphicon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Git branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Git revision</dt><dd>{{TOASTER_REVISION}}</dd></dl>"></i> |
98 | {% endif %} | 98 | {% endif %} |
99 | </div> | 99 | </div> |
100 | </div> | 100 | </div> |
@@ -123,7 +123,7 @@ | |||
123 | {% endif %} | 123 | {% endif %} |
124 | {% endif %} | 124 | {% endif %} |
125 | <li id="navbar-docs"> | 125 | <li id="navbar-docs"> |
126 | <a target="_blank" href="https://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> | 126 | <a target="_blank" href="http://docs.yoctoproject.org/toaster-manual/index.html#toaster-user-manual"> |
127 | <i class="glyphicon glyphicon-book"></i> | 127 | <i class="glyphicon glyphicon-book"></i> |
128 | Documentation | 128 | Documentation |
129 | </a> | 129 | </a> |
@@ -132,7 +132,8 @@ | |||
132 | {% if project_enable %} | 132 | {% if project_enable %} |
133 | <a class="btn btn-default navbar-btn navbar-right" id="new-project-button" href="{% url 'newproject' %}">New project</a> | 133 | <a class="btn btn-default navbar-btn navbar-right" id="new-project-button" href="{% url 'newproject' %}">New project</a> |
134 | {% endif %} | 134 | {% endif %} |
135 | </div> | 135 | <a class="btn btn-default navbar-btn navbar-right" id="import_page" style="margin-right: 5px !important" id="import-cmdline-button" href="{% url 'cmdlines' %}">Import command line builds</a> |
136 | </div> | ||
136 | </div> | 137 | </div> |
137 | </nav> | 138 | </nav> |
138 | 139 | ||
diff --git a/bitbake/lib/toaster/toastergui/templates/base_specific.html b/bitbake/lib/toaster/toastergui/templates/base_specific.html index e377cadd73..425f7ed73d 100644 --- a/bitbake/lib/toaster/toastergui/templates/base_specific.html +++ b/bitbake/lib/toaster/toastergui/templates/base_specific.html | |||
@@ -14,11 +14,11 @@ | |||
14 | 14 | ||
15 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 15 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
16 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> | 16 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> |
17 | <script src="{% static 'js/jquery-2.0.3.min.js' %}"> | 17 | <script src="{% static 'js/jquery-3.7.1.min.js' %}"> |
18 | </script> | 18 | </script> |
19 | <script src="{% static 'js/jquery.cookie.js' %}"> | 19 | <script src="{% static 'js/jquery.cookie.js' %}"> |
20 | </script> | 20 | </script> |
21 | <script src="{% static 'js/bootstrap.min.js' %}"> | 21 | <script src="{% static 'js/bootstrap-3.4.1.min.js' %}"> |
22 | </script> | 22 | </script> |
23 | <script src="{% static 'js/typeahead.jquery.js' %}"> | 23 | <script src="{% static 'js/typeahead.jquery.js' %}"> |
24 | </script> | 24 | </script> |
diff --git a/bitbake/lib/toaster/toastergui/templates/command_line_builds.html b/bitbake/lib/toaster/toastergui/templates/command_line_builds.html new file mode 100644 index 0000000000..05db6727e7 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/command_line_builds.html | |||
@@ -0,0 +1,209 @@ | |||
1 | {% extends "base.html" %} | ||
2 | {% load projecttags %} | ||
3 | {% load humanize %} | ||
4 | {% load static %} | ||
5 | |||
6 | {% block title %} Import Builds from eventlogs - Toaster {% endblock %} | ||
7 | |||
8 | {% block pagecontent %} | ||
9 | |||
10 | <div class="container-fluid"> | ||
11 | <div id="overlay" class="hide"> | ||
12 | <div class="spinner"> | ||
13 | <div class="fa-spin"> | ||
14 | </div> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="row"> | ||
18 | <div class="col-md-12"> | ||
19 | <div class="page-header"> | ||
20 | <div class="row"> | ||
21 | <div class="col-md-6"> | ||
22 | <h1>Import command line builds</h1> | ||
23 | </div> | ||
24 | {% if import_all %} | ||
25 | <div class="col-md-6"> | ||
26 | <button id="import_all" type="button" class="btn btn-primary navbar-btn navbar-right"> | ||
27 | <span class="glyphicon glyphicon-upload" style="vertical-align: top;"></span> Import All | ||
28 | </button> | ||
29 | </div> | ||
30 | {% endif %} | ||
31 | </div> | ||
32 | </div> | ||
33 | {% if messages %} | ||
34 | <div class="row-fluid" id="empty-state-{{table_name}}"> | ||
35 | {% for message in messages %} | ||
36 | <div class="alert alert-danger">{{message}}</div> | ||
37 | {%endfor%} | ||
38 | </div> | ||
39 | {% endif %} | ||
40 | <div class="row"> | ||
41 | <h4 style="margin-left: 15px;"><strong>Import eventlog file</strong></h4> | ||
42 | <form method="POST" enctype="multipart/form-data" action="{% url 'cmdlines' %}" id="form_file"> | ||
43 | {% csrf_token %} | ||
44 | <div class="col-md-6" style="padding-left: 20px;"> | ||
45 | <div class="row"> | ||
46 | <input type="hidden" value="{{dir}}" name="dir"> | ||
47 | <div class="col-md-3"> {{ form.eventlog_file}} </div> | ||
48 | </div> | ||
49 | <div class="row" style="padding-top: 10px;"> | ||
50 | <div class="col-md-6"> | ||
51 | <button id="file_import" type="submit" disabled="disabled" class="btn btn-default navbar-btn" > | ||
52 | <span class="glyphicon glyphicon-upload" style="vertical-align: top;"></span> Import | ||
53 | </button> | ||
54 | </div> | ||
55 | </div> | ||
56 | </div> | ||
57 | </form> | ||
58 | </div> | ||
59 | |||
60 | <div class="row" style="padding-top: 20px;"> | ||
61 | <div class="col-md-8 "> | ||
62 | <h4><strong>Eventlogs from existing build directory: </strong> | ||
63 | <a href="#" data-toggle="tooltip" title="{{dir}}"> | ||
64 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-info-circle" viewBox="0 0 16 16" data-toggle="tooltip"> | ||
65 | <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/> | ||
66 | <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/> | ||
67 | </svg> | ||
68 | </a> | ||
69 | </h4> | ||
70 | {% if files %} | ||
71 | <div class="table-responsive"> | ||
72 | <table class="table col-md-6 table-bordered table-hover" id="eventlog-table" style="border-collapse: collapse;"> | ||
73 | <thead> | ||
74 | <tr class="row"> | ||
75 | <th scope="col">Name</th> | ||
76 | <th scope="col">Size</th> | ||
77 | <th scope="col">Action</th> | ||
78 | </tr> | ||
79 | </thead> | ||
80 | <tbody> | ||
81 | {% for file in files %} | ||
82 | <tr class="row" style="height: 48px;"> | ||
83 | <th scope="row" class="col-md-4" style="vertical-align: middle;"> | ||
84 | <input type="hidden" value="{{file.name}}" name="{{file.name}}">{{file.name}} | ||
85 | </th> | ||
86 | <td class="col-md-4 align-middle" style="vertical-align: middle;">{{file.size|filesizeformat}}</td> | ||
87 | <td class="col-md-4 align-middle" style="vertical-align: middle;"> | ||
88 | {% if file.imported == True and file.build_id is not None %} | ||
89 | <a href="{% url 'builddashboard' file.build_id %}">Build Details</a> | ||
90 | {% elif request.session.file == file.name or request.session.all_builds %} | ||
91 | <a data-toggle="tooltip" title="Build in progress"> | ||
92 | <span class="glyphicon glyphicon-upload" style="font-size: 18px; color:grey"></span> | ||
93 | </a> | ||
94 | {%else%} | ||
95 | <a onclick="_ajax_update('{{file.name}}', false, '{{dir}}')" data-toggle="tooltip" title="Import File"> | ||
96 | <span class="glyphicon glyphicon-upload" style="font-size: 18px;"></span> | ||
97 | </a> | ||
98 | {%endif%} | ||
99 | </td> | ||
100 | </tr> | ||
101 | {% endfor%} | ||
102 | </tbody> | ||
103 | </table> | ||
104 | </div> | ||
105 | {% else %} | ||
106 | <div class="row-fluid" id="empty-state-{{table_name}}"> | ||
107 | <div class="alert alert-info">Sorry - no files found</div> | ||
108 | </div> | ||
109 | {%endif%} | ||
110 | </div> | ||
111 | </div> | ||
112 | </div> | ||
113 | </div> | ||
114 | </div> | ||
115 | |||
116 | <link rel="stylesheet" href="{% static 'css/jquery.dataTables-1.13.8.min.css' %}" type='text/css'/> | ||
117 | <script src="{% static 'js/jquery.dataTables-1.13.8.min.js' %}"> </script> | ||
118 | <script> | ||
119 | |||
120 | function _ajax_update(file, all, dir){ | ||
121 | function getCookie(name) { | ||
122 | var cookieValue = null; | ||
123 | if (document.cookie && document.cookie !== '') { | ||
124 | var cookies = document.cookie.split(';'); | ||
125 | for (var i = 0; i < cookies.length; i++) { | ||
126 | var cookie = jQuery.trim(cookies[i]); | ||
127 | // Does this cookie string begin with the name we want? | ||
128 | if (cookie.substring(0, name.length + 1) === (name + '=')) { | ||
129 | cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); | ||
130 | break; | ||
131 | } | ||
132 | } | ||
133 | } | ||
134 | return cookieValue; | ||
135 | } | ||
136 | var csrftoken = getCookie('csrftoken'); | ||
137 | |||
138 | function csrfSafeMethod(method) { | ||
139 | // these HTTP methods do not require CSRF protection | ||
140 | return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); | ||
141 | } | ||
142 | $.ajaxSetup({ | ||
143 | beforeSend: function (xhr, settings) { | ||
144 | if (!csrfSafeMethod(settings.type) && !this.crossDomain) { | ||
145 | xhr.setRequestHeader("X-CSRFToken", csrftoken); | ||
146 | } | ||
147 | } | ||
148 | }); | ||
149 | |||
150 | $.ajax({ | ||
151 | url:'/toastergui/cmdline/', | ||
152 | type: "POST", | ||
153 | data: {file: file, all: all, dir: dir}, | ||
154 | success:function(data){ | ||
155 | if (data['response']=='building'){ | ||
156 | location.reload() | ||
157 | } else { | ||
158 | window.location = '/toastergui/builds/' | ||
159 | } | ||
160 | }, | ||
161 | complete:function(data){ | ||
162 | }, | ||
163 | error:function (xhr, textStatus, thrownError){ | ||
164 | console.log('fail'); | ||
165 | } | ||
166 | }); | ||
167 | } | ||
168 | |||
169 | $('#import_all').on('click', function(){ | ||
170 | _ajax_update("{{files | safe}}", true, "{{dir | safe}}"); | ||
171 | }); | ||
172 | |||
173 | |||
174 | $('#import_page').hide(); | ||
175 | |||
176 | $(function () { | ||
177 | $('[data-toggle="tooltip"]').tooltip() | ||
178 | }) | ||
179 | |||
180 | |||
181 | $("#id_eventlog_file").change(function(){ | ||
182 | $('#file_import').prop("disabled", false); | ||
183 | $('#file_import').addClass('btn-primary') | ||
184 | $('#file_import').removeClass('btn-default') | ||
185 | }) | ||
186 | |||
187 | $(document).ajaxStart(function(){ | ||
188 | $('#overlay').removeClass('hide'); | ||
189 | window.setTimeout( | ||
190 | function() { | ||
191 | window.location = '/toastergui/builds/' | ||
192 | }, 10000) | ||
193 | }); | ||
194 | |||
195 | $( "#form_file").on( "submit", function( event ) { | ||
196 | $('#overlay').removeClass('hide'); | ||
197 | window.setTimeout( | ||
198 | function() { | ||
199 | window.location = '/toastergui/builds/' | ||
200 | }, 10000) | ||
201 | }); | ||
202 | |||
203 | $(document).ready( function () { | ||
204 | $('#eventlog-table').DataTable({order: [[0, 'desc']], "pageLength": 50}); | ||
205 | }); | ||
206 | |||
207 | </script> | ||
208 | |||
209 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/toastergui/templates/configvars.html b/bitbake/lib/toaster/toastergui/templates/configvars.html index 33fef9316d..691dace3a2 100644 --- a/bitbake/lib/toaster/toastergui/templates/configvars.html +++ b/bitbake/lib/toaster/toastergui/templates/configvars.html | |||
@@ -66,7 +66,7 @@ | |||
66 | <td class="description"> | 66 | <td class="description"> |
67 | {% if variable.description %} | 67 | {% if variable.description %} |
68 | {{variable.description}} | 68 | {{variable.description}} |
69 | <a href="https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-{{variable.variable_name|variable_parent_name}}" target="_blank"> | 69 | <a href="http://docs.yoctoproject.org/ref-manual/variables.html#term-{{variable.variable_name|variable_parent_name}}" target="_blank"> |
70 | <span class="glyphicon glyphicon-new-window get-info"></span></a> | 70 | <span class="glyphicon glyphicon-new-window get-info"></span></a> |
71 | {% endif %} | 71 | {% endif %} |
72 | </td> | 72 | </td> |
diff --git a/bitbake/lib/toaster/toastergui/templates/js-unit-tests.html b/bitbake/lib/toaster/toastergui/templates/js-unit-tests.html index ca248962f0..41553c4f9d 100644 --- a/bitbake/lib/toaster/toastergui/templates/js-unit-tests.html +++ b/bitbake/lib/toaster/toastergui/templates/js-unit-tests.html | |||
@@ -11,7 +11,7 @@ | |||
11 | <script src="{% static 'js/layerDepsModal.js' %}"></script> | 11 | <script src="{% static 'js/layerDepsModal.js' %}"></script> |
12 | <script src="{% static 'js/projectpage.js' %}"></script> | 12 | <script src="{% static 'js/projectpage.js' %}"></script> |
13 | 13 | ||
14 | <script src="{% static 'js/bootstrap.min.js' %}"></script> | 14 | <script src="{% static 'js/bootstrap-3.4.1.min.js' %}"></script> |
15 | <script src="{% static 'js/filtersnippet.js' %}"></script> | 15 | <script src="{% static 'js/filtersnippet.js' %}"></script> |
16 | <script src="{% static 'js/importlayer.js' %}"></script> | 16 | <script src="{% static 'js/importlayer.js' %}"></script> |
17 | <script src="{% static 'js/highlight.pack.js' %}"></script> | 17 | <script src="{% static 'js/highlight.pack.js' %}"></script> |
diff --git a/bitbake/lib/toaster/toastergui/templates/landing.html b/bitbake/lib/toaster/toastergui/templates/landing.html index bfaaf6fc83..589ee22634 100644 --- a/bitbake/lib/toaster/toastergui/templates/landing.html +++ b/bitbake/lib/toaster/toastergui/templates/landing.html | |||
@@ -12,10 +12,10 @@ | |||
12 | <div class="col-md-6"> | 12 | <div class="col-md-6"> |
13 | <h1>This is Toaster</h1> | 13 | <h1>This is Toaster</h1> |
14 | 14 | ||
15 | <p>A web interface to <a href="https://www.openembedded.org">OpenEmbedded</a> and <a href="https://www.yoctoproject.org/tools-resources/projects/bitbake">BitBake</a>, the <a href="https://www.yoctoproject.org">Yocto Project</a> build system.</p> | 15 | <p>A web interface to <a href="https://www.openembedded.org">OpenEmbedded</a> and <a href="https://docs.yoctoproject.org/bitbake.html">BitBake</a>, the <a href="https://www.yoctoproject.org">Yocto Project</a> build system.</p> |
16 | 16 | ||
17 | <p class="top-air"> | 17 | <p class="top-air"> |
18 | <a class="btn btn-info btn-lg" href="https://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#toaster-manual-setup-and-use"> | 18 | <a class="btn btn-info btn-lg" href="http://docs.yoctoproject.org/toaster-manual/setup-and-use.html#setting-up-and-using-toaster" style="min-width: 460px;"> |
19 | Toaster is ready to capture your command line builds | 19 | Toaster is ready to capture your command line builds |
20 | </a> | 20 | </a> |
21 | </p> | 21 | </p> |
@@ -23,7 +23,7 @@ | |||
23 | {% if lvs_nos %} | 23 | {% if lvs_nos %} |
24 | {% if project_enable %} | 24 | {% if project_enable %} |
25 | <p class="top-air"> | 25 | <p class="top-air"> |
26 | <a class="btn btn-primary btn-lg" href="{% url 'newproject' %}"> | 26 | <a class="btn btn-primary btn-lg" href="{% url 'newproject' %}" style="min-width: 460px;"> |
27 | Create your first Toaster project to run manage builds | 27 | Create your first Toaster project to run manage builds |
28 | </a> | 28 | </a> |
29 | </p> | 29 | </p> |
@@ -33,7 +33,7 @@ | |||
33 | Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can: | 33 | Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can: |
34 | <ul> | 34 | <ul> |
35 | <li> | 35 | <li> |
36 | <a href="https://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">Configure a layer source</a> | 36 | <a href="http://docs.yoctoproject.org/toaster-manual/reference.html#layer-source">Configure a layer source</a> |
37 | </li> | 37 | </li> |
38 | <li> | 38 | <li> |
39 | <a href="{% url 'newproject' %}">Create a project</a>, then import layers | 39 | <a href="{% url 'newproject' %}">Create a project</a>, then import layers |
@@ -42,9 +42,15 @@ | |||
42 | </div> | 42 | </div> |
43 | {% endif %} | 43 | {% endif %} |
44 | 44 | ||
45 | <p class="top-air"> | ||
46 | <a class="btn btn-info btn-lg" href="{% url 'cmdlines' %}" style="min-width: 460px;"> | ||
47 | Import command line event logs from build directory | ||
48 | </a> | ||
49 | </p> | ||
50 | |||
45 | <ul class="list-unstyled lead"> | 51 | <ul class="list-unstyled lead"> |
46 | <li> | 52 | <li> |
47 | <a href="https://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> | 53 | <a href="http://docs.yoctoproject.org/toaster-manual/index.html#toaster-user-manual"> |
48 | Read the Toaster manual | 54 | Read the Toaster manual |
49 | </a> | 55 | </a> |
50 | </li> | 56 | </li> |
diff --git a/bitbake/lib/toaster/toastergui/templates/landing_not_managed.html b/bitbake/lib/toaster/toastergui/templates/landing_not_managed.html deleted file mode 100644 index e7200b8412..0000000000 --- a/bitbake/lib/toaster/toastergui/templates/landing_not_managed.html +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% load static %} | ||
4 | {% load projecttags %} | ||
5 | {% load humanize %} | ||
6 | |||
7 | {% block title %} Welcome to Toaster {% endblock %} | ||
8 | |||
9 | {% block pagecontent %} | ||
10 | |||
11 | <div class="container"> | ||
12 | <div class="row"> | ||
13 | <!-- Empty - no build module --> | ||
14 | <div class="page-header top-air"> | ||
15 | <h1> | ||
16 | This page only works with Toaster in 'Build' mode | ||
17 | </h1> | ||
18 | </div> | ||
19 | <div class="alert alert-info lead"> | ||
20 | <p"> | ||
21 | The 'Build' mode allows you to configure and run your Yocto Project builds from Toaster. | ||
22 | <ul> | ||
23 | <li><a href="https://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#intro-modes"> | ||
24 | Read about the 'Build' mode | ||
25 | </a></li> | ||
26 | <li><a href="/"> | ||
27 | View your builds | ||
28 | </a></li> | ||
29 | </ul> | ||
30 | </p> | ||
31 | </div> | ||
32 | </div> | ||
33 | |||
34 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 1e26e31c8b..923ca3bfe4 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
@@ -355,7 +355,7 @@ | |||
355 | {% if layerversion.layer_source == layer_source.TYPE_LAYERINDEX %} | 355 | {% if layerversion.layer_source == layer_source.TYPE_LAYERINDEX %} |
356 | <dt>Layer index</dt> | 356 | <dt>Layer index</dt> |
357 | <dd> | 357 | <dd> |
358 | <a href="http://layers.openembedded.org/layerindex/branch/{{layerversion.release.name}}/layer/{{layerversion.layer.name}}">Layer index {{layerversion.layer.name}}</a> | 358 | <a href="https://layers.openembedded.org/layerindex/branch/{{layerversion.release.name}}/layer/{{layerversion.layer.name}}">Layer index {{layerversion.layer.name}}</a> |
359 | </dd> | 359 | </dd> |
360 | {% endif %} | 360 | {% endif %} |
361 | </dl> | 361 | </dl> |
diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index 98d9fac822..9fc7dfaee4 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html | |||
@@ -63,7 +63,7 @@ | |||
63 | <%/if%> | 63 | <%/if%> |
64 | </div> | 64 | </div> |
65 | 65 | ||
66 | <div data-build-state="<%:state%>"> | 66 | <div class="build-state" data-build-state="<%:state%>"> |
67 | <%if state == 'Cloning'%> | 67 | <%if state == 'Cloning'%> |
68 | <%include tmpl='#cloning-repos-build-template'/%> | 68 | <%include tmpl='#cloning-repos-build-template'/%> |
69 | <%else state == 'Parsing'%> | 69 | <%else state == 'Parsing'%> |
diff --git a/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html index a5d5893571..2493954deb 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html | |||
@@ -18,7 +18,7 @@ | |||
18 | </ul> | 18 | </ul> |
19 | <div class="tab-content"> | 19 | <div class="tab-content"> |
20 | <div class="tab-pane active" id="dependencies"> | 20 | <div class="tab-pane active" id="dependencies"> |
21 | {% ifequal runtime_deps|length 0 %} | 21 | {% if runtime_deps|length == 0 %} |
22 | <div class="alert alert-info"> | 22 | <div class="alert alert-info"> |
23 | <strong>{{package.fullpackagespec}}</strong> has no runtime dependencies. | 23 | <strong>{{package.fullpackagespec}}</strong> has no runtime dependencies. |
24 | </div> | 24 | </div> |
@@ -54,8 +54,8 @@ | |||
54 | {% endfor %} | 54 | {% endfor %} |
55 | </tbody> | 55 | </tbody> |
56 | </table> | 56 | </table> |
57 | {% endifequal %} | 57 | {% endif %} |
58 | {% ifnotequal other_deps|length 0 %} | 58 | {% if other_deps|length != 0 %} |
59 | <h3>Other runtime relationships</h3> | 59 | <h3>Other runtime relationships</h3> |
60 | <table class="table table-bordered table-hover"> | 60 | <table class="table table-bordered table-hover"> |
61 | <thead> | 61 | <thead> |
@@ -93,7 +93,7 @@ | |||
93 | {% endfor %} | 93 | {% endfor %} |
94 | </tbody> | 94 | </tbody> |
95 | </table> | 95 | </table> |
96 | {% endifnotequal %} | 96 | {% endif %} |
97 | </div> <!-- tab-pane --> | 97 | </div> <!-- tab-pane --> |
98 | </div> <!-- tab-content --> | 98 | </div> <!-- tab-content --> |
99 | {% endblock tabcontent %} | 99 | {% endblock tabcontent %} |
diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html index 66f8e7f069..a4fcd2aa42 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html +++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | |||
@@ -127,7 +127,7 @@ | |||
127 | {% comment %} | 127 | {% comment %} |
128 | # Removed per team meeting of 1/29/2014 until | 128 | # Removed per team meeting of 1/29/2014 until |
129 | # decision on index search algorithm | 129 | # decision on index search algorithm |
130 | <a href="http://layers.openembedded.org" target="_blank"> | 130 | <a href="https://layers.openembedded.org" target="_blank"> |
131 | <i class="glyphicon glyphicon-share get-info"></i> | 131 | <i class="glyphicon glyphicon-share get-info"></i> |
132 | </a> | 132 | </a> |
133 | {% endcomment %} | 133 | {% endcomment %} |
diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html index 95e56ded26..1f5ed6d913 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html | |||
@@ -14,7 +14,7 @@ | |||
14 | {% include "package_included_tabs.html" with active_tab="dependencies" %} | 14 | {% include "package_included_tabs.html" with active_tab="dependencies" %} |
15 | <div class="tab-content"> | 15 | <div class="tab-content"> |
16 | <div class="tab-pane active" id="dependencies"> | 16 | <div class="tab-pane active" id="dependencies"> |
17 | {% ifnotequal runtime_deps|length 0 %} | 17 | {% if runtime_deps|length != 0 %} |
18 | <table class="table table-bordered table-hover"> | 18 | <table class="table table-bordered table-hover"> |
19 | <thead> | 19 | <thead> |
20 | <tr> | 20 | <tr> |
@@ -48,9 +48,9 @@ | |||
48 | <div class="alert alert-info"> | 48 | <div class="alert alert-info"> |
49 | <strong>{{package.fullpackagespec}}</strong> has no runtime dependencies. | 49 | <strong>{{package.fullpackagespec}}</strong> has no runtime dependencies. |
50 | </div> | 50 | </div> |
51 | {% endifnotequal %} | 51 | {% endif %} |
52 | 52 | ||
53 | {% ifnotequal other_deps|length 0 %} | 53 | {% if other_deps|length != 0 %} |
54 | <h3>Other runtime relationships</h3> | 54 | <h3>Other runtime relationships</h3> |
55 | <table class="table table-bordered table-hover"> | 55 | <table class="table table-bordered table-hover"> |
56 | <thead> | 56 | <thead> |
@@ -103,7 +103,7 @@ | |||
103 | {% endfor %} | 103 | {% endfor %} |
104 | </tbody> | 104 | </tbody> |
105 | </table> | 105 | </table> |
106 | {% endifnotequal %} | 106 | {% endif %} |
107 | </div> <!-- end tab-pane --> | 107 | </div> <!-- end tab-pane --> |
108 | </div> <!-- end tab content --> | 108 | </div> <!-- end tab content --> |
109 | {% endwith %} | 109 | {% endwith %} |
diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html index fb310c7fc7..dae4549e21 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html | |||
@@ -15,7 +15,7 @@ | |||
15 | <div class="tab-content"> | 15 | <div class="tab-content"> |
16 | <div class="tab-pane active" id="brought-in-by"> | 16 | <div class="tab-pane active" id="brought-in-by"> |
17 | 17 | ||
18 | {% ifequal reverse_count 0 %} | 18 | {% if reverse_count == 0 %} |
19 | <div class="alert alert-info"> | 19 | <div class="alert alert-info"> |
20 | <strong>{{package.fullpackagespec}}</strong> has no reverse runtime dependencies. | 20 | <strong>{{package.fullpackagespec}}</strong> has no reverse runtime dependencies. |
21 | </div> | 21 | </div> |
@@ -43,7 +43,7 @@ | |||
43 | {% endfor %} | 43 | {% endfor %} |
44 | </tbody> | 44 | </tbody> |
45 | </table> | 45 | </table> |
46 | {% endifequal %} | 46 | {% endif %} |
47 | </div> <!-- end tab-pane --> | 47 | </div> <!-- end tab-pane --> |
48 | </div> <!-- end tab content --> | 48 | </div> <!-- end tab content --> |
49 | {% endwith %} | 49 | {% endwith %} |
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index d8ad2c79dc..22239a82fd 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
@@ -139,7 +139,7 @@ | |||
139 | <ul> | 139 | <ul> |
140 | <li><a href="{% url 'projectlayers' project.id %}">Choose from the layers compatible with this project</a></li> | 140 | <li><a href="{% url 'projectlayers' project.id %}">Choose from the layers compatible with this project</a></li> |
141 | <li><a href="{% url 'importlayer' project.id %}">Import a layer</a></li> | 141 | <li><a href="{% url 'importlayer' project.id %}">Import a layer</a></li> |
142 | <li><a href="https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#understanding-and-creating-layers" target="_blank">Read about layers in the documentation</a></li> | 142 | <li><a href="http://docs.yoctoproject.org/dev-manual/common-tasks.html#understanding-and-creating-layers" target="_blank">Read about layers in the documentation</a></li> |
143 | <li>Or type a layer name below</li> | 143 | <li>Or type a layer name below</li> |
144 | </ul> | 144 | </ul> |
145 | </div> | 145 | </div> |
diff --git a/bitbake/lib/toaster/toastergui/templates/project_specific.html b/bitbake/lib/toaster/toastergui/templates/project_specific.html index 42725c0dba..76d45b1b39 100644 --- a/bitbake/lib/toaster/toastergui/templates/project_specific.html +++ b/bitbake/lib/toaster/toastergui/templates/project_specific.html | |||
@@ -137,7 +137,7 @@ | |||
137 | <ul> | 137 | <ul> |
138 | <li><a href="{% url 'projectlayers' project.id %}">Choose from the layers compatible with this project</a></li> | 138 | <li><a href="{% url 'projectlayers' project.id %}">Choose from the layers compatible with this project</a></li> |
139 | <li><a href="{% url 'importlayer' project.id %}">Import a layer</a></li> | 139 | <li><a href="{% url 'importlayer' project.id %}">Import a layer</a></li> |
140 | <li><a href="https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#understanding-and-creating-layers" target="_blank">Read about layers in the documentation</a></li> | 140 | <li><a href="http://docs.yoctoproject.org/dev-manual/common-tasks.html#understanding-and-creating-layers" target="_blank">Read about layers in the documentation</a></li> |
141 | <li>Or type a layer name below</li> | 141 | <li>Or type a layer name below</li> |
142 | </ul> | 142 | </ul> |
143 | </div> | 143 | </div> |
diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html b/bitbake/lib/toaster/toastergui/templates/projectconf.html index bd49f1f585..c306835832 100644 --- a/bitbake/lib/toaster/toastergui/templates/projectconf.html +++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html | |||
@@ -73,7 +73,7 @@ | |||
73 | 73 | ||
74 | {% if image_install_append_defined %} | 74 | {% if image_install_append_defined %} |
75 | <dt> | 75 | <dt> |
76 | <span class="js-config-var-name js-config-var-managed-name">IMAGE_INSTALL_append</span> | 76 | <span class="js-config-var-name js-config-var-managed-name">IMAGE_INSTALL:append</span> |
77 | <span class="glyphicon glyphicon-question-sign get-help" title="Specifies additional packages to install into an image. If your build creates more than one image, the packages will be installed in all of them"></span> | 77 | <span class="glyphicon glyphicon-question-sign get-help" title="Specifies additional packages to install into an image. If your build creates more than one image, the packages will be installed in all of them"></span> |
78 | </dt> | 78 | </dt> |
79 | <dd class="variable-list"> | 79 | <dd class="variable-list"> |
@@ -83,7 +83,7 @@ | |||
83 | <form id="change-image_install-form" class="form-inline" style="display:none;"> | 83 | <form id="change-image_install-form" class="form-inline" style="display:none;"> |
84 | <div class="row"> | 84 | <div class="row"> |
85 | <div class="col-md-4"> | 85 | <div class="col-md-4"> |
86 | <span class="help-block">To set IMAGE_INSTALL_append to more than one package, type the package names separated by a space.</span> | 86 | <span class="help-block">To set IMAGE_INSTALL:append to more than one package, type the package names separated by a space.</span> |
87 | </div> | 87 | </div> |
88 | </div> | 88 | </div> |
89 | <div class="form-group"> | 89 | <div class="form-group"> |
@@ -167,8 +167,8 @@ | |||
167 | {% for fstype in vars_fstypes %} | 167 | {% for fstype in vars_fstypes %} |
168 | <input type="hidden" class="js-checkbox-fstypes-list" value="{{fstype}}"> | 168 | <input type="hidden" class="js-checkbox-fstypes-list" value="{{fstype}}"> |
169 | {% endfor %} | 169 | {% endfor %} |
170 | {% for b in vars_blacklist %} | 170 | {% for b in vars_disallowed %} |
171 | <input type="hidden" class="js-config-blacklist-name" value="{{b}}"> | 171 | <input type="hidden" class="js-config-disallowed-name" value="{{b}}"> |
172 | {% endfor %} | 172 | {% endfor %} |
173 | {% for b in vars_managed %} | 173 | {% for b in vars_managed %} |
174 | <input type="hidden" class="js-config-managed-name" value="{{b}}"> | 174 | <input type="hidden" class="js-config-managed-name" value="{{b}}"> |
@@ -201,12 +201,12 @@ | |||
201 | <p>Toaster cannot set any variables that impact 1) the configuration of the build servers, | 201 | <p>Toaster cannot set any variables that impact 1) the configuration of the build servers, |
202 | or 2) where artifacts produced by the build are stored. Such variables include: </p> | 202 | or 2) where artifacts produced by the build are stored. Such variables include: </p> |
203 | <p> | 203 | <p> |
204 | <code><a href="https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-BB_DISKMON_DIRS" target="_blank">BB_DISKMON_DIRS</a></code> | 204 | <code><a href="http://docs.yoctoproject.org/ref-manual/variables.html#term-BB_DISKMON_DIRS" target="_blank">BB_DISKMON_DIRS</a></code> |
205 | <code><a href="https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-BB_NUMBER_THREADS" target="_blank">BB_NUMBER_THREADS</a></code> | 205 | <code><a href="http://docs.yoctoproject.org/ref-manual/variables.html#term-BB_NUMBER_THREADS" target="_blank">BB_NUMBER_THREADS</a></code> |
206 | <code>CVS_PROXY_HOST</code> | 206 | <code>CVS_PROXY_HOST</code> |
207 | <code>CVS_PROXY_PORT</code> | 207 | <code>CVS_PROXY_PORT</code> |
208 | <code><a href="https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PARALLEL_MAKE" target="_blank">PARALLEL_MAKE</a></code> | 208 | <code><a href="http://docs.yoctoproject.org/ref-manual/variables.html#term-PARALLEL_MAKE" target="_blank">PARALLEL_MAKE</a></code> |
209 | <code><a href="https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-TMPDIR" target="_blank">TMPDIR</a></code></p> | 209 | <code><a href="http://docs.yoctoproject.org/ref-manual/variables.html#term-TMPDIR" target="_blank">TMPDIR</a></code></p> |
210 | <p>Plus the following standard shell environment variables:</p> | 210 | <p>Plus the following standard shell environment variables:</p> |
211 | <p><code>http_proxy</code> <code>ftp_proxy</code> <code>https_proxy</code> <code>all_proxy</code></p> | 211 | <p><code>http_proxy</code> <code>ftp_proxy</code> <code>https_proxy</code> <code>all_proxy</code></p> |
212 | </div> | 212 | </div> |
@@ -238,9 +238,9 @@ function validate_new_variable() { | |||
238 | } | 238 | } |
239 | } | 239 | } |
240 | 240 | ||
241 | var blacklist_configvars = document.getElementsByClassName('js-config-blacklist-name'); | 241 | var disallowed_configvars = document.getElementsByClassName('js-config-disallowed-name'); |
242 | for (var i = 0, length = blacklist_configvars.length; i < length; i++) { | 242 | for (var i = 0, length = disallowed_configvars.length; i < length; i++) { |
243 | if (blacklist_configvars[i].value.toUpperCase() == variable.toUpperCase()) { | 243 | if (disallowed_configvars[i].value.toUpperCase() == variable.toUpperCase()) { |
244 | error_msg = "You cannot edit this variable in Toaster because it is set by the build servers"; | 244 | error_msg = "You cannot edit this variable in Toaster because it is set by the build servers"; |
245 | } | 245 | } |
246 | } | 246 | } |
@@ -771,10 +771,10 @@ $(document).ready(function() { | |||
771 | 771 | ||
772 | {% if image_install_append_defined %} | 772 | {% if image_install_append_defined %} |
773 | 773 | ||
774 | // init IMAGE_INSTALL_append trash icon | 774 | // init IMAGE_INSTALL:append trash icon |
775 | setDeleteTooltip($('#delete-image_install-icon')); | 775 | setDeleteTooltip($('#delete-image_install-icon')); |
776 | 776 | ||
777 | // change IMAGE_INSTALL_append variable | 777 | // change IMAGE_INSTALL:append variable |
778 | $('#change-image_install-icon').click(function() { | 778 | $('#change-image_install-icon').click(function() { |
779 | // preset the edit value | 779 | // preset the edit value |
780 | var current_val = $("span#image_install").text().trim(); | 780 | var current_val = $("span#image_install").text().trim(); |
@@ -814,7 +814,7 @@ $(document).ready(function() { | |||
814 | $('#apply-change-image_install').click(function(){ | 814 | $('#apply-change-image_install').click(function(){ |
815 | // insure these non-empty values have single space prefix | 815 | // insure these non-empty values have single space prefix |
816 | var value = " " + $('#new-image_install').val().trim(); | 816 | var value = " " + $('#new-image_install').val().trim(); |
817 | postEditAjaxRequest({"configvarChange" : 'IMAGE_INSTALL_append:'+value}); | 817 | postEditAjaxRequest({"configvarChange" : 'IMAGE_INSTALL:append:'+value}); |
818 | $('#image_install').text(value); | 818 | $('#image_install').text(value); |
819 | $('#image_install').removeClass('text-muted'); | 819 | $('#image_install').removeClass('text-muted'); |
820 | $("#change-image_install-form").slideUp(function () { | 820 | $("#change-image_install-form").slideUp(function () { |
@@ -826,10 +826,10 @@ $(document).ready(function() { | |||
826 | }); | 826 | }); |
827 | }); | 827 | }); |
828 | 828 | ||
829 | // delete IMAGE_INSTALL_append variable value | 829 | // delete IMAGE_INSTALL:append variable value |
830 | $('#delete-image_install-icon').click(function(){ | 830 | $('#delete-image_install-icon').click(function(){ |
831 | $(this).tooltip('hide'); | 831 | $(this).tooltip('hide'); |
832 | postEditAjaxRequest({"configvarChange" : 'IMAGE_INSTALL_append:'+''}); | 832 | postEditAjaxRequest({"configvarChange" : 'IMAGE_INSTALL:append:'+''}); |
833 | $('#image_install').parent().fadeOut(1000, function(){ | 833 | $('#image_install').parent().fadeOut(1000, function(){ |
834 | $('#image_install').addClass('text-muted'); | 834 | $('#image_install').addClass('text-muted'); |
835 | $('#image_install').text('Not set'); | 835 | $('#image_install').text('Not set'); |
@@ -1011,7 +1011,7 @@ $(document).ready(function() { | |||
1011 | $(".save").attr("disabled","disabled"); | 1011 | $(".save").attr("disabled","disabled"); |
1012 | 1012 | ||
1013 | // Reload page if admin-removed core managed value is manually added back in | 1013 | // Reload page if admin-removed core managed value is manually added back in |
1014 | if (0 <= " DISTRO DL_DIR IMAGE_FSTYPES IMAGE_INSTALL_append PACKAGE_CLASSES SSTATE_DIR ".indexOf( " "+variable+" " )) { | 1014 | if (0 <= " DISTRO DL_DIR IMAGE_FSTYPES IMAGE_INSTALL:append PACKAGE_CLASSES SSTATE_DIR ".indexOf( " "+variable+" " )) { |
1015 | // delayed reload to avoid race condition with postEditAjaxRequest | 1015 | // delayed reload to avoid race condition with postEditAjaxRequest |
1016 | do_reload=true; | 1016 | do_reload=true; |
1017 | } | 1017 | } |
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index 3f76e656fe..4b5301b548 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html | |||
@@ -186,9 +186,9 @@ | |||
186 | <i class="icon-question-sign get-help hover-help" title="{{task.get_outcome_help}}"></i> | 186 | <i class="icon-question-sign get-help hover-help" title="{{task.get_outcome_help}}"></i> |
187 | </td> | 187 | </td> |
188 | <td> | 188 | <td> |
189 | {% ifnotequal task.sstate_result task.SSTATE_NA %} | 189 | {% if task.sstate_result != task.SSTATE_NA %} |
190 | {{task.get_sstate_result_display}} | 190 | {{task.get_sstate_result_display}} |
191 | {% endifnotequal %} | 191 | {% endif %} |
192 | </td> | 192 | </td> |
193 | 193 | ||
194 | </tr> | 194 | </tr> |
diff --git a/bitbake/lib/toaster/toastergui/templates/target.html b/bitbake/lib/toaster/toastergui/templates/target.html index 1924a0dad7..d5f60e77a8 100644 --- a/bitbake/lib/toaster/toastergui/templates/target.html +++ b/bitbake/lib/toaster/toastergui/templates/target.html | |||
@@ -8,11 +8,11 @@ | |||
8 | 8 | ||
9 | {% block nav-target %} | 9 | {% block nav-target %} |
10 | {% for t in build.get_sorted_target_list %} | 10 | {% for t in build.get_sorted_target_list %} |
11 | {% ifequal target.pk t.pk %} | 11 | {% if target.pk == t.pk %} |
12 | <li class="active"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> | 12 | <li class="active"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> |
13 | {% else %} | 13 | {% else %} |
14 | <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> | 14 | <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> |
15 | {% endifequal %} | 15 | {% endif %} |
16 | {% endfor %} | 16 | {% endfor %} |
17 | {% endblock %} | 17 | {% endblock %} |
18 | 18 | ||