2020-12-20 17:31:50 +01:00
|
|
|
<TMPL_IF NAME="FINDUSER">
|
2021-02-03 23:22:14 +01:00
|
|
|
|
|
|
|
<div id="finduserModal" class="modal fade" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title"><span trspan="searchingAttributes">Searching attributes</span></h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form action="/finduser" method="POST" id="finduserform" role="form" class="login">
|
|
|
|
<div class="form">
|
|
|
|
<TMPL_IF NAME="TOKEN">
|
|
|
|
<input id="findusertoken" type="hidden" name="token" value="<TMPL_VAR NAME="TOKEN">" />
|
2021-01-23 22:58:25 +01:00
|
|
|
</TMPL_IF>
|
2021-02-03 23:22:14 +01:00
|
|
|
<TMPL_LOOP NAME="FIELDS">
|
|
|
|
<TMPL_IF NAME="select">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="<TMPL_VAR NAME="key">"><TMPL_VAR NAME="value"></label>
|
|
|
|
<select class="form-control" id="findUser_<TMPL_VAR NAME="key">" name="<TMPL_VAR NAME="key">">
|
|
|
|
<TMPL_IF NAME="null">
|
|
|
|
<option value=""></option>
|
|
|
|
</TMPL_IF>
|
|
|
|
<TMPL_LOOP NAME="choices">
|
|
|
|
<option value="<TMPL_VAR NAME="key">"><TMPL_VAR NAME="value"></option>
|
|
|
|
</TMPL_LOOP>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<TMPL_ELSE>
|
|
|
|
<div class="input-group mb-3">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text"><label for="<TMPL_VAR NAME="key">" class="mb-0"><i class="fa fa-user"></i></label></span>
|
|
|
|
</div>
|
|
|
|
<input id="findUser_<TMPL_VAR NAME="key">" name="<TMPL_VAR NAME="key">" type="text" autocomplete="off" class="form-control" placeholder="<TMPL_VAR NAME="value">" />
|
|
|
|
</div>
|
|
|
|
</TMPL_IF>
|
2021-01-23 22:58:25 +01:00
|
|
|
</TMPL_LOOP>
|
2021-01-24 11:42:22 +01:00
|
|
|
</div>
|
2021-02-03 23:22:14 +01:00
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal"><span trspan="close">Close</span></button>
|
|
|
|
<button id="finduserbutton" type="submit" class="btn btn-info" >
|
|
|
|
<span class="fa fa-search"></span>
|
|
|
|
<span trspan="searchAccount">Search for an account</span>
|
|
|
|
</button>
|
2020-12-23 10:32:06 +01:00
|
|
|
</div>
|
2021-02-03 23:22:14 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-23 10:32:06 +01:00
|
|
|
</div>
|
2021-02-03 23:22:14 +01:00
|
|
|
</div>
|
|
|
|
|
2020-12-20 17:31:50 +01:00
|
|
|
</TMPL_IF>
|