mirror of
https://github.com/sensebox/blockly-app
synced 2025-07-04 04:30:21 +02:00
translate to mysensebox component
This commit is contained in:
parent
8c00e7eeec
commit
01cf9073c2
4 changed files with 7 additions and 12 deletions
|
@ -42,7 +42,7 @@ export class openSenseApp {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'MENU.MYSENSEBOX',
|
title: 'MENU.MYSENSEBOX',
|
||||||
icon: "settings",
|
icon: "person",
|
||||||
component : 'LoginPage'
|
component : 'LoginPage'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -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-header>
|
||||||
|
|
||||||
<ion-navbar>
|
<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-navbar>
|
||||||
|
|
||||||
</ion-header>
|
</ion-header>
|
||||||
<ion-content padding>
|
<ion-content padding>
|
||||||
<ion-grid>
|
<ion-grid>
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { IonicPageModule } from 'ionic-angular';
|
import { IonicPageModule } from 'ionic-angular';
|
||||||
import { MySenseBoxPage } from './my-sense-box';
|
import { MySenseBoxPage } from './my-sense-box';
|
||||||
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
MySenseBoxPage,
|
MySenseBoxPage,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
|
TranslateModule,
|
||||||
IonicPageModule.forChild(MySenseBoxPage),
|
IonicPageModule.forChild(MySenseBoxPage),
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { IonicPage, NavController, NavParams } from 'ionic-angular';
|
import { IonicPage, NavController, NavParams } from 'ionic-angular';
|
||||||
import {LoginProvider} from "../../providers/LoginProvider/LoginProvider";
|
|
||||||
import { SensorsPage } from '../sensors/sensors';
|
import { SensorsPage } from '../sensors/sensors';
|
||||||
import { ConfigurationPage } from '../configuration/configuration';
|
import { ConfigurationPage } from '../configuration/configuration';
|
||||||
/**
|
/**
|
||||||
|
@ -20,7 +19,6 @@ export class MySenseBoxPage {
|
||||||
private token:string = this.navParams.data[1];
|
private token:string = this.navParams.data[1];
|
||||||
constructor(public navCtrl: NavController,
|
constructor(public navCtrl: NavController,
|
||||||
public navParams: NavParams,
|
public navParams: NavParams,
|
||||||
private loginProvider: LoginProvider
|
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue