This commit is contained in:
Adam Bradley
2015-04-07 16:12:29 -05:00
parent ac891d869e
commit ca85b7be2c
15 changed files with 141 additions and 9 deletions

View File

@@ -11,4 +11,36 @@
<button class="button">s1</button>
</ion-nav-items>
<ion-content class="padding">
<p>
A long time ago, in a galaxy far,
far away....
</p>
<p>
It is a period of civil war.
Rebel spaceships, striking
from a hidden base, have won
their first victory against
the evil Galactic Empire.
</p>
<p>
During the battle, rebel
spies managed to steal secret
plans to the Empire's
ultimate weapon, the DEATH
STAR, an armored space
station with enough power to
destroy an entire planet.
</p>
<p>
Pursued by the Empire's
sinister agents, Princess
Leia races home aboard her
starship, custodian of the
stolen plans that can save
her people and restore
freedom to the galaxy....
</p>
</ion-content>
</ion-view>

View File

@@ -29,12 +29,13 @@ export let ToolbarConfig = new ComponentConfig('toolbar')
<div class="toolbar-item toolbar-secondary-item">
<content select="ion-nav-items[side=secondary]"></content>
</div>
</div>`,
</div>
<div class="shared-toolbar"></div>`,
directives: [BackButton]
})
export class Toolbar {
constructor(
@NgElement() ngEle:NgElement,
@NgElement() ngEle:NgElement,
configFactory: ToolbarConfig
) {
this.domElement = ngEle.domElement

View File

@@ -71,3 +71,12 @@ $toolbar-background: #f7f7f8 !default;
.toolbar-secondary-item {
@include flex-order(4);
}
.shared-toolbar {
display: none;
width: 100%;
height: 44px;
background: red;
}