diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-06-08 15:39:26 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-07-15 09:24:51 +0200 |
commit | 5a1874910bbb87551bb0195b725279c9c1a33beb (patch) | |
tree | 2617abd68c8c4161a5f110d477fa3416a3f8a337 /apps/dashboard/appinfo | |
parent | 544fcdb549381f233dbfd9ca57cf6e7afb490104 (diff) | |
download | nextcloud-server-5a1874910bbb87551bb0195b725279c9c1a33beb.tar.gz nextcloud-server-5a1874910bbb87551bb0195b725279c9c1a33beb.zip |
Add dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard/appinfo')
-rw-r--r-- | apps/dashboard/appinfo/app.php | 24 | ||||
-rw-r--r-- | apps/dashboard/appinfo/info.xml | 30 | ||||
-rw-r--r-- | apps/dashboard/appinfo/routes.php | 28 |
3 files changed, 82 insertions, 0 deletions
diff --git a/apps/dashboard/appinfo/app.php b/apps/dashboard/appinfo/app.php new file mode 100644 index 00000000000..3edd53762fd --- /dev/null +++ b/apps/dashboard/appinfo/app.php @@ -0,0 +1,24 @@ +<?php +/** + * @copyright Copyright (c) 2020 Julius Härtl <jus@bitgrid.net> + * + * @author Julius Härtl <jus@bitgrid.net> + * + * @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 <http://www.gnu.org/licenses/>. + * + */ + +$app = new \OCP\AppFramework\App('dashboard'); diff --git a/apps/dashboard/appinfo/info.xml b/apps/dashboard/appinfo/info.xml new file mode 100644 index 00000000000..9d3b7fc8418 --- /dev/null +++ b/apps/dashboard/appinfo/info.xml @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> + <id>dashboard</id> + <name>Dashboard</name> + <summary>Dashboard app</summary> + <description><![CDATA[Show something]]></description> + <version>7.0.0</version> + <licence>agpl</licence> + <author>Julius Härtl</author> + <namespace>Dashboard</namespace> + <default_enable/> + + <category>customization</category> + + <bugs>https://github.com/nextcloud/server/issues</bugs> + + <dependencies> + <nextcloud min-version="20" max-version="20"/> + </dependencies> + + <navigations> + <navigation> + <name>Dashboard</name> + <route>dashboard.dashboard.index</route> + <icon>dashboard.svg</icon> + <order>-1</order> + </navigation> + </navigations> +</info> diff --git a/apps/dashboard/appinfo/routes.php b/apps/dashboard/appinfo/routes.php new file mode 100644 index 00000000000..5ad8e9073d0 --- /dev/null +++ b/apps/dashboard/appinfo/routes.php @@ -0,0 +1,28 @@ +<?php +/** + * @copyright Copyright (c) 2020 Julius Härtl <jus@bitgrid.net> + * + * @author Julius Härtl <jus@bitgrid.net> + * + * @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 <http://www.gnu.org/licenses/>. + * + */ + +return [ + 'routes' => [ + ['name' => 'dashboard#index', 'url' => '/', 'verb' => 'GET'], + ] +]; |