Skip to content

Commit c4751d2

Browse files
committed
Initial Commit
0 parents  commit c4751d2

File tree

77 files changed

+2118
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+2118
-0
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Specifies files to intentionally ignore when using Git
2+
# http://git-scm.com/docs/gitignore
3+
4+
node_modules/
5+
www/build/
6+
platforms/
7+
plugins/
8+
*.swp
9+
.DS_Store
10+
Thumbs.db

app/app.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import {App, Platform} from 'ionic-angular';
2+
import {StatusBar} from 'ionic-native';
3+
import {TabsPage} from './pages/tabs/tabs';
4+
5+
6+
@App({
7+
template: '<ion-nav [root]="rootPage"></ion-nav>',
8+
config: {} // http://ionicframework.com/docs/v2/api/config/Config/
9+
})
10+
export class MyApp {
11+
rootPage: any = TabsPage;
12+
13+
constructor(platform: Platform) {
14+
platform.ready().then(() => {
15+
// Okay, so the platform is ready and our plugins are available.
16+
// Here you can do any higher level native things you might need.
17+
StatusBar.styleDefault();
18+
});
19+
}
20+
}

app/pages/page1/page1.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<ion-navbar *navbar>
2+
<ion-title>Tab 1</ion-title>
3+
</ion-navbar>
4+
5+
<ion-content padding class="page1">
6+
<h2>Welcome to Ionic!</h2>
7+
<p>
8+
This starter project comes with simple tabs-based layout for apps
9+
that are going to primarily use a Tabbed UI.
10+
</p>
11+
<p>
12+
Take a look at the <code>app/</code> directory to add or change tabs,
13+
update any existing page or create new pages.
14+
</p>
15+
</ion-content>

app/pages/page1/page1.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.page1 {
2+
3+
}

app/pages/page1/page1.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {Page} from 'ionic-angular';
2+
3+
4+
@Page({
5+
templateUrl: 'build/pages/page1/page1.html',
6+
})
7+
export class Page1 {
8+
constructor() {
9+
10+
}
11+
}

app/pages/page2/page2.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
<ion-navbar *navbar>
3+
<ion-title>
4+
Tab 2
5+
</ion-title>
6+
</ion-navbar>
7+
8+
<ion-content class="page2">
9+
10+
</ion-content>

app/pages/page2/page2.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.page2 {
2+
3+
}

app/pages/page2/page2.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {Page} from 'ionic-angular';
2+
3+
4+
@Page({
5+
templateUrl: 'build/pages/page2/page2.html',
6+
})
7+
export class Page2 {
8+
constructor() {
9+
10+
}
11+
}

app/pages/page3/page3.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
<ion-navbar *navbar>
3+
<ion-title>
4+
Tab 3
5+
</ion-title>
6+
</ion-navbar>
7+
8+
<ion-content class="page3">
9+
10+
</ion-content>

app/pages/page3/page3.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.page3 {
2+
3+
}

0 commit comments

Comments
 (0)