manager: Adapt html to stricter rules in angularjs >= 1.8.0

label elements in XHTML must have a matching closing tag for strict
XHTML conformity; when upgrading to angularjs 1.8.0, this became
mandatory even when used with angular because of some potential XSS
issue.

Reference: https://docs.angularjs.org/guide/migration#migrating-from-1-7-to-1-8
This commit is contained in:
Olof Johansson 2020-11-12 16:44:19 +01:00
parent d6aa13897b
commit 2cf4da6a15

View File

@ -114,7 +114,7 @@
</div>
<div class="modal-body">
<div class="input-group maxw">
<label class="input-group-addon" id="promptlabel" for="promptinput" trspan="{{elem('message').field}}"/>
<label class="input-group-addon" id="promptlabel" for="promptinput" trspan="{{elem('message').field}}"></label>
<input id="promptinput" class="form-control" ng-model="result" aria-describedby="promptlabel"/>
</div>
</div>
@ -161,7 +161,7 @@
</div>
<div class="modal-body">
<div class="input-group maxw">
<label class="input-group-addon" id="mlabel" for="mdPwd" trspan="password"/>
<label class="input-group-addon" id="mlabel" for="mdPwd" trspan="password"></label>
<input id="mdPwd" class="form-control" ng-model="result" aria-describedby="mlabel"/>
</div>
</div>