webogram-i2p/app/partials/mobile/import_contact_modal.html

50 lines
1.9 KiB
HTML
Raw Normal View History

<div class="import_modal_wrap">
<div class="tg_page_head tg_modal_head">
<div class="navbar navbar-static-top navbar-inverse">
<div class="container">
<div class="navbar-header">
<ul class="nav navbar-nav navbar-quick-nav">
<li class="navbar-quick-right">
2014-09-29 18:18:38 +00:00
<a ng-class="{disabled: progress.enabled}" ng-click="doImport()" ng-bind="progress.enabled ? 'contact_import_modal_submit_active' : 'contact_import_modal_submit' | i18n" ng-disabled="progress.enabled"></a>
</li>
<li>
<a ng-click="$dismiss()" class="navbar-quick-media-back">
<i class="icon icon-back"></i>
<div class="navbar-quick-back-title">
2014-09-29 18:18:38 +00:00
<h4 my-i18n="contact_import_modal_title"></h4>
</div>
</a>
</li>
</ul>
</div>
2014-03-24 12:13:34 +00:00
</div>
</div>
</div>
2014-03-24 12:13:34 +00:00
<div class="modal-body">
<form class="modal_simple_form" ng-submit="doImport()" my-vertical-position="0.2">
2014-03-24 12:13:34 +00:00
2014-04-05 16:07:41 +00:00
<div class="form-group">
<input class="form-control input-lg" my-focused type="text" placeholder="{{'contact_import_modal_phone' | i18n}}" ng-model="importContact.phone" my-submit-on-enter/>
2014-03-24 12:13:34 +00:00
</div>
2014-04-05 16:07:41 +00:00
<div class="form-group">
<input class="form-control input-lg" type="text" placeholder="{{'contact_edit_modal_first_name' | i18n}}" ng-model="importContact.first_name" my-submit-on-enter/>
2014-03-24 12:13:34 +00:00
</div>
2014-04-05 16:07:41 +00:00
<div class="form-group">
<input class="form-control input-lg" type="text" placeholder="{{'contact_edit_modal_last_name' | i18n}}" ng-model="importContact.last_name" my-submit-on-enter/>
2014-03-24 12:13:34 +00:00
</div>
<div class="import_modal_phonebook_wrap" ng-if="phonebookAvailable">
<a class="btn btn-link" ng-click="importPhonebook()" my-i18n="contact_import_modal_phonebook"></a>
</div>
2014-03-24 12:13:34 +00:00
</form>
</div>
</div>