summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/layerdetails.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/layerdetails.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/layerdetails.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
index 0594b551aa..f1569bd630 100644
--- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html
+++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
@@ -6,14 +6,16 @@
6{% block title %} {{layerversion.layer.name}} - {{project.name}} - Toaster {% endblock %} 6{% block title %} {{layerversion.layer.name}} - {{project.name}} - Toaster {% endblock %}
7{% block pagecontent %} 7{% block pagecontent %}
8 8
9<div id="delete-layer-modal" class="modal fade" tabindex="-1" role="dialog"> 9<div id="delete-layer-modal" class="modal fade" tabindex="-1" role="dialog"
10 data-keyboard="false" data-backdrop="static">
10 <div class="modal-dialog" role="document"> 11 <div class="modal-dialog" role="document">
11 <div class="modal-content"> 12 <div class="modal-content">
12 <div class="modal-body"> 13 <div class="modal-body">
13 Are you sure you want to delete the <strong>{{layerversion.layer.name}}</strong> layer? 14 Are you sure you want to delete the <strong>{{layerversion.layer.name}}</strong> layer?
14 </div> 15 </div>
15 <div class="modal-footer"> 16 <div class="modal-footer">
16 <button type="button" id="layer-delete-confirmed" class="btn btn-primary">Delete</button> 17 <button type="button" id="layer-delete-confirmed" class="btn
18 btn-primary">Delete layer</button>
17 <button type="button" class="btn btn-default btn-link" data-dismiss="modal">Cancel</button> 19 <button type="button" class="btn btn-default btn-link" data-dismiss="modal">Cancel</button>
18 </div> 20 </div>
19 </div> 21 </div>
@@ -358,7 +360,8 @@
358 {# Only show delete link for imported layers #} 360 {# Only show delete link for imported layers #}
359 {% if layerversion.layer_source == layer_source.TYPE_IMPORTED %} 361 {% if layerversion.layer_source == layer_source.TYPE_IMPORTED %}
360 <i class="icon-trash text-danger"></i> 362 <i class="icon-trash text-danger"></i>
361 <a href="#delete-layer-modal" role="button" class="text-danger" data-toggle="modal" data-target="#delete-layer-modal">Delete {{layerversion.layer.name}}</a> 363 <a href="#delete-layer-modal" role="button" class="text-danger"
364 data-toggle="modal" data-target="#delete-layer-modal">Delete layer</a>
362 {% endif %} 365 {% endif %}
363 </div> 366 </div>
364 </div> 367 </div>