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

31 lines
1.1 KiB
HTML
Raw Normal View History

2014-03-24 12:13:34 +00:00
<div class="import_modal_wrap" my-modal-position>
2014-04-05 16:07:41 +00:00
<a class="modal-close-button" ng-click="$dismiss()"><i></i></a>
2014-03-24 12:13:34 +00:00
<div class="modal-body">
2014-04-05 16:07:41 +00:00
<form class="modal_simple_form" ng-submit="doImport()">
<h4>Add new contact</h4>
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-sm" my-focused type="text" placeholder="Phone number" ng-model="importContact.phone"/>
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-sm" type="text" placeholder="First name" ng-model="importContact.first_name"/>
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-sm" type="text" placeholder="Last name" ng-model="importContact.last_name"/>
2014-03-24 12:13:34 +00:00
</div>
</form>
</div>
2014-04-05 16:07:41 +00:00
<div class="modal-footer">
2014-06-09 16:43:20 +00:00
<a class="btn btn-link pull-left" ng-if="phonebookAvailable" ng-click="importPhonebook()">Phonebook</a>
2014-04-05 16:07:41 +00:00
<a class="btn btn-link" ng-click="$dismiss()">Cancel</a>
<button class="btn btn-primary" ng-class="{disabled: progress.enabled}" ng-click="doImport()" ng-bind="progress.enabled ? 'Importing...' : 'Save'" ng-disabled="progress.enabled"></button>
</div>
2014-03-24 12:13:34 +00:00
</div>