webogram-i2p/app/partials/desktop/import_contact_modal.html
Igor Zhukov 7bc6e36ec6 Merge branch 'material-design'
Conflicts:
	app/css/desktop.css
	app/js/directives.js
	app/partials/desktop/photo_modal.html
	app/partials/desktop/user_modal.html
2014-12-10 23:25:26 -08:00

33 lines
1.3 KiB
HTML

<div class="md_simple_modal_wrap" my-modal-position>
<div class="md_simple_modal_body">
<form class="modal_simple_form" ng-submit="doImport()">
<h4 my-i18n="contact_import_modal_title"></h4>
<div class="md-input-group" my-labeled-input>
<label class="md-input-label" my-i18n="contact_import_modal_phone"></label>
<input class="md-input" my-focused type="text" ng-model="importContact.phone" />
</div>
<div class="md-input-group" my-labeled-input>
<label class="md-input-label" my-i18n="contact_edit_modal_first_name"></label>
<input class="md-input" type="text" ng-model="importContact.first_name" />
</div>
<div class="md-input-group" my-labeled-input>
<label class="md-input-label" my-i18n="contact_edit_modal_last_name"></label>
<input class="md-input" type="text" ng-model="importContact.last_name" />
</div>
</form>
</div>
<div class="md_simple_modal_footer">
<button class="btn btn-md" ng-click="$dismiss()" my-i18n="modal_cancel"></button>
<button class="btn btn-md" 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"></button>
</div>
</div>