Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
chore(routes): remove routing
Browse files Browse the repository at this point in the history
Really there is not need of routing.
It helps also for the upcoming port to Angular 2.
  • Loading branch information
albertosantini committed May 6, 2016
1 parent dc453e9 commit 97c59f3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 79 deletions.
1 change: 0 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = function (config) {
"node_modules/angular/angular.min.js",
"node_modules/angular-animate/angular-animate.min.js",
"node_modules/angular-aria/angular-aria.min.js",
"node_modules/angular-ui-router/release/angular-ui-router.min.js",
"node_modules/angular-material/angular-material.min.js",
"node_modules/ngSocket/dist/ngSocket.js",
"node_modules/angular-local-storage/dist/angular-local-storage.min.js",
Expand Down
1 change: 0 additions & 1 deletion src/client/app/app.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
angular
.module("argo", [
"ngMaterial",
"ui.router",
"ngSocket",
"LocalStorageModule"
]);
63 changes: 0 additions & 63 deletions src/client/app/app.routes.js

This file was deleted.

22 changes: 11 additions & 11 deletions src/client/app/layout/default.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div ui-view="header"></div>
<header></header>

<md-tabs class="md-accent" md-dynamic-height md-center-tabs md-whiteframe="1"
md-selected="$ctrl.tabSelectedIndex">
Expand All @@ -18,7 +18,7 @@
md-swipe-left="$ctrl.next()"
md-swipe-right="$ctrl.previous()">

<div ui-view="trades"></div>
<trades></trades>
</div>

<div role="tabpanel"
Expand All @@ -28,7 +28,7 @@
md-swipe-left="$ctrl.next()"
md-swipe-right="$ctrl.previous()">

<div ui-view="orders"></div>
<orders></orders>
</div>

<div role="tabpanel"
Expand All @@ -38,7 +38,7 @@
md-swipe-left="$ctrl.next()"
md-swipe-right="$ctrl.previous()">

<div ui-view="positions"></div>
<positions></positions>
</div>

<div role="tabpanel"
Expand All @@ -48,7 +48,7 @@
md-swipe-left="$ctrl.next()"
md-swipe-right="$ctrl.previous()">

<div ui-view="exposure"></div>
<exposure></exposure>
</div>

<div role="tabpanel"
Expand All @@ -58,7 +58,7 @@
md-swipe-left="$ctrl.next()"
md-swipe-right="$ctrl.previous()">

<div ui-view="activity"></div>
<activity></activity>
</div>

<div role="tabpanel"
Expand All @@ -68,7 +68,7 @@
md-swipe-left="$ctrl.next()"
md-swipe-right="$ctrl.previous()">

<div ui-view="news"></div>
<news></news>
</div>

<div role="tabpanel"
Expand All @@ -78,17 +78,17 @@
md-swipe-left="$ctrl.next()"
md-swipe-right="$ctrl.previous()">

<div ui-view="plugins"></div>
<plugins></plugins>
</div>

</ng-switch>

<div layout="row" layout-sm="column" layout-md="column" layout-padding>
<div layout="column" flex-gt-md="25" flex-sm="95">
<div ui-view="account"></div>
<div ui-view="quotes"></div>
<account></account>
<quotes></quotes>
</div>
<div layout="column" flex-gt-md="75" hide-sm>
<div ui-view="charts"></div>
<charts></charts>
</div>
</div>
4 changes: 1 addition & 3 deletions src/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
</head>

<body>
<div ui-view></div>
<default></default>

<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/angular-animate/angular-animate.min.js"></script>
<script src="node_modules/angular-aria/angular-aria.min.js"></script>
<script src="node_modules/angular-ui-router/release/angular-ui-router.min.js"></script>
<script src="node_modules/angular-material/angular-material.min.js"></script>
<script src="node_modules/ngSocket/dist/ngSocket.js"></script>
<script src="node_modules/angular-local-storage/dist/angular-local-storage.min.js"></script>
Expand All @@ -32,7 +31,6 @@
<script src="node_modules/techan/dist/techan.min.js"></script>

<script src="app/app.module.js"></script>
<script src="app/app.routes.js"></script>
<script src="app/app.core.js"></script>
<script src="app/services/session.service.js"></script>
<script src="app/services/stream.service.js"></script>
Expand Down

0 comments on commit 97c59f3

Please sign in to comment.