diff options
author | Jessica <jessica@Absolventas-MacBook-Pro.local> | 2018-08-01 15:12:06 +0200 |
---|---|---|
committer | Jessica <jessica@Absolventas-MacBook-Pro.local> | 2018-08-01 15:12:06 +0200 |
commit | f50276e090381a7c91a088a62cf358460b63341f (patch) | |
tree | 4c6b0c454abac9c9c42da4f3d62456d8a8f694b7 /src | |
parent | 7034b82fc4b2a4f5fba1e9ae959cfc9bb3e96bac (diff) | |
parent | 54952b84b61163b792c0abcd52c54d55e2a1d014 (diff) |
Merge branch 'vue' of github.com:team-popcorn/contacts into vue
Diffstat (limited to 'src')
-rw-r--r-- | src/components/settingsNavigation/addAddressBook.vue | 46 | ||||
-rw-r--r-- | src/components/settingsNavigation/importContacts.vue | 9 |
2 files changed, 26 insertions, 29 deletions
diff --git a/src/components/settingsNavigation/addAddressBook.vue b/src/components/settingsNavigation/addAddressBook.vue index c25e9fd6..88a5b1ec 100644 --- a/src/components/settingsNavigation/addAddressBook.vue +++ b/src/components/settingsNavigation/addAddressBook.vue @@ -1,37 +1,33 @@ <!-- - - @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com> - - - - @author John Molakvoæ <skjnldsv@protonmail.com> Team Popcorn <teampopcornberlin.gmail.com> - - - - @license GNU AGPL version 3 or any later version - - - - This program is free software: you can redistribute it and/or modify - - it under the terms of the GNU Affero General Public License as - - published by the Free Software Foundation, either version 3 of the - - License, or (at your option) any later version. - - - - This program is distributed in the hope that it will be useful, - - but WITHOUT ANY WARRANTY; without even the implied warranty of - - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - - GNU Affero General Public License for more details. - - - - You should have received a copy of the GNU Affero General Public License - - along with this program. If not, see <http://www.gnu.org/licenses/>. - - + - @copyright Copyright (c) 2018 Team Popcorn <teampopcornberlin@gmail.com> + - + - @author Team Popcorn <teampopcornberlin@gmail.com> + - + - @license GNU AGPL version 3 or any later version + - + - This program is free software: you can redistribute it and/or modify + - it under the terms of the GNU Affero General Public License as + - published by the Free Software Foundation, either version 3 of the + - License, or (at your option) any later version. + - + - This program is distributed in the hope that it will be useful, + - but WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + - GNU Affero General Public License for more details. + - + - You should have received a copy of the GNU Affero General Public License + - along with this program. If not, see <http://www.gnu.org/licenses/>. + - --> <template> - <form id="new-addressbook-form" name="new-addressbook-form" class="ng-pristine ng-invalid ng-invalid-required ng-valid-pattern ng-valid-minlength" + <form id="new-addressbook-form" name="new-addressbook-form" class="new-address-book" @submit="createAddressBook()"> - <input id="newList" placeholder="Address book name" class="newAddressBookInput ng-pristine ng-untouched ng-empty ng-invalid ng-invalid-required ng-valid-pattern ng-valid-minlength" + <input id="newList" placeholder="Address book name" class="new-address-book-input" type="text" - ng-minlength="1" autocomplete="off" autocorrect="off" spellcheck="false" tooltip-enable="!newAddressBookForm.$pristine" - required="" - ng-pattern="/^[a-zA-Z0-9À-ÿ\s-_.!?#|()]+$/i" - tooltip-is-open="newAddressBookForm.$invalid && !newAddressBookForm.$error.required" tooltip-trigger="none" tooltip-placement="top" uib-tooltip="Only these special characters are allowed: -_.!?#|()"> diff --git a/src/components/settingsNavigation/importContacts.vue b/src/components/settingsNavigation/importContacts.vue index 5f39a2a3..f787cc9a 100644 --- a/src/components/settingsNavigation/importContacts.vue +++ b/src/components/settingsNavigation/importContacts.vue @@ -1,7 +1,6 @@ <!-- - - @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com> + - @copyright Copyright (c) 2018 Team Popcorn <teampopcornberlin@gmail.com> - - - @author John Molakvoæ <skjnldsv@protonmail.com> - @author Team Popcorn <teampopcornberlin@gmail.com> - - @license GNU AGPL version 3 or any later version @@ -25,9 +24,11 @@ <div class="import-contact"> <input id="contact-import" type="file" class="hidden-visually"> <label id="upload" for="contact-import" class="button icon-upload no-select"> - Import into + {{ t('contacts', 'Import into') }} </label> - <multiselect v-model="value" :options="options" + <multiselect + v-model="value" + :options="options" :placeholder="t('contacts', 'Contacts')" class="multiselect-vue" /> </div> |