Skip to content

Commit defeb85

Browse files
szhen11wenlingz
authored andcommitted
acrn-config: fix the issue no error message in launch setting
fix the issue that there is no error message displayed in launch setting of WebUI. Tracked-On: #3913 Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> Reviewed-by: Victor Sun <victor.sun@intel.com>
1 parent d9f0d8d commit defeb85

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

misc/acrn-config/config_app/templates/launch.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ <h4 class="modal-title" id="myModalLabel">Save as</h4>
134134
{% endif %}
135135
</div>
136136
{% else %}
137-
<div class="dropdown col-sm-9">
137+
<div class="dropdown col-sm-6">
138138
{% if 'readonly' in elem.attrib and elem.attrib['readonly'] == 'true' %}
139139
<select class="selectpicker" data-width="auto" title="" disabled
140140
id="{{'uos:id='+vm.attrib['id']+','+elem.tag}}">
@@ -152,6 +152,7 @@ <h4 class="modal-title" id="myModalLabel">Save as</h4>
152152
</select>
153153
</div>
154154
{% endif %}
155+
<p id="{{'uos:id='+vm.attrib['id']+','+elem.tag}}_err" class="col-sm-3"></p>
155156
</div>
156157
{% elif elem.getchildren() != [] %}
157158
{% if 'multiselect' not in elem.attrib or elem.attrib['multiselect'] != 'true' %}
@@ -189,7 +190,7 @@ <h4 class="modal-title" id="myModalLabel">Save as</h4>
189190
{% endif %}
190191
</div>
191192
{% else %}
192-
<div class="dropdown col-sm-9">
193+
<div class="dropdown col-sm-6">
193194
{% if 'readonly' in sub_elem.attrib and sub_elem.attrib['readonly'] == 'true' %}
194195
<select class="selectpicker" data-width="auto" disabled
195196
id="{{'uos:id='+vm.attrib['id']+','+elem.tag+','+sub_elem.tag}}">
@@ -207,6 +208,7 @@ <h4 class="modal-title" id="myModalLabel">Save as</h4>
207208
</select>
208209
</div>
209210
{% endif %}
211+
<p id="{{'uos:id='+vm.attrib['id']+','+elem.tag+','+sub_elem.tag}}_err" class="col-sm-3"></p>
210212
{% else %}
211213
{% if not first_child %}
212214
{% do first_child.append(1) %}
@@ -236,7 +238,7 @@ <h4 class="modal-title" id="myModalLabel">Save as</h4>
236238
{% endif %}
237239
</div>
238240
{% else %}
239-
<div class="dropdown col-sm-9">
241+
<div class="dropdown col-sm-6">
240242
{% if 'readonly' in sub_elem.attrib and sub_elem.attrib['readonly'] == 'true' %}
241243
<select class="selectpicker" data-width="auto" disabled
242244
id="{{'uos:id='+vm.attrib['id']+','+elem.tag+':id='+elem.attrib['id']+','+sub_elem.tag}}">
@@ -253,6 +255,8 @@ <h4 class="modal-title" id="myModalLabel">Save as</h4>
253255
{% endfor %}
254256
</select>
255257
</div>
258+
<p id="{{'uos:id='+vm.attrib['id']+','+elem.tag+':id='+elem.attrib['id']+','+sub_elem.tag}}_err"
259+
class="col-sm-3"></p>
256260
{% endif %}
257261
{% endif %}
258262
</div>
@@ -292,6 +296,7 @@ <h4 class="modal-title" id="myModalLabel">Save as</h4>
292296
{% endif %}
293297
</select>
294298
</div>
299+
<p id="{{'uos:id='+vm.attrib['id']+','+elem.tag+','+elem.tag[:-1]}}_err" class="col-sm-3"></p>
295300
</div>
296301
{% endif %}
297302
{% endif %}

0 commit comments

Comments
 (0)