mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
docs(demos): add weather card outline
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar android-attr">
|
||||
<ion-title>Advanced: Image</ion-title>
|
||||
<ion-title>Image Card</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo cards-bg">
|
||||
@ -8,7 +8,7 @@
|
||||
<ion-card>
|
||||
|
||||
<ion-card-content>
|
||||
This is just your basic card with some text to boot. Like it? Keep scrolling...
|
||||
TODO
|
||||
</ion-card-content>
|
||||
|
||||
</ion-card>
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar android-attr">
|
||||
<ion-title>Advanced: Map</ion-title>
|
||||
<ion-title>Map Card</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo cards-bg">
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar android-attr">
|
||||
<ion-title>Advanced: Social</ion-title>
|
||||
<ion-title>Social Card</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo cards-bg">
|
||||
|
21
demos/component-docs/cards/cards-advanced-weather.html
Normal file
21
demos/component-docs/cards/cards-advanced-weather.html
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar android-attr">
|
||||
<ion-title>Weather Card</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo cards-bg">
|
||||
|
||||
<ion-card>
|
||||
|
||||
<ion-card-content>
|
||||
TODO
|
||||
</ion-card-content>
|
||||
|
||||
</ion-card>
|
||||
|
||||
|
||||
</ion-content>
|
||||
|
||||
|
||||
|
||||
|
@ -82,3 +82,13 @@ export class CardsAdvancedImagePage {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Page({
|
||||
templateUrl: 'cards/cards-advanced-weather.html',
|
||||
directives: [forwardRef(() => AndroidAttribute)]
|
||||
})
|
||||
export class CardsAdvancedWeatherPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,8 @@ import {CardsBasicPage,
|
||||
CardsBackgroundPage,
|
||||
CardsAdvancedMapPage,
|
||||
CardsAdvancedSocialPage,
|
||||
CardsAdvancedImagePage} from './cards/cards';
|
||||
CardsAdvancedImagePage,
|
||||
CardsAdvancedWeatherPage} from './cards/cards';
|
||||
|
||||
import {FormsPage,
|
||||
FixedInlinePage,
|
||||
@ -120,6 +121,8 @@ export function getPageFor(hash) {
|
||||
'card-advanced-map': CardsAdvancedMapPage,
|
||||
'card-advanced-social': CardsAdvancedSocialPage,
|
||||
'card-advanced-image': CardsAdvancedImagePage,
|
||||
'card-advanced-weather': CardsAdvancedWeatherPage,
|
||||
|
||||
|
||||
'forms': FormsPage,
|
||||
'fixed-inline-labels': FixedInlinePage,
|
||||
|
Reference in New Issue
Block a user