mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-26 22:06:41 -06:00
remove showcase app, move to dedicated demo repo
This commit is contained in:
parent
c163b6ba24
commit
a00063c92b
41 changed files with 1 additions and 695 deletions
|
|
@ -1,7 +1,7 @@
|
|||
Package.describe({
|
||||
name: "meteoric:ionic",
|
||||
summary: "Ionic components for Meteor. No Angular!",
|
||||
version: "0.1.0",
|
||||
version: "0.1.1",
|
||||
git: "https://github.com/meteoric/meteor-ionic.git"
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
# This file contains information which helps Meteor properly upgrade your
|
||||
# app when you run 'meteor update'. You should check it into version control
|
||||
# with your project.
|
||||
|
||||
notices-for-0.9.0
|
||||
notices-for-0.9.1
|
||||
0.9.4-platform-file
|
||||
1
showcase/.meteor/.gitignore
vendored
1
showcase/.meteor/.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
local
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
# This file contains a token that is unique to your project.
|
||||
# Check it into your repository along with the rest of this directory.
|
||||
# It can be used for purposes such as:
|
||||
# - ensuring you don't accidentally deploy one app on top of another
|
||||
# - providing package authors with aggregated statistics
|
||||
|
||||
1dybwu51x7kuz21gsjxku
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
# Meteor packages used by this project, one per line.
|
||||
#
|
||||
# 'meteor add' and 'meteor remove' will edit this file for you,
|
||||
# but you can also edit it by hand.
|
||||
|
||||
meteor-platform
|
||||
autopublish
|
||||
insecure
|
||||
accounts-password
|
||||
fourseven:scss
|
||||
iron:router
|
||||
zimme:iron-router-active
|
||||
meteoric:ionic-sass
|
||||
meteoric:ionicons-sass
|
||||
meteoric:ionic
|
||||
meteoric:autoform-ionic
|
||||
useraccounts:ionic
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
server
|
||||
browser
|
||||
|
|
@ -1 +0,0 @@
|
|||
METEOR@1.0.1
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
accounts-base@1.1.2
|
||||
accounts-password@1.0.4
|
||||
aldeed:autoform@4.2.0
|
||||
aldeed:simple-schema@1.1.0
|
||||
application-configuration@1.0.3
|
||||
autopublish@1.0.1
|
||||
autoupdate@1.1.3
|
||||
base64@1.0.1
|
||||
binary-heap@1.0.1
|
||||
blaze-tools@1.0.1
|
||||
blaze@2.0.3
|
||||
boilerplate-generator@1.0.1
|
||||
callback-hook@1.0.1
|
||||
check@1.0.2
|
||||
coffeescript@1.0.4
|
||||
ctl-helper@1.0.4
|
||||
ctl@1.0.2
|
||||
ddp@1.0.12
|
||||
deps@1.0.5
|
||||
ejson@1.0.4
|
||||
email@1.0.4
|
||||
fastclick@1.0.1
|
||||
follower-livedata@1.0.2
|
||||
fourseven:scss@1.0.0
|
||||
geojson-utils@1.0.1
|
||||
html-tools@1.0.2
|
||||
htmljs@1.0.2
|
||||
http@1.0.8
|
||||
id-map@1.0.1
|
||||
insecure@1.0.1
|
||||
iron:controller@1.0.3
|
||||
iron:core@1.0.3
|
||||
iron:dynamic-template@1.0.3
|
||||
iron:layout@1.0.3
|
||||
iron:location@1.0.3
|
||||
iron:middleware-stack@1.0.3
|
||||
iron:router@1.0.3
|
||||
iron:url@1.0.3
|
||||
jquery@1.0.1
|
||||
json@1.0.1
|
||||
launch-screen@1.0.0
|
||||
less@1.0.11
|
||||
livedata@1.0.11
|
||||
localstorage@1.0.1
|
||||
logging@1.0.5
|
||||
meteor-platform@1.2.0
|
||||
meteor@1.1.3
|
||||
meteoric:autoform-ionic@0.1.0
|
||||
meteoric:ionic-sass@0.1.4
|
||||
meteoric:ionic@0.1.0
|
||||
meteoric:ionicons-sass@0.1.4
|
||||
minifiers@1.1.2
|
||||
minimongo@1.0.5
|
||||
mobile-status-bar@1.0.1
|
||||
mongo@1.0.9
|
||||
mrt:moment@2.6.0
|
||||
npm-bcrypt@0.7.7
|
||||
observe-sequence@1.0.3
|
||||
ordered-dict@1.0.1
|
||||
random@1.0.1
|
||||
reactive-dict@1.0.4
|
||||
reactive-var@1.0.3
|
||||
reload@1.1.1
|
||||
retry@1.0.1
|
||||
routepolicy@1.0.2
|
||||
service-configuration@1.0.2
|
||||
session@1.0.4
|
||||
sha@1.0.1
|
||||
softwarerero:accounts-t9n@1.0.4
|
||||
spacebars-compiler@1.0.3
|
||||
spacebars@1.0.3
|
||||
srp@1.0.1
|
||||
templating@1.0.9
|
||||
tracker@1.0.3
|
||||
ui@1.0.4
|
||||
underscore@1.0.1
|
||||
url@1.0.2
|
||||
useraccounts:core@1.4.0
|
||||
useraccounts:ionic@1.4.0
|
||||
webapp-hashing@1.0.1
|
||||
webapp@1.1.4
|
||||
wizonesolutions:underscore-string@1.0.0
|
||||
zimme:iron-router-active@1.0.1
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
Router.configure({
|
||||
layoutTemplate: 'layout'
|
||||
});
|
||||
|
||||
Router.map(function() {
|
||||
this.route('index', {path: '/'});
|
||||
this.route('actionSheet');
|
||||
this.route('backdrop');
|
||||
this.route('forms');
|
||||
this.route('headersFooters');
|
||||
this.route('lists');
|
||||
this.route('loading');
|
||||
this.route('modal');
|
||||
this.route('navigation');
|
||||
this.route('popover');
|
||||
this.route('popup');
|
||||
this.route('sideMenu');
|
||||
this.route('slideBox');
|
||||
this.route('tabs.one', {path: '/tabs/one'});
|
||||
this.route('tabs.two', {path: '/tabs/two'});
|
||||
this.route('tabs.three', {path: '/tabs/three'});
|
||||
this.route('tabs.four', {path: '/tabs/four'});
|
||||
this.route('userAccounts');
|
||||
});
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<head>
|
||||
<title>Meteor Ionic Showcase</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<template name="layout">
|
||||
{{#ionBody}}
|
||||
{{> yield}}
|
||||
{{/ionBody}}
|
||||
</template>
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
$positive: #DE4F4F;
|
||||
|
||||
@import '.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic';
|
||||
@import '.meteor/local/build/programs/server/assets/packages/meteoric_ionicons-sass/ionicons';
|
||||
|
||||
.popover {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.item p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.item-button-left, .item-button-right {
|
||||
button {
|
||||
top: 16px;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
<template name="actionSheet">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Action Sheet</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
<button class="button button-large button-stable" data-action="showActionSheet">
|
||||
Show Action Sheet
|
||||
</button>
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
Template.actionSheet.events({
|
||||
'click [data-action=showActionSheet]': function (event, template) {
|
||||
IonActionSheet.show({
|
||||
titleText: 'ActionSheet Example',
|
||||
buttons: [
|
||||
{ text: 'Share <i class="icon ion-share"></i>' },
|
||||
{ text: 'Move <i class="icon ion-arrow-move"></i>' },
|
||||
],
|
||||
destructiveText: 'Delete',
|
||||
cancelText: 'Cancel',
|
||||
cancel: function() {
|
||||
alert('Cancelled!');
|
||||
},
|
||||
buttonClicked: function(index) {
|
||||
if (index === 0) {
|
||||
alert('Shared!');
|
||||
}
|
||||
if (index === 1) {
|
||||
alert('Moved!');
|
||||
}
|
||||
return true;
|
||||
},
|
||||
destructiveButtonClicked: function() {
|
||||
alert('Destructive Action!');
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
<template name="backdrop">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Backdrop</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
<button class="button button-large button-stable" data-action="showBackdrop">
|
||||
Show Backdrop
|
||||
</button>
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
Template.backdrop.events({
|
||||
'click [data-action=showBackdrop]': function (event, template) {
|
||||
IonBackdrop.retain();
|
||||
|
||||
Meteor.setTimeout(function () {
|
||||
IonBackdrop.release();
|
||||
}, 1000);
|
||||
}
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<template name="forms">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Forms</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent class="padding"}}
|
||||
<p>
|
||||
Forms use the <a href="https://github.com/meteoric/autoform-ionic" class="positive" target="_blank"><i>meteoric:autoform-ionic</i> package.</a>
|
||||
</p>
|
||||
<a href="http://autoform-ionic.meteor.com/" class="button button-positive" target="_blank">{{> ionIcon icon="ios-upload-outline"}} Launch Example</a>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
<template name="headersFooters">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Headers & Footers</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionSubheaderBar}}
|
||||
<h2 class="title">Subheader</h2>
|
||||
{{/ionSubheaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
Content goes here
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
|
||||
{{#ionFooterBar class="bar-dark"}}
|
||||
<h1 class="title">Footer</h1>
|
||||
{{/ionFooterBar}}
|
||||
|
||||
</template>
|
||||
|
|
@ -1,95 +0,0 @@
|
|||
<template name="index">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<h1 class="title">Meteor Ionic</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
{{#ionList}}
|
||||
|
||||
{{#ionItem path="actionSheet" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
Action Sheet
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="backdrop" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
Backdrop
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="forms" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
Forms
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="headersFooters" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
Headers & Footers
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="lists" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-minus-outline" class="positive"}}
|
||||
Lists
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="loading" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
Loading
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="modal" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
Modal
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="navigation" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-close-outline" class="positive"}}
|
||||
Navigation
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="popover" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
Popover
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="popup" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-close-outline" class="positive"}}
|
||||
Popup
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="sideMenu" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
Side Menu
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="slideBox" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-close-outline" class="positive"}}
|
||||
Slide Box
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="tabs.one" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-minus-outline" class="positive"}}
|
||||
Tabs
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{#ionItem path="userAccounts" iconLeft=true iconRight=true}}
|
||||
{{> ionIcon icon="ios-checkmark" class="positive"}}
|
||||
User Accounts
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
{{/ionItem}}
|
||||
|
||||
{{/ionList}}
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<template name="lists">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Lists</h1>
|
||||
<button class="button button-clear" onclick="alert('TODO')">Edit</button>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
{{#ionList}}
|
||||
|
||||
{{#each times}}
|
||||
|
||||
{{#ionItem buttonRight=true avatar=true}}
|
||||
|
||||
<img src="https://randomuser.me/api/portraits/thumb/men/27.jpg">
|
||||
<h2>John Smith</h2>
|
||||
<p>
|
||||
(555) 555-1212
|
||||
</p>
|
||||
<button class="button button-positive">{{> ionIcon icon="ios-telephone"}}</button>
|
||||
|
||||
{{/ionItem}}
|
||||
|
||||
{{/each}}
|
||||
|
||||
{{/ionList}}
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
Template.lists.helpers({
|
||||
times: function () {
|
||||
var times = [];
|
||||
_(20).times(function(n){
|
||||
times.push(n);
|
||||
});
|
||||
return times;
|
||||
}
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
<template name="loading">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Loading</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
<button class="button button-large button-stable" data-action="showLoading">
|
||||
Show Loading
|
||||
</button>
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
Template.loading.events({
|
||||
'click [data-action=showLoading]': function (event, template) {
|
||||
IonLoading.show({
|
||||
// template: '<div>Connection problem.</div><br/><div>Please check your internet connection!</div>',
|
||||
delay: 100,
|
||||
duration: 3000
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<template name="_myModal">
|
||||
{{#ionModal title="My Modal"}}
|
||||
<div class="padding">
|
||||
Modal Content Goes Here
|
||||
</div>
|
||||
{{/ionModal}}
|
||||
</template>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<template name="modal">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Modal</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
<button class="button button-large button-stable" data-ion-modal="_myModal">Open Modal</button>
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
|
||||
</template>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<template name="navigation">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Navigation</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
Coming Soon
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<template name="_myPopover">
|
||||
{{#ionPopover}}
|
||||
<div class="content">
|
||||
<div class="list">
|
||||
<a class="item item-icon-right" href="http://www.meteor.com/" target="_blank">
|
||||
Meteor
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
</a>
|
||||
<a class="item item-icon-right" href="http://ionicframework.com/" target="_blank">
|
||||
Ionic
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
</a>
|
||||
<a class="item item-icon-right" href="http://meteoric.github.io/" target="_blank">
|
||||
Meteoric
|
||||
{{> ionIcon icon="ios-arrow-right"}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/ionPopover}}
|
||||
</template>
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<template name="popover">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Popover</h1>
|
||||
<button class="button button-clear" data-ion-popover="_myPopover">
|
||||
{{> ionIcon icon='more'}}
|
||||
</button>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
Click the more info icon in the top right.
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
<template name="popup">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Popup</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
<button class="button button-block button-stable" data-action="showPopup" onclick="alert('TODO')">
|
||||
Show Popup
|
||||
</button>
|
||||
<button class="button button-block button-stable" data-action="showConfirm" onclick="alert('TODO')">
|
||||
Show Confirm
|
||||
</button>
|
||||
<button class="button button-block button-stable" data-action="showAlert" onclick="alert('TODO')">
|
||||
Show Alert
|
||||
</button>
|
||||
<button class="button button-block button-stable" data-action="showPrompt" onclick="alert('TODO')">
|
||||
Show Prompt
|
||||
</button>
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
<template name="sideMenu">
|
||||
|
||||
{{#ionSideMenuContainer}}
|
||||
|
||||
{{#ionSideMenus}}
|
||||
|
||||
{{#ionSideMenu}}
|
||||
<div class="bar bar-header bar-dark">
|
||||
<h1 class="title">Left Menu</h1>
|
||||
</div>
|
||||
<div class="content has-header">
|
||||
<div class="list">
|
||||
<div class="item item-icon-right" data-ion-menu-close>
|
||||
Close Me {{> ionIcon icon="ios-arrow-right"}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/ionSideMenu}}
|
||||
|
||||
{{#ionSideMenu side="right"}}
|
||||
<div class="bar bar-header bar-dark">
|
||||
<h1 class="title">Right Menu</h1>
|
||||
</div>
|
||||
<div class="content has-header">
|
||||
<div class="list">
|
||||
<div class="item item-icon-left" data-ion-menu-close>
|
||||
{{> ionIcon icon="ios-arrow-left"}} Close Me
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/ionSideMenu}}
|
||||
|
||||
{{/ionSideMenus}}
|
||||
|
||||
{{#ionSideMenuContent}}
|
||||
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<button class="button button-clear pull-left" data-ion-menu-toggle="left">
|
||||
{{> ionIcon icon='navicon'}}
|
||||
</button>
|
||||
<h1 class="title">Side Menu</h1>
|
||||
<button class="button button-clear pull-right" data-ion-menu-toggle="right">
|
||||
{{> ionIcon icon='navicon'}}
|
||||
</button>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
<a href="{{pathFor 'index'}}" class="button button-large button-stable">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
Back to Showcase
|
||||
</a>
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
|
||||
{{/ionSideMenuContent}}
|
||||
|
||||
{{/ionSideMenuContainer}}
|
||||
|
||||
</template>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<template name="slideBox">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Slide Box</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent}}
|
||||
<div class="padding">
|
||||
Coming Soon
|
||||
</div>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<template name="_tabs">
|
||||
{{#ionTabs}}
|
||||
<a class="tab-item tab-item-positive {{ isActiveRoute regex='tabs.one' }}" href="{{ pathFor 'tabs.one' }}">
|
||||
{{> ionIcon icon='ios-home'}}
|
||||
Tab 1
|
||||
</a>
|
||||
<a class="tab-item tab-item-positive {{ isActiveRoute regex='tabs.two' }}" href="{{ pathFor 'tabs.two' }}">
|
||||
{{> ionIcon icon='ios-star'}}
|
||||
Tab 2
|
||||
</a>
|
||||
<a class="tab-item tab-item-positive {{ isActiveRoute regex='tabs.three' }}" href="{{ pathFor 'tabs.three' }}">
|
||||
{{> ionIcon icon='ios-heart'}}
|
||||
Tab 3
|
||||
</a>
|
||||
<a class="tab-item tab-item-positive {{ isActiveRoute regex='tabs.four' }}" href="{{ pathFor 'tabs.four' }}">
|
||||
{{> ionIcon icon='ios-gear'}}
|
||||
Tab 4
|
||||
</a>
|
||||
{{/ionTabs}}
|
||||
</template>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<template name="_tabsHeader">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">Tabs</h1>
|
||||
{{/ionHeaderBar}}
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<template name="tabsFour">
|
||||
{{> _tabsHeader}}
|
||||
|
||||
{{#ionContent class="padding"}}
|
||||
<h1>Tab 4</h1>
|
||||
{{/ionContent}}
|
||||
|
||||
{{> _tabs}}
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<template name="tabsOne">
|
||||
{{> _tabsHeader}}
|
||||
|
||||
{{#ionContent class="padding"}}
|
||||
<h1>Tab 1</h1>
|
||||
{{/ionContent}}
|
||||
|
||||
{{> _tabs}}
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<template name="tabsThree">
|
||||
{{> _tabsHeader}}
|
||||
|
||||
{{#ionContent class="padding"}}
|
||||
<h1>Tab 3</h1>
|
||||
{{/ionContent}}
|
||||
|
||||
{{> _tabs}}
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<template name="tabsTwo">
|
||||
{{> _tabsHeader}}
|
||||
|
||||
{{#ionContent class="padding"}}
|
||||
<h1>Tab 2</h1>
|
||||
{{/ionContent}}
|
||||
|
||||
{{> _tabs}}
|
||||
</template>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<template name="userAccounts">
|
||||
{{#ionHeaderBar class="bar-positive"}}
|
||||
<a href="{{pathFor 'index'}}" class="button button-clear pull-left">
|
||||
{{> ionIcon icon='ios-arrow-back'}}
|
||||
</a>
|
||||
<h1 class="title">User Accounts</h1>
|
||||
{{/ionHeaderBar}}
|
||||
|
||||
{{#ionContent class="padding"}}
|
||||
<p>
|
||||
User accounts use the <a href="https://github.com/meteoric/useraccounts-ionic" class="positive" target="_blank"><i>useraccounts:ionic</i> package.</a>
|
||||
</p>
|
||||
<a href="http://useraccounts-ionic.meteor.com/" class="button button-positive" target="_blank">{{> ionIcon icon="ios-upload-outline"}} Launch Example</a>
|
||||
{{/ionContent}}
|
||||
</template>
|
||||
|
|
@ -1 +0,0 @@
|
|||
../..
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Meteor.startup(function () {
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue