From 21d581eca86920458e2fd8d4a829fdbedbe9dabe Mon Sep 17 00:00:00 2001 From: TheGeekTortoise <Renaud.Hoyoux@yahoo.fr> Date: Fri, 1 Nov 2019 15:28:16 +0100 Subject: [PATCH] add license file and headers --- LICENSE | 202 ++++++++++++++++++ README.md | 7 +- public/index.html | 16 +- src/App.vue | 15 ++ src/components/GlobalDashboard.vue | 15 ++ src/components/PageNotFound.vue | 15 ++ src/components/admin/AdminConfiguration.vue | 15 ++ src/components/admin/AdminDashboard.vue | 15 ++ src/components/admin/AdminPanel.vue | 15 ++ src/components/admin/AdminUsers.vue | 15 ++ src/components/admin/UserDetails.vue | 15 ++ src/components/admin/UserModal.vue | 15 ++ .../annotations/AnnotationCommentsModal.vue | 15 ++ .../annotations/AnnotationDetails.vue | 15 ++ .../annotations/AnnotationPreview.vue | 15 ++ .../annotations/ListAnnotations.vue | 15 ++ .../annotations/ListAnnotationsByTerm.vue | 15 ++ .../attached-file/AttachedFileModal.vue | 15 ++ .../attached-file/AttachedFiles.vue | 15 ++ .../charts/ActivityOverviewChart.js | 16 ++ .../AnnotatedImagesByContributorChart.js | 16 ++ .../charts/AnnotatedImagesByTermChart.js | 16 ++ .../charts/AnnotationContributorChart.js | 16 ++ src/components/charts/AnnotationTermChart.js | 16 ++ src/components/charts/LastConnectionsChart.js | 16 ++ .../charts/NumberAnnotationsChart.js | 16 ++ .../description/CytomineDescription.vue | 15 ++ .../description/CytomineDescriptionModal.vue | 15 ++ src/components/form/CytomineDatepicker.vue | 15 ++ src/components/form/CytomineMultiselect.vue | 15 ++ src/components/form/CytomineQuillEditor.vue | 15 ++ src/components/form/CytomineSlider.vue | 15 ++ src/components/icons/IconLineFreeHand.vue | 15 ++ src/components/icons/IconPolygonFreeHand.vue | 15 ++ src/components/image/AddImageModal.vue | 15 ++ src/components/image/CalibrationModal.vue | 15 ++ src/components/image/ImageDetails.vue | 15 ++ src/components/image/ImageInformation.vue | 15 ++ src/components/image/ImageMetadataModal.vue | 15 ++ src/components/image/ImageName.vue | 15 ++ src/components/image/ImagePreview.vue | 15 ++ src/components/image/ImageStatus.vue | 15 ++ src/components/image/ListImages.vue | 15 ++ src/components/image/ListImagesPreview.vue | 15 ++ src/components/image/MagnificationModal.vue | 15 ++ src/components/job/AddJobModal.vue | 15 ++ src/components/job/JobDetails.vue | 15 ++ src/components/job/JobParameterRow.vue | 15 ++ src/components/job/JobStatus.vue | 15 ++ src/components/job/ListJobs.vue | 15 ++ src/components/navbar/AboutCytomineModal.vue | 15 ++ src/components/navbar/CytomineNavbar.vue | 15 ++ src/components/navbar/HotkeysModal.vue | 15 ++ src/components/navbar/NavbarDropdown.vue | 15 ++ src/components/navbar/NavigationTree.vue | 15 ++ src/components/ontology/AddOntologyModal.vue | 15 ++ src/components/ontology/CytomineTerm.vue | 15 ++ src/components/ontology/ListOntologies.vue | 15 ++ src/components/ontology/OntologyDetails.vue | 15 ++ src/components/ontology/OntologyTree.vue | 15 ++ .../ontology/OntologyTreeMultiselect.vue | 15 ++ src/components/ontology/TermModal.vue | 15 ++ src/components/project/AddProjectModal.vue | 15 ++ src/components/project/CytomineProject.vue | 15 ++ src/components/project/ListProjects.vue | 15 ++ src/components/project/ProjectActions.vue | 15 ++ src/components/project/ProjectActivity.vue | 15 ++ .../project/ProjectConfiguration.vue | 15 ++ .../project/ProjectConnectionDetails.vue | 15 ++ src/components/project/ProjectDetails.vue | 15 ++ src/components/project/ProjectHome.vue | 15 ++ src/components/project/ProjectInformation.vue | 15 ++ src/components/project/ProjectSidebar.vue | 15 ++ .../activity/MemberActivityDetails.vue | 15 ++ .../project/activity/MembersActivity.vue | 15 ++ .../activity/ProjectActivityCharts.vue | 15 ++ .../project/activity/ProjectActivityLogs.vue | 15 ++ .../configuration-panels/AddMemberModal.vue | 15 ++ .../configuration-panels/CustomUIProject.vue | 15 ++ .../configuration-panels/DefaultProperty.vue | 15 ++ .../GeneralConfiguration.vue | 15 ++ .../ProjectImageFilters.vue | 15 ++ .../configuration-panels/ProjectMembers.vue | 15 ++ .../configuration-panels/ProjectSoftwares.vue | 15 ++ .../property/CytomineProperties.vue | 15 ++ src/components/search/AdvancedSearch.vue | 15 ++ src/components/search/CytomineSearcher.vue | 15 ++ src/components/storage/CytomineStorage.vue | 15 ++ .../storage/UploadedFileDetails.vue | 15 ++ src/components/storage/UploadedFileStatus.vue | 15 ++ .../tag/AddTagDomainAssociationModal.vue | 15 ++ src/components/tag/AddTagModal.vue | 15 ++ src/components/tag/CytomineTags.vue | 15 ++ src/components/user/Account.vue | 15 ++ src/components/user/ListUsernames.vue | 15 ++ src/components/user/Login.vue | 15 ++ src/components/user/Register.vue | 15 ++ src/components/user/UserActivity.vue | 15 ++ src/components/user/Username.vue | 15 ++ src/components/utils/ActivityLogs.vue | 15 ++ src/components/utils/ActivityLogsItem.vue | 15 ++ src/components/utils/CytomineModal.vue | 15 ++ src/components/utils/CytomineModalCard.vue | 15 ++ src/components/utils/CytomineTable.vue | 15 ++ src/components/utils/CytomineTask.vue | 15 ++ src/components/utils/DomainTagInput.vue | 15 ++ src/components/utils/RenameModal.vue | 15 ++ .../viewer/AnnotationDetailsContainer.vue | 15 ++ src/components/viewer/AnnotationLayer.vue | 15 ++ src/components/viewer/CytomineImage.vue | 15 ++ src/components/viewer/CytomineViewer.vue | 15 ++ src/components/viewer/DrawTools.vue | 15 ++ src/components/viewer/ImageSelector.vue | 15 ++ src/components/viewer/RotationSelector.vue | 15 ++ src/components/viewer/ScaleLine.vue | 15 ++ .../viewer/interactions/DrawInteraction.vue | 15 ++ .../viewer/interactions/ModifyInteraction.vue | 15 ++ .../viewer/interactions/SelectInteraction.vue | 15 ++ .../viewer/panels/ColorManipulation.vue | 15 ++ src/components/viewer/panels/DigitalZoom.vue | 15 ++ src/components/viewer/panels/FollowPanel.vue | 15 ++ .../viewer/panels/InformationPanel.vue | 15 ++ src/components/viewer/panels/LayersPanel.vue | 15 ++ src/components/viewer/panels/LinkPanel.vue | 15 ++ .../viewer/panels/OntologyPanel.vue | 15 ++ .../viewer/panels/PropertiesPanel.vue | 15 ++ src/components/viewer/panels/ReviewPanel.vue | 15 ++ src/lang.js | 16 ++ src/main.js | 16 ++ src/routes.js | 16 ++ src/store/modules/current-project.js | 16 ++ src/store/modules/current-user.js | 16 ++ src/store/modules/list-projects.js | 16 ++ src/store/modules/ontologies.js | 16 ++ src/store/modules/project.js | 16 ++ .../project_modules/list-annotations.js | 16 ++ .../modules/project_modules/list-images.js | 16 ++ .../modules/project_modules/list-jobs.js | 16 ++ src/store/modules/project_modules/viewer.js | 16 ++ .../project_modules/viewer_modules/image.js | 16 ++ .../viewer_modules/image_modules/colors.js | 16 ++ .../viewer_modules/image_modules/draw.js | 16 ++ .../viewer_modules/image_modules/layers.js | 16 ++ .../image_modules/properties.js | 16 ++ .../viewer_modules/image_modules/review.js | 16 ++ .../image_modules/selected-features.js | 16 ++ .../viewer_modules/image_modules/style.js | 16 ++ .../viewer_modules/image_modules/tracking.js | 16 ++ .../viewer_modules/image_modules/undo-redo.js | 16 ++ .../viewer_modules/image_modules/view.js | 16 ++ src/store/store.js | 16 ++ src/utils/annotation-utils.js | 16 ++ src/utils/color-manipulation.js | 16 ++ src/utils/constants.js | 16 ++ src/utils/job-utils.js | 16 ++ src/utils/ontology-utils.js | 16 ++ src/utils/role-utils.js | 16 ++ src/utils/store-helpers.js | 16 ++ src/utils/string-utils.js | 16 ++ src/utils/style-utils.js | 16 ++ src/utils/user-utils.js | 16 ++ src/utils/vendor.js | 16 ++ src/vuelayers-suppl/raster-source/index.js | 16 ++ src/vuelayers-suppl/raster-source/source.vue | 15 ++ .../rotate-interaction/index.js | 16 ++ .../rotate-interaction/interaction.vue | 15 ++ .../translate-interaction/index.js | 16 ++ .../translate-interaction/interaction.vue | 15 ++ src/vuelayers-suppl/zoomify-source/index.js | 16 ++ src/vuelayers-suppl/zoomify-source/source.vue | 15 ++ 170 files changed, 2771 insertions(+), 5 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8f71f43 --- /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 2635ed0..3b94ab6 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 26cf681..c8e3f67 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 15eba0a..520c8d7 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 3430f76..25d76dd 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 4cbc764..5414389 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 dddb470..b1e4374 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 d3cf6bd..90d2fc2 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 82f8390..1ea1773 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 c572ad9..54f163d 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 9b0f0df..7a7a645 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 e1fc55b..9a4185b 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 e71f1e0..ecf957c 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 1378e7b..7c8fa74 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 0bcc060..c7a221f 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 a8aef12..5c617b3 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 b761c76..856ff2a 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 6bf19fb..cb7eac3 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 1ceac12..9e23f7f 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 967cf03..4af610e 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 e660290..ebf0b89 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 173fe2b..346d0ae 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 154ff7f..d266c36 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 8402d87..8dff871 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 e4ccc6a..ff159d0 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 89bc060..3e32630 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 4b2cdc9..833bbe3 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 3b64ffa..3365e4f 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 da4d765..d0a2af1 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 f6d5aac..38cab3e 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 f8c70d6..1507165 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 6986681..d94496e 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 8036e9b..fa242ba 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 fbb7afc..8bbb70d 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 1152933..9612282 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 a5489a7..a1b0970 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 4abb34f..4a14f68 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 569fc30..f5b1056 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 b36cdc8..d902929 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 eaac9d3..e0657ca 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 92ebbac..4693464 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 28b44c7..530900f 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 11cc6a0..1f107a8 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 586fdce..e31349e 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 307c21f..8f9386f 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 8866066..08c8e1c 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 11b8f73..0a26a9e 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 60c2e14..8bf4459 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 db2fc04..fc3954a 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 7e541c9..f888d68 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 cbcb991..db846f7 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 d043cb1..a1afbb2 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 b375cf9..fe98703 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 88c09ee..94b8db1 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 231d2eb..bdb13be 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 efce9ff..d1247cb 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 92327c6..9002056 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 12a272e..78e278a 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 7f47087..bb09cc7 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 7905908..9ac4c07 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 3520a36..33f181a 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 475a509..5c1b270 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 faf7efa..e1fc3f0 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 aec5be7..78b19da 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 34b3a22..168a8d7 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 33e3768..ed902ba 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 62cf69c..91ba125 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 45b9674..9d7d849 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 09a4395..cf8dfb6 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 7340d49..d18a9af 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 7f04140..083ff12 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 bd1e263..6d75a74 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 ce15b46..c2a99cf 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 859fd31..3753113 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 15e0446..7e7d64f 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 138f26b..e816117 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 e9aca67..cd86b8d 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 aa2627b..6d3b655 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 8e12032..7dfd2dd 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 01b4d06..85c4a54 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 b83b066..9c221c8 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 4cb46a8..f46cb73 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 9dbc354..9f2eecd 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 d0ff27b..3de99f5 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 8b5c5ec..7816ace 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 39fcbd1..2cf62aa 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 fc9cb4a..cfbd5f5 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 042e1a0..ac17d00 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 886a793..c09735f 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 21009ed..fddcb16 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 a404a98..1dcf51e 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 ef7ff40..0a2fd01 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 2973f48..5c32c99 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 5dd2e25..e6f5148 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 895a765..040aa9f 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 451c2b7..84ef71c 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 27f9495..0d8025b 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 2169553..9784f51 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 8f4bbb5..35b5e2a 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 8b3278a..63b5dc6 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 aceae70..3cd8772 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 ac667ee..5882235 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 f93c44b..ca42cdd 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 b9f60a8..a3285c0 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 6899e83..e9465b6 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 1b26682..26eb371 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 5afccae..1ce5ea7 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 c113b05..fa56372 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 fe8ef9e..21d17de 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 c95fb12..ed6f9c3 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 e0873d8..f5bb337 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 4f2e399..bc71e3a 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 70e5dc2..0b365fa 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 0535e6d..46ab4ca 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 c6d49d4..1cbf6d8 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 f1b4a8c..cd47152 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 9fac644..bd70675 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 901aed8..9168027 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 e1fb53d..afcbe83 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 de8c1d8..58615fc 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 6ba4188..f48d253 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 f0de395..ee9cbb8 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 fd7096c..944a3ab 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 51f6e45..2247743 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 92f17dd..aa5f19c 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 b798d74..7c004d1 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 c610aae..6ad797a 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 26795b6..495d38f 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 962e50e..45e9112 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 a81022c..528d206 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 d44c474..21fe369 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 17a303e..69f40ad 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 c774d3f..d2abd3a 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 1b32ab0..6928b1c 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 b33241b..97f4a7f 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 0ff3a7b..879d789 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 c29bfae..efba161 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 bbfb8eb..22c5ff2 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 0ec2600..416fc4c 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 f143123..fdad153 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 f691ab7..cd721ff 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 1c0c616..82a4ec1 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 45dae9d..bd5229c 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 2c8ec46..3b2ce19 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 6067e11..4b7e7e0 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 1b8dc62..60b6cd7 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 d238d9f..dc44b6f 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 b8bf7ac..e4627d0 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 5dd7e9d..5009e07 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 17b333b..e41075c 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 a374538..f262ca7 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 5e59df6..24fdaa5 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 026b2d2..ac49cbc 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 fdbb3e7..58da083 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 5c28ebf..549817a 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 39e7629..e610759 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 73c897b..15b7307 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 6df4f11..0473c18 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 e945e71..2881d88 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 975011e..a48c24d 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 b751637..fd4d54b 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 d49d864..2aaa405 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 6e37b37..9016975 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 2cb2290..b827399 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 662e733..b76cc30 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 704a8e0..f64282e 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 662e733..b76cc30 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 128face..bfb1a09 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 906561b..aaa42cc 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 1a886cc..aba3ef0 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 -- GitLab