summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-11-30 00:55:28 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 15:05:30 +0000
commit299e8ff1f7f0888cf630848aa423747fb4f8eedd (patch)
tree7ecafbcb82458cb4866007d9bc7e5b24221ae028 /bitbake/lib/toaster/toastergui/templates
parent0d9914721a8750071f9b6ec233c23d8451ee1a77 (diff)
downloadpoky-299e8ff1f7f0888cf630848aa423747fb4f8eedd.tar.gz
bitbake: toaster: add 'nobuild' option to Toaster
Add a 'nobuild' option for starting Toaster without the project and hosted builds support. This allows a Toaster host to provide local build statistics without opening the host to external users building projects. [YOCTO #12315] (Bitbake rev: 2d14d6004b6add5ce07295fff1144ade2e54e1c9) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html4
-rw-r--r--bitbake/lib/toaster/toastergui/templates/landing.html2
2 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index edbd110c25..4f7206489b 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -110,6 +110,7 @@
110 All builds 110 All builds
111 </a> 111 </a>
112 </li> 112 </li>
113 {% if project_enable %}
113 <li id="navbar-all-projects" 114 <li id="navbar-all-projects"
114 {% if request.resolver_match.url_name == 'all-projects' %} 115 {% if request.resolver_match.url_name == 'all-projects' %}
115 class="active" 116 class="active"
@@ -119,6 +120,7 @@
119 All projects 120 All projects
120 </a> 121 </a>
121 </li> 122 </li>
123 {% endif %}
122 {% endif %} 124 {% endif %}
123 <li id="navbar-docs"> 125 <li id="navbar-docs">
124 <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> 126 <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
@@ -127,7 +129,9 @@
127 </a> 129 </a>
128 </li> 130 </li>
129 </ul> 131 </ul>
132 {% if project_enable %}
130 <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 %}
131 </div> 135 </div>
132 </div> 136 </div>
133 </nav> 137 </nav>
diff --git a/bitbake/lib/toaster/toastergui/templates/landing.html b/bitbake/lib/toaster/toastergui/templates/landing.html
index cf7516dbc8..70c7359fad 100644
--- a/bitbake/lib/toaster/toastergui/templates/landing.html
+++ b/bitbake/lib/toaster/toastergui/templates/landing.html
@@ -21,11 +21,13 @@
21 </p> 21 </p>
22 22
23 {% if lvs_nos %} 23 {% if lvs_nos %}
24 {% if project_enable %}
24 <p class="top-air"> 25 <p class="top-air">
25 <a class="btn btn-primary btn-lg" href="{% url 'newproject' %}"> 26 <a class="btn btn-primary btn-lg" href="{% url 'newproject' %}">
26 Create your first Toaster project to run manage builds 27 Create your first Toaster project to run manage builds
27 </a> 28 </a>
28 </p> 29 </p>
30 {% endif %}
29 {% else %} 31 {% else %}
30 <div class="alert alert-info lead top-air"> 32 <div class="alert alert-info lead top-air">
31 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: