2018-02-23 15:45:44 +01:00
|
|
|
|
<!-- Add contact Modal -->
|
|
|
|
|
<div class="modal fade" id="add-contact-modal" tabindex="-1" role="dialog" aria-labelledby="addContactModalLabel" aria-hidden="true">
|
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h5 class="modal-title" id="addContactModalLabel">{{{o.heading_new_contact}}}</h5>
|
2018-11-14 18:10:23 +01:00
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
2018-02-23 15:45:44 +01:00
|
|
|
|
</div>
|
|
|
|
|
<form class="converse-form add-xmpp-contact">
|
|
|
|
|
<div class="modal-body">
|
2019-03-26 16:29:57 +01:00
|
|
|
|
<div class="form-group">
|
2018-03-26 15:38:03 +02:00
|
|
|
|
<label class="clearfix" for="jid">{{{o.label_xmpp_address}}}:</label>
|
2019-03-28 10:47:14 +01:00
|
|
|
|
<div class="suggestion-box suggestion-box__jid">
|
|
|
|
|
<ul class="suggestion-box__results suggestion-box__results--above" hidden=""></ul>
|
2019-03-28 14:34:12 +01:00
|
|
|
|
<input type="text" name="jid"
|
|
|
|
|
{[ if (!o._converse.xhr_user_search_url) { ]} required="required" {[ } ]}
|
|
|
|
|
value="{{{o.jid}}}"
|
2019-03-28 10:47:14 +01:00
|
|
|
|
class="form-control suggestion-box__input"
|
|
|
|
|
placeholder="{{{o.contact_placeholder}}}"/>
|
|
|
|
|
<span class="suggestion-box__additions visually-hidden" role="status" aria-live="assertive" aria-relevant="additions"></span>
|
|
|
|
|
</div>
|
2018-02-23 15:45:44 +01:00
|
|
|
|
</div>
|
2018-03-26 17:55:12 +02:00
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="clearfix" for="name">{{{o.label_nickname}}}:</label>
|
2019-03-28 10:47:14 +01:00
|
|
|
|
<div class="suggestion-box suggestion-box__name">
|
|
|
|
|
<ul class="suggestion-box__results suggestion-box__results--above" hidden=""></ul>
|
|
|
|
|
<input type="text" name="name" value="{{{o.nickname}}}"
|
|
|
|
|
class="form-control suggestion-box__input"
|
|
|
|
|
placeholder="{{{o.nickname_placeholder}}}"/>
|
|
|
|
|
<span class="suggestion-box__additions visually-hidden" role="status" aria-live="assertive" aria-relevant="additions"></span>
|
|
|
|
|
</div>
|
2019-03-28 15:32:50 +01:00
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="invalid-feedback">{{{o.error_message}}}</div>
|
2018-03-26 17:55:12 +02:00
|
|
|
|
</div>
|
2018-02-23 15:45:44 +01:00
|
|
|
|
<button type="submit" class="btn btn-primary">{{{o.label_add}}}</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|