1
0
Fork 0
mirror of https://github.com/sensebox/blockly-app synced 2025-07-03 20:00:23 +02:00

translate to mysensebox component

This commit is contained in:
Thiemann96 2020-03-06 15:17:02 +01:00
parent 8c00e7eeec
commit 01cf9073c2
4 changed files with 7 additions and 12 deletions

View file

@ -42,7 +42,7 @@ export class openSenseApp {
},
{
title: 'MENU.MYSENSEBOX',
icon: "settings",
icon: "person",
component : 'LoginPage'
}
];

View file

@ -1,15 +1,10 @@
<!--
Generated template for the MySenseBoxPage page.
See http://ionicframework.com/docs/components/#navigation for more info on
Ionic pages and navigation.
-->
<ion-header>
<ion-navbar>
<ion-title>mySenseBox</ion-title>
<button ion-button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>{{'MYSENSEBOX.TITLE' | translate}}</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<ion-grid>

View file

@ -1,12 +1,14 @@
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { MySenseBoxPage } from './my-sense-box';
import { TranslateModule } from '@ngx-translate/core';
@NgModule({
declarations: [
MySenseBoxPage,
],
imports: [
TranslateModule,
IonicPageModule.forChild(MySenseBoxPage),
],
})

View file

@ -1,6 +1,5 @@
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import {LoginProvider} from "../../providers/LoginProvider/LoginProvider";
import { SensorsPage } from '../sensors/sensors';
import { ConfigurationPage } from '../configuration/configuration';
/**
@ -20,7 +19,6 @@ export class MySenseBoxPage {
private token:string = this.navParams.data[1];
constructor(public navCtrl: NavController,
public navParams: NavParams,
private loginProvider: LoginProvider
) {
}