diff --git a/appinfo/info.xml b/appinfo/info.xml index be8634f1..997b0587 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -3,10 +3,8 @@ xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> health Health - Track your health. Use the advantages of a trusted platform. - Track your health privately. + - 1.6.2 + 1.6.3 agpl Florian Steffens Health diff --git a/css/icons.scss b/css/icons.scss deleted file mode 100644 index e2fff6a7..00000000 --- a/css/icons.scss +++ /dev/null @@ -1,24 +0,0 @@ - -/** - * @copyright Copyright (c) 2020 Florian Steffens - * - * @author Florian Steffens - * - * @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 . - * - */ - -@include icon-black-white('health', 'app', 1); diff --git a/cypress/e2e/health.cy.js b/cypress/e2e/health.cy.js index 3ed42029..bf6e1133 100644 --- a/cypress/e2e/health.cy.js +++ b/cypress/e2e/health.cy.js @@ -14,6 +14,6 @@ describe('The Home Page', () => { }) it('successfully loads', () => { - cy.get('h2').contains('Welcome to your health center').should('be.visible') + cy.get('h2').contains('Health').should('be.visible') }) }) diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 789f478b..aa83f111 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -43,12 +43,12 @@ public function __construct($appName, IRequest $request) { * @NoAdminRequired * @NoCSRFRequired */ - public function index() { + public function index(): TemplateResponse { // $this->cesService->transformDatasets(); // Util::addScript($this->appName, 'vue-chartjs.min'); Util::addScript($this->appName, 'health-main'); // Util::addScript($this->appName, 'health'); - Util::addStyle($this->appName, 'icons'); + //Util::addStyle($this->appName, 'icons'); //Util::addStyle($this->appName, 'bulma.min'); $response = new TemplateResponse($this->appName, 'main'); diff --git a/src/App.vue b/src/App.vue index cbd71358..c9801c3f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,14 +2,11 @@ -
+
- +
-

- {{ person.name }} -

@@ -18,138 +15,42 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/src/Startpage.vue b/src/Startpage.vue new file mode 100644 index 00000000..b2b887b6 --- /dev/null +++ b/src/Startpage.vue @@ -0,0 +1,23 @@ + + + diff --git a/src/modules/activities/ActivitiesChart.vue b/src/modules/activities/ActivitiesChart.vue index 97e39978..072aff9f 100644 --- a/src/modules/activities/ActivitiesChart.vue +++ b/src/modules/activities/ActivitiesChart.vue @@ -32,7 +32,7 @@ - diff --git a/src/modules/sleep/SleepChart.vue b/src/modules/sleep/SleepChart.vue index 31c52763..453deec1 100644 --- a/src/modules/sleep/SleepChart.vue +++ b/src/modules/sleep/SleepChart.vue @@ -32,7 +32,7 @@