From b28f0b67a25f201cbcd432f45cc283e0f10f1a9d Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sat, 12 Nov 2022 20:02:23 -0700 Subject: [PATCH] Fix billing section --- img/billing.svg | 82 ++++++++++++++++++++++++++++++++++ lib/Sections/Billing.php | 4 +- templates/settings/billing.php | 32 +++++++++++++ 3 files changed, 116 insertions(+), 2 deletions(-) create mode 100644 img/billing.svg create mode 100644 templates/settings/billing.php diff --git a/img/billing.svg b/img/billing.svg new file mode 100644 index 0000000..f28d9ea --- /dev/null +++ b/img/billing.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + diff --git a/lib/Sections/Billing.php b/lib/Sections/Billing.php index a526896..db229a4 100644 --- a/lib/Sections/Billing.php +++ b/lib/Sections/Billing.php @@ -5,7 +5,7 @@ use OCP\IL10N; use OCP\IURLGenerator; use OCP\Settings\IIconSection; -class BillingSection implements IIconSection { +class Billing implements IIconSection { private IL10N $l; private IURLGenerator $urlGenerator; @@ -27,6 +27,6 @@ class BillingSection implements IIconSection { } public function getPriority(): int { - return 98; + return 1; } } diff --git a/templates/settings/billing.php b/templates/settings/billing.php new file mode 100644 index 0000000..d9c572c --- /dev/null +++ b/templates/settings/billing.php @@ -0,0 +1,32 @@ + + * + * @author Raoul Snyman + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ +?> + +
+

t('Billing'));?>

+
+

+

+
+
+