├── www
├── lib
│ ├── marked
│ │ ├── doc
│ │ │ └── todo.md
│ │ ├── index.js
│ │ ├── Makefile
│ │ ├── component.json
│ │ ├── bower.json
│ │ ├── Gulpfile.js
│ │ ├── package.json
│ │ ├── .bower.json
│ │ └── LICENSE
│ ├── angular
│ │ ├── index.js
│ │ ├── angular.min.js.gzip
│ │ ├── bower.json
│ │ ├── angular-csp.css
│ │ ├── .bower.json
│ │ └── package.json
│ ├── angular-animate
│ │ ├── index.js
│ │ ├── bower.json
│ │ ├── .bower.json
│ │ └── package.json
│ ├── angular-messages
│ │ ├── index.js
│ │ ├── bower.json
│ │ ├── .bower.json
│ │ └── package.json
│ ├── angular-sanitize
│ │ ├── index.js
│ │ ├── bower.json
│ │ ├── .bower.json
│ │ └── package.json
│ ├── ionic
│ │ ├── demos
│ │ │ ├── service
│ │ │ │ ├── loading
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── actionSheet
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── index.js
│ │ │ │ ├── popover
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── test.scenario.js
│ │ │ │ └── popup
│ │ │ │ │ └── popping
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── test.scenario.js
│ │ │ ├── old
│ │ │ │ ├── checkbox
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── script.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── lists
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── script.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── modal
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── script.js
│ │ │ │ ├── popup
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── index.html
│ │ │ │ ├── toggle
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── script.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── actionsheet
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── script.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── radio-buttons
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── script.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── pull-to-refresh
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── script.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── sign-in-then-tabs
│ │ │ │ │ └── style.css
│ │ │ │ ├── starter-template
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── script.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── thumbnail-list
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── index.html
│ │ │ │ ├── google-maps
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── script.js
│ │ │ │ ├── tabs-and-navigation
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── script.js
│ │ │ │ ├── side-menu-and-navigation
│ │ │ │ │ └── style.css
│ │ │ │ ├── loading-bar
│ │ │ │ │ ├── script.js
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── index.html
│ │ │ │ ├── collection-repeat
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── index.html
│ │ │ │ ├── shrinking-header
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── script.js
│ │ │ │ ├── flickr-search-example
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── index.html
│ │ │ │ ├── app-intro-walkthrough
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── script.js
│ │ │ │ ├── frosted-glass-effect
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── index.html
│ │ │ │ └── swipeable-cards
│ │ │ │ │ └── script.js
│ │ │ └── directive
│ │ │ │ ├── infiniteScroll
│ │ │ │ └── forever
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── index.js
│ │ │ │ ├── refresher
│ │ │ │ └── refreshList
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── index.js
│ │ │ │ ├── sideMenus
│ │ │ │ ├── simple
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ └── index.html
│ │ │ │ └── navWithMenu
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ └── index.js
│ │ │ │ ├── radio
│ │ │ │ └── chooseOne
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── textInput
│ │ │ │ └── floatingLabel
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── list
│ │ │ │ ├── animated
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── style.css
│ │ │ │ │ └── index.html
│ │ │ │ └── reorderDelete
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── collectionRepeat
│ │ │ │ └── contacts
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ └── contacts.html
│ │ │ │ ├── header
│ │ │ │ └── simple
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── footer
│ │ │ │ └── simple
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ └── index.html
│ │ │ │ ├── toggle
│ │ │ │ └── simple
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── index.js
│ │ │ │ ├── checkbox
│ │ │ │ └── simple
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── index.js
│ │ │ │ ├── slideBox
│ │ │ │ └── appIntro
│ │ │ │ │ ├── style.css
│ │ │ │ │ ├── test.scenario.js
│ │ │ │ │ └── index.js
│ │ │ │ └── tabs
│ │ │ │ └── tabsAndNav
│ │ │ │ └── index.js
│ │ ├── release
│ │ │ ├── fonts
│ │ │ │ ├── ionicons.eot
│ │ │ │ ├── ionicons.ttf
│ │ │ │ └── ionicons.woff
│ │ │ └── version.json
│ │ ├── js
│ │ │ └── angular
│ │ │ │ ├── service
│ │ │ │ ├── navViewDelegate.js
│ │ │ │ ├── decorators
│ │ │ │ │ ├── compile.js
│ │ │ │ │ └── location.js
│ │ │ │ ├── viewService.js
│ │ │ │ ├── clickBlock.js
│ │ │ │ ├── gesture.js
│ │ │ │ ├── templateLoader.js
│ │ │ │ └── angularOverrides.js
│ │ │ │ ├── directive
│ │ │ │ ├── modalView.js
│ │ │ │ ├── popoverView.js
│ │ │ │ ├── pane.js
│ │ │ │ ├── popover.js
│ │ │ │ ├── modal.js
│ │ │ │ ├── navDirection.js
│ │ │ │ ├── navTransition.js
│ │ │ │ ├── itemFloatingLabel.js
│ │ │ │ ├── ngClick.js
│ │ │ │ └── itemOptionButton.js
│ │ │ │ ├── main.js
│ │ │ │ └── controller
│ │ │ │ └── tabController.js
│ │ ├── scss
│ │ │ ├── _progress.scss
│ │ │ ├── _backdrop.scss
│ │ │ ├── ionicons
│ │ │ │ ├── ionicons.scss
│ │ │ │ └── _ionicons-font.scss
│ │ │ ├── ionic.scss
│ │ │ ├── _loading.scss
│ │ │ ├── _radio.scss
│ │ │ ├── _button-bar.scss
│ │ │ ├── _menu.scss
│ │ │ ├── _animations.scss
│ │ │ ├── _slide-box.scss
│ │ │ └── _badge.scss
│ │ ├── circle.yml
│ │ ├── LICENSE
│ │ ├── package.js
│ │ ├── bower.json
│ │ └── .bower.json
│ ├── highlightjs
│ │ ├── styles
│ │ │ ├── pojoaque.jpg
│ │ │ ├── school_book.png
│ │ │ ├── brown_papersq.png
│ │ │ ├── androidstudio.css
│ │ │ ├── ascetic.css
│ │ │ ├── mono-blue.css
│ │ │ ├── codepen-embed.css
│ │ │ ├── hopscotch.css
│ │ │ └── tomorrow.css
│ │ ├── bower.json
│ │ ├── component.json
│ │ ├── README.md
│ │ ├── Makefile
│ │ ├── .bower.json
│ │ ├── composer.json
│ │ └── LICENSE
│ ├── ngCordova
│ │ ├── CHANGELOG.md
│ │ ├── bower.json
│ │ ├── LICENSE
│ │ ├── package.json
│ │ └── .bower.json
│ ├── angular-elastic
│ │ ├── bower.json
│ │ ├── .bower.json
│ │ ├── package.json
│ │ └── LICENCE.txt
│ ├── angular-marked
│ │ ├── todo.md
│ │ ├── bower.json
│ │ ├── .bower.json
│ │ ├── gruntfile.js
│ │ ├── karma.conf.js
│ │ └── package.json
│ ├── github-markdown-css
│ │ ├── bower.json
│ │ ├── .bower.json
│ │ ├── license
│ │ └── readme.md
│ └── angular-ui-router
│ │ ├── bower.json
│ │ ├── .bower.json
│ │ ├── LICENSE
│ │ └── src
│ │ ├── stateFilters.js
│ │ └── viewScroll.js
├── img
│ ├── ionic.png
│ └── world.jpg
├── css
│ ├── Inconsolata.otf
│ └── style.css
├── templates
│ ├── browse.html
│ ├── blog-detail.html
│ ├── blog-list.html
│ ├── search.html
│ ├── login.html
│ ├── event_create.html
│ └── menu.html
├── js
│ └── services.js
└── index.html
├── .bowerrc
├── resources
├── icon.png
├── splash.png
├── ios
│ ├── icon
│ │ ├── icon.png
│ │ ├── icon-40.png
│ │ ├── icon-50.png
│ │ ├── icon-60.png
│ │ ├── icon-72.png
│ │ ├── icon-76.png
│ │ ├── icon@2x.png
│ │ ├── icon-40@2x.png
│ │ ├── icon-50@2x.png
│ │ ├── icon-60@2x.png
│ │ ├── icon-60@3x.png
│ │ ├── icon-72@2x.png
│ │ ├── icon-76@2x.png
│ │ ├── icon-small.png
│ │ ├── icon-small@2x.png
│ │ └── icon-small@3x.png
│ └── splash
│ │ ├── Default-667h.png
│ │ ├── Default-736h.png
│ │ ├── Default~iphone.png
│ │ ├── Default@2x~iphone.png
│ │ ├── Default-568h@2x~iphone.png
│ │ ├── Default-Landscape-736h.png
│ │ ├── Default-Landscape~ipad.png
│ │ ├── Default-Portrait~ipad.png
│ │ ├── Default-Landscape@2x~ipad.png
│ │ └── Default-Portrait@2x~ipad.png
└── android
│ ├── icon
│ ├── drawable-hdpi-icon.png
│ ├── drawable-ldpi-icon.png
│ ├── drawable-mdpi-icon.png
│ ├── drawable-xhdpi-icon.png
│ ├── drawable-xxhdpi-icon.png
│ └── drawable-xxxhdpi-icon.png
│ └── splash
│ ├── drawable-land-hdpi-screen.png
│ ├── drawable-land-ldpi-screen.png
│ ├── drawable-land-mdpi-screen.png
│ ├── drawable-land-xhdpi-screen.png
│ ├── drawable-port-hdpi-screen.png
│ ├── drawable-port-ldpi-screen.png
│ ├── drawable-port-mdpi-screen.png
│ ├── drawable-port-xhdpi-screen.png
│ ├── drawable-land-xxhdpi-screen.png
│ ├── drawable-land-xxxhdpi-screen.png
│ ├── drawable-port-xxhdpi-screen.png
│ └── drawable-port-xxxhdpi-screen.png
├── screenshots
├── 1.pic.jpg
├── 3.pic.jpg
└── 6.pic.jpg
├── .gitignore
├── .editorconfig
├── ionic.project
├── bower.json
├── make.sh
├── README.md
├── package.json
├── scss
└── ionic.app.scss
├── license.txt
└── gulpfile.js
/www/lib/marked/doc/todo.md:
--------------------------------------------------------------------------------
1 | # Todo
2 |
3 |
--------------------------------------------------------------------------------
/.bowerrc:
--------------------------------------------------------------------------------
1 | {
2 | "directory": "www/lib"
3 | }
4 |
--------------------------------------------------------------------------------
/www/lib/marked/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/marked');
2 |
--------------------------------------------------------------------------------
/www/img/ionic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/img/ionic.png
--------------------------------------------------------------------------------
/www/img/world.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/img/world.jpg
--------------------------------------------------------------------------------
/www/lib/angular/index.js:
--------------------------------------------------------------------------------
1 | require('./angular');
2 | module.exports = angular;
3 |
--------------------------------------------------------------------------------
/resources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/icon.png
--------------------------------------------------------------------------------
/resources/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/splash.png
--------------------------------------------------------------------------------
/screenshots/1.pic.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/screenshots/1.pic.jpg
--------------------------------------------------------------------------------
/screenshots/3.pic.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/screenshots/3.pic.jpg
--------------------------------------------------------------------------------
/screenshots/6.pic.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/screenshots/6.pic.jpg
--------------------------------------------------------------------------------
/www/css/Inconsolata.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/css/Inconsolata.otf
--------------------------------------------------------------------------------
/resources/ios/icon/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon.png
--------------------------------------------------------------------------------
/www/lib/angular-animate/index.js:
--------------------------------------------------------------------------------
1 | require('./angular-animate');
2 | module.exports = 'ngAnimate';
3 |
--------------------------------------------------------------------------------
/www/lib/angular-messages/index.js:
--------------------------------------------------------------------------------
1 | require('./angular-messages');
2 | module.exports = 'ngMessages';
3 |
--------------------------------------------------------------------------------
/www/lib/angular-sanitize/index.js:
--------------------------------------------------------------------------------
1 | require('./angular-sanitize');
2 | module.exports = 'ngSanitize';
3 |
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-40.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-50.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-60.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-72.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-76.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-40@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-50@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-60@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-60@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-72@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-76@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-small.png
--------------------------------------------------------------------------------
/www/lib/angular/angular.min.js.gzip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/lib/angular/angular.min.js.gzip
--------------------------------------------------------------------------------
/www/lib/ionic/demos/service/loading/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: complete
3 | component: $ionicLoading
4 | ---
5 |
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-small@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/icon/icon-small@3x.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-667h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default-667h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-736h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default-736h.png
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/checkbox/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/lists/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/modal/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/popup/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/toggle/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/resources/ios/splash/Default~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default~iphone.png
--------------------------------------------------------------------------------
/www/lib/highlightjs/styles/pojoaque.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/lib/highlightjs/styles/pojoaque.jpg
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/actionsheet/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/radio-buttons/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/release/fonts/ionicons.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/lib/ionic/release/fonts/ionicons.eot
--------------------------------------------------------------------------------
/www/lib/ionic/release/fonts/ionicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/lib/ionic/release/fonts/ionicons.ttf
--------------------------------------------------------------------------------
/resources/ios/splash/Default@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default@2x~iphone.png
--------------------------------------------------------------------------------
/www/lib/highlightjs/styles/school_book.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/lib/highlightjs/styles/school_book.png
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/pull-to-refresh/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/sign-in-then-tabs/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/starter-template/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/thumbnail-list/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/lib/ionic/release/fonts/ionicons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/lib/ionic/release/fonts/ionicons.woff
--------------------------------------------------------------------------------
/resources/android/icon/drawable-hdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/icon/drawable-hdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-ldpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/icon/drawable-ldpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-mdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/icon/drawable-mdpi-icon.png
--------------------------------------------------------------------------------
/www/lib/highlightjs/styles/brown_papersq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/www/lib/highlightjs/styles/brown_papersq.png
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/infiniteScroll/forever/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: forever
3 | component: ionInfiniteScroll
4 | ---
5 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/refresher/refreshList/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: refreshList
3 | component: ionRefresher
4 | ---
5 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/google-maps/style.css:
--------------------------------------------------------------------------------
1 | #map {
2 | width: 100%;
3 | height: 100%;
4 | }
5 | .scroll {
6 | height: 100%;
7 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/tabs-and-navigation/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/icon/drawable-xhdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xxhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/icon/drawable-xxhdpi-icon.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-568h@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default-568h@2x~iphone.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape-736h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default-Landscape-736h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default-Landscape~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default-Portrait~ipad.png
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/side-menu-and-navigation/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
--------------------------------------------------------------------------------
/www/templates/browse.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Browse
4 |
5 |
6 |
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xxxhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/icon/drawable-xxxhdpi-icon.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default-Landscape@2x~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/ios/splash/Default-Portrait@2x~ipad.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-hdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-land-hdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-ldpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-land-ldpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-mdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-land-mdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-land-xhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-hdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-port-hdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-ldpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-port-ldpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-mdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-port-mdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-port-xhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-land-xxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xxxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-land-xxxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-port-xxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xxxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/app/master/resources/android/splash/drawable-port-xxxhdpi-screen.png
--------------------------------------------------------------------------------
/www/lib/ionic/release/version.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1.1.1",
3 | "codename": "yttrium-yeti",
4 | "date": "2015-11-05",
5 | "time": "21:31:24"
6 | }
7 |
--------------------------------------------------------------------------------
/www/lib/ngCordova/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | Please refer to the [Github ngCordova Releases file](https://github.com/driftyco/ng-cordova/releases) for detailed information.
2 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/service/navViewDelegate.js:
--------------------------------------------------------------------------------
1 |
2 | IonicModule
3 | .service('$ionicNavViewDelegate', ionic.DelegateService([
4 | 'clearCache'
5 | ]));
6 |
7 |
--------------------------------------------------------------------------------
/www/lib/angular/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular",
3 | "version": "1.4.3",
4 | "main": "./angular.js",
5 | "ignore": [],
6 | "dependencies": {
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Specifies intentionally untracked files to ignore when using Git
2 | # http://git-scm.com/docs/gitignore
3 |
4 | node_modules/
5 | platforms/
6 | plugins/
7 | .idea
8 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/sideMenus/simple/style.css:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionSideMenus
4 | ---
5 | .menu-left .scroll-content {
6 | background-color: #f4f4f4;
7 | }
8 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/loading-bar/script.js:
--------------------------------------------------------------------------------
1 | angular.module('ionicApp', ['ionic'])
2 |
3 | .controller('MainCtrl', ['$scope',
4 | function ($scope) {
5 | $scope.data = {
6 | isLoading: false
7 | };
8 | }]);
--------------------------------------------------------------------------------
/www/lib/angular-animate/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-animate",
3 | "version": "1.4.3",
4 | "main": "./angular-animate.js",
5 | "ignore": [],
6 | "dependencies": {
7 | "angular": "1.4.3"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/www/lib/angular-messages/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-messages",
3 | "version": "1.4.3",
4 | "main": "./angular-messages.js",
5 | "ignore": [],
6 | "dependencies": {
7 | "angular": "1.4.3"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/www/lib/angular-sanitize/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-sanitize",
3 | "version": "1.4.3",
4 | "main": "./angular-sanitize.js",
5 | "ignore": [],
6 | "dependencies": {
7 | "angular": "1.4.3"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/radio/chooseOne/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: chooseOne
3 | component: ionRadio
4 | ---
5 | angular.module('chooseOne', ['ionic'])
6 | .controller('ChooseOneCtrl', function($scope) {
7 | $scope.choice = 'two';
8 | });
9 |
--------------------------------------------------------------------------------
/www/lib/ionic/scss/_progress.scss:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Progress
4 | * --------------------------------------------------
5 | */
6 |
7 | progress {
8 | display: block;
9 | margin: $progress-margin;
10 | width: $progress-width;
11 | }
12 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/directive/modalView.js:
--------------------------------------------------------------------------------
1 | IonicModule
2 | .directive('ionModalView', function() {
3 | return {
4 | restrict: 'E',
5 | compile: function(element) {
6 | element.addClass('modal');
7 | }
8 | };
9 | });
10 |
--------------------------------------------------------------------------------
/www/lib/angular-elastic/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-elastic",
3 | "version": "2.5.1",
4 | "main": "elastic.js",
5 | "ignore": [
6 | "**/.*",
7 | "node_modules",
8 | "components"
9 | ],
10 | "dependencies": {
11 | "angular": ">=1.0.6"
12 | }
13 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/starter-template/script.js:
--------------------------------------------------------------------------------
1 | angular.module('ionicApp', ['ionic'])
2 |
3 | .controller('MyCtrl', function($scope) {
4 | $scope.myTitle = 'Template';
5 |
6 | $scope.doSomething = function() {
7 | $scope.myTitle = $scope.myTitle + ' something';
8 | };
9 | });
--------------------------------------------------------------------------------
/www/lib/marked/Makefile:
--------------------------------------------------------------------------------
1 | all:
2 | @cp lib/marked.js marked.js
3 | @uglifyjs --comments '/\*[^\0]+?Copyright[^\0]+?\*/' -o marked.min.js lib/marked.js
4 |
5 | clean:
6 | @rm marked.js
7 | @rm marked.min.js
8 |
9 | bench:
10 | @node test --bench
11 |
12 | .PHONY: clean all
13 |
--------------------------------------------------------------------------------
/www/lib/highlightjs/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "highlightjs",
3 | "version": "8.7.0",
4 | "main": [
5 | "highlight.pack.js",
6 | "styles/default.css"
7 | ],
8 | "ignore": [
9 | "**/.*",
10 | "node_modules",
11 | "vendor",
12 | "components"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/www/lib/highlightjs/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "highlightjs",
3 | "repo": "components/highlightjs",
4 | "version": "8.7.0",
5 | "main": "highlight.pack.min.js",
6 | "scripts": [
7 | "highlight.pack.min.js"
8 | ],
9 | "files": [
10 | "styles/default.css"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # http://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = space
7 | indent_size = 2
8 | end_of_line = lf
9 | insert_final_newline = true
10 | trim_trailing_whitespace = true
11 |
12 | [*.md]
13 | insert_final_newline = false
14 | trim_trailing_whitespace = false
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/textInput/floatingLabel/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: floatingLabel
3 | component: itemFloatingLabel
4 | ---
5 |
6 | var app = angular.module('floatingLabel', ['ionic']);
7 |
8 | app.controller('AppCtrl', function($scope) {
9 |
10 | $scope.favSong = "Tubthumping";
11 |
12 | });
13 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/directive/popoverView.js:
--------------------------------------------------------------------------------
1 | IonicModule
2 | .directive('ionPopoverView', function() {
3 | return {
4 | restrict: 'E',
5 | compile: function(element) {
6 | element.append(jqLite('
'));
7 | element.addClass('popover');
8 | }
9 | };
10 | });
11 |
--------------------------------------------------------------------------------
/www/lib/marked/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marked",
3 | "version": "0.3.4",
4 | "repo": "chjj/marked",
5 | "description": "A markdown parser built for speed",
6 | "keywords": ["markdown", "markup", "html"],
7 | "scripts": ["lib/marked.js"],
8 | "main": "lib/marked.js",
9 | "license": "MIT"
10 | }
11 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/sideMenus/simple/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionSideMenus
4 | ---
5 | var app = angular.module('simple', ['ionic']);
6 | app.controller('SideMenusSimpleCtrl', function($scope, $ionicSideMenuDelegate) {
7 |
8 | $scope.toggleLeft = function() {
9 | $ionicSideMenuDelegate.toggleLeft();
10 | };
11 |
12 | });
13 |
--------------------------------------------------------------------------------
/ionic.project:
--------------------------------------------------------------------------------
1 | {
2 | "name": "phodalapp",
3 | "app_id": "",
4 | "gulpStartupTasks": [
5 | "sass",
6 | "watch"
7 | ],
8 | "watchPatterns": [
9 | "www/**/*",
10 | "!www/lib/**/*"
11 | ],
12 | "browsers": [
13 | {
14 | "platform": "android",
15 | "browser": "crosswalk-lite",
16 | "version": "12.41.296.5"
17 | }
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/www/lib/angular-marked/todo.md:
--------------------------------------------------------------------------------
1 | # Todo list
2 |
3 | _\( managed using [todo-md](https://github.com/Hypercubed/todo-md) \)_
4 |
5 | - [x] Compatibility with RequireJS #3
6 | - [-] Add testing to gruntfile
7 | - [x] Minify?
8 | - [ ] ngmin?
9 | - [x] Example for markedProvider in ngDocs
10 | - [x] Fix ng-include demo.
11 | - [ ] Tutorial?
12 | - [-] grunt-conventional-changelog?
13 |
--------------------------------------------------------------------------------
/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "HelloIonic",
3 | "private": "true",
4 | "devDependencies": {},
5 | "dependencies": {
6 | "ngCordova": "~0.1.20-alpha",
7 | "highlightjs": "~8.7.0",
8 | "github-markdown-css": "~2.0.9",
9 | "angular-elastic": "~2.5.0",
10 | "angular-messages": "1.4.3",
11 | "angular-marked": "~1.0.1",
12 | "ionic": "~1.1.1"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/www/lib/highlightjs/README.md:
--------------------------------------------------------------------------------
1 | Highlight.js
2 | ============
3 |
4 | Shim repository for [Highlight.js](http://highlightjs.org/).
5 |
6 | Package Managers
7 | ----------------
8 |
9 | * [Bower](http://bower.io): `highlightjs`
10 | * [Composer](http://packagist.org/packages/components/highlightjs): `components/highlightjs`
11 | * [Component](http://component.io): `components/highlightjs`
12 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/list/animated/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: animated
3 | component: ionList
4 | ---
5 |
6 | it('should add item below Item 0', function(){
7 | var ele = element.all(by.css('.list .button'));
8 | ele.get(0).click();
9 | });
10 |
11 | it('should remove Item 0', function(){
12 | var ele = element.all(by.css('.list .button'));
13 | ele.get(1).click();
14 | });
15 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/collectionRepeat/contacts/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: contacts
3 | component: collectionRepeat
4 | ---
5 |
6 | it('should filter by juan', function(){
7 | var ele = element(by.model('search'));
8 | ele.sendKeys('juan');
9 | });
10 |
11 | it('should clear search', function(){
12 | var ele = element(by.css('.bar-header .button.clear'));
13 | ele.click();
14 | });
15 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/main.js:
--------------------------------------------------------------------------------
1 | /* eslint no-unused-vars:0 */
2 | var IonicModule = angular.module('ionic', ['ngAnimate', 'ngSanitize', 'ui.router', 'ngIOS9UIWebViewPatch']),
3 | extend = angular.extend,
4 | forEach = angular.forEach,
5 | isDefined = angular.isDefined,
6 | isNumber = angular.isNumber,
7 | isString = angular.isString,
8 | jqLite = angular.element,
9 | noop = angular.noop;
10 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/header/simple/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionHeaderBar
4 | ---
5 | angular.module('simple', ['ionic'])
6 | .controller('HeaderBarSimpleCtrl', function($scope) {
7 | $scope.data = {
8 | isSubheader: false,
9 | isShown: true
10 | };
11 | $scope.items = [];
12 | for (var i = 0; i < 20; i++) {
13 | $scope.items.push('Item ' + i);
14 | }
15 | });
16 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/footer/simple/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionFooterBar
4 | ---
5 | angular.module('simple', ['ionic'])
6 | .controller('FooterBarSimpleCtrl', function($scope) {
7 | $scope.data = {
8 | isSubfooter: false,
9 | isShown: true
10 | };
11 |
12 | $scope.items = [];
13 | for (var i = 0; i < 20; i++) {
14 | $scope.items.push('Item ' + i);
15 | }
16 | });
17 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/collection-repeat/style.css:
--------------------------------------------------------------------------------
1 | .button.button-icon.input-button {
2 | position: absolute;
3 | right: 0;
4 | top: 5px;
5 | color: #bbb;
6 | }
7 | .item img {
8 | height: 60px;
9 | width: 60px;
10 | float: left;
11 | margin-top: 20px;
12 | margin-right: 10px;
13 | }
14 | .list .my-item.item {
15 | left: 0;
16 | right: 0;
17 | padding-top: 0;
18 | padding-bottom: 0;
19 | }
20 |
--------------------------------------------------------------------------------
/www/lib/github-markdown-css/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-markdown-css",
3 | "description": "The minimal amount of CSS to replicate the GitHub Markdown style",
4 | "license": "MIT",
5 | "main": "github-markdown.css",
6 | "keywords": [
7 | "github",
8 | "markdown",
9 | "md",
10 | "css",
11 | "style",
12 | "stylesheet"
13 | ],
14 | "ignore": [
15 | "**/.*",
16 | "package.json",
17 | "index.html"
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/radio/chooseOne/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: chooseOne
3 | component: ionRadio
4 | ---
5 |
6 | it('should check 3rd radio by clicking its label', function(){
7 | var ele = element.all(by.css('label.item-radio'));
8 | ele.get(2).click();
9 | });
10 |
11 | it('should check 4th radio by clicking its label', function(){
12 | var ele = element.all(by.css('label.item-radio'));
13 | ele.get(3).click();
14 | });
15 |
--------------------------------------------------------------------------------
/www/lib/angular/angular-csp.css:
--------------------------------------------------------------------------------
1 | /* Include this file in your html if you are using the CSP mode. */
2 |
3 | @charset "UTF-8";
4 |
5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
6 | .ng-cloak, .x-ng-cloak,
7 | .ng-hide:not(.ng-hide-animate) {
8 | display: none !important;
9 | }
10 |
11 | ng\:form {
12 | display: block;
13 | }
14 |
15 | .ng-animate-shim {
16 | visibility:hidden;
17 | }
18 |
19 | .ng-anchor {
20 | position:absolute;
21 | }
22 |
--------------------------------------------------------------------------------
/make.sh:
--------------------------------------------------------------------------------
1 | cordova build --release android
2 | rm ~/learing/phodalapp/platforms/android/build/outputs/apk/blog.apk
3 | jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ~/phodal.keystore ~/learing/phodalapp/platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk phodal
4 | ~/android-sdk/build-tools/22.0.0/zipalign -v 4 platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk ~/learing/phodalapp/platforms/android/build/outputs/apk/blog.apk
5 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/directive/pane.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * @ngdoc directive
4 | * @name ionPane
5 | * @module ionic
6 | * @restrict E
7 | *
8 | * @description A simple container that fits content, with no side effects. Adds the 'pane' class to the element.
9 | */
10 | IonicModule
11 | .directive('ionPane', function() {
12 | return {
13 | restrict: 'E',
14 | link: function(scope, element) {
15 | element.addClass('pane');
16 | }
17 | };
18 | });
19 |
--------------------------------------------------------------------------------
/www/lib/ionic/scss/_backdrop.scss:
--------------------------------------------------------------------------------
1 |
2 | .backdrop {
3 | position: fixed;
4 | top: 0;
5 | left: 0;
6 | z-index: $z-index-backdrop;
7 |
8 | width: 100%;
9 | height: 100%;
10 |
11 | background-color: $loading-backdrop-bg-color;
12 |
13 | visibility: hidden;
14 | opacity: 0;
15 |
16 | &.visible {
17 | visibility: visible;
18 | }
19 | &.active {
20 | opacity: 1;
21 | }
22 |
23 | @include transition($loading-backdrop-fadein-duration opacity linear);
24 | }
25 |
--------------------------------------------------------------------------------
/www/templates/blog-detail.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 
4 | {{blog.title}}
5 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/service/loading/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: complete
3 | component: $ionicLoading
4 | ---
5 | angular.module('complete', ['ionic'])
6 | .controller('LoadingCtrl', function($scope, $ionicLoading) {
7 | $scope.loadingOptions = {
8 | duration: 1000,
9 | delay: 0,
10 | template: '
\n
\nLoading...',
11 | noBackdrop: false
12 | };
13 | $scope.showLoading = function() {
14 | $ionicLoading.show($scope.loadingOptions);
15 | };
16 | });
17 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/list/animated/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: animated
3 | component: ionList
4 | ---
5 | angular.module('animated', ['ionic'])
6 | .controller('AnimatedListCtrl', function($scope, $timeout) {
7 | var nextItem = 0;
8 | $scope.items = [];
9 | for (var i=0; i < 5; i++) {
10 | $scope.items.push('Item ' + (nextItem++));
11 | }
12 |
13 | $scope.addItem = function(atIndex) {
14 | $scope.items.splice(atIndex + 1, 0, 'Item ' + nextItem);
15 | nextItem++;
16 | };
17 | });
18 |
19 |
--------------------------------------------------------------------------------
/www/lib/angular/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular",
3 | "version": "1.4.3",
4 | "main": "./angular.js",
5 | "ignore": [],
6 | "dependencies": {},
7 | "homepage": "https://github.com/angular/bower-angular",
8 | "_release": "1.4.3",
9 | "_resolution": {
10 | "type": "version",
11 | "tag": "v1.4.3",
12 | "commit": "dbd689e8103a6366e53e1f6786727f7c65ccfd75"
13 | },
14 | "_source": "git://github.com/angular/bower-angular.git",
15 | "_target": "1.4.3",
16 | "_originalSource": "angular"
17 | }
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/directive/popover.js:
--------------------------------------------------------------------------------
1 | /*
2 | * We don't document the ionPopover directive, we instead document
3 | * the $ionicPopover service
4 | */
5 | IonicModule
6 | .directive('ionPopover', [function() {
7 | return {
8 | restrict: 'E',
9 | transclude: true,
10 | replace: true,
11 | controller: [function() {}],
12 | template: '
'
15 | };
16 | }]);
17 |
--------------------------------------------------------------------------------
/www/lib/angular-ui-router/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-ui-router",
3 | "version": "0.2.13",
4 | "main": "./release/angular-ui-router.js",
5 | "dependencies": {
6 | "angular": ">= 1.0.8"
7 | },
8 | "ignore": [
9 | "**/.*",
10 | "node_modules",
11 | "bower_components",
12 | "component.json",
13 | "package.json",
14 | "lib",
15 | "config",
16 | "sample",
17 | "test",
18 | "tests",
19 | "ngdoc_assets",
20 | "Gruntfile.js",
21 | "files.js"
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/toggle/simple/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionToggle
4 | ---
5 |
6 | it('should uncheck 1st and check 2nd checkbox by clicking its label', function(){
7 | var ele = element.all(by.css('label.toggle'));
8 | ele.get(0).click();
9 | ele.get(1).click();
10 | });
11 |
12 | it('should check 1st and uncheck 2nd checkbox by clicking its label', function(){
13 | var ele = element.all(by.css('label.toggle'));
14 | ele.get(0).click();
15 | ele.get(1).click();
16 | });
17 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/infiniteScroll/forever/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: forever
3 | component: ionInfiniteScroll
4 | ---
5 |
6 | Scroll Down to Load More
7 |
8 |
9 |
10 |
11 | {{item}}
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/checkbox/simple/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionCheckbox
4 | ---
5 |
6 | it('should uncheck 1st and check 2nd checkbox by clicking its label', function(){
7 | var ele = element.all(by.css('label.item-checkbox'));
8 | ele.get(0).click();
9 | ele.get(1).click();
10 | });
11 |
12 | it('should check 1st and uncheck 2nd checkbox by clicking its label', function(){
13 | var ele = element.all(by.css('label.item-checkbox'));
14 | ele.get(0).click();
15 | ele.get(1).click();
16 | });
17 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/directive/modal.js:
--------------------------------------------------------------------------------
1 | /*
2 | * We don't document the ionModal directive, we instead document
3 | * the $ionicModal service
4 | */
5 | IonicModule
6 | .directive('ionModal', [function() {
7 | return {
8 | restrict: 'E',
9 | transclude: true,
10 | replace: true,
11 | controller: [function() {}],
12 | template: '
' +
13 | '
' +
14 | '
' +
15 | '
'
16 | };
17 | }]);
18 |
--------------------------------------------------------------------------------
/www/lib/marked/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marked",
3 | "version": "0.3.4",
4 | "homepage": "https://github.com/chjj/marked",
5 | "authors": [
6 | "Christopher Jeffrey
"
7 | ],
8 | "description": "A markdown parser built for speed",
9 | "keywords": [
10 | "markdown",
11 | "markup",
12 | "html"
13 | ],
14 | "main": "lib/marked.js",
15 | "license": "MIT",
16 | "ignore": [
17 | "**/.*",
18 | "node_modules",
19 | "bower_components",
20 | "app/bower_components",
21 | "test",
22 | "tests"
23 | ]
24 | }
25 |
--------------------------------------------------------------------------------
/www/lib/marked/Gulpfile.js:
--------------------------------------------------------------------------------
1 | var gulp = require('gulp');
2 | var uglify = require('gulp-uglify');
3 | var concat = require('gulp-concat');
4 |
5 | var preserveFirstComment = function() {
6 | var set = false;
7 |
8 | return function() {
9 | if (set) return false;
10 | set = true;
11 | return true;
12 | };
13 | };
14 |
15 | gulp.task('uglify', function() {
16 | gulp.src('lib/marked.js')
17 | .pipe(uglify({preserveComments: preserveFirstComment()}))
18 | .pipe(concat('marked.min.js'))
19 | .pipe(gulp.dest('.'));
20 | });
21 |
22 | gulp.task('default', ['uglify']);
23 |
--------------------------------------------------------------------------------
/www/lib/angular-animate/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-animate",
3 | "version": "1.4.3",
4 | "main": "./angular-animate.js",
5 | "ignore": [],
6 | "dependencies": {
7 | "angular": "1.4.3"
8 | },
9 | "homepage": "https://github.com/angular/bower-angular-animate",
10 | "_release": "1.4.3",
11 | "_resolution": {
12 | "type": "version",
13 | "tag": "v1.4.3",
14 | "commit": "4ce2a76359401102d2e0146ccf69e6c060799ff8"
15 | },
16 | "_source": "git://github.com/angular/bower-angular-animate.git",
17 | "_target": "1.4.3",
18 | "_originalSource": "angular-animate"
19 | }
--------------------------------------------------------------------------------
/www/lib/angular-sanitize/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-sanitize",
3 | "version": "1.4.3",
4 | "main": "./angular-sanitize.js",
5 | "ignore": [],
6 | "dependencies": {
7 | "angular": "1.4.3"
8 | },
9 | "homepage": "https://github.com/angular/bower-angular-sanitize",
10 | "_release": "1.4.3",
11 | "_resolution": {
12 | "type": "version",
13 | "tag": "v1.4.3",
14 | "commit": "0367ee4c3f9cb8af5d1da9ec35b71a8b523d9fc0"
15 | },
16 | "_source": "git://github.com/angular/bower-angular-sanitize.git",
17 | "_target": "1.4.3",
18 | "_originalSource": "angular-sanitize"
19 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | #Phodal Blog APP
2 |
3 | > A Mobile App for [https://www.phodal.com/](https://www.phodal.com/).
4 |
5 | Tech Stack
6 | ----
7 |
8 | 1. Django
9 | 2. Django REST Framework
10 | 3. Django REST Framework JWT
11 | 4. Ionic
12 |
13 |
14 |
16 |
17 |
18 | License
19 | ----
20 |
21 | © 2015 [Phodal Huang][phodal]. This code is distributed under the MIT license.
22 | [phodal]:http://www.phodal.com/
23 |
--------------------------------------------------------------------------------
/www/templates/blog-list.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{blog.title}}
8 |
9 |
10 |
11 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/www/lib/angular-messages/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-messages",
3 | "version": "1.4.3",
4 | "main": "./angular-messages.js",
5 | "ignore": [],
6 | "dependencies": {
7 | "angular": "1.4.3"
8 | },
9 | "homepage": "https://github.com/angular/bower-angular-messages",
10 | "_release": "1.4.3",
11 | "_resolution": {
12 | "type": "version",
13 | "tag": "v1.4.3",
14 | "commit": "1b4d6e58e6dd1ce2e7d508fb2e09114980c3f557"
15 | },
16 | "_source": "git://github.com/angular/bower-angular-messages.git",
17 | "_target": "1.4.3",
18 | "_originalSource": "angular-messages",
19 | "_direct": true
20 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/refresher/refreshList/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: refreshList
3 | component: ionRefresher
4 | ---
5 |
6 | Pull to Refresh
7 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
18 | {{item}}
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/footer/simple/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionFooterBar
4 | ---
5 |
6 | it('should show subfooter', function(){
7 | var ele = element.all(by.css('.toggle'));
8 | ele.get(0).click();
9 | });
10 |
11 | it('should hide subfooter', function(){
12 | var ele = element.all(by.css('.toggle'));
13 | ele.get(0).click();
14 | });
15 |
16 | it('should hide footer', function(){
17 | var ele = element.all(by.css('.toggle'));
18 | ele.get(1).click();
19 | });
20 |
21 | it('should show footer', function(){
22 | var ele = element.all(by.css('.toggle'));
23 | ele.get(1).click();
24 | });
25 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/header/simple/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionHeaderBar
4 | ---
5 |
6 | it('should show subheader', function(){
7 | var ele = element.all(by.css('.toggle'));
8 | ele.get(0).click();
9 | });
10 |
11 | it('should hide subheader', function(){
12 | var ele = element.all(by.css('.toggle'));
13 | ele.get(0).click();
14 | });
15 |
16 | it('should hide header', function(){
17 | var ele = element.all(by.css('.toggle'));
18 | ele.get(1).click();
19 | });
20 |
21 | it('should show header', function(){
22 | var ele = element.all(by.css('.toggle'));
23 | ele.get(1).click();
24 | });
25 |
--------------------------------------------------------------------------------
/www/lib/highlightjs/Makefile:
--------------------------------------------------------------------------------
1 | VERSION=8.7
2 |
3 | default: build
4 | @cp -f build/highlight.* .
5 | @cp -f highlight/src/styles/* styles
6 | @du -hs highlight.*
7 |
8 | build: highlight
9 | @cd highlight && git fetch && git checkout $(VERSION)
10 | @cd highlight && npm install
11 | @mkdir -p build
12 | @cd highlight && node tools/build.js && cp build/highlight.pack.js ../build/highlight.pack.min.js
13 | @cd highlight && node tools/build.js -n && cp build/highlight.pack.js ../build/highlight.pack.js
14 |
15 | highlight:
16 | @git clone git://github.com/isagalaev/highlight.js.git $@
17 |
18 | clean:
19 | @rm -rf build
20 |
21 | .PHONY: default
22 |
--------------------------------------------------------------------------------
/www/lib/angular-elastic/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-elastic",
3 | "version": "2.5.1",
4 | "main": "elastic.js",
5 | "ignore": [
6 | "**/.*",
7 | "node_modules",
8 | "components"
9 | ],
10 | "dependencies": {
11 | "angular": ">=1.0.6"
12 | },
13 | "homepage": "https://github.com/monospaced/angular-elastic",
14 | "_release": "2.5.1",
15 | "_resolution": {
16 | "type": "version",
17 | "tag": "v2.5.1",
18 | "commit": "4c2c75e413e668b4117bf2b3741272b2ab9e24c5"
19 | },
20 | "_source": "git://github.com/monospaced/angular-elastic.git",
21 | "_target": "~2.5.0",
22 | "_originalSource": "angular-elastic"
23 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/infiniteScroll/forever/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: forever
3 | component: ionInfiniteScroll
4 | ---
5 | angular.module('forever', ['ionic'])
6 | .controller('ForeverCtrl', function($scope, $timeout) {
7 | $scope.items = [];
8 | for (var i = 0; i < 20; i++) {
9 | $scope.items.push(i);
10 | }
11 |
12 | //Load more after 1 second delay
13 | $scope.loadMoreItems = function() {
14 | var i = $scope.items.length;
15 | var j = $scope.items.length + 5;
16 | for (; i < j; i++) {
17 | $scope.items.push('Item ' + i);
18 | }
19 | $scope.$broadcast('scroll.infiniteScrollComplete');
20 | };
21 | });
22 |
--------------------------------------------------------------------------------
/www/lib/ionic/scss/ionicons/ionicons.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | @import "ionicons-variables";
3 | /*!
4 | Ionicons, v2.0.1
5 | Created by Ben Sperry for the Ionic Framework, http://ionicons.com/
6 | https://twitter.com/benjsperry https://twitter.com/ionicframework
7 | MIT License: https://github.com/driftyco/ionicons
8 |
9 | Android-style icons originally built by Google’s
10 | Material Design Icons: https://github.com/google/material-design-icons
11 | used under CC BY http://creativecommons.org/licenses/by/4.0/
12 | Modified icons to fit ionicon’s grid from original.
13 | */
14 |
15 | @import "ionicons-font";
16 | @import "ionicons-icons";
17 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/checkbox/script.js:
--------------------------------------------------------------------------------
1 | angular.module('ionicApp', ['ionic'])
2 |
3 | .controller('MainCtrl', function ($scope) {
4 |
5 | $scope.devList = [
6 | {
7 | text: "HTML5",
8 | checked: true
9 | },
10 | {
11 | text: "CSS3",
12 | checked: false
13 | },
14 | {
15 | text: "JavaScript",
16 | checked: false
17 | }
18 | ];
19 |
20 | $scope.pushNotificationChange = function () {
21 | console.log('Push Notification Change', $scope.pushNotification.checked);
22 | };
23 |
24 | $scope.pushNotification = {
25 | checked: true
26 | };
27 | $scope.emailNotification = 'Subscribed';
28 |
29 | });
--------------------------------------------------------------------------------
/www/lib/highlightjs/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "highlightjs",
3 | "version": "8.7.0",
4 | "main": [
5 | "highlight.pack.js",
6 | "styles/default.css"
7 | ],
8 | "ignore": [
9 | "**/.*",
10 | "node_modules",
11 | "vendor",
12 | "components"
13 | ],
14 | "homepage": "https://github.com/components/highlightjs",
15 | "_release": "8.7.0",
16 | "_resolution": {
17 | "type": "version",
18 | "tag": "8.7.0",
19 | "commit": "71636b69413d8deb32766091b969bc0a21085d8a"
20 | },
21 | "_source": "git://github.com/components/highlightjs.git",
22 | "_target": "~8.7.0",
23 | "_originalSource": "highlightjs",
24 | "_direct": true
25 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/list/animated/style.css:
--------------------------------------------------------------------------------
1 | ---
2 | name: animated
3 | component: ionList
4 | ---
5 | .animated-item .item-note .button {
6 | margin-top: 10px;
7 | }
8 | .animated-item {
9 | line-height: 52px;
10 | max-height: 52px;
11 | padding-top: 0;
12 | padding-bottom: 0;
13 | -webkit-transition: all 0.15s linear;
14 | -moz-transition: all 0.15s linear;
15 | transition: all 0.15s linear;
16 | }
17 | .animated-item.ng-leave.ng-leave-active,
18 | .animated-item.ng-enter {
19 | opacity: 0;
20 | max-height: 0;
21 | }
22 | .animated-item.ng-leave,
23 | .animated-item.ng-enter.ng-enter-active {
24 | opacity: 1;
25 | max-height: 52px;
26 | }
27 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/toggle/script.js:
--------------------------------------------------------------------------------
1 | angular.module('ionicApp', ['ionic'])
2 |
3 | .controller('MainCtrl', function ($scope) {
4 |
5 | $scope.settingsList = [
6 | {
7 | text: "Wireless",
8 | checked: true
9 | },
10 | {
11 | text: "GPS",
12 | checked: false
13 | },
14 | {
15 | text: "Bluetooth",
16 | checked: false
17 | }
18 | ];
19 |
20 | $scope.pushNotificationChange = function () {
21 | console.log('Push Notification Change', $scope.pushNotification.checked);
22 | };
23 |
24 | $scope.pushNotification = {
25 | checked: true
26 | };
27 | $scope.emailNotification = 'Subscribed';
28 |
29 | });
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/shrinking-header/style.css:
--------------------------------------------------------------------------------
1 | .fake-statusbar {
2 | position: fixed;
3 | top: 0;
4 | left: 0;
5 | z-index: 4;
6 | box-sizing: border-box;
7 | padding: 2px 3px 3px 3px;
8 | max-height: 20px;
9 | width: 100%;
10 | height: 20px;
11 | color: #fff;
12 | font-size: 12px;
13 | }
14 | .fake-statusbar .time {
15 | position: absolute;
16 | width: 100%;
17 | height: 100%;
18 | text-align: center;
19 | }
20 | .fake-statusbar .pull-left {
21 | float: left;
22 | }
23 | .fake-statusbar .pull-right {
24 | float: right;
25 | }
26 | .bar-header {
27 | height: 64px !important;
28 | }
29 | .bar-header > * {
30 | margin-top: 20px !important;
31 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/service/actionSheet/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: takeAction
3 | component: $ionicActionSheet
4 | ---
5 |
6 | it('should open up actionsheet', function(){
7 | var ele = element(by.css('.button'));
8 | ele.click();
9 | });
10 |
11 | it('should close when clicking backdrop', function(){
12 | var ele = element(by.css('.action-sheet-backdrop'));
13 | ele.click();
14 | });
15 |
16 | it('should open up actionsheet again', function(){
17 | var ele = element(by.css('.button'));
18 | ele.click();
19 | });
20 |
21 | it('should click the share button', function(){
22 | var ele = element.all(by.css('.action-sheet-group .button'));
23 | ele.get(0).click();
24 | });
25 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/radio/chooseOne/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: chooseOne
3 | component: ionRadio
4 | ---
5 |
6 | Radios
7 |
8 |
9 |
10 | Your Choice: {{choice}}
11 |
12 | One
13 | Two
14 | Three
15 | Four
16 | Five
17 |
18 |
--------------------------------------------------------------------------------
/www/lib/angular/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular",
3 | "version": "1.4.3",
4 | "description": "HTML enhanced for web apps",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/angular/angular.js.git"
12 | },
13 | "keywords": [
14 | "angular",
15 | "framework",
16 | "browser",
17 | "client-side"
18 | ],
19 | "author": "Angular Core Team ",
20 | "license": "MIT",
21 | "bugs": {
22 | "url": "https://github.com/angular/angular.js/issues"
23 | },
24 | "homepage": "http://angularjs.org"
25 | }
26 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/service/actionSheet/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: takeAction
3 | component: $ionicActionSheet
4 | ---
5 |
6 | Action
7 |
8 |
9 |
10 | Take Action!
11 |
12 |
13 |
14 | User Log
15 |
16 |
17 |
18 | {{message.text}}
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/list/reorderDelete/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: reorderDelete
3 | component: ionList
4 | ---
5 |
6 | it('should show reorder icons', function(){
7 | var ele = element.all(by.css('.bar-header .button'));
8 | ele.get(1).click();
9 | });
10 |
11 | it('should hide reorder icons', function(){
12 | var ele = element.all(by.css('.bar-header .button'));
13 | ele.get(1).click();
14 | });
15 |
16 | it('should show delete icons', function(){
17 | var ele = element.all(by.css('.bar-header .button'));
18 | ele.get(0).click();
19 | });
20 |
21 | it('should hide delete icons', function(){
22 | var ele = element.all(by.css('.bar-header .button'));
23 | ele.get(0).click();
24 | });
25 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "phodalapp",
3 | "version": "1.0.0",
4 | "description": "phodalapp: An Ionic project",
5 | "dependencies": {
6 | "gulp": "^3.5.6",
7 | "gulp-sass": "^1.3.3",
8 | "gulp-concat": "^2.2.0",
9 | "gulp-minify-css": "^0.3.0",
10 | "gulp-rename": "^1.2.0"
11 | },
12 | "devDependencies": {
13 | "bower": "^1.3.3",
14 | "gulp-util": "^2.2.14",
15 | "shelljs": "^0.3.0"
16 | },
17 | "cordovaPlugins": [
18 | "cordova-plugin-device",
19 | "cordova-plugin-console",
20 | "cordova-plugin-whitelist",
21 | "cordova-plugin-splashscreen",
22 | "com.ionic.keyboard"
23 | ],
24 | "cordovaPlatforms": [
25 | "ios",
26 | "android"
27 | ]
28 | }
29 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/slideBox/appIntro/style.css:
--------------------------------------------------------------------------------
1 | ---
2 | name: appIntro
3 | component: ionSlideBox
4 | ---
5 | .slider {
6 | height: 100%;
7 | }
8 | .slider-slide {
9 | padding-top: 80px;
10 | background-color: #fff;
11 | color: #000;
12 | text-align: center;
13 | font-weight: 300;
14 | font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
15 | }
16 | #logo {
17 | margin: 30px 0px;
18 | }
19 | #list {
20 | margin: 30px auto;
21 | width: 170px;
22 | font-size: 20px;
23 | }
24 | #list ol {
25 | margin-top: 30px;
26 | }
27 | #list ol li {
28 | margin: 10px 0px;
29 | list-style: decimal;
30 | text-align: left;
31 | }
32 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/flickr-search-example/style.css:
--------------------------------------------------------------------------------
1 | #search-input {
2 | text-align: center;
3 | }
4 |
5 | #photos {
6 | margin: auto;
7 | }
8 |
9 | .photo {
10 | float: left;
11 | overflow: hidden;
12 | margin: 1px;
13 | width: 100px;
14 | height: 100px;
15 | }
16 | .photo img {
17 | min-width: 100%;
18 | min-height: 100%;
19 | max-width: 150%;
20 | max-height: 150%;
21 | }
22 |
23 | #search-bar {
24 | position: absolute;
25 | top: 44px;
26 | z-index: 3;
27 | width: 100%;
28 | height: 40px;
29 | background: none;
30 | }
31 | #search-bar .item {
32 | border: none;
33 | background: none;
34 | }
35 | #content {
36 | top: 44px;
37 | padding-top: 45px;
38 | padding-bottom: 20px;
39 | }
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/service/decorators/compile.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @private
3 | * Parts of Ionic requires that $scope data is attached to the element.
4 | * We do not want to disable adding $scope data to the $element when
5 | * $compileProvider.debugInfoEnabled(false) is used.
6 | */
7 | IonicModule.config(['$provide', function($provide) {
8 | $provide.decorator('$compile', ['$delegate', function($compile) {
9 | $compile.$$addScopeInfo = function $$addScopeInfo($element, scope, isolated, noTemplate) {
10 | var dataName = isolated ? (noTemplate ? '$isolateScopeNoTemplate' : '$isolateScope') : '$scope';
11 | $element.data(dataName, scope);
12 | };
13 | return $compile;
14 | }]);
15 | }]);
16 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/footer/simple/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionFooterBar
4 | ---
5 |
6 |
9 | Footer
10 |
11 |
12 |
13 | Make it a Subfooter?
14 |
15 |
16 | Show it?
17 |
18 |
19 |
20 | {{item}}
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/app-intro-walkthrough/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
4 | .slider {
5 | height: 100%;
6 | }
7 | .slider-slide {
8 | padding-top: 80px;
9 | background-color: #fff;
10 | color: #000;
11 | text-align: center;
12 | font-weight: 300;
13 | font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
14 | }
15 | #logo {
16 | margin: 30px 0px;
17 | }
18 | #list {
19 | margin: 30px auto;
20 | width: 170px;
21 | font-size: 20px;
22 | }
23 | #list ol {
24 | margin-top: 30px;
25 | }
26 | #list ol li {
27 | margin: 10px 0px;
28 | list-style: decimal;
29 | text-align: left;
30 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/checkbox/simple/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionCheckbox
4 | ---
5 |
6 |
7 |
8 | Checkbox: Simple Usage
9 |
10 |
11 |
12 | Your pizza has {{toppings()}}!
13 |
14 | Pepperoni?
15 |
16 |
17 | Sausage?
18 |
19 |
20 | Jalapeno?
21 |
22 |
23 | Anchovies?
24 |
25 |
26 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/header/simple/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionHeaderBar
4 | ---
5 |
6 |
9 | Tap Me to Scroll Top
10 |
11 |
12 |
13 | Make it a Subheader?
14 |
15 |
16 | Show it?
17 |
18 |
19 |
20 | {{item}}
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/www/lib/angular-animate/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-animate",
3 | "version": "1.4.3",
4 | "description": "AngularJS module for animations",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/angular/angular.js.git"
12 | },
13 | "keywords": [
14 | "angular",
15 | "framework",
16 | "browser",
17 | "animation",
18 | "client-side"
19 | ],
20 | "author": "Angular Core Team ",
21 | "license": "MIT",
22 | "bugs": {
23 | "url": "https://github.com/angular/angular.js/issues"
24 | },
25 | "homepage": "http://angularjs.org"
26 | }
27 |
--------------------------------------------------------------------------------
/www/lib/angular-sanitize/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-sanitize",
3 | "version": "1.4.3",
4 | "description": "AngularJS module for sanitizing HTML",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/angular/angular.js.git"
12 | },
13 | "keywords": [
14 | "angular",
15 | "framework",
16 | "browser",
17 | "html",
18 | "client-side"
19 | ],
20 | "author": "Angular Core Team ",
21 | "license": "MIT",
22 | "bugs": {
23 | "url": "https://github.com/angular/angular.js/issues"
24 | },
25 | "homepage": "http://angularjs.org"
26 | }
27 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/sideMenus/simple/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionSideMenus
4 | ---
5 | it('should show left menu', function(){
6 | var ele = element.all(by.css('.bar-header .button'));
7 | ele.get(0).click();
8 | });
9 |
10 | it('should hide left menu by clicking header button', function(){
11 | var ele = element.all(by.css('.bar-header .button'));
12 | ele.get(0).click();
13 | });
14 |
15 | it('should show left menu', function(){
16 | var ele = element.all(by.css('.bar-header .button'));
17 | ele.get(0).click();
18 | });
19 |
20 | it('should hide left menu by close menu item', function(){
21 | var ele = element.all(by.css('ion-side-menu[side="left"] a'));
22 | ele.get(0).click();
23 | });
24 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/refresher/refreshList/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: refreshList
3 | component: ionRefresher
4 | ---
5 | angular.module('refreshList', ['ionic'])
6 | .controller('RefresherCtrl', function($scope, $timeout) {
7 | $scope.items = ['Item 1', 'Item 2', 'Item 3'];
8 |
9 | $scope.doRefresh = function() {
10 | $timeout(function() {
11 | $scope.items.push('New Item ' + Math.floor(Math.random() * 1000) + 4);
12 | $scope.items.push('New Item ' + Math.floor(Math.random() * 1000) + 4);
13 | $scope.items.push('New Item ' + Math.floor(Math.random() * 1000) + 4);
14 | $scope.items.push('New Item ' + Math.floor(Math.random() * 1000) + 4);
15 | $scope.$broadcast('scroll.refreshComplete');
16 | }, 1000);
17 | };
18 | });
19 |
--------------------------------------------------------------------------------
/www/lib/ionic/circle.yml:
--------------------------------------------------------------------------------
1 | machine:
2 | node:
3 | version: 4.1.0
4 | ruby:
5 | version: 2.1.2
6 | checkout:
7 | post:
8 | # Make sure that the git repo that circleCI clones is not cloned shallow
9 | # (by default, it only clones the last 25 commits - aka shallow)
10 | # copy/pasted from circleCI support)
11 | - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
12 | dependencies:
13 | post:
14 | - bower install
15 | test:
16 | override:
17 | - ./scripts/circle/test.sh --index=$CIRCLE_NODE_INDEX --total=$CIRCLE_NODE_TOTAL
18 | deployment:
19 | tasks:
20 | branch: master
21 | commands:
22 | - ./scripts/circle/deploy.sh --sha1=$CIRCLE_SHA1 --index=$CIRCLE_NODE_INDEX --build-number=$CIRCLE_BUILD_NUM
23 |
--------------------------------------------------------------------------------
/www/lib/angular-messages/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-messages",
3 | "version": "1.4.3",
4 | "description": "AngularJS module that provides enhanced support for displaying messages within templates",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/angular/angular.js.git"
12 | },
13 | "keywords": [
14 | "angular",
15 | "framework",
16 | "browser",
17 | "client-side"
18 | ],
19 | "author": "Angular Core Team ",
20 | "license": "MIT",
21 | "bugs": {
22 | "url": "https://github.com/angular/angular.js/issues"
23 | },
24 | "homepage": "http://angularjs.org"
25 | }
26 |
--------------------------------------------------------------------------------
/www/lib/angular-marked/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-marked",
3 | "authors": [
4 | "J. Harshbarger"
5 | ],
6 | "description": "AngularJS Markdown using marked.",
7 | "main": "dist/angular-marked.js",
8 | "keywords": [
9 | "angularjs",
10 | "markdown",
11 | "marked",
12 | "directive",
13 | "filter"
14 | ],
15 | "license": "MIT",
16 | "ignore": [
17 | "**/.*",
18 | "node_modules",
19 | "bower_components",
20 | ".grunt",
21 | "test",
22 | "tests",
23 | "docs",
24 | "docs-template",
25 | "example"
26 | ],
27 | "dependencies": {
28 | "angular": ">= 1.3.0",
29 | "marked": "~0.3.1"
30 | },
31 | "devDependencies": {
32 | "angular-mocks": ">= 1.3.0",
33 | "angular-animate": "~1.4.3"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/sideMenus/navWithMenu/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: navWithMenu
3 | component: ionSideMenus
4 | ---
5 |
6 | it('should nav to Search from left menu', function(){
7 | var ele = element.all(by.css('button[menu-toggle="left"]'));
8 | ele.get(0).click();
9 |
10 | browser.sleep(500).then(function(){
11 | var itemEle = element.all(by.css('ion-side-menu[side="left"] a'));
12 | itemEle.get(0).click();
13 | });
14 | });
15 |
16 | it('should nav to Browse from left menu', function(){
17 | var ele = element.all(by.css('button[menu-toggle="left"]'));
18 | ele.get(0).click();
19 |
20 | browser.sleep(500).then(function(){
21 | var itemEle = element.all(by.css('ion-side-menu[side="left"] a'));
22 | itemEle.get(1).click();
23 | });
24 | });
25 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/modal/script.js:
--------------------------------------------------------------------------------
1 | angular.module('ionicApp', ['ionic'])
2 |
3 | .controller('AppCtrl', function ($scope, $ionicModal) {
4 |
5 | $scope.contacts = [
6 | {
7 | name: 'Gordon Freeman'
8 | },
9 | {
10 | name: 'Barney Calhoun'
11 | },
12 | {
13 | name: 'Lamarr the Headcrab'
14 | },
15 | ];
16 | $ionicModal.fromTemplateUrl('modal.html', function (modal) {
17 | $scope.modal = modal;
18 | }, {
19 | animation: 'slide-in-up',
20 | focusFirstInput: true
21 | });
22 |
23 | })
24 |
25 | .controller('ModalCtrl', function ($scope) {
26 |
27 | $scope.newUser = {};
28 |
29 | $scope.createContact = function () {
30 | console.log('Create Contact', $scope.newUser);
31 | $scope.modal.hide();
32 | };
33 |
34 | });
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/toggle/simple/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionToggle
4 | ---
5 |
6 |
7 |
8 | Toggle: Simple Usage
9 |
10 |
11 |
12 | Your pizza has {{toppings()}}!
13 |
14 | Pepperoni?
15 |
16 |
17 | Sausage?
18 |
19 |
20 | Jalapeno?
21 |
22 |
23 | Anchovies?
24 |
25 |
26 |
--------------------------------------------------------------------------------
/www/lib/highlightjs/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "components/highlightjs",
3 | "description": "Highlight.js highlights syntax in code examples on blogs, forums and in fact on any web pages.",
4 | "type": "component",
5 | "license": "BSD-3-Clause",
6 | "authors": [
7 | {
8 | "name": "Ivan Sagalaev",
9 | "email": "maniac@softwaremaniacs.org",
10 | "homepage": "http://softwaremaniacs.org"
11 | }
12 | ],
13 | "extra": {
14 | "component": {
15 | "scripts": [
16 | "highlight.pack.min.js"
17 | ],
18 | "files": [
19 | "styles/*"
20 | ],
21 | "shim": {
22 | "exports": "hljs"
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/directive/navDirection.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name navDirection
4 | * @module ionic
5 | * @restrict A
6 | *
7 | * @description
8 | * The direction which the nav view transition should animate. Available options
9 | * are: `forward`, `back`, `enter`, `exit`, `swap`.
10 | *
11 | * @usage
12 | *
13 | * ```html
14 | * Home
15 | * ```
16 | */
17 | IonicModule
18 | .directive('navDirection', ['$ionicViewSwitcher', function($ionicViewSwitcher) {
19 | return {
20 | restrict: 'A',
21 | priority: 1000,
22 | link: function($scope, $element, $attr) {
23 | $element.bind('click', function() {
24 | $ionicViewSwitcher.nextDirection($attr.navDirection);
25 | });
26 | }
27 | };
28 | }]);
29 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/directive/navTransition.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name navTransition
4 | * @module ionic
5 | * @restrict A
6 | *
7 | * @description
8 | * The transition type which the nav view transition should use when it animates.
9 | * Current, options are `ios`, `android`, and `none`. More options coming soon.
10 | *
11 | * @usage
12 | *
13 | * ```html
14 | * Home
15 | * ```
16 | */
17 | IonicModule
18 | .directive('navTransition', ['$ionicViewSwitcher', function($ionicViewSwitcher) {
19 | return {
20 | restrict: 'A',
21 | priority: 1000,
22 | link: function($scope, $element, $attr) {
23 | $element.bind('click', function() {
24 | $ionicViewSwitcher.nextTransition($attr.navTransition);
25 | });
26 | }
27 | };
28 | }]);
29 |
--------------------------------------------------------------------------------
/www/lib/marked/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marked",
3 | "description": "A markdown parser built for speed",
4 | "author": "Christopher Jeffrey",
5 | "version": "0.3.5",
6 | "main": "./lib/marked.js",
7 | "bin": "./bin/marked",
8 | "man": "./man/marked.1",
9 | "preferGlobal": true,
10 | "repository": "git://github.com/chjj/marked.git",
11 | "homepage": "https://github.com/chjj/marked",
12 | "bugs": { "url": "http://github.com/chjj/marked/issues" },
13 | "license": "MIT",
14 | "keywords": ["markdown", "markup", "html"],
15 | "tags": ["markdown", "markup", "html"],
16 | "devDependencies": {
17 | "markdown": "*",
18 | "showdown": "*",
19 | "gulp": "^3.8.11",
20 | "gulp-uglify": "^1.1.0",
21 | "gulp-concat": "^2.5.2"
22 | },
23 | "scripts": { "test": "node test", "bench": "node test --bench" }
24 | }
25 |
--------------------------------------------------------------------------------
/www/templates/search.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
10 |
11 |
12 |
13 | {{blog.title}}
14 | 简介: {{blog.description}}
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/list/animated/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: animated
3 | component: ionList
4 | ---
5 |
6 |
7 | Animated List
8 |
9 |
10 |
11 |
12 |
14 | {{item}}
15 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/toggle/simple/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionToggle
4 | ---
5 |
6 | var app = angular.module('simple', ['ionic']);
7 | app.controller('MainCtrl', function($scope) {
8 | $scope.pizza = {
9 | pepperoni: true,
10 | sausage: false,
11 | anchovies: true,
12 | jalapenos: false
13 | };
14 |
15 | $scope.toppings = function() {
16 | var toppings = Object.keys($scope.pizza).filter(function(flavor) {
17 | return $scope.pizza[flavor];
18 | });
19 | if (toppings.length > 1) {
20 | toppings[toppings.length - 1] = 'and ' + toppings[toppings.length - 1];
21 | }
22 | if (toppings.length > 2) {
23 | return toppings.join(', ');
24 | } else if (toppings.length) {
25 | return toppings.join(' ');
26 | } else {
27 | return 'nothing';
28 | }
29 | };
30 | });
31 |
--------------------------------------------------------------------------------
/www/lib/ionic/scss/ionic.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | @import
4 | // Ionicons
5 | "ionicons/ionicons.scss",
6 |
7 | // Variables
8 | "mixins",
9 | "variables",
10 |
11 | // Base
12 | "reset",
13 | "scaffolding",
14 | "type",
15 |
16 | // Components
17 | "action-sheet",
18 | "backdrop",
19 | "bar",
20 | "tabs",
21 | "menu",
22 | "modal",
23 | "popover",
24 | "popup",
25 | "loading",
26 | "items",
27 | "list",
28 | "badge",
29 | "slide-box",
30 | "refresher",
31 | "spinner",
32 |
33 | // Forms
34 | "form",
35 | "checkbox",
36 | "toggle",
37 | "radio",
38 | "range",
39 | "select",
40 | "progress",
41 |
42 | // Buttons
43 | "button",
44 | "button-bar",
45 |
46 | // Util
47 | "grid",
48 | "util",
49 | "platform",
50 |
51 | // Animations
52 | "animations",
53 | "transitions";
54 |
--------------------------------------------------------------------------------
/www/lib/marked/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marked",
3 | "version": "0.3.5",
4 | "homepage": "https://github.com/chjj/marked",
5 | "authors": [
6 | "Christopher Jeffrey "
7 | ],
8 | "description": "A markdown parser built for speed",
9 | "keywords": [
10 | "markdown",
11 | "markup",
12 | "html"
13 | ],
14 | "main": "lib/marked.js",
15 | "license": "MIT",
16 | "ignore": [
17 | "**/.*",
18 | "node_modules",
19 | "bower_components",
20 | "app/bower_components",
21 | "test",
22 | "tests"
23 | ],
24 | "_release": "0.3.5",
25 | "_resolution": {
26 | "type": "version",
27 | "tag": "v0.3.5",
28 | "commit": "88ce4df47c4d994dc1b1df1477a21fb893e11ddc"
29 | },
30 | "_source": "git://github.com/chjj/marked.git",
31 | "_target": "~0.3.1",
32 | "_originalSource": "marked"
33 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/frosted-glass-effect/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | cursor: url('http://ionicframework.com/img/finger.png'), auto;
3 | }
4 | .messages {
5 | margin: 0;
6 | padding: 0;
7 | list-style-type: none;
8 | }
9 | .messages li {
10 | display: block;
11 | float: left;
12 | clear: both;
13 | margin: 0 0 1rem 0;
14 | padding: 0;
15 | max-width: 65%;
16 | }
17 | .messages li:nth-child(even) {
18 | float: right;
19 | }
20 | .messages li:nth-child(even) img {
21 | float: right;
22 | }
23 | .messages p {
24 | margin: 0;
25 | padding: .6875rem;
26 | border-radius: .75rem;
27 | background: #e6e5eb;
28 | color: #383641;
29 | font-size: .875rem;
30 | }
31 | .messages li:nth-child(even) p {
32 | background: #158ffe;
33 | color: #fff;
34 | }
35 | .messages img {
36 | display: block;
37 | max-width: 65%;
38 | border-radius: .75rem;
39 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/checkbox/simple/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionCheckbox
4 | ---
5 |
6 | var app = angular.module('simple', ['ionic']);
7 | app.controller('CheckboxSimpleCtrl', function($scope) {
8 | $scope.pizza = {
9 | pepperoni: true,
10 | sausage: false,
11 | anchovies: true,
12 | jalapenos: false
13 | };
14 |
15 | $scope.toppings = function() {
16 | var toppings = Object.keys($scope.pizza).filter(function(flavor) {
17 | return $scope.pizza[flavor];
18 | });
19 | if (toppings.length > 1) {
20 | toppings[toppings.length - 1] = 'and ' + toppings[toppings.length - 1];
21 | }
22 | if (toppings.length > 2) {
23 | return toppings.join(', ');
24 | } else if (toppings.length) {
25 | return toppings.join(' ');
26 | } else {
27 | return 'nothing';
28 | }
29 | };
30 | });
31 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/actionsheet/script.js:
--------------------------------------------------------------------------------
1 | angular.module('ionicApp', ['ionic'])
2 |
3 | .controller('AppCtrl', function ($scope, $ionicActionSheet) {
4 |
5 | $scope.showActionsheet = function () {
6 |
7 | $ionicActionSheet.show({
8 | titleText: 'ActionSheet Example',
9 | buttons: [
10 | {
11 | text: 'Share'
12 | },
13 | {
14 | text: 'Move'
15 | },
16 | ],
17 | destructiveText: 'Delete',
18 | cancelText: 'Cancel',
19 | cancel: function () {
20 | console.log('CANCELLED');
21 | },
22 | buttonClicked: function (index) {
23 | console.log('BUTTON CLICKED', index);
24 | return true;
25 | },
26 | destructiveButtonClicked: function () {
27 | console.log('DESTRUCT');
28 | return true;
29 | }
30 | });
31 | };
32 |
33 |
34 | });
--------------------------------------------------------------------------------
/www/lib/angular-ui-router/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-ui-router",
3 | "version": "0.2.13",
4 | "main": "./release/angular-ui-router.js",
5 | "dependencies": {
6 | "angular": ">= 1.0.8"
7 | },
8 | "ignore": [
9 | "**/.*",
10 | "node_modules",
11 | "bower_components",
12 | "component.json",
13 | "package.json",
14 | "lib",
15 | "config",
16 | "sample",
17 | "test",
18 | "tests",
19 | "ngdoc_assets",
20 | "Gruntfile.js",
21 | "files.js"
22 | ],
23 | "homepage": "https://github.com/angular-ui/ui-router",
24 | "_release": "0.2.13",
25 | "_resolution": {
26 | "type": "version",
27 | "tag": "0.2.13",
28 | "commit": "c3d543aae43d4600512520a0d70723ac31f2cb62"
29 | },
30 | "_source": "git://github.com/angular-ui/ui-router.git",
31 | "_target": "0.2.13",
32 | "_originalSource": "angular-ui-router"
33 | }
--------------------------------------------------------------------------------
/www/lib/github-markdown-css/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-markdown-css",
3 | "description": "The minimal amount of CSS to replicate the GitHub Markdown style",
4 | "license": "MIT",
5 | "main": "github-markdown.css",
6 | "keywords": [
7 | "github",
8 | "markdown",
9 | "md",
10 | "css",
11 | "style",
12 | "stylesheet"
13 | ],
14 | "ignore": [
15 | "**/.*",
16 | "package.json",
17 | "index.html"
18 | ],
19 | "homepage": "https://github.com/sindresorhus/github-markdown-css",
20 | "version": "2.0.9",
21 | "_release": "2.0.9",
22 | "_resolution": {
23 | "type": "version",
24 | "tag": "2.0.9",
25 | "commit": "0d3c28edca0b172140af74c191f7a0c15703c10a"
26 | },
27 | "_source": "git://github.com/sindresorhus/github-markdown-css.git",
28 | "_target": "~2.0.9",
29 | "_originalSource": "github-markdown-css",
30 | "_direct": true
31 | }
--------------------------------------------------------------------------------
/www/lib/angular-elastic/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-elastic",
3 | "version": "2.5.1",
4 | "description": "Elastic (autosize) textareas for AngularJS, without jQuery dependency.",
5 | "keywords": [
6 | "angular",
7 | "angularjs",
8 | "textarea",
9 | "elastic",
10 | "autosize"
11 | ],
12 | "homepage": "http://monospaced.github.io/angular-elastic/",
13 | "main": "elastic",
14 | "bugs": "http://github.com/monospaced/angular-elastic/issues",
15 | "license" : "MIT",
16 | "repository" : {
17 | "type" : "git",
18 | "url" : "http://github.com/monospaced/angular-elastic"
19 | },
20 | "author": {
21 | "name" : "Scott Boyle",
22 | "email" : "scott@monospaced.com",
23 | "url" : "http://scottboyle.co.uk/about"
24 | },
25 | "files": [
26 | "elastic.js",
27 | "package.json"
28 | ],
29 | "dependencies": {
30 | "angular": ">=1.0.6"
31 | }
32 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/textInput/floatingLabel/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: floatingLabel
3 | component: itemFloatingLabel
4 | ---
5 |
6 | it('should enter text into floating label inputs', function(){
7 | var ele = element.all(by.css('label.item-floating-label input, label.item-floating-label textarea'));
8 | ele.get(0).sendKeys('Dr. Pumpernickel');
9 | ele.get(1).sendKeys('Round House Kicks');
10 | });
11 |
12 | it('should add and remove text from floating label inputs', function(){
13 | var ele = element.all(by.css('label.item-floating-label input, label.item-floating-label textarea'));
14 |
15 | for(var x=0; x<'Dr. Pumpernickel'.length; x++) {
16 | ele.get(0).sendKeys(protractor.Key.BACK_SPACE);
17 | }
18 |
19 | ele.get(1).sendKeys(" To The Face");
20 |
21 | for(var x=0; x<'Tubthumping'.length; x++) {
22 | ele.get(2).sendKeys(protractor.Key.BACK_SPACE);
23 | }
24 |
25 | });
26 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/pull-to-refresh/script.js:
--------------------------------------------------------------------------------
1 | angular.module('ionicApp', ['ionic'])
2 |
3 | .controller('MyCtrl', function($scope, $timeout) {
4 | $scope.myTitle = 'Template';
5 |
6 | $scope.items = ['Item 1', 'Item 2', 'Item 3'];
7 |
8 |
9 | $scope.doRefresh = function() {
10 |
11 | console.log('Refreshing!');
12 | $timeout( function() {
13 |
14 | $scope.items.push('New Item ' + Math.floor(Math.random() * 1000) + 4);
15 | $scope.items.push('New Item ' + Math.floor(Math.random() * 1000) + 4);
16 | $scope.items.push('New Item ' + Math.floor(Math.random() * 1000) + 4);
17 | $scope.items.push('New Item ' + Math.floor(Math.random() * 1000) + 4);
18 |
19 | //Stop the ion-refresher from spinning
20 | $scope.$broadcast('scroll.refreshComplete');
21 |
22 | }, 1000);
23 |
24 | };
25 |
26 | });
--------------------------------------------------------------------------------
/www/templates/login.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 登录
4 |
5 |
6 |
7 |
8 |
9 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/www/lib/highlightjs/styles/androidstudio.css:
--------------------------------------------------------------------------------
1 | /*
2 | Date: 24 Fev 2015
3 | Author: Pedro Oliveira
4 | */
5 |
6 | .hljs {
7 | color: #a9b7c6;
8 | background: #282b2e;
9 | display: block;
10 | overflow-x: auto;
11 | padding: 0.5em;
12 | -webkit-text-size-adjust: none;
13 | }
14 |
15 | .hljs-number {
16 | color: #6897BB;
17 | }
18 |
19 | .hljs-keyword,
20 | .hljs-deletion {
21 | color: #cc7832;
22 | }
23 |
24 | .hljs-comment {
25 | color: #808080;
26 | }
27 |
28 | .hljs-annotation {
29 | color: #bbb529;
30 | }
31 |
32 | .hljs-string,
33 | .hljs-addition {
34 | color: #6A8759;
35 | }
36 |
37 | .hljs-function .hljs-title,
38 | .hljs-change {
39 | color: #ffc66d;
40 | }
41 |
42 | .hljs-tag .hljs-title,
43 | .hljs-doctype {
44 | color: #e8bf6a;
45 | }
46 |
47 | .hljs-tag .hljs-attribute {
48 | color: #bababa;
49 | }
50 |
51 | .hljs-tag .hljs-value {
52 | color: #a5c261;
53 | }
54 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/slideBox/appIntro/test.scenario.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: appIntro
3 | component: ionSlideBox
4 | ---
5 | it('should go to slide 2', function(){
6 | var ele = element(by.css('.right-buttons .button'));
7 | ele.click();
8 | });
9 |
10 | it('should go to slide 1', function(){
11 | var ele = element(by.css('.left-buttons .button'));
12 | ele.click();
13 | });
14 |
15 | it('should go to slide 2', function(){
16 | var ele = element(by.css('.right-buttons .button'));
17 | ele.click();
18 | });
19 |
20 | it('should go to slide 3', function(){
21 | var ele = element(by.css('.right-buttons .button'));
22 | ele.click();
23 | });
24 |
25 | it('should go to main app', function(){
26 | var ele = element(by.css('.right-buttons .button'));
27 | ele.click();
28 | });
29 |
30 | it('should start over', function(){
31 | var ele = element(by.css('ion-nav-view .button'));
32 | ele.click();
33 | });
34 |
--------------------------------------------------------------------------------
/scss/ionic.app.scss:
--------------------------------------------------------------------------------
1 | /*
2 | To customize the look and feel of Ionic, you can override the variables
3 | in ionic's _variables.scss file.
4 |
5 | For example, you might change some of the default colors:
6 |
7 | $light: #fff !default;
8 | $stable: #f8f8f8 !default;
9 | $positive: #387ef5 !default;
10 | $calm: #11c1f3 !default;
11 | $balanced: #33cd5f !default;
12 | $energized: #ffc900 !default;
13 | $assertive: #ef473a !default;
14 | $royal: #886aea !default;
15 | $dark: #444 !default;
16 | */
17 |
18 | // The path for our ionicons font files, relative to the built CSS in www/css
19 | $ionicons-font-path: "../lib/ionic/fonts" !default;
20 |
21 | // Include all of Ionic
22 | @import "www/lib/ionic/scss/ionic";
23 |
24 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/service/decorators/location.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @private
3 | */
4 | IonicModule.config([
5 | '$provide',
6 | function($provide) {
7 | function $LocationDecorator($location, $timeout) {
8 |
9 | $location.__hash = $location.hash;
10 | //Fix: when window.location.hash is set, the scrollable area
11 | //found nearest to body's scrollTop is set to scroll to an element
12 | //with that ID.
13 | $location.hash = function(value) {
14 | if (isDefined(value) && value.length > 0) {
15 | $timeout(function() {
16 | var scroll = document.querySelector('.scroll-content');
17 | if (scroll) {
18 | scroll.scrollTop = 0;
19 | }
20 | }, 0, false);
21 | }
22 | return $location.__hash(value);
23 | };
24 |
25 | return $location;
26 | }
27 |
28 | $provide.decorator('$location', ['$delegate', '$timeout', $LocationDecorator]);
29 | }]);
30 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/controller/tabController.js:
--------------------------------------------------------------------------------
1 | IonicModule
2 | .controller('$ionicTab', [
3 | '$scope',
4 | '$ionicHistory',
5 | '$attrs',
6 | '$location',
7 | '$state',
8 | function($scope, $ionicHistory, $attrs, $location, $state) {
9 | this.$scope = $scope;
10 |
11 | //All of these exposed for testing
12 | this.hrefMatchesState = function() {
13 | return $attrs.href && $location.path().indexOf(
14 | $attrs.href.replace(/^#/, '').replace(/\/$/, '')
15 | ) === 0;
16 | };
17 | this.srefMatchesState = function() {
18 | return $attrs.uiSref && $state.includes($attrs.uiSref.split('(')[0]);
19 | };
20 | this.navNameMatchesState = function() {
21 | return this.navViewName && $ionicHistory.isCurrentStateNavView(this.navViewName);
22 | };
23 |
24 | this.tabMatchesState = function() {
25 | return this.hrefMatchesState() || this.srefMatchesState() || this.navNameMatchesState();
26 | };
27 | }]);
28 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/textInput/floatingLabel/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: floatingLabel
3 | component: itemFloatingLabel
4 | ---
5 |
6 |
7 |
8 | Text Input: Floating Label
9 |
10 |
11 |
12 |
13 |
14 |
15 |
19 |
23 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/service/popover/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: popover
3 | component: $ionicPopover
4 | ---
5 |
6 | angular.module('popover', ['ionic'])
7 |
8 | .controller('HeaderCtrl', function($scope, $ionicPopover) {
9 |
10 | $scope.openPopover = function($event) {
11 | $scope.popover.show($event);
12 | };
13 | $ionicPopover.fromTemplateUrl('popover.html', function(popover) {
14 | $scope.popover = popover;
15 | });
16 |
17 | $scope.openPopover2 = function($event) {
18 | $scope.popover2.show($event);
19 | };
20 | $ionicPopover.fromTemplateUrl('popover2.html', function(popover) {
21 | $scope.popover2 = popover;
22 | });
23 | })
24 |
25 | .controller('PlatformCtrl', function($scope, $ionicPopover) {
26 |
27 | $scope.setPlatform = function(p) {
28 | document.body.classList.remove('platform-ios');
29 | document.body.classList.remove('platform-android');
30 | document.body.classList.add('platform-' + p);
31 | };
32 |
33 | });
34 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/starter-template/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Ionic Starter Template
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
24 | {{myTitle}}
25 |
26 |
27 |
28 | Content
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/loading-bar/style.css:
--------------------------------------------------------------------------------
1 | .bar.bar-loading {
2 | display: block;
3 | height: 24px;
4 | /* starts right below a normal header */
5 | top: 44px;
6 | /* make the text centered vertically and horizontally */
7 | text-align: center;
8 | padding: 0;
9 | line-height: 24px;
10 | /* transition 'sliding down' (check below)*/
11 | -webkit-transition: 200ms all;
12 | }
13 | /*
14 | * make the content's top changes animate.
15 | * might not always look good, but looks
16 | * good when our loader is added & removed
17 | */
18 |
19 | .has-header {
20 | -webkit-transition: 200ms top;
21 | }
22 | .has-header.has-loading {
23 | /* 44px (header) + 24px */
24 | top: 68px;
25 | }
26 | /* make loading bar slide up/down */
27 |
28 | .bar-loading.ng-enter,
29 | .bar-loading.ng-leave.ng-leave-active {
30 | height: 0;
31 | border-width: 0px;
32 | }
33 | .bar-loading.ng-enter.ng-enter-active,
34 | .bar-loading.ng-leave {
35 | height: 24px;
36 | border-width: 1px;
37 | }
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/actionsheet/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Ionic Actionsheet
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | Action Sheet
22 |
23 |
24 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/sideMenus/simple/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: simple
3 | component: ionSideMenus
4 | ---
5 |
6 |
7 |
8 |
9 |
14 |
15 | Side
16 |
17 |
18 |
19 | Slide the content or press the button on the header to open a side menu.
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | Close Menu
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/radio-buttons/script.js:
--------------------------------------------------------------------------------
1 | angular.module('ionicApp', ['ionic'])
2 |
3 | .controller('MainCtrl', function ($scope) {
4 |
5 | $scope.clientSideList = [
6 | {
7 | text: "Backbone",
8 | value: "bb"
9 | },
10 | {
11 | text: "Angular",
12 | value: "ng"
13 | },
14 | {
15 | text: "Ember",
16 | value: "em"
17 | },
18 | {
19 | text: "Knockout",
20 | value: "ko"
21 | }
22 | ];
23 |
24 | $scope.serverSideList = [
25 | {
26 | text: "Go",
27 | value: "go"
28 | },
29 | {
30 | text: "Python",
31 | value: "py"
32 | },
33 | {
34 | text: "Ruby",
35 | value: "rb"
36 | },
37 | {
38 | text: "Java",
39 | value: "jv"
40 | }
41 | ];
42 |
43 | $scope.data = {
44 | clientSide: 'ng'
45 | };
46 |
47 | $scope.serverSideChange = function (item) {
48 | console.log("Selected Serverside, text:", item.text, "value:", item.value);
49 | };
50 |
51 | });
--------------------------------------------------------------------------------
/www/lib/ionic/demos/service/popup/popping/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: popping
3 | component: $ionicPopup
4 | ---
5 |
6 |
7 | Popups
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
21 |
22 |
23 |
26 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/loading-bar/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Ionic Loading Bar
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | Hello!
22 |
23 |
24 |
25 | Loading...
26 |
27 |
28 |
29 | Toggle me to toggle loading!
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/list/reorderDelete/index.js:
--------------------------------------------------------------------------------
1 | ---
2 | name: reorderDelete
3 | component: ionList
4 | ---
5 | angular.module('reorderDelete', ['ionic'])
6 | .controller('ListCtrl', function($scope, $ionicPopup) {
7 | $scope.data = {
8 | showReorder: false,
9 | showDelete: false
10 | };
11 |
12 | $scope.items = [];
13 | for (var i = 0; i < 20; i++) {
14 | $scope.items.push(i);
15 | }
16 |
17 | $scope.toggleDelete = function() {
18 | $scope.data.showReorder = false;
19 | $scope.data.showDelete = !$scope.data.showDelete;
20 | };
21 | $scope.toggleReorder = function() {
22 | $scope.data.showDelete = false;
23 | $scope.data.showReorder = !$scope.data.showReorder;
24 | };
25 |
26 | $scope.share = function(item) {
27 | alert('Sharing ' + item);
28 | };
29 | $scope.edit = function(item) {
30 | alert('Editing ' + item);
31 | };
32 |
33 | $scope.reorderItem = function(item, fromIndex, toIndex) {
34 | $scope.items.splice(fromIndex, 1)
35 | $scope.items.splice(toIndex, 0, item)
36 | };
37 | });
38 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/service/viewService.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @private
3 | * DEPRECATED, as of v1.0.0-beta14 -------
4 | */
5 | IonicModule
6 | .factory('$ionicViewService', ['$ionicHistory', '$log', function($ionicHistory, $log) {
7 |
8 | function warn(oldMethod, newMethod) {
9 | $log.warn('$ionicViewService' + oldMethod + ' is deprecated, please use $ionicHistory' + newMethod + ' instead: http://ionicframework.com/docs/nightly/api/service/$ionicHistory/');
10 | }
11 |
12 | warn('', '');
13 |
14 | var methodsMap = {
15 | getCurrentView: 'currentView',
16 | getBackView: 'backView',
17 | getForwardView: 'forwardView',
18 | getCurrentStateName: 'currentStateName',
19 | nextViewOptions: 'nextViewOptions',
20 | clearHistory: 'clearHistory'
21 | };
22 |
23 | forEach(methodsMap, function(newMethod, oldMethod) {
24 | methodsMap[oldMethod] = function() {
25 | warn('.' + oldMethod, '.' + newMethod);
26 | return $ionicHistory[newMethod].apply(this, arguments);
27 | };
28 | });
29 |
30 | return methodsMap;
31 |
32 | }]);
33 |
--------------------------------------------------------------------------------
/www/lib/highlightjs/styles/ascetic.css:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev
4 |
5 | */
6 |
7 | .hljs {
8 | display: block;
9 | overflow-x: auto;
10 | padding: 0.5em;
11 | background: white;
12 | color: black;
13 | -webkit-text-size-adjust: none;
14 | }
15 |
16 | .hljs-string,
17 | .hljs-tag .hljs-value,
18 | .hljs-filter .hljs-argument,
19 | .hljs-addition,
20 | .hljs-change,
21 | .hljs-name,
22 | .apache .hljs-tag,
23 | .apache .hljs-cbracket,
24 | .nginx .hljs-built_in,
25 | .tex .hljs-formula {
26 | color: #888;
27 | }
28 |
29 | .hljs-comment,
30 | .hljs-shebang,
31 | .hljs-doctype,
32 | .hljs-pi,
33 | .hljs-deletion,
34 | .apache .hljs-sqbracket {
35 | color: #ccc;
36 | }
37 |
38 | .hljs-keyword,
39 | .hljs-tag .hljs-title,
40 | .ini .hljs-title,
41 | .lisp .hljs-title,
42 | .http .hljs-title,
43 | .nginx .hljs-title,
44 | .css .hljs-tag,
45 | .hljs-winutils,
46 | .hljs-flow,
47 | .apache .hljs-tag,
48 | .tex .hljs-command,
49 | .hljs-request,
50 | .hljs-status {
51 | font-weight: bold;
52 | }
53 |
--------------------------------------------------------------------------------
/www/lib/ionic/js/angular/directive/itemFloatingLabel.js:
--------------------------------------------------------------------------------
1 |
2 | IonicModule
3 | .directive('itemFloatingLabel', function() {
4 | return {
5 | restrict: 'C',
6 | link: function(scope, element) {
7 | var el = element[0];
8 | var input = el.querySelector('input, textarea');
9 | var inputLabel = el.querySelector('.input-label');
10 |
11 | if (!input || !inputLabel) return;
12 |
13 | var onInput = function() {
14 | if (input.value) {
15 | inputLabel.classList.add('has-input');
16 | } else {
17 | inputLabel.classList.remove('has-input');
18 | }
19 | };
20 |
21 | input.addEventListener('input', onInput);
22 |
23 | var ngModelCtrl = jqLite(input).controller('ngModel');
24 | if (ngModelCtrl) {
25 | ngModelCtrl.$render = function() {
26 | input.value = ngModelCtrl.$viewValue || '';
27 | onInput();
28 | };
29 | }
30 |
31 | scope.$on('$destroy', function() {
32 | input.removeEventListener('input', onInput);
33 | });
34 | }
35 | };
36 | });
37 |
--------------------------------------------------------------------------------
/www/lib/ionic/scss/_loading.scss:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Loading
4 | * --------------------------------------------------
5 | */
6 |
7 | .loading-container {
8 | position: absolute;
9 | left: 0;
10 | top: 0;
11 | right: 0;
12 | bottom: 0;
13 |
14 | z-index: $z-index-loading;
15 |
16 | @include display-flex();
17 | @include justify-content(center);
18 | @include align-items(center);
19 |
20 | @include transition(0.2s opacity linear);
21 | visibility: hidden;
22 | opacity: 0;
23 |
24 | &:not(.visible) .icon,
25 | &:not(.visible) .spinner{
26 | display: none;
27 | }
28 | &.visible {
29 | visibility: visible;
30 | }
31 | &.active {
32 | opacity: 1;
33 | }
34 |
35 | .loading {
36 | padding: $loading-padding;
37 |
38 | border-radius: $loading-border-radius;
39 | background-color: $loading-bg-color;
40 |
41 | color: $loading-text-color;
42 |
43 | text-align: center;
44 | text-overflow: ellipsis;
45 | font-size: $loading-font-size;
46 |
47 | h1, h2, h3, h4, h5, h6 {
48 | color: $loading-text-color;
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/old/pull-to-refresh/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Ionic Template
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | Refresher
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | {{item}}
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/www/lib/ionic/scss/ionicons/_ionicons-font.scss:
--------------------------------------------------------------------------------
1 | // Ionicons Font Path
2 | // --------------------------
3 |
4 | @font-face {
5 | font-family: $ionicons-font-family;
6 | src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}");
7 | src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}#iefix") format("embedded-opentype"),
8 | url("#{$ionicons-font-path}/ionicons.ttf?v=#{$ionicons-version}") format("truetype"),
9 | url("#{$ionicons-font-path}/ionicons.woff?v=#{$ionicons-version}") format("woff"),
10 | url("#{$ionicons-font-path}/ionicons.woff") format("woff"), /* for WP8 */
11 | url("#{$ionicons-font-path}/ionicons.svg?v=#{$ionicons-version}#Ionicons") format("svg");
12 | font-weight: normal;
13 | font-style: normal;
14 | }
15 |
16 | .ion {
17 | display: inline-block;
18 | font-family: $ionicons-font-family;
19 | speak: none;
20 | font-style: normal;
21 | font-weight: normal;
22 | font-variant: normal;
23 | text-transform: none;
24 | text-rendering: auto;
25 | line-height: 1;
26 | -webkit-font-smoothing: antialiased;
27 | -moz-osx-font-smoothing: grayscale;
28 | }
29 |
--------------------------------------------------------------------------------
/www/lib/ionic/demos/directive/collectionRepeat/contacts/contacts.html:
--------------------------------------------------------------------------------
1 | ---
2 | name: contacts
3 | component: collectionRepeat
4 | ---
5 |
6 |
7 |
8 | 3000 Contacts B
9 |
10 |
11 |
16 |
17 |
18 |
21 |
22 | {{item.first_name+' '+item.last_name}}
23 | {{$index}}
24 |
25 |
26 |
27 |
28 |
29 |
31 |