From 27b51018525dbb7a6edb3073819d82245387ddd3 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 10 Jan 2020 22:22:22 +0100 Subject: viewer: license headers --- viewer/public/index.html | 19 +++++++++ viewer/src/@types/gallery/index.d.ts | 19 +++++++++ viewer/src/@types/tag/Operation.ts | 19 +++++++++ viewer/src/@types/tag/index.d.ts | 19 +++++++++ viewer/src/assets/scss/_buefy_variables.scss | 59 ++++++++++++++++++---------- viewer/src/assets/scss/buefy.scss | 19 +++++++++ viewer/src/assets/scss/global.scss | 19 +++++++++ viewer/src/assets/scss/theme.scss | 19 +++++++++ viewer/src/components/LdButtonFullscreen.vue | 19 +++++++++ viewer/src/components/LdModeRadio.vue | 19 +++++++++ viewer/src/components/LdProposition.vue | 19 +++++++++ viewer/src/components/LdTagInput.vue | 19 +++++++++ viewer/src/components/index.ts | 19 +++++++++ viewer/src/main.ts | 19 +++++++++ viewer/src/plugins/buefy.ts | 19 +++++++++ viewer/src/plugins/fontawesome.ts | 19 +++++++++ viewer/src/plugins/i18n.ts | 19 +++++++++ viewer/src/router/index.ts | 19 +++++++++ viewer/src/store/galleryStore.ts | 19 +++++++++ viewer/src/store/index.ts | 19 +++++++++ viewer/src/store/uiStore.ts | 19 +++++++++ viewer/src/views/Gallery.vue | 19 +++++++++ viewer/src/views/GalleryDirectory.vue | 19 +++++++++ viewer/src/views/GalleryPicture.vue | 19 +++++++++ viewer/src/views/GallerySearch.vue | 19 +++++++++ viewer/src/views/GalleryThumbnail.vue | 19 +++++++++ viewer/src/views/MainLayout.vue | 19 +++++++++ viewer/src/views/PanelLeft.vue | 19 +++++++++ viewer/src/views/PanelTop.vue | 19 +++++++++ viewer/vue.config.js | 19 +++++++++ 30 files changed, 590 insertions(+), 20 deletions(-) diff --git a/viewer/public/index.html b/viewer/public/index.html index 1870ed0..bc9ba95 100644 --- a/viewer/public/index.html +++ b/viewer/public/index.html @@ -1,3 +1,22 @@ + + diff --git a/viewer/src/@types/gallery/index.d.ts b/viewer/src/@types/gallery/index.d.ts index 97cc207..25407e8 100644 --- a/viewer/src/@types/gallery/index.d.ts +++ b/viewer/src/@types/gallery/index.d.ts @@ -1,3 +1,22 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2019-2020 Guillaume FOUET +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + declare namespace Gallery { interface Picture extends Item { properties: PictureProperties, diff --git a/viewer/src/@types/tag/Operation.ts b/viewer/src/@types/tag/Operation.ts index a0de92b..f1e7a41 100644 --- a/viewer/src/@types/tag/Operation.ts +++ b/viewer/src/@types/tag/Operation.ts @@ -1,3 +1,22 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2019-2020 Guillaume FOUET +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + export enum Operation { INTERSECTION = '', ADDITION = '+', diff --git a/viewer/src/@types/tag/index.d.ts b/viewer/src/@types/tag/index.d.ts index 181f47a..c77fc3b 100644 --- a/viewer/src/@types/tag/index.d.ts +++ b/viewer/src/@types/tag/index.d.ts @@ -1,3 +1,22 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2019-2020 Guillaume FOUET +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + declare namespace Tag { interface Node { tag: Gallery.RawTag; diff --git a/viewer/src/assets/scss/_buefy_variables.scss b/viewer/src/assets/scss/_buefy_variables.scss index 716a1ec..e008269 100644 --- a/viewer/src/assets/scss/_buefy_variables.scss +++ b/viewer/src/assets/scss/_buefy_variables.scss @@ -1,34 +1,54 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2019-2020 Guillaume FOUET +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + // Included below are all the defined variables from Bulma // Modify as needed, removing the !default attribute. // Colors -$black: hsl(0, 0%, 4%) !default; -$black-bis: hsl(0, 0%, 7%) !default; -$black-ter: hsl(0, 0%, 14%) !default; +$black: hsl(0, 0%, 4%) !default; +$black-bis: hsl(0, 0%, 7%) !default; +$black-ter: hsl(0, 0%, 14%) !default; -$grey-darker: hsl(0, 0%, 21%) !default; -$grey-dark: hsl(0, 0%, 29%) !default; -$grey: hsl(0, 0%, 48%) !default; -$grey-light: hsl(0, 0%, 71%) !default; +$grey-darker: hsl(0, 0%, 21%) !default; +$grey-dark: hsl(0, 0%, 29%) !default; +$grey: hsl(0, 0%, 48%) !default; +$grey-light: hsl(0, 0%, 71%) !default; $grey-lighter: hsl(0, 0%, 86%) !default; -$white-ter: hsl(0, 0%, 96%) !default; -$white-bis: hsl(0, 0%, 98%) !default; -$white: hsl(0, 0%, 100%) !default; +$white-ter: hsl(0, 0%, 96%) !default; +$white-bis: hsl(0, 0%, 98%) !default; +$white: hsl(0, 0%, 100%) !default; -$orange: hsl(14, 100%, 53%) !default; -$yellow: hsl(48, 100%, 67%) !default; -$green: hsl(141, 71%, 48%) !default; -$turquoise: hsl(171, 100%, 41%) !default; -$cyan: hsl(204, 86%, 53%) !default; -$blue: hsl(217, 71%, 53%) !default; -$purple: hsl(271, 100%, 71%) !default; -$red: hsl(348, 100%, 61%) !default; +$orange: hsl(14, 100%, 53%) !default; +$yellow: hsl(48, 100%, 67%) !default; +$green: hsl(141, 71%, 48%) !default; +$turquoise: hsl(171, 100%, 41%) !default; +$cyan: hsl(204, 86%, 53%) !default; +$blue: hsl(217, 71%, 53%) !default; +$purple: hsl(271, 100%, 71%) !default; +$red: hsl(348, 100%, 61%) !default; // Typography -$family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default; +$family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", + "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default; $family-monospace: monospace !default; $render-mode: optimizeLegibility !default; @@ -72,7 +92,6 @@ $speed: 86ms !default; $variable-columns: true !default; - // The default Bulma derived variables are declared below $primary: $turquoise !default; diff --git a/viewer/src/assets/scss/buefy.scss b/viewer/src/assets/scss/buefy.scss index b018fd3..7fdb883 100644 --- a/viewer/src/assets/scss/buefy.scss +++ b/viewer/src/assets/scss/buefy.scss @@ -1,3 +1,22 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2019-2020 Guillaume FOUET +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + @import "~bulma/sass/utilities/initial-variables"; @import "~bulma/sass/utilities/functions"; // 1. Set your own initial variables and derived diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss index 5d12976..7afca8c 100644 --- a/viewer/src/assets/scss/global.scss +++ b/viewer/src/assets/scss/global.scss @@ -1,3 +1,22 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2019-2020 Guillaume FOUET +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + // Global CSS // === Forms diff --git a/viewer/src/assets/scss/theme.scss b/viewer/src/assets/scss/theme.scss index a8ee0be..79e14e1 100644 --- a/viewer/src/assets/scss/theme.scss +++ b/viewer/src/assets/scss/theme.scss @@ -1,3 +1,22 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2019-2020 Guillaume FOUET +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + // === Theme $layout-top: 70px; diff --git a/viewer/src/components/LdButtonFullscreen.vue b/viewer/src/components/LdButtonFullscreen.vue index 2302a27..39d59af 100644 --- a/viewer/src/components/LdButtonFullscreen.vue +++ b/viewer/src/components/LdButtonFullscreen.vue @@ -1,3 +1,22 @@ + + diff --git a/viewer/src/components/LdModeRadio.vue b/viewer/src/components/LdModeRadio.vue index 614bf33..c1d5702 100644 --- a/viewer/src/components/LdModeRadio.vue +++ b/viewer/src/components/LdModeRadio.vue @@ -1,3 +1,22 @@ + +