summary refs log tree commit diff stats
path: root/src/components
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-21 19:39:03 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-21 19:39:03 +0100
commit5cfa9fa96401f130ff94bd74b5e247313c1c921d (patch)
treed8ff63b0e23e74ce46f24fe7e74444cda9c4656a /src/components
parentbuild(cog): Init (diff)
downloadweb-client-5cfa9fa96401f130ff94bd74b5e247313c1c921d.zip
chore(treewide): Apply copyright notices
Diffstat (limited to 'src/components')
-rw-r--r--src/components/async_fetch.rs10
-rw-r--r--src/components/banner.rs10
-rw-r--r--src/components/buy.rs.license9
-rw-r--r--src/components/catch_errors.rs10
-rw-r--r--src/components/checkbox_placeholder.rs10
-rw-r--r--src/components/container.rs10
-rw-r--r--src/components/form.rs10
-rw-r--r--src/components/icon_p.rs10
-rw-r--r--src/components/input_placeholder.rs10
-rw-r--r--src/components/inventory.rs10
-rw-r--r--src/components/login_wall.rs10
-rw-r--r--src/components/mod.rs10
-rw-r--r--src/components/product_overview.rs10
-rw-r--r--src/components/product_parent_overview.rs10
-rw-r--r--src/components/recipies.rs10
-rw-r--r--src/components/select_placeholder.rs10
-rw-r--r--src/components/site_header.rs10
-rw-r--r--src/components/textarea_placeholder.rs10
-rw-r--r--src/components/unit_overview.rs10
19 files changed, 189 insertions, 0 deletions
diff --git a/src/components/async_fetch.rs b/src/components/async_fetch.rs
index 43469a7..b32de10 100644
--- a/src/components/async_fetch.rs
+++ b/src/components/async_fetch.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 macro_rules! AsyncResource {
     (
         (
diff --git a/src/components/banner.rs b/src/components/banner.rs
index 3244a07..856e718 100644
--- a/src/components/banner.rs
+++ b/src/components/banner.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     prelude::{ClassAttribute, ElementChild},
diff --git a/src/components/buy.rs.license b/src/components/buy.rs.license
new file mode 100644
index 0000000..fda8ef4
--- /dev/null
+++ b/src/components/buy.rs.license
@@ -0,0 +1,9 @@
+rocie - An enterprise grocery management system - Web app
+
+Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Rocie.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/src/components/catch_errors.rs b/src/components/catch_errors.rs
index d5a452d..fed6c4c 100644
--- a/src/components/catch_errors.rs
+++ b/src/components/catch_errors.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     error::ErrorBoundary,
diff --git a/src/components/checkbox_placeholder.rs b/src/components/checkbox_placeholder.rs
index a1aaa0c..2006808 100644
--- a/src/components/checkbox_placeholder.rs
+++ b/src/components/checkbox_placeholder.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     html::Input,
diff --git a/src/components/container.rs b/src/components/container.rs
index 3b56713..32005c5 100644
--- a/src/components/container.rs
+++ b/src/components/container.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     prelude::{Children, ClassAttribute, ElementChild},
diff --git a/src/components/form.rs b/src/components/form.rs
index 9c371ad..f2ae396 100644
--- a/src/components/form.rs
+++ b/src/components/form.rs
@@ -1 +1,11 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 pub(crate) use rocie_macros::Form;
diff --git a/src/components/icon_p.rs b/src/components/icon_p.rs
index 372e280..cf979ad 100644
--- a/src/components/icon_p.rs
+++ b/src/components/icon_p.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     prelude::{ClassAttribute, ElementChild, Signal},
diff --git a/src/components/input_placeholder.rs b/src/components/input_placeholder.rs
index 0589363..47cd06d 100644
--- a/src/components/input_placeholder.rs
+++ b/src/components/input_placeholder.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     error::Error,
diff --git a/src/components/inventory.rs b/src/components/inventory.rs
index 31b1c12..905e066 100644
--- a/src/components/inventory.rs
+++ b/src/components/inventory.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{IntoView, component, view};
 
 use crate::{
diff --git a/src/components/login_wall.rs b/src/components/login_wall.rs
index fd5c64f..134e278 100644
--- a/src/components/login_wall.rs
+++ b/src/components/login_wall.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     error::Error,
diff --git a/src/components/mod.rs b/src/components/mod.rs
index 2a3a0b1..ac9c9a7 100644
--- a/src/components/mod.rs
+++ b/src/components/mod.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use std::sync::atomic::{AtomicU32, Ordering};
 
 // Generic
diff --git a/src/components/product_overview.rs b/src/components/product_overview.rs
index 233b8a7..6cded3f 100644
--- a/src/components/product_overview.rs
+++ b/src/components/product_overview.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{IntoView, component, view};
 
 use crate::{
diff --git a/src/components/product_parent_overview.rs b/src/components/product_parent_overview.rs
index 4aa2a0f..ad55f9f 100644
--- a/src/components/product_parent_overview.rs
+++ b/src/components/product_parent_overview.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{IntoView, component, view};
 
 use crate::{
diff --git a/src/components/recipies.rs b/src/components/recipies.rs
index 755954e..81975fb 100644
--- a/src/components/recipies.rs
+++ b/src/components/recipies.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{IntoView, component, view};
 
 use crate::{
diff --git a/src/components/select_placeholder.rs b/src/components/select_placeholder.rs
index 7289793..06c9103 100644
--- a/src/components/select_placeholder.rs
+++ b/src/components/select_placeholder.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     error::Error,
diff --git a/src/components/site_header.rs b/src/components/site_header.rs
index 65f7137..f1d80c1 100644
--- a/src/components/site_header.rs
+++ b/src/components/site_header.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use icondata_core::Icon as DataIcon;
 use leptos::prelude::{ClassAttribute, ElementChild, IntoView, OnAttribute, component, view};
 use leptos_icons::Icon;
diff --git a/src/components/textarea_placeholder.rs b/src/components/textarea_placeholder.rs
index a0bae6d..1feb19f 100644
--- a/src/components/textarea_placeholder.rs
+++ b/src/components/textarea_placeholder.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{
     IntoView, component,
     html::Textarea,
diff --git a/src/components/unit_overview.rs b/src/components/unit_overview.rs
index 0ea3825..66e8b26 100644
--- a/src/components/unit_overview.rs
+++ b/src/components/unit_overview.rs
@@ -1,3 +1,13 @@
+// rocie - An enterprise grocery management system - Web app
+//
+// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Rocie.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use leptos::{IntoView, component, view};
 use rocie_client::models::{Unit, UnitProperty};