Преглед на файлове

Temporarily removing Ionic and AngularJS Client

David Leonard преди 10 години
родител
ревизия
0b535096a9
променени са 100 файла, в които са добавени 0 реда и са изтрити 17847 реда
  1. 0 35
      angular/addons/footer.html
  2. 0 19
      angular/addons/nav.html
  3. 0 22
      angular/bower.json
  4. 0 176
      angular/css/main.css
  5. 0 99
      angular/index.html
  6. 0 301
      angular/js/jquery.navgoco.js
  7. 0 29
      angular/partials/githubTopContributions.partial.html
  8. 0 40
      angular/partials/githubUser.partial.html
  9. 0 43
      angular/partials/instagramUser.partial.html
  10. 0 29
      angular/partials/snippets.partial.html
  11. 0 34
      angular/partials/steamSales.partial.html
  12. 0 54
      angular/scripts/app.js
  13. 0 13
      angular/scripts/controllers/appController.js
  14. 0 10
      angular/scripts/controllers/githubTopContributionsController.js
  15. 0 10
      angular/scripts/controllers/githubUserController.js
  16. 0 19
      angular/scripts/controllers/instagramUserController.js
  17. 0 10
      angular/scripts/controllers/restAppController.js
  18. 0 10
      angular/scripts/controllers/steamSalesController.js
  19. 0 12
      angular/scripts/factories/githubTopContributionsFactory.js
  20. 0 12
      angular/scripts/factories/githubUserFactory.js
  21. 0 12
      angular/scripts/factories/instagramUserFactory.js
  22. 0 12
      angular/scripts/factories/instagramUserMediaFactory.js
  23. 0 12
      angular/scripts/factories/restAppFactory.js
  24. 0 12
      angular/scripts/factories/steamSalesFactory.js
  25. 0 32
      gulpfile.js
  26. 0 3
      ionic/.bowerrc
  27. 0 6
      ionic/.gitignore
  28. 0 26
      ionic/README.md
  29. 0 7
      ionic/bower.json
  30. 0 49
      ionic/config.xml
  31. 0 50
      ionic/gulpfile.js
  32. 0 83
      ionic/hooks/README.md
  33. 0 94
      ionic/hooks/after_prepare/010_add_platform_class.js
  34. 0 4
      ionic/ionic.project
  35. 0 21
      ionic/package.json
  36. 0 11
      ionic/plugins/ios.json
  37. BIN
      ionic/resources/android/icon/drawable-hdpi-icon.png
  38. BIN
      ionic/resources/android/icon/drawable-ldpi-icon.png
  39. BIN
      ionic/resources/android/icon/drawable-mdpi-icon.png
  40. BIN
      ionic/resources/android/icon/drawable-xhdpi-icon.png
  41. BIN
      ionic/resources/android/icon/drawable-xxhdpi-icon.png
  42. BIN
      ionic/resources/android/icon/drawable-xxxhdpi-icon.png
  43. BIN
      ionic/resources/android/splash/drawable-land-hdpi-screen.png
  44. BIN
      ionic/resources/android/splash/drawable-land-ldpi-screen.png
  45. BIN
      ionic/resources/android/splash/drawable-land-mdpi-screen.png
  46. BIN
      ionic/resources/android/splash/drawable-land-xhdpi-screen.png
  47. BIN
      ionic/resources/android/splash/drawable-land-xxhdpi-screen.png
  48. BIN
      ionic/resources/android/splash/drawable-land-xxxhdpi-screen.png
  49. BIN
      ionic/resources/android/splash/drawable-port-hdpi-screen.png
  50. BIN
      ionic/resources/android/splash/drawable-port-ldpi-screen.png
  51. BIN
      ionic/resources/android/splash/drawable-port-mdpi-screen.png
  52. BIN
      ionic/resources/android/splash/drawable-port-xhdpi-screen.png
  53. BIN
      ionic/resources/android/splash/drawable-port-xxhdpi-screen.png
  54. BIN
      ionic/resources/android/splash/drawable-port-xxxhdpi-screen.png
  55. BIN
      ionic/resources/icon.png
  56. BIN
      ionic/resources/ios/icon/icon-40.png
  57. BIN
      ionic/resources/ios/icon/icon-40@2x.png
  58. BIN
      ionic/resources/ios/icon/icon-50.png
  59. BIN
      ionic/resources/ios/icon/icon-50@2x.png
  60. BIN
      ionic/resources/ios/icon/icon-60.png
  61. BIN
      ionic/resources/ios/icon/icon-60@2x.png
  62. BIN
      ionic/resources/ios/icon/icon-60@3x.png
  63. BIN
      ionic/resources/ios/icon/icon-72.png
  64. BIN
      ionic/resources/ios/icon/icon-72@2x.png
  65. BIN
      ionic/resources/ios/icon/icon-76.png
  66. BIN
      ionic/resources/ios/icon/icon-76@2x.png
  67. BIN
      ionic/resources/ios/icon/icon-small.png
  68. BIN
      ionic/resources/ios/icon/icon-small@2x.png
  69. BIN
      ionic/resources/ios/icon/icon-small@3x.png
  70. BIN
      ionic/resources/ios/icon/icon.png
  71. BIN
      ionic/resources/ios/icon/icon@2x.png
  72. BIN
      ionic/resources/ios/splash/Default-568h@2x~iphone.png
  73. BIN
      ionic/resources/ios/splash/Default-667h.png
  74. BIN
      ionic/resources/ios/splash/Default-736h.png
  75. BIN
      ionic/resources/ios/splash/Default-Landscape-736h.png
  76. BIN
      ionic/resources/ios/splash/Default-Landscape@2x~ipad.png
  77. BIN
      ionic/resources/ios/splash/Default-Landscape~ipad.png
  78. BIN
      ionic/resources/ios/splash/Default-Portrait@2x~ipad.png
  79. BIN
      ionic/resources/ios/splash/Default-Portrait~ipad.png
  80. BIN
      ionic/resources/ios/splash/Default@2x~iphone.png
  81. BIN
      ionic/resources/ios/splash/Default~iphone.png
  82. BIN
      ionic/resources/splash.png
  83. 0 23
      ionic/scss/ionic.app.scss
  84. 0 1
      ionic/www/css/style.css
  85. BIN
      ionic/www/img/ionic.png
  86. 0 36
      ionic/www/index.html
  87. 0 70
      ionic/www/js/app.js
  88. 0 23
      ionic/www/js/controllers.js
  89. 0 21
      ionic/www/js/services.js
  90. 0 7600
      ionic/www/lib/ionic/css/ionic.css
  91. 0 23
      ionic/www/lib/ionic/css/ionic.min.css
  92. BIN
      ionic/www/lib/ionic/fonts/ionicons.eot
  93. 0 2230
      ionic/www/lib/ionic/fonts/ionicons.svg
  94. BIN
      ionic/www/lib/ionic/fonts/ionicons.ttf
  95. BIN
      ionic/www/lib/ionic/fonts/ionicons.woff
  96. 0 4232
      ionic/www/lib/ionic/js/angular-ui/angular-ui-router.js
  97. 0 7
      ionic/www/lib/ionic/js/angular-ui/angular-ui-router.min.js
  98. 0 2137
      ionic/www/lib/ionic/js/angular/angular-animate.js
  99. 0 33
      ionic/www/lib/ionic/js/angular/angular-animate.min.js
  100. 0 0
      ionic/www/lib/ionic/js/angular/angular-resource.js

+ 0 - 35
angular/addons/footer.html

@@ -1,35 +0,0 @@
-<!-- Main jumbotron for a primary marketing message or call to action -->
-<div class="jumbotron">
-  <div class="container">
-    <h1>Hello, world!</h1>
-    <p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
-    <p><a class="btn btn-primary btn-lg">Learn more &raquo;</a></p>
-  </div>
-</div>
-
-<div class="container">
-  <!-- Example row of columns -->
-  <div class="row">
-    <div class="col-lg-4">
-      <h2>Heading</h2>
-      <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
-      <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
-    </div>
-    <div class="col-lg-4">
-      <h2>Heading</h2>
-      <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
-      <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
-   </div>
-    <div class="col-lg-4">
-      <h2>Heading</h2>
-      <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
-      <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
-    </div>
-  </div>
-
-  <hr>
-
-  <footer>
-    <p>&copy; Company 2013</p>
-  </footer>
-</div> <!-- /container -->

+ 0 - 19
angular/addons/nav.html

@@ -1,19 +0,0 @@
-<nav>
-    <ul class="list-unstyled main-menu">
-      <li><a href="#/snippets">Snippets <span class="icon"></span></a></li>
-      <li><a href="#/steamSales">Steam Sales <span class="icon"></span></a></li>
-      <li><a href="#/githubUser">Github User <span class="icon"></span></a></li>
-      <li><a href="#/githubTopContributions">Github Resume <span class="icon"></span></a></li>
-      <li><a href="#/instagramUser">Instagram User <span class="icon"></span></a></li>
-      <li><a href="#">Dropdown</a>
-        <ul class="list-unstyled">
-            <li class="sub-nav"><a href="#">Sub Menu One <span class="icon"></span></a></li>
-            <li class="sub-nav"><a href="#">Sub Menu Two <span class="icon"></span></a></li>
-            <li class="sub-nav"><a href="#">Sub Menu Three <span class="icon"></span></a></li>
-            <li class="sub-nav"><a href="#">Sub Menu Four <span class="icon"></span></a></li>
-            <li class="sub-nav"><a href="#">Sub Menu Five <span class="icon"></span></a></li>
-        </ul>
-      </li>
-    </ul>
-</nav>
-

+ 0 - 22
angular/bower.json

@@ -1,22 +0,0 @@
-{
-  "name": "django-hackathon-starter",
-  "version": "0.0.0",
-  "authors": [
-    "David Leonard <sephirothcloud1025@yahoo.com>"
-  ],
-  "description": "Django boilerplate project for hackathons",
-  "keywords": [
-    "Django",
-    "Python",
-    "API",
-    "RESTful"
-  ],
-  "license": "MIT",
-  "dependencies": {
-    "bootstrap": "~3.3.4",
-    "jquery": "~2.1.3",
-    "bootstrap-social": "~4",
-    "angular": "~1.3.15",
-    "angular-ui-router": "~0.2.13"
-  }
-}

+ 0 - 176
angular/css/main.css

@@ -1,176 +0,0 @@
-
-
-/* ==========================================================================
-   Author's custom styles
-   ========================================================================== */
-
-a.nav-expander {
-  background: none repeat scroll 0 0 #000000;
-  color: #FFFFFF;
-  display: block;
-  font-size: 15px;
-  font-weight: 400;
-  height: 50px;
-  margin-right: 0;
-  padding: 1em 1.6em 2em;
-  position: absolute;
-  right: 0;
-  text-decoration: none;
-  text-transform: uppercase;
-  top: 0;
-  transition: right 0.3s ease-in-out 0s;
-  width: 130px;
-  z-index: 12;
-
-  transition: right 0.3s ease-in-out 0s;
-  -webkit-transition: right 0.3s ease-in-out 0s;
-  -moz-transition: right 0.3s ease-in-out 0s;
-  -o-transition: right 0.3s ease-in-out 0s;
-
-}
-
-a.nav-expander:hover {
-  cursor: pointer;
-}
-
-a.nav-expander.fixed {
-  position: fixed;
-}
-
-.nav-expanded a.nav-expander.fixed {
-    right: 20em;
-}
-
-nav {
-  background: #2d2f33;
-  display: block;
-  height: 100%;
-  overflow: auto;
-  position: fixed;
-  right: -20em;
-  font-size: 15px;
-  top: 0;
-  width: 20em;
-  z-index: 2000;
-  
-  transition: right 0.3s ease-in-out 0s;
-  -webkit-transition: right 0.3s ease-in-out 0s;
-  -moz-transition: right 0.3s ease-in-out 0s;
-  -o-transition: right 0.3s ease-in-out 0s;
-
-}
-.nav-expanded nav {
-  right: 0;
-}
-
-body.nav-expanded {
-  margin-left: 0em;
-  transition: right 0.4s ease-in-out 0s;
-  -webkit-transition: right 0.4s ease-in-out 0s;
-  -moz-transition: right 0.4s ease-in-out 0s;
-  -o-transition: right 0.4s ease-in-out 0s;
-}
-
-#nav-close {
-  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
-  font-weight: 300;
-  font-size: 24px;
-  padding-right: 10px;
-}
-
-.main-menu {
-  padding-top: 12px;
-}
-
-.main-menu li {
-  border-bottom: 1px solid #323949;
-  margin-left: 20px;
-  font-size: 18px;
-  padding: 12px;
-}
-
-.main-menu li a {
-  color: #6F7D8C;
-  text-decoration: none;
-}
-
-.main-menu li a:hover {
-  color: #FFFFFF;
-  text-decoration: none;
-}
-
-.main-menu li .sub-nav {
-  border-bottom: 0px;
-  padding: 4px;
-}
-
-.main-menu a .caret {
-	width: 0;
-	height: 0;
-	display: inline-block;
-	vertical-align: top;
-	border-top: 4px solid #4f5963;
-	border-right: 4px solid transparent;
-	border-left: 4px solid transparent;
-	content: "";
-    margin-top: 8px;
-}
-
-.main-menu a:hover .caret {
-	border-top-color: #4f5963;
-}
-
-.main-menu li.open > a > .caret {
-	border-top: none;
-	border-bottom: 4px solid #4f5963;
-	border-right: 4px solid transparent;
-	border-left: 4px solid transparent;
-}
-
-.main-menu li.open > a:hover > .caret {
-	border-bottom-color: #4f5963;
-}
-
-.icon:before {
-  font-family: 'FontAwesome';
-  font-style: normal;
-  font-variant: normal;
-  font-weight: normal;
-  line-height: 1;
-  text-transform: none;
-  content: '\f105';
-}
-
-.main-menu li > a > span.icon {
-  float: right;
-  margin: 0.1em 1.7em -0.1em 0;
-  opacity: 0;
-  -webkit-transition: all 0.2s ease-in-out;
-  -moz-transition: all 0.2s ease-in-out;
-  -o-transition: all 0.2s ease-in-out;
-  transition: all 0.2s ease-in-out;
-
-}
-
-.main-menu li > a:hover > span.icon {
-  float: right;
-  margin: 0.1em 0.8em -0.1em 0;
-  opacity: 1;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

+ 0 - 99
angular/index.html

@@ -1,99 +0,0 @@
-<!DOCTYPE html>
-<html lang="en-us" data-ng-app="restApp" data-ng-controller="appController">
-    <head>
-        <meta charset="utf-8">
-
-        <title data-ng-bind="pageTitle + ' | RestAPP'">RestAPP</title>
-
-        <!-- AngularJS -->
-        <script src="vendor/angular/angular.js"></script>
-        <script src="vendor/angular-ui-router/release/angular-ui-router.min.js"></script>
-
-        <!-- Bootstrap Core CSS -->
-        <link href="vendor/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
-
-        <!-- Styles -->
-        <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css">
-        <link rel="stylesheet" href="css/main.css">
-
-        <!-- jQuery -->
-        <script src="vendor/jquery/dist/jquery.min.js"></script>
-
-        <!-- Bootstrap Core JavaScript -->
-        <script src="vendor/bootstrap/dist/js/bootstrap.min.js"></script>
-
-        <!-- Front-end JavaScript -->
-        <script src="js/jquery.navgoco.js"></script>
-        <script>
-        $(document).ready(function(){                       
-           
-           //Navigation Menu Slider
-            $('#nav-expander').on('click',function(e){
-              e.preventDefault();
-              $('body').toggleClass('nav-expanded');
-            });
-            $('#nav-close').on('click',function(e){
-              e.preventDefault();
-              $('body').removeClass('nav-expanded');
-            });
-            
-            
-            // Initialize navgoco with default options
-            $(".main-menu").navgoco({
-                caret: '<span class="caret"></span>',
-                accordion: false,
-                openClass: 'open',
-                save: true,
-                cookie: {
-                    name: 'navgoco',
-                    expires: false,
-                    path: '/'
-                },
-                slide: {
-                    duration: 300,
-                    easing: 'swing'
-                }
-            });
-      
-              
-          });
-          </script>
-
-        <!-- Main application file -->
-        <script src="scripts/app.js"></script>
-
-        <!-- Controllers --> 
-        <script src="scripts/controllers/appController.js"></script>
-        <script src="scripts/controllers/restAppController.js"></script>
-        <script src="scripts/controllers/githubUserController.js"></script>
-        <script src="scripts/controllers/githubTopContributionsController.js"></script>
-        <script src="scripts/controllers/steamSalesController.js"></script>
-        <script src="scripts/controllers/instagramUserController.js"></script>
-
-        <!-- Factories -->
-        <script src="scripts/factories/restAppFactory.js"></script>
-        <script src="scripts/factories/githubUserFactory.js"></script>
-        <script src="scripts/factories/githubTopContributionsFactory.js"></script>
-        <script src="scripts/factories/steamSalesFactory.js"></script>
-        <script src="scripts/factories/instagramUserFactory.js"></script>
-        <script src="scripts/factories/instagramUserMediaFactory.js"></script>
-
-    </head>
-
-    <body>
-        <div data-ui-view></div>
-
-        <div ng-include="'addons/nav.html'"></div>
-        
-        <div class="navbar navbar-inverse navbar-fixed-top">      
-            <!--Include your brand here-->
-            <a class="navbar-brand" href="#">Django-AngularJS</a>
-            <div class="navbar-header pull-right">
-              <a id="nav-expander" class="nav-expander fixed">
-                Apps &nbsp;<i class="fa fa-bars fa-lg white"></i>
-              </a>
-            </div>
-        </div>
-        
-    </body>
-</html>

+ 0 - 301
angular/js/jquery.navgoco.js

@@ -1,301 +0,0 @@
-/*
- * jQuery Navgoco Menus Plugin v0.1.5 (2013-09-07)
- * https://github.com/tefra/navgoco
- *
- * Copyright (c) 2013 Chris T (@tefra)
- * BSD - https://github.com/tefra/navgoco/blob/master/LICENSE-BSD
- */
-(function($) {
-
-	"use strict";
-
-	/**
-	 * Plugin Constructor. Every menu must have a unique id which will either
-	 * be the actual id attribute or its index in the page.
-	 *
-	 * @param {Element} el
-	 * @param {Object} options
-	 * @param {Integer} idx
-	 * @returns {Object} Plugin Instance
-	 */
-	var Plugin = function(el, options, idx) {
-		this.el = el;
-		this.$el = $(el);
-		this.options = options;
-		this.uuid = this.$el.attr('id') ? this.$el.attr('id') : idx;
-		this.state = {};
-		this.init();
-		return this;
-	};
-
-	/**
-	 * Plugin methods
-	 */
-	Plugin.prototype = {
-		/**
-		 * Load cookie, assign a unique data-index attribute to
-		 * all sub-menus and show|hide them according to cookie
-		 * or based on the parent open class. Find all parent li > a
-		 * links add the carent if it's on and attach the event click
-		 * to them.
-		 */
-		init: function() {
-			var self = this;
-			self._load();
-			self.$el.find('ul').each(function(idx) {
-				var sub = $(this);
-				sub.attr('data-index', idx);
-				if (self.options.save && self.state.hasOwnProperty(idx)) {
-					sub.parent().addClass(self.options.openClass);
-					sub.show();
-				} else if (sub.parent().hasClass(self.options.openClass)) {
-					sub.show();
-					self.state[idx] = 1;
-				} else {
-					sub.hide();
-				}
-			});
-
-			if (self.options.caret) {
-				self.$el.find("li:has(ul) > a").append(self.options.caret);
-			}
-
-			var links = self.$el.find("li > a");
-			links.on('click', function(event) {
-				event.stopPropagation();
-				var sub = $(this).next();
-				sub = sub.length > 0 ? sub : false;
-				self.options.onClickBefore.call(this, event, sub);
-				if (sub) {
-					event.preventDefault();
-					self._toggle(sub, sub.is(":hidden"));
-					self._save();
-				} else {
-					if (self.options.accordion) {
-						var allowed = self.state = self._parents($(this));
-						self.$el.find('ul').filter(':visible').each(function() {
-							var sub = $(this),
-								idx = sub.attr('data-index');
-
-							if (!allowed.hasOwnProperty(idx)) {
-								self._toggle(sub, false);
-							}
-						});
-						self._save();
-					}
-				}
-				self.options.onClickAfter.call(this, event, sub);
-			});
-		},
-		/**
-		 * Accepts a JQuery Element and a boolean flag. If flag is false it removes the `open` css
-		 * class from the parent li and slides up the sub-menu. If flag is open it adds the `open`
-		 * css class to the parent li and slides down the menu. If accordion mode is on all
-		 * sub-menus except the direct parent tree will close. Internally an object with the menus
-		 * states is maintained for later save duty.
-		 *
-		 * @param {Element} sub
-		 * @param {Boolean} open
-		 */
-		_toggle: function(sub, open) {
-			var self = this,
-				idx = sub.attr('data-index'),
-				parent = sub.parent();
-
-			self.options.onToggleBefore.call(this, sub, open);
-			if (open) {
-				parent.addClass(self.options.openClass);
-				sub.slideDown(self.options.slide);
-				self.state[idx] = 1;
-
-				if (self.options.accordion) {
-					var allowed = self.state = self._parents(sub);
-					allowed[idx] = self.state[idx] = 1;
-
-					self.$el.find('ul').filter(':visible').each(function() {
-						var sub = $(this),
-							idx = sub.attr('data-index');
-
-						if (!allowed.hasOwnProperty(idx)) {
-							self._toggle(sub, false);
-						}
-					});
-				}
-			} else {
-				parent.removeClass(self.options.openClass);
-				sub.slideUp(self.options.slide);
-				self.state[idx] = 0;
-			}
-			self.options.onToggleAfter.call(this, sub, open);
-		},
-		/**
-		 * Returns all parents of a sub-menu. When obj is true It returns an object with indexes for
-		 * keys and the elements as values, if obj is false the object is filled with the value `1`.
-		 *
-		 * @since v0.1.2
-		 * @param {Element} sub
-		 * @param {Boolean} obj
-		 * @returns {Object}
-		 */
-		_parents: function(sub, obj) {
-			var result = {},
-				parent = sub.parent(),
-				parents = parent.parents('ul');
-
-			parents.each(function() {
-				var par = $(this),
-					idx = par.attr('data-index');
-
-				if (!idx) {
-					return false;
-				}
-				result[idx] = obj ? par : 1;
-			});
-			return result;
-		},
-		/**
-		 * If `save` option is on the internal object that keeps track of the sub-menus states is
-		 * saved with a cookie. For size reasons only the open sub-menus indexes are stored.		 *
-		 */
-		_save: function() {
-			if (this.options.save) {
-				var save = {};
-				for (var key in this.state) {
-					if (this.state[key] === 1) {
-						save[key] = 1;
-					}
-				}
-				cookie[this.uuid] = this.state = save;
-				$.cookie(this.options.cookie.name, JSON.stringify(cookie), this.options.cookie);
-			}
-		},
-		/**
-		 * If `save` option is on it reads the cookie data. The cookie contains data for all
-		 * navgoco menus so the read happens only once and stored in the global `cookie` var.
-		 */
-		_load: function() {
-			if (this.options.save) {
-				if (cookie === null) {
-					var data = $.cookie(this.options.cookie.name);
-					cookie = (data) ? JSON.parse(data) : {};
-				}
-				this.state = cookie.hasOwnProperty(this.uuid) ? cookie[this.uuid] : {};
-			}
-		},
-		/**
-		 * Public method toggle to manually show|hide sub-menus. If no indexes are provided all
-		 * items will be toggled. You can pass sub-menus indexes as regular params. eg:
-		 * navgoco('toggle', true, 1, 2, 3, 4, 5);
-		 *
-		 * Since v0.1.2 it will also open parents when providing sub-menu indexes.
-		 *
-		 * @param {Boolean} open
-		 */
-		toggle: function(open) {
-			var self = this,
-				length = arguments.length;
-
-			if (length <= 1) {
-				self.$el.find('ul').each(function() {
-					var sub = $(this);
-					self._toggle(sub, open);
-				});
-			} else {
-				var idx,
-					list = {},
-					args = Array.prototype.slice.call(arguments, 1);
-				length--;
-
-				for (var i = 0; i < length; i++) {
-					idx = args[i];
-					var sub = self.$el.find('ul[data-index="' + idx + '"]').first();
-					if (sub) {
-						list[idx] = sub;
-						if (open) {
-							var parents = self._parents(sub, true);
-							for (var pIdx in parents) {
-								if (!list.hasOwnProperty(pIdx)) {
-									list[pIdx] = parents[pIdx];
-								}
-							}
-						}
-					}
-				}
-
-				for (idx in list) {
-					self._toggle(list[idx], open);
-				}
-			}
-			self._save();
-		},
-		/**
-		 * Removes instance from JQuery data cache and unbinds events.
-		 */
-		destroy: function() {
-			$.removeData(this.$el);
-			this.$el.find("li:has(ul) > a").unbind('click');
-		}
-	};
-
-	/**
-	 * A JQuery plugin wrapper for navgoco. It prevents from multiple instances and also handles
-	 * public methods calls. If we attempt to call a public method on an element that doesn't have
-	 * a navgoco instance, one will be created for it with the default options.
-	 *
-	 * @param {Object|String} options
-	 */
-	$.fn.navgoco = function(options) {
-		if (typeof options === 'string' && options.charAt(0) !== '_' && options !== 'init') {
-			var callback = true,
-				args = Array.prototype.slice.call(arguments, 1);
-		} else {
-			options = $.extend({}, $.fn.navgoco.defaults, options || {});
-			if (!$.cookie) {
-				options.save = false;
-			}
-		}
-		return this.each(function(idx) {
-			var $this = $(this),
-				obj = $this.data('navgoco');
-
-			if (!obj) {
-				obj = new Plugin(this, callback ? $.fn.navgoco.defaults : options, idx);
-				$this.data('navgoco', obj);
-			}
-			if (callback) {
-				obj[options].apply(obj, args);
-			}
-		});
-	};
-	/**
-	 * Global var holding all navgoco menus open states
-	 *
-	 * @type {Object}
-	 */
-	var cookie = null;
-
-	/**
-	 * Default navgoco options
-	 *
-	 * @type {Object}
-	 */
-	$.fn.navgoco.defaults = {
-		caret: '<span class="caret"></span>',
-		accordion: false,
-		openClass: 'open',
-		save: true,
-		cookie: {
-			name: 'navgoco',
-			expires: false,
-			path: '/'
-		},
-		slide: {
-			duration: 400,
-			easing: 'swing'
-		},
-		onClickBefore: $.noop,
-		onClickAfter: $.noop,
-		onToggleBefore: $.noop,
-		onToggleAfter: $.noop
-	};
-})(jQuery);

+ 0 - 29
angular/partials/githubTopContributions.partial.html

@@ -1,29 +0,0 @@
-<div class="jumbotron">
-  <div class="container">
-
-    <div class="row text-center">
-    	<h1> Github Top Contributed Repositories</h1>
-    </div>
-
-    <div class="col-lg-12">
-        <div class="table-responsive">
-            <table class="table table-bordered table-hover table-striped tablesorter">
-                <thead>
-                    <tr>
-                        <th class="header">Repository Name</th>
-                        <th class="header">Total Commits</th>
-                        <th class="header">Author</th>
-                    </tr>
-                </thead>
-                <tbody>
-                    <tr data-ng-repeat="data in githubTopContributions.data.committed">
-                            <td>{{ data.repo_name }}</td>
-                            <td>{{ data.total }}</td>
-                            <td>{{ data.author }}</td>
-                    </tr>
-                </tbody>
-            </table>
-        </div>
-    </div>
-  </div>
-</div>

+ 0 - 40
angular/partials/githubUser.partial.html

@@ -1,40 +0,0 @@
-<div class="jumbotron">
-  <div class="container">
-
-    <div class="row text-center"> 
-        <h1> Github User Data </h1>
-    </div>
-
-    <div class="col-lg-12">
-        <div class="table-responsive">
-            <table class="table table-bordered table-hover table-striped tablesorter">
-                <thead>
-                    <tr>
-                        <th class="header">Public Repos</th>
-                        <th class="header">Public Gists</th>
-                        <th class="header">Name</th>
-                        <th class="header">Blog</th>
-                        <th class="header">Followers</th>
-                        <th class="header">Following</th>
-                        <th class="header">E-mail</th>
-                    </tr>
-                </thead>
-                <tbody>
-                    <tr data-ng-repeat="data in githubUser.data.userData">
-                            <td>{{ data.public_repos }}</td>
-                            <td>{{ data.public_gists }}</td>
-                            <td>{{ data.name }}</td>
-                            <td>{{ data.blog }}</td>
-                            <td>{{ data.followers }}</td>
-                            <td>{{ data.following }}</td>
-                            <td>{{ data.email }}</td>
-                    </tr>
-                </tbody>
-            </table>
-        </div>
-    </div>
-  </div>
-</div>
-
-
-

+ 0 - 43
angular/partials/instagramUser.partial.html

@@ -1,43 +0,0 @@
-<div class="jumbotron">
-  <div class="container">
-
-    <div class="row text-center"> 
-        <h1> Instagram User Data </h1>
-    </div>
-
-	    <div class="col-lg-12">
-	        <div class="table-responsive">
-	            <table class="table table-bordered table-hover table-striped tablesorter">
-	                <thead> 
-	                	<tr>
-	                		<th>Username</th>
-	                		<th>ID</th>
-	                		<th>Bio</th>
-	                		<th>Website</th>
-	                		<th>Profile Image</th>
-	                		<th>Full Name</th>
-	                		<th>Following</th>
-	                		<th>Followers</th>
-	                		<th>Total Media</th>
-	                	</tr>
-	                </thead>
-	                <tbody>
-	                	<tr data-ng-repeat="data in instagramUserData">
-	                		<td>{{data.username}}</td>
-	                		<td>{{data.id}}</td>
-	                		<td>{{data.bio}}</td>
-	                		<td>{{data.website}}</td>
-	                		<td><img src="{{data.profile_picture}}"></td>
-	                		<td>{{data.full_name}}</td>
-	                		<td>{{data.counts.follows}}</td>
-	                		<td>{{data.counts.followed_by}}</td>
-	                		<td>{{data.counts.media}}</td>
-	                	</tr>
-	                </tbody>
-	            </table>
-
-	        	<img data-ng-repeat= "i in instagramUserMediaData.data" src="{{i.images.thumbnail.url}}">
-	        </div>
-	    </div>	    
-	</div>
-</div>

+ 0 - 29
angular/partials/snippets.partial.html

@@ -1,29 +0,0 @@
-<div class="jumbotron">
-  <div class="container">
-
-    <div class="row text-center">
-    	<h1> Code Snippets </h1>
-    </div>
-
-    <div class="col-lg-12">
-        <div class="table-responsive">
-            <table class="table table-bordered table-hover table-striped tablesorter">
-                <thead>
-                    <tr>
-                        <th class="header">Code</th>
-                        <th class="header">ID</th>
-                        <th class="header">Line Numbers</th>
-                    </tr>
-                </thead>
-                <tbody>
-                    <tr data-ng-repeat="data in restData">
-    	                    <td>{{ data.code }}</td>
-    	                    <td>{{ data.id }}</td>
-    	                    <td>{{ data.linenos }}</td>
-                    </tr>
-                </tbody>
-            </table>
-        </div>
-    </div>
-</div>
-</div>

+ 0 - 34
angular/partials/steamSales.partial.html

@@ -1,34 +0,0 @@
-<!-- Main jumbotron for a primary marketing message or call to action -->
-<div class="jumbotron">
-  <div class="container">
-    <div class="row text-center"> 
-        <h1> Latest Steam Sale Data </h1>
-    </div>
-
-    <div class="col-lg-12">
-        <div class="table-responsive">
-            <table class="table table-bordered table-hover table-striped tablesorter">
-                <thead>
-                    <tr>
-                        <th class="header">Name</th>
-                        <th class="header">Release Date</th>
-                        <th class="header">Discount</th>
-                        <th class="header">Price</th>
-                    </tr>
-                </thead>
-                <tbody>
-                    <tr data-ng-repeat="data in steamSales.data ">
-                            <td>{{ data.name }}</td>
-                            <td>{{ data.releaseDates }}</td>
-                            <td>{{ data.discount }} </td>
-                            <td>{{ data.price }}</td>
-                    </tr>
-                </tbody>
-            </table>
-        </div>
-    </div>
-</div>
-</div>
-
-
-

+ 0 - 54
angular/scripts/app.js

@@ -1,54 +0,0 @@
-'use strict';
-
-var restApp = angular.module('restApp', [
-    'ui.router'
-])
-.config(function($stateProvider, $urlRouterProvider) {
-    $stateProvider
-
-        .state('snippets', {
-            url: '/snippets',
-            templateUrl: 'partials/snippets.partial.html',
-            controller: 'restAppController',
-            data: {
-                pageTitle: 'Sample API Data'
-            }
-        })
-
-        .state('githubUser', {
-            url: '/githubUser',
-            templateUrl: 'partials/githubUser.partial.html',
-            controller: 'githubUserController',
-            data: {
-                pageTitle: 'Github User Data'
-            }
-        })
-
-        .state('steamSales', {
-            url: '/steamSales',
-            templateUrl: 'partials/steamSales.partial.html',
-            controller: 'steamSalesController',
-            data: {
-                pageTitle: 'Latest Steam Sales'
-            }
-        })
-
-        .state('githubTopContributions', {
-            url: '/githubTopContributions',
-            templateUrl: 'partials/githubTopContributions.partial.html',
-            controller: 'githubTopContributionsController',
-            data: {
-                pageTitle: 'Top Contributions on Github'
-            }
-        })
-
-        .state('instagramUser',{
-            url:'/instagramUser',
-            templateUrl: 'partials/instagramUser.partial.html',
-            controller: 'instagramUserController',
-            data : {
-                pageTitle: 'Instagram User Data'
-            }
-        });   
-
-});

+ 0 - 13
angular/scripts/controllers/appController.js

@@ -1,13 +0,0 @@
-'use strict';
-
-restApp.controller('appController', function($scope, $location) {
-    $scope.siteTitle = 'REST App';
-
-    $scope.$on('$stateChangeSuccess', function(event, toState) {
-        $scope.pageTitle = toState.data.pageTitle;
-    });
-
-    $scope.isActive = function(viewLocation) {
-        return viewLocation === $location.path();
-    };
-});

+ 0 - 10
angular/scripts/controllers/githubTopContributionsController.js

@@ -1,10 +0,0 @@
-'use strict';
-
-restApp.controller('githubTopContributionsController', function($scope, githubTopContributionsFactory) {
-    $scope.githubTopContributions = {};
-    
-    $scope.githubTopContributions = githubTopContributionsFactory.get().success(function(data) {
-    	$scope.githubTopContributions = data;
-    	console.log(data);
-    });
-});

+ 0 - 10
angular/scripts/controllers/githubUserController.js

@@ -1,10 +0,0 @@
-'use strict';
-
-restApp.controller('githubUserController', function($scope, githubUserFactory) {
-    $scope.githubUser = {};
-    
-    $scope.githubUser = githubUserFactory.get().success(function(data) {
-    	$scope.githubUser = data;
-    	console.log(data);
-    });
-});

+ 0 - 19
angular/scripts/controllers/instagramUserController.js

@@ -1,19 +0,0 @@
-'use strict';
-
-restApp.controller('instagramUserController', function($scope, instagramUserFactory, instagramUserMediaFactory){
-	$scope.instagramUserData = {};
-	$scope.instagramUserMediaData = {};
-
-	$scope.instagramUserData = instagramUserFactory.get().success(function(data){
-		$scope.instagramUserData = data;
-
-		console.log(data);
-	});
-	
-	$scope.instagramUserMediaData = instagramUserMediaFactory.get().success(function(data){
-		$scope.instagramUserMediaData = data;
-
-		console.log(data);
-	});
-
-})

+ 0 - 10
angular/scripts/controllers/restAppController.js

@@ -1,10 +0,0 @@
-'use strict';
-
-restApp.controller('restAppController', function($scope, restAppFactory) {
-    $scope.restData = {};
-    
-    $scope.restData = restAppFactory.get().success(function(data) {
-    	$scope.restData = data;
-    	console.log(data);
-    });
-});

+ 0 - 10
angular/scripts/controllers/steamSalesController.js

@@ -1,10 +0,0 @@
-'use strict';
-
-restApp.controller('steamSalesController', function($scope, steamSalesFactory) {
-    $scope.steamSales= {};
-    
-    $scope.steamSales = steamSalesFactory.get().success(function(data) {
-    	$scope.steamSales = data;
-    	console.log(data);
-    });
-});

+ 0 - 12
angular/scripts/factories/githubTopContributionsFactory.js

@@ -1,12 +0,0 @@
-'use strict';
-
-restApp.factory('githubTopContributionsFactory', function($http) {
-    return {
-        get: function() {
-            return $http({
-                url: 'http://127.0.0.1:8000/hackathon/githubTopRepositories/',
-                method: 'GET',
-            });
-        }
-    };
-});

+ 0 - 12
angular/scripts/factories/githubUserFactory.js

@@ -1,12 +0,0 @@
-'use strict';
-
-restApp.factory('githubUserFactory', function($http) {
-    return {
-        get: function() {
-            return $http({
-                url: 'http://127.0.0.1:8000/hackathon/githubUser/',
-                method: 'GET',
-            });
-        }
-    };
-});

+ 0 - 12
angular/scripts/factories/instagramUserFactory.js

@@ -1,12 +0,0 @@
-'use strict';
-
-restApp.factory('instagramUserFactory', function($http){
-	return {
-		get: function(){
-			return $http({
-				url: 'http://localhost:8000/hackathon/instagramUser/',
-				method: 'GET',
-			});
-		}
-	};
-});

+ 0 - 12
angular/scripts/factories/instagramUserMediaFactory.js

@@ -1,12 +0,0 @@
-'use strict';
-
-restApp.factory('instagramUserMediaFactory', function($http){
-	return {
-		get: function(){
-			return $http({
-				url: 'http://localhost:8000/hackathon/instagramUserMedia/',
-				method: 'GET',
-			});
-		}
-	};
-});

+ 0 - 12
angular/scripts/factories/restAppFactory.js

@@ -1,12 +0,0 @@
-'use strict';
-
-restApp.factory('restAppFactory', function($http) {
-    return {
-        get: function() {
-            return $http({
-                url: 'http://127.0.0.1:8000/hackathon/snippets/',
-                method: 'GET',
-            });
-        }
-    };
-});

+ 0 - 12
angular/scripts/factories/steamSalesFactory.js

@@ -1,12 +0,0 @@
-'use strict';
-
-restApp.factory('steamSalesFactory', function($http) {
-    return {
-        get: function() {
-            return $http({
-                url: 'http://127.0.0.1:8000/hackathon/steamDiscountedGames/',
-                method: 'GET',
-            });
-        }
-    };
-});

+ 0 - 32
gulpfile.js

@@ -1,32 +0,0 @@
-// 1. Include gulp
-var gulp = require('gulp');
-
-// 2. Include any plugins you might need. 
-// NOTE: child_process is NOT a plugin but it is a requirement.
-var process = require('child_process');
-var install = require("gulp-install");
-
-// 3. Write out the tasks. 
-
-gulp.task('bowerinstall',function(){
-	console.info('Installing Bower Packages.')
-    gulp.src(['./bower.json', './package.json'])
-    .pipe(install());
-})
-
-gulp.task('djangomigrate', function(){
-	var spawn = process.spawn;
-	console.info('Doing Django Migrations');
-	var PIPE = {stdio: 'inherit'};
-	spawn('python',['./hackathon_starter/manage.py','migrate'],PIPE);
-});
-
-gulp.task('django', function(){
-	var spawn = process.spawn;
-	console.info('Starting Django server');
-	var PIPE = {stdio: 'inherit'};
-	spawn('python',['./hackathon_starter/manage.py','runserver'],PIPE);
-});
-
-// 4. Default Task
-gulp.task('default',['bowerinstall','django','djangomigrate']);

+ 0 - 3
ionic/.bowerrc

@@ -1,3 +0,0 @@
-{
-  "directory": "www/lib"
-}

+ 0 - 6
ionic/.gitignore

@@ -1,6 +0,0 @@
-# Specifies intentionally untracked files to ignore when using Git
-# http://git-scm.com/docs/gitignore
-
-node_modules/
-platforms/
-plugins/

+ 0 - 26
ionic/README.md

@@ -1,26 +0,0 @@
-Ionic App Base
-=====================
-
-A starting project for Ionic that optionally supports using custom SCSS.
-
-## Using this project
-
-We recommend using the [Ionic CLI](https://github.com/driftyco/ionic-cli) to create new Ionic projects that are based on this project but use a ready-made starter template.
-
-For example, to start a new Ionic project with the default tabs interface, make sure the `ionic` utility is installed:
-
-```bash
-$ npm install -g ionic
-```
-
-Then run:
-
-```bash
-$ ionic start myProject tabs
-```
-
-More info on this can be found on the Ionic [Getting Started](http://ionicframework.com/getting-started) page and the [Ionic CLI](https://github.com/driftyco/ionic-cli) repo.
-
-## Issues
-Issues have been disabled on this repo, if you do find an issue or have a question consider posting it on the [Ionic Forum](http://forum.ionicframework.com/).  Or else if there is truly an error, follow our guidelines for [submitting an issue](http://ionicframework.com/submit-issue/) to the main Ionic repository.
-

+ 0 - 7
ionic/bower.json

@@ -1,7 +0,0 @@
-{
-  "name": "HelloIonic",
-  "private": "true",
-  "devDependencies": {
-    "ionic": "driftyco/ionic-bower#1.0.0-rc.2"
-  }
-}

+ 0 - 49
ionic/config.xml

@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<widget id="com.ionicframework.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
-  <name>HelloCordova</name>
-  <description>
-        An Ionic Framework and Cordova project.
-    </description>
-  <author email="hi@ionicframework" href="http://ionicframework.com/">
-      Ionic Framework Team
-    </author>
-  <content src="index.html"/>
-  <access origin="*"/>
-  <preference name="webviewbounce" value="false"/>
-  <preference name="UIWebViewBounce" value="false"/>
-  <preference name="DisallowOverscroll" value="true"/>
-  <preference name="BackupWebStorage" value="none"/>
-  <preference name="SplashScreen" value="screen"/>
-  <preference name="SplashScreenDelay" value="3000"/>
-  <feature name="StatusBar">
-    <param name="ios-package" value="CDVStatusBar" onload="true"/>
-  </feature>
-  <platform name="ios">
-    <icon src="resources/ios/icon/icon.png" width="57" height="57"/>
-    <icon src="resources/ios/icon/icon@2x.png" width="114" height="114"/>
-    <icon src="resources/ios/icon/icon-40.png" width="40" height="40"/>
-    <icon src="resources/ios/icon/icon-40@2x.png" width="80" height="80"/>
-    <icon src="resources/ios/icon/icon-50.png" width="50" height="50"/>
-    <icon src="resources/ios/icon/icon-50@2x.png" width="100" height="100"/>
-    <icon src="resources/ios/icon/icon-60.png" width="60" height="60"/>
-    <icon src="resources/ios/icon/icon-60@2x.png" width="120" height="120"/>
-    <icon src="resources/ios/icon/icon-60@3x.png" width="180" height="180"/>
-    <icon src="resources/ios/icon/icon-72.png" width="72" height="72"/>
-    <icon src="resources/ios/icon/icon-72@2x.png" width="144" height="144"/>
-    <icon src="resources/ios/icon/icon-76.png" width="76" height="76"/>
-    <icon src="resources/ios/icon/icon-76@2x.png" width="152" height="152"/>
-    <icon src="resources/ios/icon/icon-small.png" width="29" height="29"/>
-    <icon src="resources/ios/icon/icon-small@2x.png" width="58" height="58"/>
-    <icon src="resources/ios/icon/icon-small@3x.png" width="87" height="87"/>
-    <splash src="resources/ios/splash/Default-568h@2x~iphone.png" height="1136" width="640"/>
-    <splash src="resources/ios/splash/Default-667h.png" height="1334" width="750"/>
-    <splash src="resources/ios/splash/Default-736h.png" height="2208" width="1242"/>
-    <splash src="resources/ios/splash/Default-Landscape-736h.png" height="1242" width="2208"/>
-    <splash src="resources/ios/splash/Default-Landscape@2x~ipad.png" height="1536" width="2048"/>
-    <splash src="resources/ios/splash/Default-Landscape~ipad.png" height="768" width="1024"/>
-    <splash src="resources/ios/splash/Default-Portrait@2x~ipad.png" height="2048" width="1536"/>
-    <splash src="resources/ios/splash/Default-Portrait~ipad.png" height="1024" width="768"/>
-    <splash src="resources/ios/splash/Default@2x~iphone.png" height="960" width="640"/>
-    <splash src="resources/ios/splash/Default~iphone.png" height="480" width="320"/>
-  </platform>
-</widget>

+ 0 - 50
ionic/gulpfile.js

@@ -1,50 +0,0 @@
-var gulp = require('gulp');
-var gutil = require('gulp-util');
-var bower = require('bower');
-var concat = require('gulp-concat');
-var sass = require('gulp-sass');
-var minifyCss = require('gulp-minify-css');
-var rename = require('gulp-rename');
-var sh = require('shelljs');
-
-var paths = {
-  sass: ['./scss/**/*.scss']
-};
-
-gulp.task('default', ['sass']);
-
-gulp.task('sass', function(done) {
-  gulp.src('./scss/ionic.app.scss')
-    .pipe(sass())
-    .pipe(gulp.dest('./www/css/'))
-    .pipe(minifyCss({
-      keepSpecialComments: 0
-    }))
-    .pipe(rename({ extname: '.min.css' }))
-    .pipe(gulp.dest('./www/css/'))
-    .on('end', done);
-});
-
-gulp.task('watch', function() {
-  gulp.watch(paths.sass, ['sass']);
-});
-
-gulp.task('install', ['git-check'], function() {
-  return bower.commands.install()
-    .on('log', function(data) {
-      gutil.log('bower', gutil.colors.cyan(data.id), data.message);
-    });
-});
-
-gulp.task('git-check', function(done) {
-  if (!sh.which('git')) {
-    console.log(
-      '  ' + gutil.colors.red('Git is not installed.'),
-      '\n  Git, the version control system, is required to download Ionic.',
-      '\n  Download git here:', gutil.colors.cyan('http://git-scm.com/downloads') + '.',
-      '\n  Once git is installed, run \'' + gutil.colors.cyan('gulp install') + '\' again.'
-    );
-    process.exit(1);
-  }
-  done();
-});

+ 0 - 83
ionic/hooks/README.md

@@ -1,83 +0,0 @@
-<!--
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
--->
-# Cordova Hooks
-
-This directory may contain scripts used to customize cordova commands. This
-directory used to exist at `.cordova/hooks`, but has now been moved to the
-project root. Any scripts you add to these directories will be executed before
-and after the commands corresponding to the directory name. Useful for
-integrating your own build systems or integrating with version control systems.
-
-__Remember__: Make your scripts executable.
-
-## Hook Directories
-The following subdirectories will be used for hooks:
-
-    after_build/
-    after_compile/
-    after_docs/
-    after_emulate/
-    after_platform_add/
-    after_platform_rm/
-    after_platform_ls/
-    after_plugin_add/
-    after_plugin_ls/
-    after_plugin_rm/
-    after_plugin_search/
-    after_prepare/
-    after_run/
-    after_serve/
-    before_build/
-    before_compile/
-    before_docs/
-    before_emulate/
-    before_platform_add/
-    before_platform_rm/
-    before_platform_ls/
-    before_plugin_add/
-    before_plugin_ls/
-    before_plugin_rm/
-    before_plugin_search/
-    before_prepare/
-    before_run/
-    before_serve/
-    pre_package/ <-- Windows 8 and Windows Phone only.
-
-## Script Interface
-
-All scripts are run from the project's root directory and have the root directory passes as the first argument. All other options are passed to the script using environment variables:
-
-* CORDOVA_VERSION - The version of the Cordova-CLI.
-* CORDOVA_PLATFORMS - Comma separated list of platforms that the command applies to (e.g.: android, ios).
-* CORDOVA_PLUGINS - Comma separated list of plugin IDs that the command applies to (e.g.: org.apache.cordova.file, org.apache.cordova.file-transfer)
-* CORDOVA_HOOK - Path to the hook that is being executed.
-* CORDOVA_CMDLINE - The exact command-line arguments passed to cordova (e.g.: cordova run ios --emulate)
-
-If a script returns a non-zero exit code, then the parent cordova command will be aborted.
-
-
-## Writing hooks
-
-We highly recommend writting your hooks using Node.js so that they are
-cross-platform. Some good examples are shown here:
-
-[http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/](http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/)
-

+ 0 - 94
ionic/hooks/after_prepare/010_add_platform_class.js

@@ -1,94 +0,0 @@
-#!/usr/bin/env node
-
-// Add Platform Class
-// v1.0
-// Automatically adds the platform class to the body tag
-// after the `prepare` command. By placing the platform CSS classes
-// directly in the HTML built for the platform, it speeds up
-// rendering the correct layout/style for the specific platform
-// instead of waiting for the JS to figure out the correct classes.
-
-var fs = require('fs');
-var path = require('path');
-
-var rootdir = process.argv[2];
-
-function addPlatformBodyTag(indexPath, platform) {
-  // add the platform class to the body tag
-  try {
-    var platformClass = 'platform-' + platform;
-    var cordovaClass = 'platform-cordova platform-webview';
-
-    var html = fs.readFileSync(indexPath, 'utf8');
-
-    var bodyTag = findBodyTag(html);
-    if(!bodyTag) return; // no opening body tag, something's wrong
-
-    if(bodyTag.indexOf(platformClass) > -1) return; // already added
-
-    var newBodyTag = bodyTag;
-
-    var classAttr = findClassAttr(bodyTag);
-    if(classAttr) {
-      // body tag has existing class attribute, add the classname
-      var endingQuote = classAttr.substring(classAttr.length-1);
-      var newClassAttr = classAttr.substring(0, classAttr.length-1);
-      newClassAttr += ' ' + platformClass + ' ' + cordovaClass + endingQuote;
-      newBodyTag = bodyTag.replace(classAttr, newClassAttr);
-
-    } else {
-      // add class attribute to the body tag
-      newBodyTag = bodyTag.replace('>', ' class="' + platformClass + ' ' + cordovaClass + '">');
-    }
-
-    html = html.replace(bodyTag, newBodyTag);
-
-    fs.writeFileSync(indexPath, html, 'utf8');
-
-    process.stdout.write('add to body class: ' + platformClass + '\n');
-  } catch(e) {
-    process.stdout.write(e);
-  }
-}
-
-function findBodyTag(html) {
-  // get the body tag
-  try{
-    return html.match(/<body(?=[\s>])(.*?)>/gi)[0];
-  }catch(e){}
-}
-
-function findClassAttr(bodyTag) {
-  // get the body tag's class attribute
-  try{
-    return bodyTag.match(/ class=["|'](.*?)["|']/gi)[0];
-  }catch(e){}
-}
-
-if (rootdir) {
-
-  // go through each of the platform directories that have been prepared
-  var platforms = (process.env.CORDOVA_PLATFORMS ? process.env.CORDOVA_PLATFORMS.split(',') : []);
-
-  for(var x=0; x<platforms.length; x++) {
-    // open up the index.html file at the www root
-    try {
-      var platform = platforms[x].trim().toLowerCase();
-      var indexPath;
-
-      if(platform == 'android') {
-        indexPath = path.join('platforms', platform, 'assets', 'www', 'index.html');
-      } else {
-        indexPath = path.join('platforms', platform, 'www', 'index.html');
-      }
-
-      if(fs.existsSync(indexPath)) {
-        addPlatformBodyTag(indexPath, platform);
-      }
-
-    } catch(e) {
-      process.stdout.write(e);
-    }
-  }
-
-}

+ 0 - 4
ionic/ionic.project

@@ -1,4 +0,0 @@
-{
-  "name": "ionic",
-  "app_id": ""
-}

+ 0 - 21
ionic/package.json

@@ -1,21 +0,0 @@
-{
-  "name": "ionic-project",
-  "version": "1.0.0",
-  "description": "An Ionic project",
-  "dependencies": {
-    "gulp": "^3.5.6",
-    "gulp-sass": "^1.3.3",
-    "gulp-concat": "^2.2.0",
-    "gulp-minify-css": "^0.3.0",
-    "gulp-rename": "^1.2.0"
-  },
-  "devDependencies": {
-    "bower": "^1.3.3",
-    "gulp-util": "^2.2.14",
-    "shelljs": "^0.3.0"
-  },
-  "cordovaPlugins": [],
-  "cordovaPlatforms": [
-    "ios"
-  ]
-}

+ 0 - 11
ionic/plugins/ios.json

@@ -1,11 +0,0 @@
-{
-    "prepare_queue": {
-        "installed": [],
-        "uninstalled": []
-    },
-    "config_munge": {
-        "files": {}
-    },
-    "installed_plugins": {},
-    "dependent_plugins": {}
-}

BIN
ionic/resources/android/icon/drawable-hdpi-icon.png


BIN
ionic/resources/android/icon/drawable-ldpi-icon.png


BIN
ionic/resources/android/icon/drawable-mdpi-icon.png


BIN
ionic/resources/android/icon/drawable-xhdpi-icon.png


BIN
ionic/resources/android/icon/drawable-xxhdpi-icon.png


BIN
ionic/resources/android/icon/drawable-xxxhdpi-icon.png


BIN
ionic/resources/android/splash/drawable-land-hdpi-screen.png


BIN
ionic/resources/android/splash/drawable-land-ldpi-screen.png


BIN
ionic/resources/android/splash/drawable-land-mdpi-screen.png


BIN
ionic/resources/android/splash/drawable-land-xhdpi-screen.png


BIN
ionic/resources/android/splash/drawable-land-xxhdpi-screen.png


BIN
ionic/resources/android/splash/drawable-land-xxxhdpi-screen.png


BIN
ionic/resources/android/splash/drawable-port-hdpi-screen.png


BIN
ionic/resources/android/splash/drawable-port-ldpi-screen.png


BIN
ionic/resources/android/splash/drawable-port-mdpi-screen.png


BIN
ionic/resources/android/splash/drawable-port-xhdpi-screen.png


BIN
ionic/resources/android/splash/drawable-port-xxhdpi-screen.png


BIN
ionic/resources/android/splash/drawable-port-xxxhdpi-screen.png


BIN
ionic/resources/icon.png


BIN
ionic/resources/ios/icon/icon-40.png


BIN
ionic/resources/ios/icon/icon-40@2x.png


BIN
ionic/resources/ios/icon/icon-50.png


BIN
ionic/resources/ios/icon/icon-50@2x.png


BIN
ionic/resources/ios/icon/icon-60.png


BIN
ionic/resources/ios/icon/icon-60@2x.png


BIN
ionic/resources/ios/icon/icon-60@3x.png


BIN
ionic/resources/ios/icon/icon-72.png


BIN
ionic/resources/ios/icon/icon-72@2x.png


BIN
ionic/resources/ios/icon/icon-76.png


BIN
ionic/resources/ios/icon/icon-76@2x.png


BIN
ionic/resources/ios/icon/icon-small.png


BIN
ionic/resources/ios/icon/icon-small@2x.png


BIN
ionic/resources/ios/icon/icon-small@3x.png


BIN
ionic/resources/ios/icon/icon.png


BIN
ionic/resources/ios/icon/icon@2x.png


BIN
ionic/resources/ios/splash/Default-568h@2x~iphone.png


BIN
ionic/resources/ios/splash/Default-667h.png


BIN
ionic/resources/ios/splash/Default-736h.png


BIN
ionic/resources/ios/splash/Default-Landscape-736h.png


BIN
ionic/resources/ios/splash/Default-Landscape@2x~ipad.png


BIN
ionic/resources/ios/splash/Default-Landscape~ipad.png


BIN
ionic/resources/ios/splash/Default-Portrait@2x~ipad.png


BIN
ionic/resources/ios/splash/Default-Portrait~ipad.png


BIN
ionic/resources/ios/splash/Default@2x~iphone.png


BIN
ionic/resources/ios/splash/Default~iphone.png


BIN
ionic/resources/splash.png


+ 0 - 23
ionic/scss/ionic.app.scss

@@ -1,23 +0,0 @@
-/*
-To customize the look and feel of Ionic, you can override the variables
-in ionic's _variables.scss file.
-
-For example, you might change some of the default colors:
-
-$light:                           #fff !default;
-$stable:                          #f8f8f8 !default;
-$positive:                        #387ef5 !default;
-$calm:                            #11c1f3 !default;
-$balanced:                        #33cd5f !default;
-$energized:                       #ffc900 !default;
-$assertive:                       #ef473a !default;
-$royal:                           #886aea !default;
-$dark:                            #444 !default;
-*/
-
-// The path for our ionicons font files, relative to the built CSS in www/css
-$ionicons-font-path: "../lib/ionic/fonts" !default;
-
-// Include all of Ionic
-@import "www/lib/ionic/scss/ionic";
-

+ 0 - 1
ionic/www/css/style.css

@@ -1 +0,0 @@
-/* Empty. Add your own CSS if you like */

BIN
ionic/www/img/ionic.png


+ 0 - 36
ionic/www/index.html

@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
-    <title></title>
-
-    <link href="lib/ionic/css/ionic.css" rel="stylesheet">
-    <link href="css/style.css" rel="stylesheet">
-
-    <!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
-    <link href="css/ionic.app.css" rel="stylesheet">
-    -->
-
-    <!-- Ionic / Angularjs js -->
-    <script src="lib/ionic/js/ionic.bundle.js"></script>
-    <script src="lib/ionic/js/angular/angular-resource.min.js"></script>
-
-    <!-- Cordova script (this will be a 404 during development) -->
-    <script src="cordova.js"></script>
-
-    <!-- Main application file -->
-    <script src="js/app.js"></script>
-
-    <!-- Controllers -->
-    <script src="js/controllers.js"></script>
-
-    <!-- Services -->
-    <script src="js/services.js"></script>
-    
-  </head>
-
-  <body ng-app="starter">
-    <ion-nav-view></ion-nav-view>
-  </body>
-</html>

+ 0 - 70
ionic/www/js/app.js

@@ -1,70 +0,0 @@
-// 'starter.controllers' is found in controllers.js
-angular.module('starter', ['ionic', 'starter.controllers'])
-
-.run(function($ionicPlatform) {
-  $ionicPlatform.ready(function() {
-    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
-    // for form inputs)
-    if (window.cordova && window.cordova.plugins.Keyboard) {
-      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
-    }
-    if (window.StatusBar) {
-      // org.apache.cordova.statusbar required
-      StatusBar.styleDefault();
-    }
-  });
-})
-
-.config(function($stateProvider, $urlRouterProvider) {
-  $stateProvider
-
-  .state('app', {
-    url: "/app",
-    abstract: true,
-    templateUrl: "templates/menu.html",
-    controller: 'AppCtrl'
-  })
-
-  
-  .state('app.snippets', {
-    url: "/snippets",
-    views: {
-        'menuContent': {
-            templateUrl: "templates/snippets.html",
-            controller: 'SnippetsCtrl'
-        }
-    }
-  })
-
-  .state('app.githubUser', {
-    url: "/githubUser",
-    views: {
-        'menuContent': {
-            templateUrl: "templates/githubUser.html",
-            controller: 'githubUserCtrl'
-        }
-    }
-  })
-
-  .state('app.instagramUser',{
-    url: "/instagramUser",
-    views: {
-      'menuContent': {
-        templateUrl: 'templates/instagramUser.html',
-        controller: 'instagramUserCtrl'
-      }
-    }
-  })
-
-  .state('app.steamSales', {
-    url: '/steamSales',
-    views: {
-      'menuContent': {
-        templateUrl: 'templates/steamSales.html',
-        controller: 'steamSalesCtrl'
-      }
-    }
-  });
-  // if none of the above states are matched, use this as the fallback
-  $urlRouterProvider.otherwise('/app/snippets');
-});

+ 0 - 23
ionic/www/js/controllers.js

@@ -1,23 +0,0 @@
-angular.module('starter.controllers', ['starter.services'])
-
-.controller('AppCtrl', function($scope, $ionicModal, $timeout) {
-
-})
-
-.controller('SnippetsCtrl', function($scope, Snippets) {
-    $scope.snippets = Snippets.query();
-})
-
-.controller('githubUserCtrl', function($scope, githubUser) {
-    $scope.githubUserData = githubUser.get();
-})
-
-.controller('instagramUserCtrl', function($scope, instagramUser, instagramUserMedia){
-	$scope.instagramUserData = instagramUser.get();
-	$scope.instagramUserMediaData = instagramUserMedia.get();
-})
-
-.controller('steamSalesCtrl', function($scope, steamSales){
-	$scope.sales = steamSales.get();
-});
-

+ 0 - 21
ionic/www/js/services.js

@@ -1,21 +0,0 @@
-angular.module('starter.services', ['ngResource'])
-
-.factory('Snippets', function ($resource) {
-    return $resource('http://127.0.0.1:8000/hackathon/snippets/');
-})
-
-.factory('githubUser', function ($resource) {
-    return $resource('http://127.0.0.1:8000/hackathon/githubUser/');
-})
-
-.factory('instagramUser', function ($resource){
-	return $resource('http://localhost:8000/hackathon/instagramUser/');
-})
-
-.factory('steamSales', function ($resource){
-	return $resource('http://127.0.0.1:8000/hackathon/steamDiscountedGames/');
-})
-
-.factory('instagramUserMedia', function ($resource){
-	return $resource('http://localhost:8000/hackathon/instagramUserMedia/');
-})

Файловите разлики са ограничени, защото са твърде много
+ 0 - 7600
ionic/www/lib/ionic/css/ionic.css


Файловите разлики са ограничени, защото са твърде много
+ 0 - 23
ionic/www/lib/ionic/css/ionic.min.css


BIN
ionic/www/lib/ionic/fonts/ionicons.eot


Файловите разлики са ограничени, защото са твърде много
+ 0 - 2230
ionic/www/lib/ionic/fonts/ionicons.svg


BIN
ionic/www/lib/ionic/fonts/ionicons.ttf


BIN
ionic/www/lib/ionic/fonts/ionicons.woff


Файловите разлики са ограничени, защото са твърде много
+ 0 - 4232
ionic/www/lib/ionic/js/angular-ui/angular-ui-router.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 7
ionic/www/lib/ionic/js/angular-ui/angular-ui-router.min.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 2137
ionic/www/lib/ionic/js/angular/angular-animate.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 33
ionic/www/lib/ionic/js/angular/angular-animate.min.js


+ 0 - 0
ionic/www/lib/ionic/js/angular/angular-resource.js


Някои файлове не бяха показани, защото твърде много файлове са промени