Permalink
Browse files

Initial commit.

  • Loading branch information...
1 parent 1848cb6 commit b434fddf30167e6e7c1f1cd1df77b0d6dbfbd896 @nwinkler committed Aug 3, 2012
Showing with 84,087 additions and 0 deletions.
  1. +29 −0 .project
  2. +12 −0 .settings/.jsdtscope
  3. +7 −0 .settings/org.eclipse.wst.common.component
  4. +7 −0 .settings/org.eclipse.wst.common.project.facet.core.xml
  5. +1 −0 .settings/org.eclipse.wst.jsdt.ui.superType.container
  6. +1 −0 .settings/org.eclipse.wst.jsdt.ui.superType.name
  7. 0 app/css/.gitignore
  8. 0 app/img/.gitignore
  9. +55 −0 app/index.html
  10. +13 −0 app/js/app.js
  11. +17 −0 app/js/controllers.js
  12. +9 −0 app/js/services.js
  13. +33 −0 app/less/bootstrap/accordion.less
  14. +58 −0 app/less/bootstrap/alerts.less
  15. +62 −0 app/less/bootstrap/bootstrap.less
  16. +24 −0 app/less/bootstrap/breadcrumbs.less
  17. +191 −0 app/less/bootstrap/button-groups.less
  18. +191 −0 app/less/bootstrap/buttons.less
  19. +121 −0 app/less/bootstrap/carousel.less
  20. +29 −0 app/less/bootstrap/close.less
  21. +57 −0 app/less/bootstrap/code.less
  22. +20 −0 app/less/bootstrap/component-animations.less
  23. +143 −0 app/less/bootstrap/dropdowns.less
  24. +583 −0 app/less/bootstrap/forms.less
  25. +5 −0 app/less/bootstrap/grid.less
  26. +22 −0 app/less/bootstrap/hero-unit.less
  27. +55 −0 app/less/bootstrap/labels-badges.less
  28. +17 −0 app/less/bootstrap/layouts.less
  29. +646 −0 app/less/bootstrap/mixins.less
  30. +90 −0 app/less/bootstrap/modals.less
  31. +358 −0 app/less/bootstrap/navbar.less
  32. +363 −0 app/less/bootstrap/navs.less
  33. +36 −0 app/less/bootstrap/pager.less
  34. +56 −0 app/less/bootstrap/pagination.less
  35. +49 −0 app/less/bootstrap/popovers.less
  36. +117 −0 app/less/bootstrap/progress-bars.less
  37. +131 −0 app/less/bootstrap/reset.less
  38. +26 −0 app/less/bootstrap/responsive-1200px-min.less
  39. +149 −0 app/less/bootstrap/responsive-767px-max.less
  40. +17 −0 app/less/bootstrap/responsive-768px-979px.less
  41. +153 −0 app/less/bootstrap/responsive-navbar.less
  42. +41 −0 app/less/bootstrap/responsive-utilities.less
  43. +48 −0 app/less/bootstrap/responsive.less
  44. +29 −0 app/less/bootstrap/scaffolding.less
  45. +191 −0 app/less/bootstrap/sprites.less
  46. +176 −0 app/less/bootstrap/tables.less
  47. +47 −0 app/less/bootstrap/thumbnails.less
  48. +35 −0 app/less/bootstrap/tooltip.less
  49. +232 −0 app/less/bootstrap/type.less
  50. +23 −0 app/less/bootstrap/utilities.less
  51. +206 −0 app/less/bootstrap/variables.less
  52. +27 −0 app/less/bootstrap/wells.less
  53. BIN app/less/img/glyphicons-halflings-white.png
  54. BIN app/less/img/glyphicons-halflings.png
  55. +19 −0 app/less/style.less
  56. +14,327 −0 app/lib/angular/angular-1.0.1.js
  57. +157 −0 app/lib/angular/angular-1.0.1.min.js
  58. +166 −0 app/lib/angular/angular-bootstrap-1.0.1.js
  59. +9 −0 app/lib/angular/angular-bootstrap-1.0.1.min.js
  60. +1,833 −0 app/lib/angular/angular-bootstrap-prettify-1.0.1.js
  61. +41 −0 app/lib/angular/angular-bootstrap-prettify-1.0.1.min.js
  62. +171 −0 app/lib/angular/angular-cookies-1.0.1.js
  63. +7 −0 app/lib/angular/angular-cookies-1.0.1.min.js
  64. +276 −0 app/lib/angular/angular-loader-1.0.1.js
  65. +7 −0 app/lib/angular/angular-loader-1.0.1.min.js
  66. +1,719 −0 app/lib/angular/angular-mocks-1.0.1.js
  67. +428 −0 app/lib/angular/angular-resource-1.0.1.js
  68. +10 −0 app/lib/angular/angular-resource-1.0.1.min.js
  69. +532 −0 app/lib/angular/angular-sanitize-1.0.1.js
  70. +13 −0 app/lib/angular/angular-sanitize-1.0.1.min.js
  71. +25,937 −0 app/lib/angular/angular-scenario-1.0.1.js
  72. +1 −0 app/lib/angular/version.txt
  73. +90 −0 app/lib/bootstrap/bootstrap-alert.js
  74. +96 −0 app/lib/bootstrap/bootstrap-button.js
  75. +169 −0 app/lib/bootstrap/bootstrap-carousel.js
  76. +157 −0 app/lib/bootstrap/bootstrap-collapse.js
  77. +100 −0 app/lib/bootstrap/bootstrap-dropdown.js
  78. +218 −0 app/lib/bootstrap/bootstrap-modal.js
  79. +98 −0 app/lib/bootstrap/bootstrap-popover.js
  80. +151 −0 app/lib/bootstrap/bootstrap-scrollspy.js
  81. +135 −0 app/lib/bootstrap/bootstrap-tab.js
  82. +275 −0 app/lib/bootstrap/bootstrap-tooltip.js
  83. +61 −0 app/lib/bootstrap/bootstrap-transition.js
  84. +285 −0 app/lib/bootstrap/bootstrap-typeahead.js
  85. +4 −0 app/lib/jquery.min.js
  86. +9 −0 app/lib/less-1.3.0.min.js
  87. +11 −0 app/lib/modernizr-2.5.3-respond-1.1.0.min.js
  88. 0 app/partials/.gitignore
  89. +1 −0 app/partials/home.html
  90. +7 −0 app/partials/menu.html
  91. +1 −0 app/partials/page1.html
  92. +1 −0 app/partials/page2.html
  93. +1 −0 app/partials/page3.html
  94. +10 −0 config/jsTestDriver-scenario.conf
  95. +14 −0 config/jsTestDriver.conf
  96. +6 −0 config/jstd-scenario-adapter-config.js
  97. +18 −0 scripts/e2e-test-server.bat
  98. +14 −0 scripts/e2e-test-server.sh
  99. +13 −0 scripts/e2e-test.bat
  100. +8 −0 scripts/e2e-test.sh
  101. +19 −0 scripts/test-server.bat
  102. +14 −0 scripts/test-server.sh
  103. +14 −0 scripts/test.bat
  104. +8 −0 scripts/test.sh
  105. +19 −0 scripts/watchr.rb
  106. +243 −0 scripts/web-server.js
  107. +10 −0 test/e2e/runner.html
  108. +45 −0 test/e2e/scenarios.js
  109. +1,719 −0 test/lib/angular/angular-mocks.js
  110. +25,937 −0 test/lib/angular/angular-scenario.js
  111. +185 −0 test/lib/angular/jstd-scenario-adapter.js
  112. +1 −0 test/lib/angular/version.txt
  113. +196 −0 test/lib/jasmine-jstd-adapter/JasmineAdapter.js
  114. +1 −0 test/lib/jasmine-jstd-adapter/version.txt
  115. +20 −0 test/lib/jasmine/MIT.LICENSE
  116. +180 −0 test/lib/jasmine/index.js
  117. +190 −0 test/lib/jasmine/jasmine-html.js
  118. +166 −0 test/lib/jasmine/jasmine.css
  119. +2,476 −0 test/lib/jasmine/jasmine.js
  120. BIN test/lib/jasmine/jasmine_favicon.png
  121. +1 −0 test/lib/jasmine/version.txt
  122. BIN test/lib/jstestdriver/JsTestDriver.jar
  123. +1 −0 test/lib/jstestdriver/version.txt
  124. +14 −0 test/unit/controllersSpec.js
  125. +14 −0 test/unit/servicesSpec.js
View
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>angular-dynamic-routing</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
View
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="angular-dynamic-routing">
+ <wb-resource deploy-path="/" source-path="/WebContent"/>
+ <property name="context-root" value="angular-dynamic-routing"/>
+ </wb-module>
+</project-modules>
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="wst.web"/>
+ <fixed facet="wst.jsdt.web"/>
+ <installed facet="wst.web" version="1.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
@@ -0,0 +1 @@
+Window
View
No changes.
View
No changes.
View
@@ -0,0 +1,55 @@
+<!doctype html>
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
+<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" ng-app="angular-dynamic-routing"> <!--<![endif]-->
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+
+ <title>Angular Dynamic Routing</title>
+
+ <meta name="viewport" content="width=device-width">
+
+ <link rel="stylesheet/less" href="less/style.less">
+ <script src="lib/less-1.3.0.min.js"></script>
+
+ <!-- Use SimpLESS (Win/Linux/Mac) or LESS.app (Mac) to compile your .less files
+ to style.css, and replace the 2 lines above by this one:
+
+ <link rel="stylesheet" href="less/style.css">
+ -->
+ <link rel="shortcut icon" href="favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144-precomposed.png">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114-precomposed.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72-precomposed.png">
+ <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-57-precomposed.png">
+
+ <script src="lib/modernizr-2.5.3-respond-1.1.0.min.js"></script>
+</head>
+<body>
+ <div class="container">
+ <header class="jumbotron subhead">
+ <h1>Angular Dynamic Routing</h1>
+ <p class="lead">Explore dynamic routing capabilities in AngularJS</p>
+ </header>
+
+ <section id="menu">
+ <div ng-include="'partials/menu.html'"></div>
+ </section>
+
+ <section id="main">
+ <div ng-view></div>
+ </section>
+ </div>
+
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
+ <script>window.jQuery || document.write('<script src="lib/jquery.min.js"><\/script>')</script>
+ <script src="lib/bootstrap/bootstrap.min.js"></script>
+ <script src="lib/angular/angular-1.0.1.js"></script>
+ <script src="lib/angular-resource-1.0.1.min.js"></script>
+ <script src="js/app.js"></script>
+ <script src="js/services.js"></script>
+ <script src="js/controllers.js"></script>
+</body>
+</html>
View
@@ -0,0 +1,13 @@
+'use strict';
+
+
+// Declare app level module which depends on filters, and services
+angular.module('angular-dynamic-routing', ['angular-dynamic-routing.services']).
+ config(['$routeProvider', function($routeProvider) {
+ $routeProvider.when('/link1', {templateUrl: 'partials/page1.html', controller: PageController});
+ $routeProvider.when('/link2', {templateUrl: 'partials/page2.html', controller: PageController});
+ $routeProvider.when('/link3', {templateUrl: 'partials/page3.html', controller: PageController});
+ $routeProvider.when('/home', {templateUrl: 'partials/home.html', controller: HomeController});
+ $routeProvider.otherwise({redirectTo: '/home'});
+ }]);
+
View
@@ -0,0 +1,17 @@
+'use strict';
+
+/* Controllers */
+
+function HomeController() {
+
+}
+HomeController.$inject = [];
+
+function MenuController() {
+
+}
+
+function PageController() {
+
+}
+PageController.$inject = [];
View
@@ -0,0 +1,9 @@
+'use strict';
+
+/* Services */
+
+
+// Demonstrate how to register services
+// In this case it is a simple value service.
+angular.module('angular-dynamic-routing.services', []).
+ value('version', '0.1');
@@ -0,0 +1,33 @@
+// ACCORDION
+// ---------
+
+
+// Parent container
+.accordion {
+ margin-bottom: @baseLineHeight;
+}
+
+// Group == heading + body
+.accordion-group {
+ margin-bottom: 2px;
+ border: 1px solid #e5e5e5;
+ .border-radius(4px);
+}
+.accordion-heading {
+ border-bottom: 0;
+}
+.accordion-heading .accordion-toggle {
+ display: block;
+ padding: 8px 15px;
+}
+
+// General toggle styles
+.accordion-toggle {
+ cursor: pointer;
+}
+
+// Inner needs the styles because you can't animate properly with any styles on the element
+.accordion-inner {
+ padding: 9px 15px;
+ border-top: 1px solid #e5e5e5;
+}
@@ -0,0 +1,58 @@
+// ALERT STYLES
+// ------------
+
+// Base alert styles
+.alert {
+ padding: 8px 35px 8px 14px;
+ margin-bottom: @baseLineHeight;
+ text-shadow: 0 1px 0 rgba(255,255,255,.5);
+ background-color: @warningBackground;
+ border: 1px solid @warningBorder;
+ .border-radius(4px);
+ color: @warningText;
+}
+.alert-heading {
+ color: inherit;
+}
+
+// Adjust close link position
+.alert .close {
+ position: relative;
+ top: -2px;
+ right: -21px;
+ line-height: 18px;
+}
+
+// Alternate styles
+// ----------------
+
+.alert-success {
+ background-color: @successBackground;
+ border-color: @successBorder;
+ color: @successText;
+}
+.alert-danger,
+.alert-error {
+ background-color: @errorBackground;
+ border-color: @errorBorder;
+ color: @errorText;
+}
+.alert-info {
+ background-color: @infoBackground;
+ border-color: @infoBorder;
+ color: @infoText;
+}
+
+// Block alerts
+// ------------------------
+.alert-block {
+ padding-top: 14px;
+ padding-bottom: 14px;
+}
+.alert-block > p,
+.alert-block > ul {
+ margin-bottom: 0;
+}
+.alert-block p + p {
+ margin-top: 5px;
+}
@@ -0,0 +1,62 @@
+/*!
+ * Bootstrap v2.0.4
+ *
+ * Copyright 2012 Twitter, Inc
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
+ */
+
+// CSS Reset
+@import "reset.less";
+
+// Core variables and mixins
+@import "variables.less"; // Modify this for custom colors, font-sizes, etc
+@import "mixins.less";
+
+// Grid system and page structure
+@import "scaffolding.less";
+@import "grid.less";
+@import "layouts.less";
+
+// Base CSS
+@import "type.less";
+@import "code.less";
+@import "forms.less";
+@import "tables.less";
+
+// Components: common
+@import "sprites.less";
+@import "dropdowns.less";
+@import "wells.less";
+@import "component-animations.less";
+@import "close.less";
+
+// Components: Buttons & Alerts
+@import "buttons.less";
+@import "button-groups.less";
+@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less
+
+// Components: Nav
+@import "navs.less";
+@import "navbar.less";
+@import "breadcrumbs.less";
+@import "pagination.less";
+@import "pager.less";
+
+// Components: Popovers
+@import "modals.less";
+@import "tooltip.less";
+@import "popovers.less";
+
+// Components: Misc
+@import "thumbnails.less";
+@import "labels-badges.less";
+@import "progress-bars.less";
+@import "accordion.less";
+@import "carousel.less";
+@import "hero-unit.less";
+
+// Utility classes
+@import "utilities.less"; // Has to be last to override when necessary
@@ -0,0 +1,24 @@
+// BREADCRUMBS
+// -----------
+
+.breadcrumb {
+ padding: 7px 14px;
+ margin: 0 0 @baseLineHeight;
+ list-style: none;
+ #gradient > .vertical(@white, #f5f5f5);
+ border: 1px solid #ddd;
+ .border-radius(3px);
+ .box-shadow(inset 0 1px 0 @white);
+ li {
+ display: inline-block;
+ .ie7-inline-block();
+ text-shadow: 0 1px 0 @white;
+ }
+ .divider {
+ padding: 0 5px;
+ color: @grayLight;
+ }
+ .active a {
+ color: @grayDark;
+ }
+}
Oops, something went wrong.

0 comments on commit b434fdd

Please sign in to comment.