diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..8f71f43fee3f78649d238238cbde51e6d7055c82 --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/README.md b/README.md index 2635ed0105e1cf58684e9a402533097be6f95618..3b94ab658dfa03d001f138283c57371a5dbac8a7 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ # Cytomine front-end ## Presentation -The Cytomine-WebUI is the official front-end for Cytomine, developed in VueJS. -You will find more information about the Cytomine project on the [website](https://www.cytomine.org). +The Cytomine-WebUI is the official front-end for Cytomine, developed in VueJS. +You will find more information about the Cytomine project on the [website](https://www.cytomine.org). You can also find, on our official documentation [how to install it](https://documentation.cytomine.org/How-to-install-Cytomine?structure=Admins) and [an user guide](https://documentation.cytomine.org/UsersV2?structure=UsersV2). -The main features of this new front-end are - +The main features of this new front-end are : * A complete new Cytomine experience. * Support of internationalization i.e. multiple languages (English and French currently available). You can contribute by adding new languages (See [here](https://documentation.cytomine.org/How-to-contribute?structure=Contributors). * Reactive application. diff --git a/public/index.html b/public/index.html index 26cf68146eddfa3872986ad1be7fa2912829ef5f..c8e3f674499a04fcce4ff5edc623411224de40a9 100644 --- a/public/index.html +++ b/public/index.html @@ -1,4 +1,18 @@ -<!DOCTYPE html> +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <!DOCTYPE html> <html> <head> <meta charset="utf-8"> diff --git a/src/App.vue b/src/App.vue index 15eba0aa60ed67cf647a7dbc7725d0d42eaf2123..520c8d7a7f9021a9ae33a06e42558fa5e3b759b0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div id="app" class="wrapper"> <notifications position="top center" width="30%" :max="5"> diff --git a/src/components/GlobalDashboard.vue b/src/components/GlobalDashboard.vue index 3430f760ca3dfa2185ec7d5abf2fc72a3ca8c799..25d76dd9cd06ec9f1b14a340668fd4dd1c6f0f7b 100644 --- a/src/components/GlobalDashboard.vue +++ b/src/components/GlobalDashboard.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="content-wrapper"> <b-loading :is-full-page="false" :active.sync="loading" /> diff --git a/src/components/PageNotFound.vue b/src/components/PageNotFound.vue index 4cbc76410e45f5766c15a930cd6de66b61ee643f..5414389b964bd160ed001117d71f3f35bbbeb81a 100644 --- a/src/components/PageNotFound.vue +++ b/src/components/PageNotFound.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <h1> {{$t('page-not-found')}} diff --git a/src/components/admin/AdminConfiguration.vue b/src/components/admin/AdminConfiguration.vue index dddb470761b5c0485e66944e82a5a6839567d5f6..b1e4374b8de83fa78aa3defa65551492cd84cbe8 100644 --- a/src/components/admin/AdminConfiguration.vue +++ b/src/components/admin/AdminConfiguration.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <p class="panel-tabs"> diff --git a/src/components/admin/AdminDashboard.vue b/src/components/admin/AdminDashboard.vue index d3cf6bded6563711f92f5cc3f5aff928a61bd0be..90d2fc23888febfa0ebc74f39a212c6f4dc121b5 100644 --- a/src/components/admin/AdminDashboard.vue +++ b/src/components/admin/AdminDashboard.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="admin-dashboard-wrapper"> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/admin/AdminPanel.vue b/src/components/admin/AdminPanel.vue index 82f83903390043ef72d46ba2560e408cc56c4473..1ea17730236120285148d6ac1e50f85ae0abf83b 100644 --- a/src/components/admin/AdminPanel.vue +++ b/src/components/admin/AdminPanel.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="!currentUser.adminByNow"> <h2> {{ $t('access-denied') }} </h2> diff --git a/src/components/admin/AdminUsers.vue b/src/components/admin/AdminUsers.vue index c572ad91293de3d5e629b3450b90d5d5a53289ba..54f163db520e09b016a24bc68168fe3d3c5677f3 100644 --- a/src/components/admin/AdminUsers.vue +++ b/src/components/admin/AdminUsers.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/admin/UserDetails.vue b/src/components/admin/UserDetails.vue index 9b0f0dffeeed95bbccc60bba18de36bedbdda770..7a7a6453b3d83b3bdc90d2eb48c388b1b999af08 100644 --- a/src/components/admin/UserDetails.vue +++ b/src/components/admin/UserDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="details-wrapper"> <b-loading :active="loading" :is-full-page="false" class="small" /> diff --git a/src/components/admin/UserModal.vue b/src/components/admin/UserModal.vue index e1fc55b42307f75dd6b67573c8d549d26b5b6c72..9a4185b2f2f2e2bdb23202fd92e561e2de3be701 100644 --- a/src/components/admin/UserModal.vue +++ b/src/components/admin/UserModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="save()"> <cytomine-modal :active="active" :title="title" @close="$emit('update:active', false)"> diff --git a/src/components/annotations/AnnotationCommentsModal.vue b/src/components/annotations/AnnotationCommentsModal.vue index e71f1e0549f6384e5e7ec6978a55f35ccc3b7c92..ecf957ce1079ee952e9bcd3077f147b3e2abc9a4 100644 --- a/src/components/annotations/AnnotationCommentsModal.vue +++ b/src/components/annotations/AnnotationCommentsModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal-card :title="$t('annotation-comments')" @close="$parent.close()"> <div v-if="!comments || !comments.length"> diff --git a/src/components/annotations/AnnotationDetails.vue b/src/components/annotations/AnnotationDetails.vue index 1378e7be5b71c8e13469a350798088d45dfdf211..7c8fa7460515182303fa22ff15374cb91129ceb9 100644 --- a/src/components/annotations/AnnotationDetails.vue +++ b/src/components/annotations/AnnotationDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="annotation-details"> <table class="table"> diff --git a/src/components/annotations/AnnotationPreview.vue b/src/components/annotations/AnnotationPreview.vue index 0bcc060395e10182e11ff921b1517503cc585e0e..c7a221fb64bb0d44834c02bb5343e4174a48cde8 100644 --- a/src/components/annotations/AnnotationPreview.vue +++ b/src/components/annotations/AnnotationPreview.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <v-popover placement="right" diff --git a/src/components/annotations/ListAnnotations.vue b/src/components/annotations/ListAnnotations.vue index a8aef12a1c045810a493a5367ec47eeb0085b345..5c617b3f2bc076913ca22a017deda5411da9dd2b 100644 --- a/src/components/annotations/ListAnnotations.vue +++ b/src/components/annotations/ListAnnotations.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="!configUI['project-annotations-tab']"> <h2> {{ $t('access-denied') }} </h2> diff --git a/src/components/annotations/ListAnnotationsByTerm.vue b/src/components/annotations/ListAnnotationsByTerm.vue index b761c767f6920ee11b4cfab62428a4d7c4174c11..856ff2ae3c36f53d766c2ca1726f0ce7cd347a9b 100644 --- a/src/components/annotations/ListAnnotationsByTerm.vue +++ b/src/components/annotations/ListAnnotationsByTerm.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box"> <b-loading :is-full-page="false" class="small" :active="loading" /> diff --git a/src/components/attached-file/AttachedFileModal.vue b/src/components/attached-file/AttachedFileModal.vue index 6bf19fbd4b4435c68edb8cc3dd5ff37a474db12c..cb7eac375041668b8c07982dadb74fb5c128c5eb 100644 --- a/src/components/attached-file/AttachedFileModal.vue +++ b/src/components/attached-file/AttachedFileModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal-card :title="$t('add-attached-file')"> <b-field> diff --git a/src/components/attached-file/AttachedFiles.vue b/src/components/attached-file/AttachedFiles.vue index 1ceac120b2849badda62109cc93ad4ab88533010..9e23f7fc0290fce647562ec37262daa25a9a7b2c 100644 --- a/src/components/attached-file/AttachedFiles.vue +++ b/src/components/attached-file/AttachedFiles.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="attached-files-wrapper"> <template v-if="!loading"> diff --git a/src/components/charts/ActivityOverviewChart.js b/src/components/charts/ActivityOverviewChart.js index 967cf03cbcd029914480e245308b94ac5e9580da..4af610e09f347147fbf2dbd91f567f55eff89b7d 100644 --- a/src/components/charts/ActivityOverviewChart.js +++ b/src/components/charts/ActivityOverviewChart.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {Bar} from 'vue-chartjs'; export default { diff --git a/src/components/charts/AnnotatedImagesByContributorChart.js b/src/components/charts/AnnotatedImagesByContributorChart.js index e660290f2891e3e083ba7daaa52802e3de1c48bb..ebf0b892bb81b68fd82d84f532e591463dd65420 100644 --- a/src/components/charts/AnnotatedImagesByContributorChart.js +++ b/src/components/charts/AnnotatedImagesByContributorChart.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {HorizontalBar} from 'vue-chartjs'; import ChartDataLabels from 'chartjs-plugin-datalabels'; diff --git a/src/components/charts/AnnotatedImagesByTermChart.js b/src/components/charts/AnnotatedImagesByTermChart.js index 173fe2bfdddccee2edb67a0ca7a82ada38fecac1..346d0ae0fdddaaa813fb6f28cfc153f1060ed2a1 100644 --- a/src/components/charts/AnnotatedImagesByTermChart.js +++ b/src/components/charts/AnnotatedImagesByTermChart.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {HorizontalBar} from 'vue-chartjs'; import ChartDataLabels from 'chartjs-plugin-datalabels'; diff --git a/src/components/charts/AnnotationContributorChart.js b/src/components/charts/AnnotationContributorChart.js index 154ff7f35691bf9871b87518ff36553ef76d8ccd..d266c36095d1e61c6d87a152acd46613d52f3a27 100644 --- a/src/components/charts/AnnotationContributorChart.js +++ b/src/components/charts/AnnotationContributorChart.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {HorizontalBar} from 'vue-chartjs'; import ChartDataLabels from 'chartjs-plugin-datalabels'; diff --git a/src/components/charts/AnnotationTermChart.js b/src/components/charts/AnnotationTermChart.js index 8402d8754c51e4f91e9765f6dba65dfdfc21bb43..8dff871d25c8dc2384aa8d916dfbe6b1c00258bd 100644 --- a/src/components/charts/AnnotationTermChart.js +++ b/src/components/charts/AnnotationTermChart.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {HorizontalBar} from 'vue-chartjs'; import ChartDataLabels from 'chartjs-plugin-datalabels'; diff --git a/src/components/charts/LastConnectionsChart.js b/src/components/charts/LastConnectionsChart.js index e4ccc6a4646aa1a5f8d02bdbdfc04fcc7147ba38..ff159d0e53d33122a1ded9c246d663aacad748ff 100644 --- a/src/components/charts/LastConnectionsChart.js +++ b/src/components/charts/LastConnectionsChart.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {Bar} from 'vue-chartjs'; import {ProjectConnectionCollection} from 'cytomine-client'; import moment from 'moment'; diff --git a/src/components/charts/NumberAnnotationsChart.js b/src/components/charts/NumberAnnotationsChart.js index 89bc0608c947aff5ac76c74c48421db5f2f06996..3e32630233f593a3db6b25f7a60de12fb5e92390 100644 --- a/src/components/charts/NumberAnnotationsChart.js +++ b/src/components/charts/NumberAnnotationsChart.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {Bar} from 'vue-chartjs'; import {AnnotationType} from 'cytomine-client'; diff --git a/src/components/description/CytomineDescription.vue b/src/components/description/CytomineDescription.vue index 4b2cdc96823d78072c1d34a1f9bcbd32ccf2cd3e..833bbe328fa1f92e0774edc4abd84418218b6d2b 100644 --- a/src/components/description/CytomineDescription.vue +++ b/src/components/description/CytomineDescription.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div :class="['description-wrapper', loading ? 'loading' : '']"> <b-loading :is-full-page="false" :active="loading" class="small" /> diff --git a/src/components/description/CytomineDescriptionModal.vue b/src/components/description/CytomineDescriptionModal.vue index 3b64ffa9bcc510312f0a605d53449be0fbc934ec..3365e4f5579d8ff785a4d40a831124f61cb3dc94 100644 --- a/src/components/description/CytomineDescriptionModal.vue +++ b/src/components/description/CytomineDescriptionModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal-card :title="$t('description')" diff --git a/src/components/form/CytomineDatepicker.vue b/src/components/form/CytomineDatepicker.vue index da4d765e62405940182d9bd53aae1ff224fc93b4..d0a2af13de45a1040a2e6ee893c7a674951dfa9f 100644 --- a/src/components/form/CytomineDatepicker.vue +++ b/src/components/form/CytomineDatepicker.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-datepicker :class="styles" diff --git a/src/components/form/CytomineMultiselect.vue b/src/components/form/CytomineMultiselect.vue index f6d5aac81848514502430816cd148af682b6882d..38cab3e7abb0fde4e4911296df0f634e1e329d64 100644 --- a/src/components/form/CytomineMultiselect.vue +++ b/src/components/form/CytomineMultiselect.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <multiselect :value="value" @input="$emit('input', $event)" diff --git a/src/components/form/CytomineQuillEditor.vue b/src/components/form/CytomineQuillEditor.vue index f8c70d6e4d2d69279a489b1a072593ea9da6182e..1507165efdd716632ec722afb42a77fc85545755 100644 --- a/src/components/form/CytomineQuillEditor.vue +++ b/src/components/form/CytomineQuillEditor.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="cytomine-quill-editor"> <div id="tooltip-container"></div> <!-- invisible div defining the allowed positions for ql tooltip --> diff --git a/src/components/form/CytomineSlider.vue b/src/components/form/CytomineSlider.vue index 69866819a8d8ea985eb22822ebeef070985d3574..d94496e94b36b80e58eb4060685e195f70758c61 100644 --- a/src/components/form/CytomineSlider.vue +++ b/src/components/form/CytomineSlider.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <vue-slider :value="value" @change="$emit('input', $event)" diff --git a/src/components/icons/IconLineFreeHand.vue b/src/components/icons/IconLineFreeHand.vue index 8036e9b1ec15dd9300e4c73901f5b60c2c569817..fa242ba128c5f99f7daa44760c9a8a79ca7f2d4a 100644 --- a/src/components/icons/IconLineFreeHand.vue +++ b/src/components/icons/IconLineFreeHand.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" diff --git a/src/components/icons/IconPolygonFreeHand.vue b/src/components/icons/IconPolygonFreeHand.vue index fbb7afcbdd98b3f772e4cf120c5a1cb00a57f899..8bbb70d6e8b9b4908a3e33a3143f8e0650458f89 100644 --- a/src/components/icons/IconPolygonFreeHand.vue +++ b/src/components/icons/IconPolygonFreeHand.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" diff --git a/src/components/image/AddImageModal.vue b/src/components/image/AddImageModal.vue index 1152933f57476838c8c5a46c76d382732cee6514..9612282682e3d8aaa6759e609176b4ba53400907 100644 --- a/src/components/image/AddImageModal.vue +++ b/src/components/image/AddImageModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal :active="active" :title="$t('add-images')" @close="$emit('update:active', false)"> <b-loading :is-full-page="false" :active="loading" class="small" /> diff --git a/src/components/image/CalibrationModal.vue b/src/components/image/CalibrationModal.vue index a5489a78886e4cbf5a9f97461008c87561d15890..a1b097038285e74d0d2ca5dcfc3af0c5ec8fb16f 100644 --- a/src/components/image/CalibrationModal.vue +++ b/src/components/image/CalibrationModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="setResolution()"> <cytomine-modal :active="active" :title="$t('calibrate-image')" @close="$emit('update:active', false)"> diff --git a/src/components/image/ImageDetails.vue b/src/components/image/ImageDetails.vue index 4abb34f6f3bcc8b11db1e3040bd5e0e8ef765e71..4a14f68b18d00d6a85b92b739ac76ca09e0d7690 100644 --- a/src/components/image/ImageDetails.vue +++ b/src/components/image/ImageDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="image-details-wrapper"> <table class="table"> diff --git a/src/components/image/ImageInformation.vue b/src/components/image/ImageInformation.vue index 569fc3058582e7922ed5f405a39ca1c46f5c1cde..f5b1056ce35ccc8b610f091d31d90421d22287e0 100644 --- a/src/components/image/ImageInformation.vue +++ b/src/components/image/ImageInformation.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="permissionError || notFoundError"> <h2> {{ $t(permissionError ? 'access-denied' : 'not-found') }} </h2> diff --git a/src/components/image/ImageMetadataModal.vue b/src/components/image/ImageMetadataModal.vue index b36cdc8e6bc95d73bd591a3080ccca23a80555b7..d9029292c63b697d1a361801c4256b1f6e356916 100644 --- a/src/components/image/ImageMetadataModal.vue +++ b/src/components/image/ImageMetadataModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal :active="active" :title="$t('image-metadata')" @close="$emit('update:active', false)"> <b-message v-if="error" type="is-danger" has-icon icon-size="is-small"> diff --git a/src/components/image/ImageName.vue b/src/components/image/ImageName.vue index eaac9d3c9b4f6f65b485a3973b1bfb77af5021db..e0657ca1ac0ae5399f7f30f706913423765d6aef 100644 --- a/src/components/image/ImageName.vue +++ b/src/components/image/ImageName.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <span v-if="image"> <template v-if="image.blindedName"> diff --git a/src/components/image/ImagePreview.vue b/src/components/image/ImagePreview.vue index 92ebbacf775ff7690d08441a83ee4a176cfc7f22..46934646a126def3b40d44a62303a120f1165131 100644 --- a/src/components/image/ImagePreview.vue +++ b/src/components/image/ImagePreview.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="card" :class="{'full-height-card': fullHeightCard}"> <router-link class="card-image recent-image" :to="`/project/${image.project}/image/${idImage}`"> diff --git a/src/components/image/ImageStatus.vue b/src/components/image/ImageStatus.vue index 28b44c74828e27295756125317d62f8a33251915..530900ff11b7faa4b66c80e66e6efe167187e6fb 100644 --- a/src/components/image/ImageStatus.vue +++ b/src/components/image/ImageStatus.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <span class="tag" :class="tagClass"> {{$t(label)}} diff --git a/src/components/image/ListImages.vue b/src/components/image/ListImages.vue index 11cc6a02f9d12d9a6015d40288907e8d3ae7c5fe..1f107a8a6c0cc62d6168e2fbfa39c19da9bf0d30 100644 --- a/src/components/image/ListImages.vue +++ b/src/components/image/ListImages.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="!configUI['project-images-tab']"> <h2> {{ $t('access-denied') }} </h2> diff --git a/src/components/image/ListImagesPreview.vue b/src/components/image/ListImagesPreview.vue index 586fdcedea0a9e28d5bd7d71238cec653cbf3cc4..e31349e6614baa04db661e32bf657f96a4b8556d 100644 --- a/src/components/image/ListImagesPreview.vue +++ b/src/components/image/ListImagesPreview.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="columns" v-if="images && images.length"> <div class="column" v-for="image in images" :key="image.image"> diff --git a/src/components/image/MagnificationModal.vue b/src/components/image/MagnificationModal.vue index 307c21f0c13d0e45188797241d542a9a806d7405..8f9386ff82abd2da42c882f9ac47807982f5de10 100644 --- a/src/components/image/MagnificationModal.vue +++ b/src/components/image/MagnificationModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="setMagnification()"> <cytomine-modal :active="active" :title="$t('set-magnification')" @close="$emit('update:active', false)"> diff --git a/src/components/job/AddJobModal.vue b/src/components/job/AddJobModal.vue index 88660665c43a4783f4040eb1c2644a7be781e96e..08c8e1cb232cad5218f54eb763d841c063112b7b 100644 --- a/src/components/job/AddJobModal.vue +++ b/src/components/job/AddJobModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="createJob()"> <cytomine-modal :active="active" :title="$t('launch-new-analysis')" @close="$emit('update:active', false)"> diff --git a/src/components/job/JobDetails.vue b/src/components/job/JobDetails.vue index 11b8f735a85c3202437aa3381b49dd38e29a9032..0a26a9e9a06132aa7b47fd38ee8a9f2b44017576 100644 --- a/src/components/job/JobDetails.vue +++ b/src/components/job/JobDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="job-details-wrapper"> <b-loading :is-full-page="false" :active.sync="loading" class="small" /> diff --git a/src/components/job/JobParameterRow.vue b/src/components/job/JobParameterRow.vue index 60c2e147895da3af17804ddff2684054853dda9e..8bf44591c955d3d813eef828fb255dcaeedce6f2 100644 --- a/src/components/job/JobParameterRow.vue +++ b/src/components/job/JobParameterRow.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <tr class="job-param-row-wrapper"> <td>{{param.name}}</td> diff --git a/src/components/job/JobStatus.vue b/src/components/job/JobStatus.vue index db2fc0417366b1f78ca53c615427cd441e1f0c1f..fc3954ae6ac7fb8b812b434ece7829bf3814bbc3 100644 --- a/src/components/job/JobStatus.vue +++ b/src/components/job/JobStatus.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <span class="tag" :class="tagClass"> {{$t(labels[status])}} diff --git a/src/components/job/ListJobs.vue b/src/components/job/ListJobs.vue index 7e541c968a71fb915275088702c17d9b644fd268..f888d68d321e4b7b06fdde2132f7b29692d7a6d6 100644 --- a/src/components/job/ListJobs.vue +++ b/src/components/job/ListJobs.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="!configUI['project-jobs-tab']"> <h2> {{ $t('access-denied') }} </h2> diff --git a/src/components/navbar/AboutCytomineModal.vue b/src/components/navbar/AboutCytomineModal.vue index cbcb991499fd52bf55b86563e5bc4e505545765c..db846f7e77ee1484b7f2762b9939718530b15322 100644 --- a/src/components/navbar/AboutCytomineModal.vue +++ b/src/components/navbar/AboutCytomineModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal-card :title="$t('about-cytomine')" @close="$parent.close()"> <template v-if="!loading"> diff --git a/src/components/navbar/CytomineNavbar.vue b/src/components/navbar/CytomineNavbar.vue index d043cb1cdd0146dd6b646ebd584305f5ac7e5d26..a1afbb2bb2877f0f51954319d094560b6ce9893a 100644 --- a/src/components/navbar/CytomineNavbar.vue +++ b/src/components/navbar/CytomineNavbar.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <nav class="navbar is-light" role="navigation"> <div class="navbar-brand"> diff --git a/src/components/navbar/HotkeysModal.vue b/src/components/navbar/HotkeysModal.vue index b375cf9aead12c58c46bd769ee6a92ff896426a4..fe98703f113dd4fe2b1edb2e00a5494c32991ae0 100644 --- a/src/components/navbar/HotkeysModal.vue +++ b/src/components/navbar/HotkeysModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal-card :title="$t('hotkeys')" @close="$parent.close()"> <div class="columns"> diff --git a/src/components/navbar/NavbarDropdown.vue b/src/components/navbar/NavbarDropdown.vue index 88c09eeac0f6941263d0f35513a3ee085c0d41f3..94b8db1e028f5a3d9f2e90821c440bc3395e117e 100644 --- a/src/components/navbar/NavbarDropdown.vue +++ b/src/components/navbar/NavbarDropdown.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="navbar-item has-dropdown" :class="{'is-active': opened}" diff --git a/src/components/navbar/NavigationTree.vue b/src/components/navbar/NavigationTree.vue index 231d2eb7030ce63f98392174d5b95d6164eca354..bdb13bed0b12a1cc8f1494b79f504c25b8190a29 100644 --- a/src/components/navbar/NavigationTree.vue +++ b/src/components/navbar/NavigationTree.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="navigation-tree-wrapper"> <div v-for="(project, _, index) in projects" :key="project.id"> diff --git a/src/components/ontology/AddOntologyModal.vue b/src/components/ontology/AddOntologyModal.vue index efce9ffec758380984e1308fa2c84908cdb5db5f..d1247cba3da205c55d6aa5198118f6d9ed6ce56f 100644 --- a/src/components/ontology/AddOntologyModal.vue +++ b/src/components/ontology/AddOntologyModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="createOntology()"> <cytomine-modal :active="active" :title="$t('create-ontology')" @close="$emit('update:active', false)"> diff --git a/src/components/ontology/CytomineTerm.vue b/src/components/ontology/CytomineTerm.vue index 92327c6152140448da1673f1452471287f3698b7..9002056d59cb0578eb4c42217112332ef01eb99c 100644 --- a/src/components/ontology/CytomineTerm.vue +++ b/src/components/ontology/CytomineTerm.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <span v-if="term"> <div class="color-preview" v-if="term.color" :style="{background: term.color}"></div> diff --git a/src/components/ontology/ListOntologies.vue b/src/components/ontology/ListOntologies.vue index 12a272e128377215b9bc65d9817c48ea2df9e8f9..78e278aadfeb943dc288e17129c0a2139b527303 100644 --- a/src/components/ontology/ListOntologies.vue +++ b/src/components/ontology/ListOntologies.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="content-wrapper"> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/ontology/OntologyDetails.vue b/src/components/ontology/OntologyDetails.vue index 7f4708702cd3f675637df477be14763a9e3eb4c2..bb09cc7430311810a977a9ff517432c6db71c4a2 100644 --- a/src/components/ontology/OntologyDetails.vue +++ b/src/components/ontology/OntologyDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-message v-if="error" type="is-danger" has-icon icon-size="is-small"> {{$t('unexpected-error-info-message')}} diff --git a/src/components/ontology/OntologyTree.vue b/src/components/ontology/OntologyTree.vue index 790590878ad3abea3fcf6315d41a0c668919d78e..9ac4c07b03a1ea711484b13ccc904b4885c49a37 100644 --- a/src/components/ontology/OntologyTree.vue +++ b/src/components/ontology/OntologyTree.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="ontology-tree" :class="{selector: allowSelection, draggable: allowDrag, editable: allowEdition}"> <sl-vue-tree v-model="treeNodes" :allowMultiselect="false" @select="select" @drop="drop" ref="tree"> diff --git a/src/components/ontology/OntologyTreeMultiselect.vue b/src/components/ontology/OntologyTreeMultiselect.vue index 3520a36d722d9e7f7e76ce25a9261f3a8a349e57..33f181a5d595cddaa0e187eae3873da9fb417f04 100644 --- a/src/components/ontology/OntologyTreeMultiselect.vue +++ b/src/components/ontology/OntologyTreeMultiselect.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="multiselect" :class="{'multiselect--active': activeSelector}" diff --git a/src/components/ontology/TermModal.vue b/src/components/ontology/TermModal.vue index 475a509a960584b2308edda459088f777ebdf238..5c1b270be57bf35a2939c8eb2bfcc574a370650b 100644 --- a/src/components/ontology/TermModal.vue +++ b/src/components/ontology/TermModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="save()"> <cytomine-modal-card :title="$t(term ? 'update-term' : 'create-term')" class="term-modal"> diff --git a/src/components/project/AddProjectModal.vue b/src/components/project/AddProjectModal.vue index faf7efaf95c890fd95f4c392625ce9328d6457a4..e1fc3f0e8f8f0961748a6cddcc7c1b2e1b5597c2 100644 --- a/src/components/project/AddProjectModal.vue +++ b/src/components/project/AddProjectModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="createProject()"> <cytomine-modal :active="active" :title="$t('create-project')" @close="$emit('update:active', false)"> diff --git a/src/components/project/CytomineProject.vue b/src/components/project/CytomineProject.vue index aec5be7e750263d96e37b858fcd948a0e8c459ec..78b19da6dfe53ef5b068ddaa350265d2cb46e310 100644 --- a/src/components/project/CytomineProject.vue +++ b/src/components/project/CytomineProject.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="permissionError || notFoundError"> <h2> {{ $t(permissionError ? 'access-denied' : 'not-found') }} </h2> diff --git a/src/components/project/ListProjects.vue b/src/components/project/ListProjects.vue index 34b3a226ebe29fa406aba1112c67322b8f8c923d..168a8d7cdf03d99805946f80f6f0dbef3718f6cd 100644 --- a/src/components/project/ListProjects.vue +++ b/src/components/project/ListProjects.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="list-projects-wrapper content-wrapper"> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/project/ProjectActions.vue b/src/components/project/ProjectActions.vue index 33e3768122840958d6e6a159c531c2fe7444dad8..ed902ba77e3efbc52c1abf93a927487ad2bf18f9 100644 --- a/src/components/project/ProjectActions.vue +++ b/src/components/project/ProjectActions.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="project-actions-wrapper"> <rename-modal diff --git a/src/components/project/ProjectActivity.vue b/src/components/project/ProjectActivity.vue index 62cf69c1010d3a8e9bafaebe89810885abf55267..91ba125f5a4c36b9497e98a114d8528312cbb12b 100644 --- a/src/components/project/ProjectActivity.vue +++ b/src/components/project/ProjectActivity.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="!configUI['project-activities-tab']"> <h2> {{ $t('access-denied') }} </h2> diff --git a/src/components/project/ProjectConfiguration.vue b/src/components/project/ProjectConfiguration.vue index 45b9674008c919d689a711d5fee336dca3d1234a..9d7d8492af1db9fb2be51c1faeb4a06cd86752dd 100644 --- a/src/components/project/ProjectConfiguration.vue +++ b/src/components/project/ProjectConfiguration.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="!configUI['project-configuration-tab']"> <h2> {{ $t('access-denied') }} </h2> diff --git a/src/components/project/ProjectConnectionDetails.vue b/src/components/project/ProjectConnectionDetails.vue index 09a439536ff499f3e4f9f59fd5e091ff9509c4b0..cf8dfb622d5015307234fb01ce037e418387ae5f 100644 --- a/src/components/project/ProjectConnectionDetails.vue +++ b/src/components/project/ProjectConnectionDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <table class="table"> <b-loading :is-full-page="false" :active.sync="loading" /> diff --git a/src/components/project/ProjectDetails.vue b/src/components/project/ProjectDetails.vue index 7340d4969d13f9a5b0be85f91a851d2c5d2c3bc3..d18a9af84909f6457d77e686713f5e6794f0f81a 100644 --- a/src/components/project/ProjectDetails.vue +++ b/src/components/project/ProjectDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-message v-if="error" type="is-danger" has-icon icon-size="is-small" size="is-small"> <h2> {{ $t('error') }} </h2> diff --git a/src/components/project/ProjectHome.vue b/src/components/project/ProjectHome.vue index 7f04140688f44008eaf29fe5efc9cf341ef62472..083ff12962ec9ad5203fcc20de7c1c1d2e59b4f5 100644 --- a/src/components/project/ProjectHome.vue +++ b/src/components/project/ProjectHome.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div></div> </template> diff --git a/src/components/project/ProjectInformation.vue b/src/components/project/ProjectInformation.vue index bd1e263bac40675c9eade54f0c52f3990247d485..6d75a742a3fa207848894037a5abd1a9b57c91c6 100644 --- a/src/components/project/ProjectInformation.vue +++ b/src/components/project/ProjectInformation.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="!configUI['project-information-tab']"> <h2> {{ $t('access-denied') }} </h2> diff --git a/src/components/project/ProjectSidebar.vue b/src/components/project/ProjectSidebar.vue index ce15b4608667ece88abd8b5fc9b4acb46410f05b..c2a99cf69bd43b0dc59276255f5aefd9648048d6 100644 --- a/src/components/project/ProjectSidebar.vue +++ b/src/components/project/ProjectSidebar.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="sidebar-wrapper" :class="{expanded: expanded}" ref="sidebar"> <nav class="sidebar" @click="clickHandler"> diff --git a/src/components/project/activity/MemberActivityDetails.vue b/src/components/project/activity/MemberActivityDetails.vue index 859fd31d1b60e60b081567318e5608154f47ca4c..37531130392d8aaf9d0ac5cb2aed40ff7785bb50 100644 --- a/src/components/project/activity/MemberActivityDetails.vue +++ b/src/components/project/activity/MemberActivityDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="user-activity-wrapper"> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/project/activity/MembersActivity.vue b/src/components/project/activity/MembersActivity.vue index 15e04468a29656844cfbe08bb36ab020a03b8995..7e7d64fd71df52ffe55906951e5a189a40b63d12 100644 --- a/src/components/project/activity/MembersActivity.vue +++ b/src/components/project/activity/MembersActivity.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box" v-if="!loading"> <b-message v-if="error" type="is-danger" has-icon icon-size="is-small"> diff --git a/src/components/project/activity/ProjectActivityCharts.vue b/src/components/project/activity/ProjectActivityCharts.vue index 138f26b0e96d305676f7378412cb44ae849a6746..e8161177bc72aa759fe03fe94613f6f5f82eb895 100644 --- a/src/components/project/activity/ProjectActivityCharts.vue +++ b/src/components/project/activity/ProjectActivityCharts.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="tile is-ancestor is-vertical project-activity-charts-wrapper"> <div class="tile"> diff --git a/src/components/project/activity/ProjectActivityLogs.vue b/src/components/project/activity/ProjectActivityLogs.vue index e9aca67e7e1b02806095ec885d068b7507c11def..cd86b8dd01cfa6c5187f6779633c7592aecf8111 100644 --- a/src/components/project/activity/ProjectActivityLogs.vue +++ b/src/components/project/activity/ProjectActivityLogs.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="tile is-child box last-actions"> <h2>{{$t('activity-logs')}}</h2> diff --git a/src/components/project/configuration-panels/AddMemberModal.vue b/src/components/project/configuration-panels/AddMemberModal.vue index aa2627be510432f16a62799f4c116342f910671f..6d3b6550510ffd2fb270691b0d2ae070437b0da6 100644 --- a/src/components/project/configuration-panels/AddMemberModal.vue +++ b/src/components/project/configuration-panels/AddMemberModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal :active="active" :title="$t('add-members-to-project')" @close="$emit('update:active', false)"> <b-loading :is-full-page="false" :active="loading" class="small" /> diff --git a/src/components/project/configuration-panels/CustomUIProject.vue b/src/components/project/configuration-panels/CustomUIProject.vue index 8e12032d5f72bfb19e821b47600d14393595b0be..7dfd2dd2812a9f2285055d6be35d9334aee72d80 100644 --- a/src/components/project/configuration-panels/CustomUIProject.vue +++ b/src/components/project/configuration-panels/CustomUIProject.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-message v-if="error" type="is-danger" has-icon icon-size="is-small"> <h2> {{ $t('error') }} </h2> diff --git a/src/components/project/configuration-panels/DefaultProperty.vue b/src/components/project/configuration-panels/DefaultProperty.vue index 01b4d06c3bb610b6cd9f440d32816a6721c7d8c8..85c4a54ff7e97a8e25308501a0749ad56a0b7f23 100644 --- a/src/components/project/configuration-panels/DefaultProperty.vue +++ b/src/components/project/configuration-panels/DefaultProperty.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-message v-if="error" type="is-danger" has-icon icon-size="is-small"> <h2> {{ $t('error') }} </h2> diff --git a/src/components/project/configuration-panels/GeneralConfiguration.vue b/src/components/project/configuration-panels/GeneralConfiguration.vue index b83b066795adb8950005364ddbf15c9a03565e6a..9c221c839d857533c36a823284ed85f9badc91c1 100644 --- a/src/components/project/configuration-panels/GeneralConfiguration.vue +++ b/src/components/project/configuration-panels/GeneralConfiguration.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <h2>{{$t('editing-mode')}}</h2> diff --git a/src/components/project/configuration-panels/ProjectImageFilters.vue b/src/components/project/configuration-panels/ProjectImageFilters.vue index 4cb46a84acd32ee4961c7458817c97f6bee29ea2..f46cb7374833a63268b27ad1ea7bf43a0fd1bed1 100644 --- a/src/components/project/configuration-panels/ProjectImageFilters.vue +++ b/src/components/project/configuration-panels/ProjectImageFilters.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="project-image-filters-wrapper"> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/project/configuration-panels/ProjectMembers.vue b/src/components/project/configuration-panels/ProjectMembers.vue index 9dbc354d2b0c9c2b6cda8589710794b54c0ce207..9f2eecd684778b985820230332af3c554dba57e6 100644 --- a/src/components/project/configuration-panels/ProjectMembers.vue +++ b/src/components/project/configuration-panels/ProjectMembers.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="list-members-wrapper"> diff --git a/src/components/project/configuration-panels/ProjectSoftwares.vue b/src/components/project/configuration-panels/ProjectSoftwares.vue index d0ff27b4919f6d5977ed4eef9e825280281649ad..3de99f58e8f9c1fda7424f24eaed7caf7e34a51a 100644 --- a/src/components/project/configuration-panels/ProjectSoftwares.vue +++ b/src/components/project/configuration-panels/ProjectSoftwares.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="project-softwares-wrapper"> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/property/CytomineProperties.vue b/src/components/property/CytomineProperties.vue index 8b5c5ecf47ca92e63ed20c8f5b148baeb4bac7a8..7816ace0d37cee0571955f6909751373b31da1e9 100644 --- a/src/components/property/CytomineProperties.vue +++ b/src/components/property/CytomineProperties.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="properties-wrapper"> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/search/AdvancedSearch.vue b/src/components/search/AdvancedSearch.vue index 39fcbd14cd046596e27a5077f7306cfde5c1ca55..2cf62aa8189da915cbca0af1d83b182046c8e9b3 100644 --- a/src/components/search/AdvancedSearch.vue +++ b/src/components/search/AdvancedSearch.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="box error" v-if="error"> <h2> {{ $t('error') }} </h2> diff --git a/src/components/search/CytomineSearcher.vue b/src/components/search/CytomineSearcher.vue index fc9cb4aee06326bfb3ed1d3ba64238dfd1b93232..cfbd5f5e112f7f4644565edd267b9693d1f5081d 100644 --- a/src/components/search/CytomineSearcher.vue +++ b/src/components/search/CytomineSearcher.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div :class="['navbar-item', 'search', displayResults ? 'is-active' : '']" v-click-outside="deactivate"> <b-field class="no-margin" :type="error ? 'is-danger' : null"> diff --git a/src/components/storage/CytomineStorage.vue b/src/components/storage/CytomineStorage.vue index 042e1a0d583826c7c1ca35c7e96fcb315e708ea6..ac17d00a180acc43566d45558114d62b4bb8979c 100644 --- a/src/components/storage/CytomineStorage.vue +++ b/src/components/storage/CytomineStorage.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="storage-wrapper content-wrapper"> <div class="panel"> diff --git a/src/components/storage/UploadedFileDetails.vue b/src/components/storage/UploadedFileDetails.vue index 886a7930a6514ecdad71b75f4ce8492a49e2c56c..c09735ff6736f063d7241f56115a9e36bc1b2376 100644 --- a/src/components/storage/UploadedFileDetails.vue +++ b/src/components/storage/UploadedFileDetails.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <h2> diff --git a/src/components/storage/UploadedFileStatus.vue b/src/components/storage/UploadedFileStatus.vue index 21009ed6108b77fb643b1ed1744e51c0b0095065..fddcb16a80b4240c715ef459a901ffe7709304da 100644 --- a/src/components/storage/UploadedFileStatus.vue +++ b/src/components/storage/UploadedFileStatus.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div v-if="!iconOnly"> <span v-if="!isConverted || !file.nbChildren" class="tag" :class="tagClass"> diff --git a/src/components/tag/AddTagDomainAssociationModal.vue b/src/components/tag/AddTagDomainAssociationModal.vue index a404a983726365114ff8b2e195cf4009a83b04b9..1dcf51e19de21a0b08f5312775efa30a958917d0 100644 --- a/src/components/tag/AddTagDomainAssociationModal.vue +++ b/src/components/tag/AddTagDomainAssociationModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <cytomine-modal-card :title="$t('associate-tags')" active> <template> diff --git a/src/components/tag/AddTagModal.vue b/src/components/tag/AddTagModal.vue index ef7ff40c4eb41d9b50ce3479f7a143216b70c522..0a2fd018ba6a6772a633fb47087c7714f2841056 100644 --- a/src/components/tag/AddTagModal.vue +++ b/src/components/tag/AddTagModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="createTag()"> <cytomine-modal :active="active" :title="$t('new-tag')" @close="$emit('update:active', false)"> diff --git a/src/components/tag/CytomineTags.vue b/src/components/tag/CytomineTags.vue index 2973f48a11e30fa5851f06209cf14c842c01a53a..5c32c994fe9fcec09cdc36fcd660fc0a64b5aeea 100644 --- a/src/components/tag/CytomineTags.vue +++ b/src/components/tag/CytomineTags.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="tags-wrapper"> <b-loading :is-full-page="false" :active="loading" /> diff --git a/src/components/user/Account.vue b/src/components/user/Account.vue index 5dd2e259d6eb8e6b5aa4c0fc94f170d175b1ee81..e6f51486c84e5fbc47f94605d255efc8037f3f1b 100644 --- a/src/components/user/Account.vue +++ b/src/components/user/Account.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="content-wrapper"> <div class="panel"> diff --git a/src/components/user/ListUsernames.vue b/src/components/user/ListUsernames.vue index 895a76523280bee05b59f0e93dfd55056b867cf0..040aa9f508e33d06ba8411d7efb2830b14f5f0cb 100644 --- a/src/components/user/ListUsernames.vue +++ b/src/components/user/ListUsernames.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <span v-if="filteredUsers.length"> <span v-for="(user, index) in usersToDisplay" :key="user.id"> diff --git a/src/components/user/Login.vue b/src/components/user/Login.vue index 451c2b720fcefca30b4e1f93998f05359a9d1bc5..84ef71cfd81fc6e4b01bbe2b2d93044e7f1ed5eb 100644 --- a/src/components/user/Login.vue +++ b/src/components/user/Login.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="panel"> <template v-if="forgotUsername"> diff --git a/src/components/user/Register.vue b/src/components/user/Register.vue index 27f9495d21a73f179fed34dec0b460987aa85011..0d8025b3f96943757df6e04fe55c2a922fe3bf68 100644 --- a/src/components/user/Register.vue +++ b/src/components/user/Register.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <p class="panel-heading"> diff --git a/src/components/user/UserActivity.vue b/src/components/user/UserActivity.vue index 21695531e1dd06f926308c218d18d9491a3f10c1..9784f5104d3f4f58ca8c3bb03fe3823e3bd4fc57 100644 --- a/src/components/user/UserActivity.vue +++ b/src/components/user/UserActivity.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="content-wrapper"> <div class="box"> diff --git a/src/components/user/Username.vue b/src/components/user/Username.vue index 8f4bbb5ba2d88b6845fc3c50e6468ddb85a707d7..35b5e2a8ddd4cd860429582282fa0fafcb981519 100644 --- a/src/components/user/Username.vue +++ b/src/components/user/Username.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <span v-if="resolvedUser"> <span :class="[online ? 'online-dot' : 'offline-dot']" v-if="online !== null"></span> diff --git a/src/components/utils/ActivityLogs.vue b/src/components/utils/ActivityLogs.vue index 8b3278a3591c77ae89d2ab3f2d1484be9468146b..63b5dc64d44c144cda2b4256d7d20b340e96d65a 100644 --- a/src/components/utils/ActivityLogs.vue +++ b/src/components/utils/ActivityLogs.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-message v-if="error" type="is-danger" has-icon icon-size="is-small"> <h2> {{ $t('error') }} </h2> diff --git a/src/components/utils/ActivityLogsItem.vue b/src/components/utils/ActivityLogsItem.vue index aceae709f21368530f6a0f04f3d64ef243c06d1b..3cd8772661318a9c0c5ea4070b56e5901f5d1deb 100644 --- a/src/components/utils/ActivityLogsItem.vue +++ b/src/components/utils/ActivityLogsItem.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <li :key="action.id"> <strong>{{Number(action.created) | moment('l LTS')}}:</strong> diff --git a/src/components/utils/CytomineModal.vue b/src/components/utils/CytomineModal.vue index ac667ee19b5322aad26483698266080a9d7b4b33..5882235e0909ffa425d1cdda00ef9e6997590f66 100644 --- a/src/components/utils/CytomineModal.vue +++ b/src/components/utils/CytomineModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-modal :active="active" @close="close()" has-modal-card> <cytomine-modal-card :title="title" @close="close()"> diff --git a/src/components/utils/CytomineModalCard.vue b/src/components/utils/CytomineModalCard.vue index f93c44bbe724ee716de950ac705f2ca7c2be981a..ca42cdd723610b03382f431f656abb76fc6c9d70 100644 --- a/src/components/utils/CytomineModalCard.vue +++ b/src/components/utils/CytomineModalCard.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="modal-card"> <header class="modal-card-head"> diff --git a/src/components/utils/CytomineTable.vue b/src/components/utils/CytomineTable.vue index b9f60a8f918a514abc168952dc1b6a8cc6ef2a3d..a3285c0af774e4286815b6da131a36d840186f58 100644 --- a/src/components/utils/CytomineTable.vue +++ b/src/components/utils/CytomineTable.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-message v-if="error" type="is-danger" has-icon icon-size="is-small"> <slot name="error"> diff --git a/src/components/utils/CytomineTask.vue b/src/components/utils/CytomineTask.vue index 6899e83baad9c09393fe00061741862e9b018252..e9465b6a7edc379aa145ae4c0c58c1944c3bbe87 100644 --- a/src/components/utils/CytomineTask.vue +++ b/src/components/utils/CytomineTask.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div v-if="task"> <progress class="progress is-info" :value="task.progress" max="100"> diff --git a/src/components/utils/DomainTagInput.vue b/src/components/utils/DomainTagInput.vue index 1b2668202cdbf57bad24b0d0724548349492006f..26eb3719a86dca79a233a5285414be76c2a55577 100644 --- a/src/components/utils/DomainTagInput.vue +++ b/src/components/utils/DomainTagInput.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <b-taginput :value="value" diff --git a/src/components/utils/RenameModal.vue b/src/components/utils/RenameModal.vue index 5afccaeb11c7a0fade0d581f14660d901101e55b..1ce5ea72d35c068898f102e8be89e4de3f147039 100644 --- a/src/components/utils/RenameModal.vue +++ b/src/components/utils/RenameModal.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <form @submit.prevent="rename()"> <cytomine-modal :title="title" :active="active" @close="close()"> diff --git a/src/components/viewer/AnnotationDetailsContainer.vue b/src/components/viewer/AnnotationDetailsContainer.vue index c113b0588562f83764231420317eb7d439a38062..fa56372f2a2d3adb59bec9e73477b75a8e90c7de 100644 --- a/src/components/viewer/AnnotationDetailsContainer.vue +++ b/src/components/viewer/AnnotationDetailsContainer.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="annotation-details-playground" ref="playground"> <vue-draggable-resizable diff --git a/src/components/viewer/AnnotationLayer.vue b/src/components/viewer/AnnotationLayer.vue index fe8ef9e5b0cf8b7e8639021512bc2bb77a180380..21d17de362b5bcc1ee146c6081a3cfc7d4e83b4d 100644 --- a/src/components/viewer/AnnotationLayer.vue +++ b/src/components/viewer/AnnotationLayer.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <vl-layer-vector :visible="layer.visible" diff --git a/src/components/viewer/CytomineImage.vue b/src/components/viewer/CytomineImage.vue index c95fb12e8be3c7309600176efc304595209dc362..ed6f9c36062496178166a7cf297f673f61fc9179 100644 --- a/src/components/viewer/CytomineImage.vue +++ b/src/components/viewer/CytomineImage.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="map-container" @click="isActiveImage = true" ref="container"> <template v-if="!loading && zoom !== null"> diff --git a/src/components/viewer/CytomineViewer.vue b/src/components/viewer/CytomineViewer.vue index e0873d8129a84f36b792da749f8763138698c22b..f5bb337924513684ac71760da51110a1a8ff479a 100644 --- a/src/components/viewer/CytomineViewer.vue +++ b/src/components/viewer/CytomineViewer.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div v-if="error" class="box error"> <h2> {{ $t('error') }} </h2> diff --git a/src/components/viewer/DrawTools.vue b/src/components/viewer/DrawTools.vue index 4f2e399b14755149fafb4271390e91d02e249afb..bc71e3aa4cf0924c87b79f5c6936c56b05bdda93 100644 --- a/src/components/viewer/DrawTools.vue +++ b/src/components/viewer/DrawTools.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="draw-tools-wrapper"> <div class="buttons has-addons are-small" v-if="isToolDisplayed('select')"> diff --git a/src/components/viewer/ImageSelector.vue b/src/components/viewer/ImageSelector.vue index 70e5dc212b3d20fcfbec8642bef71e6b3db2b72b..0b365fa11dcca2cbd1586516faf9aae4a0f19b70 100644 --- a/src/components/viewer/ImageSelector.vue +++ b/src/components/viewer/ImageSelector.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <div class="image-selector-wrapper" v-show="imageSelectorEnabled"> diff --git a/src/components/viewer/RotationSelector.vue b/src/components/viewer/RotationSelector.vue index 0535e6da9f36ab342810d56b4c93399ed5397c51..46ab4ca65726a242792cda8fec5dc19b765aff79 100644 --- a/src/components/viewer/RotationSelector.vue +++ b/src/components/viewer/RotationSelector.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="rotation-selector-wrapper" :class="{expanded}"> <div class="ol-rotate ol-unselectable ol-control custom"> diff --git a/src/components/viewer/ScaleLine.vue b/src/components/viewer/ScaleLine.vue index c6d49d4afaa24c6dad4fd2eeeaeb3528ce41d7f1..1cbf6d87cbbf96a53ae9007d7a6a0c366dd9dd62 100644 --- a/src/components/viewer/ScaleLine.vue +++ b/src/components/viewer/ScaleLine.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="scale-line" :class="{'interpolation': interpolation}"> <div class="scale-line-top" :style="{width: scaleLineLength + 'px'}"> diff --git a/src/components/viewer/interactions/DrawInteraction.vue b/src/components/viewer/interactions/DrawInteraction.vue index f1b4a8cdc9e263c6ca381563106128778fed9eca..cd471523cd52892295f59acfeed6b5757e84fdd1 100644 --- a/src/components/viewer/interactions/DrawInteraction.vue +++ b/src/components/viewer/interactions/DrawInteraction.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <vl-layer-vector> diff --git a/src/components/viewer/interactions/ModifyInteraction.vue b/src/components/viewer/interactions/ModifyInteraction.vue index 9fac644b71672371f26d4c82af1e143ae5c7b803..bd70675a54a72abe64b5d36818065b3ca21c8d92 100644 --- a/src/components/viewer/interactions/ModifyInteraction.vue +++ b/src/components/viewer/interactions/ModifyInteraction.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <vl-interaction-modify diff --git a/src/components/viewer/interactions/SelectInteraction.vue b/src/components/viewer/interactions/SelectInteraction.vue index 901aed8c264c5e28d21ff35ff068203000326e2f..9168027f702972f33d5cd49c4dca885bef5671c6 100644 --- a/src/components/viewer/interactions/SelectInteraction.vue +++ b/src/components/viewer/interactions/SelectInteraction.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <vl-interaction-select :ident="`select-target-${index}`" diff --git a/src/components/viewer/panels/ColorManipulation.vue b/src/components/viewer/panels/ColorManipulation.vue index e1fb53d72b7d2f832d41d48a44f95a09e07d8b0c..afcbe83b96d2b34d03b4dbe9617d41d771dce342 100644 --- a/src/components/viewer/panels/ColorManipulation.vue +++ b/src/components/viewer/panels/ColorManipulation.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="color-manipulation"> diff --git a/src/components/viewer/panels/DigitalZoom.vue b/src/components/viewer/panels/DigitalZoom.vue index de8c1d872425b23fb38b70a02c39f02c93453708..58615fcb39cdc1ad5cc57135028d18f325f17a84 100644 --- a/src/components/viewer/panels/DigitalZoom.vue +++ b/src/components/viewer/panels/DigitalZoom.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <h1>{{$t('digital-zoom')}}</h1> diff --git a/src/components/viewer/panels/FollowPanel.vue b/src/components/viewer/panels/FollowPanel.vue index 6ba4188312326d47824e070e3f67258e82ee00fb..f48d253fb4a6c6190ab79694f9edd1dd8e1d9473 100644 --- a/src/components/viewer/panels/FollowPanel.vue +++ b/src/components/viewer/panels/FollowPanel.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="follow-panel"> <h1>{{$t('broadcast')}}</h1> diff --git a/src/components/viewer/panels/InformationPanel.vue b/src/components/viewer/panels/InformationPanel.vue index f0de3955d7a750ae5b6ab475ab0af076f7ff557d..ee9cbb88be8c5caaf9e836effc5b51255f7974d3 100644 --- a/src/components/viewer/panels/InformationPanel.vue +++ b/src/components/viewer/panels/InformationPanel.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <h1> diff --git a/src/components/viewer/panels/LayersPanel.vue b/src/components/viewer/panels/LayersPanel.vue index fd7096c8b6eea129c8a5b2407b044e3acaf98e5b..944a3ab96353f870875cb0a4d25ebf982dd6d7cd 100644 --- a/src/components/viewer/panels/LayersPanel.vue +++ b/src/components/viewer/panels/LayersPanel.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="layers"> <h1>{{ $t('annotation-layers') }}</h1> diff --git a/src/components/viewer/panels/LinkPanel.vue b/src/components/viewer/panels/LinkPanel.vue index 51f6e451c3ef4c55e8349ba1d36a365f9dd9c6fd..2247743459fb657e01dcb2561624313a3e8c703c 100644 --- a/src/components/viewer/panels/LinkPanel.vue +++ b/src/components/viewer/panels/LinkPanel.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <h1>{{$t('link-images')}}</h1> diff --git a/src/components/viewer/panels/OntologyPanel.vue b/src/components/viewer/panels/OntologyPanel.vue index 92f17ddd6e821b384f149183c439484878945d41..aa5f19c2bcd976e3db65b552a38544329ad7f79d 100644 --- a/src/components/viewer/panels/OntologyPanel.vue +++ b/src/components/viewer/panels/OntologyPanel.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <h1>{{ $t('terms') }}</h1> diff --git a/src/components/viewer/panels/PropertiesPanel.vue b/src/components/viewer/panels/PropertiesPanel.vue index b798d74e06ac7da647192e22ba8b9ea17da653ae..7c004d11821a15bd7c73637a101802e21949a8ce 100644 --- a/src/components/viewer/panels/PropertiesPanel.vue +++ b/src/components/viewer/panels/PropertiesPanel.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div class="properties-panel"> <h1>{{$t('properties')}}</h1> diff --git a/src/components/viewer/panels/ReviewPanel.vue b/src/components/viewer/panels/ReviewPanel.vue index c610aaea00d02241fd06466bc4f75c9da71cf82b..6ad797a3f320a2e9972f789a2b5120784be41613 100644 --- a/src/components/viewer/panels/ReviewPanel.vue +++ b/src/components/viewer/panels/ReviewPanel.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <template> <div> <h1>{{$t('review')}}</h1> diff --git a/src/lang.js b/src/lang.js index 26795b6d31fdbd61fa007bbb8210c8efe78cfc78..495d38f3f58981d1b5d0460b46ae07b675011b87 100644 --- a/src/lang.js +++ b/src/lang.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import Vue from 'vue'; import VueI18n from 'vue-i18n'; diff --git a/src/main.js b/src/main.js index 962e50ea97e4fcf1fb74d7839ce60c05a3fcfe08..45e91123a9cdab36b8ba02fe1f4850d2b12b1f30 100644 --- a/src/main.js +++ b/src/main.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import Vue from 'vue'; import VueRouter from 'vue-router'; diff --git a/src/routes.js b/src/routes.js index a81022c70370cacf1f31d90bc41871ba5953e269..528d20602526c892ac3ad4a3b84174d4cf2cc1b3 100644 --- a/src/routes.js +++ b/src/routes.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import VueRouter from 'vue-router'; // Import Components diff --git a/src/store/modules/current-project.js b/src/store/modules/current-project.js index d44c4748078218a2538ee1afd995cb606188f339..21fe3696489d84cf1c2c7b7b0fa7a6c464222137 100644 --- a/src/store/modules/current-project.js +++ b/src/store/modules/current-project.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {Cytomine, Project, ProjectConnection, Ontology, AnnotationType, UserCollection, ProjectMemberRole} from 'cytomine-client'; import {fullName} from '@/utils/user-utils.js'; import {getAllTerms} from '@/utils/ontology-utils'; diff --git a/src/store/modules/current-user.js b/src/store/modules/current-user.js index 17a303e5e21e71d4f004b72b237350807b3a0bd7..69f40adc2feab62a0fb4df52c150933d23acd9af 100644 --- a/src/store/modules/current-user.js +++ b/src/store/modules/current-user.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {Cytomine, User} from 'cytomine-client'; function getDefaultState() { diff --git a/src/store/modules/list-projects.js b/src/store/modules/list-projects.js index c774d3f6f9448fd9c29a1d9cc190807ef1eb794b..d2abd3a5fb34eb7d0e49fb11db5bc7382e069853 100644 --- a/src/store/modules/list-projects.js +++ b/src/store/modules/list-projects.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + function getDefaultState() { return { searchString: '', diff --git a/src/store/modules/ontologies.js b/src/store/modules/ontologies.js index 1b32ab0ffd3bc42eb4db6b424e4280136de895e1..6928b1cdff684494edd6299c00fa101db84a663f 100644 --- a/src/store/modules/ontologies.js +++ b/src/store/modules/ontologies.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + function getDefaultState() { return { searchString: '', diff --git a/src/store/modules/project.js b/src/store/modules/project.js index b33241bf485f0bf2300c024a491b2eeec9ce97bf..97f4a7f1ec53c14b4de449c1cc9f6c40ddfa0d87 100644 --- a/src/store/modules/project.js +++ b/src/store/modules/project.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import listImages from './project_modules/list-images.js'; import listAnnotations from './project_modules/list-annotations.js'; import listJobs from './project_modules/list-jobs.js'; diff --git a/src/store/modules/project_modules/list-annotations.js b/src/store/modules/project_modules/list-annotations.js index 0ff3a7b2831c7e8e523a4fea9c0e075594d51fa0..879d789b02f6cf2f15c0d78d6e8d4e57eb83df03 100644 --- a/src/store/modules/project_modules/list-annotations.js +++ b/src/store/modules/project_modules/list-annotations.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import Vue from 'vue'; export default { diff --git a/src/store/modules/project_modules/list-images.js b/src/store/modules/project_modules/list-images.js index c29bfaeef731bbcf2d7ffb73b47c4dab135d9f0f..efba16101ffb9166ef14a324ded4f30a321b25b9 100644 --- a/src/store/modules/project_modules/list-images.js +++ b/src/store/modules/project_modules/list-images.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { namespaced: true, diff --git a/src/store/modules/project_modules/list-jobs.js b/src/store/modules/project_modules/list-jobs.js index bbfb8eb534299ec265d8f0af2abe0ca71129bfed..22c5ff2bee99cc0e97bab17188fdbbc09bed7f00 100644 --- a/src/store/modules/project_modules/list-jobs.js +++ b/src/store/modules/project_modules/list-jobs.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { namespaced: true, diff --git a/src/store/modules/project_modules/viewer.js b/src/store/modules/project_modules/viewer.js index 0ec26004464fedd458353c61a6c7886bc3d6e3db..416fc4c8c97e2f277b433e33a4873936beb291fe 100644 --- a/src/store/modules/project_modules/viewer.js +++ b/src/store/modules/project_modules/viewer.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import router from '@/routes'; import {getModuleNamespace} from '@/store/store'; import imageModule from './viewer_modules/image'; diff --git a/src/store/modules/project_modules/viewer_modules/image.js b/src/store/modules/project_modules/viewer_modules/image.js index f143123beb00f2ad669a6f458e5b69cd94a41044..fdad153d8b2264a9b4a7a9ea35260d20cb791f17 100644 --- a/src/store/modules/project_modules/viewer_modules/image.js +++ b/src/store/modules/project_modules/viewer_modules/image.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {ImageInstance, AbstractImage, AnnotationType} from 'cytomine-client'; import constants from '@/utils/constants'; diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/colors.js b/src/store/modules/project_modules/viewer_modules/image_modules/colors.js index f691ab7e49a8ad419fe61223d259f96cd8e9e2c2..cd721ffb4b8ceb454336934ef8c4e3f2e77f41fa 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/colors.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/colors.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { state() { return { diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/draw.js b/src/store/modules/project_modules/viewer_modules/image_modules/draw.js index 1c0c61659b113ed6a1ca016ae2c3b3da16985683..82a4ec12698e8b2a6ff123aacfc2deb3eb0f9fae 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/draw.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/draw.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { state() { return { diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/layers.js b/src/store/modules/project_modules/viewer_modules/image_modules/layers.js index 45dae9dd85ceb77f60ad6a99c711ba680effb054..bd5229c6df585451a573bdce354c434fe269075d 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/layers.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/layers.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { state() { return { diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/properties.js b/src/store/modules/project_modules/viewer_modules/image_modules/properties.js index 2c8ec46955d89aa3f2aaf8c33d5ca439494dbc6b..3b2ce19922f765e6d92ce64a2c1f50ea59d98833 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/properties.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/properties.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {defaultColors} from '@/utils/style-utils.js'; import {PropertyCollection} from 'cytomine-client'; import constants from '@/utils/constants'; diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/review.js b/src/store/modules/project_modules/viewer_modules/image_modules/review.js index 6067e11d9aefd38242bddcb4004e6930e540b1bf..4b7e7e055ef65b0e11495feb7197adeb8b51cd23 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/review.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/review.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { state() { return { diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/selected-features.js b/src/store/modules/project_modules/viewer_modules/image_modules/selected-features.js index 1b8dc62100f70068dc15ee148a36ecc2c1816ec6..60b6cd7b5280f594639937f09783563ce12a996f 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/selected-features.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/selected-features.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {createGeoJsonFmt} from 'vuelayers/lib/ol-ext/format'; import {annotBelongsToLayer} from '@/utils/annotation-utils'; diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/style.js b/src/store/modules/project_modules/viewer_modules/image_modules/style.js index d238d9f74a090c584e65bac6e9051a77adc3aac0..dc44b6fda13fbe7b9800293359983864129962a7 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/style.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/style.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {createColorStyle, createLineStyle, changeOpacity} from '@/utils/style-utils.js'; let initialTermsOpacity = 1; diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/tracking.js b/src/store/modules/project_modules/viewer_modules/image_modules/tracking.js index b8bf7ac43245409800030bd0ddb9907b35833a5e..e4627d046f705823150958e11369549ad1c2ed40 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/tracking.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/tracking.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { state() { return { diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/undo-redo.js b/src/store/modules/project_modules/viewer_modules/image_modules/undo-redo.js index 5dd7e9dcb62b5e80ae47749895d1a9ca82f8c197..5009e0759e78f07cd018bd4edba99257cf63d2c8 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/undo-redo.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/undo-redo.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {Cytomine} from 'cytomine-client'; export default { diff --git a/src/store/modules/project_modules/viewer_modules/image_modules/view.js b/src/store/modules/project_modules/viewer_modules/image_modules/view.js index 17b333b3ac6e5d598ee81e5e3b2cb4e7099c1073..e41075c9a9d27b5d5f2121664918d62c3af17683 100644 --- a/src/store/modules/project_modules/viewer_modules/image_modules/view.js +++ b/src/store/modules/project_modules/viewer_modules/image_modules/view.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { state() { return { diff --git a/src/store/store.js b/src/store/store.js index a374538603840e9ac70e892805a8fb0333ca1f01..f262ca735722d92c659a2ae75a42148b3ad26dc8 100644 --- a/src/store/store.js +++ b/src/store/store.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import Vue from 'vue'; import Vuex from 'vuex'; diff --git a/src/utils/annotation-utils.js b/src/utils/annotation-utils.js index 5e59df6764ef27e8385c74514c2fc14cdae6a74e..24fdaa52c61db6ed359b9ceae39fe5f074edb246 100644 --- a/src/utils/annotation-utils.js +++ b/src/utils/annotation-utils.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {AnnotationTermCollection, AnnotationType} from 'cytomine-client'; /** Enum providing the actions that can be performed on annotations */ diff --git a/src/utils/color-manipulation.js b/src/utils/color-manipulation.js index 026b2d2789e6b029709e4b01b0cd4a8c5833d1e7..ac49cbc3b998779e4c6171575b65cd857ecf9c03 100644 --- a/src/utils/color-manipulation.js +++ b/src/utils/color-manipulation.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + /* eslint no-undef: 0 */ /* Sources: diff --git a/src/utils/constants.js b/src/utils/constants.js index fdbb3e78c154083b1075e558a8e22fb428e20006..58da083c862bdb6b133887e94a84a96fea386603 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export default { CYTOMINE_CORE_HOST: 'http://localhost-core', CYTOMINE_UPLOAD_HOST: 'http://localhost-upload', diff --git a/src/utils/job-utils.js b/src/utils/job-utils.js index 5c28ebfe6c82515de4e87e49572c30150e0801eb..549817ab0f215e5f63b7a6aec0cf7ae8b8f9473d 100644 --- a/src/utils/job-utils.js +++ b/src/utils/job-utils.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {JobStatus} from 'cytomine-client'; const jobStatusLabelMapping = Object.freeze({ diff --git a/src/utils/ontology-utils.js b/src/utils/ontology-utils.js index 39e7629059f72d7399398b1aeb99c1b436bc9c5e..e6107590cb5dde904fc15f27c00099b8692cc6cd 100644 --- a/src/utils/ontology-utils.js +++ b/src/utils/ontology-utils.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + // return all terms from an ontology object export function getAllTerms(ontology) { return processNodes(ontology.children.array); diff --git a/src/utils/role-utils.js b/src/utils/role-utils.js index 73c897b7fb084cdc1370fd777e728470889d5e60..15b73073c0a1b5d45912e68a8567efd5f0a56bdf 100644 --- a/src/utils/role-utils.js +++ b/src/utils/role-utils.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + export const rolesMapping = Object.freeze({ 'ROLE_GUEST': {label: 'guest', index: 0, class: 'is-light'}, 'ROLE_USER': {label: 'user', index: 1, class: 'is-link'}, diff --git a/src/utils/store-helpers.js b/src/utils/store-helpers.js index 6df4f11138c81ca5281ecf01a5e8dc2a10ba8bc2..0473c18e3355395d170a0c6a2671c56d345294f9 100644 --- a/src/utils/store-helpers.js +++ b/src/utils/store-helpers.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + // Helpers for vuex (inspired by https://github.com/davestewart/vuex-pathify) import _ from 'lodash'; diff --git a/src/utils/string-utils.js b/src/utils/string-utils.js index e945e71c319ecd7fcf13474c4d3c066f1ad4825b..2881d8873541774f7ec2145594963e70238e3d30 100644 --- a/src/utils/string-utils.js +++ b/src/utils/string-utils.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import _ from 'lodash'; /** diff --git a/src/utils/style-utils.js b/src/utils/style-utils.js index 975011e5b0a5a02ffa669ecd9b69ed569bf4a3d6..a48c24d03d5b692b62801ab34363bf2fcbec05d2 100644 --- a/src/utils/style-utils.js +++ b/src/utils/style-utils.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {Style, Stroke, Fill, Circle, Text} from 'ol/style'; import {MultiPoint} from 'ol/geom'; import {asArray as hexToRgb} from 'ol/color'; diff --git a/src/utils/user-utils.js b/src/utils/user-utils.js index b751637ee5c0fbe84f875054e98bfc4e96066587..fd4d54bcef0aca049d57dc62d50d4f02683a2371 100644 --- a/src/utils/user-utils.js +++ b/src/utils/user-utils.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import moment from 'moment'; export function fullName(user) { diff --git a/src/utils/vendor.js b/src/utils/vendor.js index d49d864b2f9a589b86178a267133023910c91983..2aaa4051644018e3dd56a0704b9875b97fe5530b 100644 --- a/src/utils/vendor.js +++ b/src/utils/vendor.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + let vendors = { hamamatsu: { imgPath: require('@/assets/brands/hamamatsu.jpg'), diff --git a/src/vuelayers-suppl/raster-source/index.js b/src/vuelayers-suppl/raster-source/index.js index 6e37b371aa0147bf6ca58a7556d939d0be7064e0..90169751427848294348ea4eea9d1d3d9220750d 100644 --- a/src/vuelayers-suppl/raster-source/index.js +++ b/src/vuelayers-suppl/raster-source/index.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import {pick} from 'vuelayers/lib/util/minilo'; import Source from './source.vue'; diff --git a/src/vuelayers-suppl/raster-source/source.vue b/src/vuelayers-suppl/raster-source/source.vue index 2cb2290e48f1e21a347db837b73bb874dddb56f2..b827399053adb1cbbccc9e2ce122d73145d7ac49 100644 --- a/src/vuelayers-suppl/raster-source/source.vue +++ b/src/vuelayers-suppl/raster-source/source.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <script> /** * @module raster-source/source diff --git a/src/vuelayers-suppl/rotate-interaction/index.js b/src/vuelayers-suppl/rotate-interaction/index.js index 662e7338d68ad9ab19f1ca2cad5d80236d35c88d..b76cc30606f32f6c2ff258bae2f7a96ea61b08bd 100644 --- a/src/vuelayers-suppl/rotate-interaction/index.js +++ b/src/vuelayers-suppl/rotate-interaction/index.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import { pick } from 'vuelayers/lib/util/minilo'; import Interaction from './interaction.vue'; diff --git a/src/vuelayers-suppl/rotate-interaction/interaction.vue b/src/vuelayers-suppl/rotate-interaction/interaction.vue index 704a8e04fa353fb7394de36603ec8818b35a780e..f64282e986a8b3344c65d24ac3fc10bb3caa783b 100644 --- a/src/vuelayers-suppl/rotate-interaction/interaction.vue +++ b/src/vuelayers-suppl/rotate-interaction/interaction.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <script> /** @module rotate-interaction/interaction */ import RotateFeatureInteraction from 'ol-rotate-feature'; diff --git a/src/vuelayers-suppl/translate-interaction/index.js b/src/vuelayers-suppl/translate-interaction/index.js index 662e7338d68ad9ab19f1ca2cad5d80236d35c88d..b76cc30606f32f6c2ff258bae2f7a96ea61b08bd 100644 --- a/src/vuelayers-suppl/translate-interaction/index.js +++ b/src/vuelayers-suppl/translate-interaction/index.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import { pick } from 'vuelayers/lib/util/minilo'; import Interaction from './interaction.vue'; diff --git a/src/vuelayers-suppl/translate-interaction/interaction.vue b/src/vuelayers-suppl/translate-interaction/interaction.vue index 128facee0662a3db444138443524883af3f1f751..bfb1a09e73eabbd6f35b0392315c11c2d8422347 100644 --- a/src/vuelayers-suppl/translate-interaction/interaction.vue +++ b/src/vuelayers-suppl/translate-interaction/interaction.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <script> /** @module translate-interaction/interaction */ import TranslateInteraction from 'ol/interaction/Translate'; diff --git a/src/vuelayers-suppl/zoomify-source/index.js b/src/vuelayers-suppl/zoomify-source/index.js index 906561ba5aab6eebd9e02bac547e43bd6b16b410..aaa42cc8e550364aa429fc39e7980c718c1bf914 100644 --- a/src/vuelayers-suppl/zoomify-source/index.js +++ b/src/vuelayers-suppl/zoomify-source/index.js @@ -1,3 +1,19 @@ +/* +* Copyright (c) 2009-2019. Authors: see NOTICE file. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + import { pick } from 'vuelayers/lib/util/minilo'; import Source from './source.vue'; diff --git a/src/vuelayers-suppl/zoomify-source/source.vue b/src/vuelayers-suppl/zoomify-source/source.vue index 1a886cc14d297fc6598df77deb005dec680a91c0..aba3ef094fba7c0ea95359131f9d0f57dac0e2aa 100644 --- a/src/vuelayers-suppl/zoomify-source/source.vue +++ b/src/vuelayers-suppl/zoomify-source/source.vue @@ -1,3 +1,18 @@ +<!-- Copyright (c) 2009-2019. Authors: see NOTICE file. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License.--> + + <script> /** * @module zoomify-source/source