Browse Source

Fixed mobile phonebook import styles

Closes #550
master
Igor Zhukov 10 years ago
parent
commit
7304fe5820
  1. 5
      app/css/mobile.css
  2. 11
      app/partials/mobile/import_contact_modal.html

5
app/css/mobile.css

@ -1118,3 +1118,8 @@ a.mobile_modal_action .tg_checkbox_label {
.countries_scrollable_wrap a.countries_modal_country { .countries_scrollable_wrap a.countries_modal_country {
padding: 8px 8px; padding: 8px 8px;
} }
.import_modal_phonebook_wrap {
margin-top: 40px;
text-align: center;
}

11
app/partials/mobile/import_contact_modal.html

@ -28,7 +28,7 @@
<div class="modal-body"> <div class="modal-body">
<form class="modal_simple_form" ng-submit="doImport()" my-vertical-position="0.3"> <form class="modal_simple_form" ng-submit="doImport()" my-vertical-position="0.2">
<div class="form-group"> <div class="form-group">
<input class="form-control input-lg" my-focused type="text" placeholder="{{'contact_import_modal_phone' | i18n}}" ng-model="importContact.phone"/> <input class="form-control input-lg" my-focused type="text" placeholder="{{'contact_import_modal_phone' | i18n}}" ng-model="importContact.phone"/>
@ -40,12 +40,11 @@
<input class="form-control input-lg" type="text" placeholder="{{'contact_edit_modal_last_name' | i18n}}" ng-model="importContact.last_name"/> <input class="form-control input-lg" type="text" placeholder="{{'contact_edit_modal_last_name' | i18n}}" ng-model="importContact.last_name"/>
</div> </div>
</form> <div class="import_modal_phonebook_wrap" ng-if="phonebookAvailable">
</div>
<div class="modal-footer" ng-if="phonebookAvailable">
<a class="btn btn-link" ng-click="importPhonebook()" my-i18n="contact_import_modal_phonebook"></a> <a class="btn btn-link" ng-click="importPhonebook()" my-i18n="contact_import_modal_phonebook"></a>
</div> </div>
</form>
</div>
</div> </div>
Loading…
Cancel
Save