Barkpark nothing

This commit is contained in:
Max Lynch
2015-05-16 05:05:18 +02:00
parent f613362e11
commit 89a345ef40
2 changed files with 8 additions and 12 deletions

View File

@ -12,10 +12,10 @@ import {
Tab, Content, Aside Tab, Content, Aside
} from 'ionic/ionic' } from 'ionic/ionic'
@Component() @Component({selector: 'ion-view'})
@View({ @View({
templateUrl: 'pages/login.html', templateUrl: 'pages/login.html',
directives: [FormDirectives, Button, Input, Content, Toolbar, HeaderTemplate] directives: [FormDirectives, Button, Input, Content, HeaderTemplate, Toolbar]
}) })
export class LoginPage { export class LoginPage {
constructor( nav: NavController ) { constructor( nav: NavController ) {
@ -50,9 +50,7 @@ new Routable(LoginPage, {
tag: 'login' tag: 'login'
}) })
@Component({ @Component({selector: 'ion-view'})
selector: 'signup-page'
})
@View({ @View({
templateUrl: 'pages/signup.html', templateUrl: 'pages/signup.html',
directives: [FormDirectives, Button, Input] directives: [FormDirectives, Button, Input]
@ -88,9 +86,7 @@ export class SignupPage {
@Component({ @Component({selector: 'ion-view'})
selector: 'app-page'
})
@View({ @View({
templateUrl: 'pages/app.html', templateUrl: 'pages/app.html',
directives: [FormDirectives, Button, Input, Tabs, Tab] directives: [FormDirectives, Button, Input, Tabs, Tab]
@ -102,7 +98,7 @@ export class AppPage {
} }
} }
@Component({ selector: 'stream-tab' }) @Component({selector: 'ion-view'})
@View({ @View({
templateUrl: 'pages/tabs/home.html', templateUrl: 'pages/tabs/home.html',
directives: [For, Content, List, Item] directives: [For, Content, List, Item]
@ -125,7 +121,7 @@ class StreamTab {
} }
} }
@Component({ selector: 'post-detail-tab' }) @Component({selector: 'ion-view'})
@View({ @View({
templateUrl: 'pages/post/detail.html', templateUrl: 'pages/post/detail.html',
directives: [Content] directives: [Content]
@ -140,7 +136,7 @@ class PostDetail {
} }
} }
@Component() @Component({selector: 'ion-view'})
@View({ @View({
templateUrl: 'pages/splash.html', templateUrl: 'pages/splash.html',
directives: [Content, Button] directives: [Content, Button]

View File

@ -1,2 +1,2 @@
<ion-nav #viewport [initial]="firstPage"> <ion-nav [initial]="firstPage">
</ion-nav> </ion-nav>