Skip to content

Commit

Permalink
Removed unused code;
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhitex committed Dec 23, 2016
1 parent 07de13e commit 706f98f
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 74 deletions.
4 changes: 0 additions & 4 deletions src/RadioWatch/ClientApp/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {
NavMenuComponent,
HomeComponent,
AboutComponent,
//PhalanxGridExampleComponent,
//TestDisplayComponent
PhalanxRemoteNprGridComponent,
} from './components';
import { containerDeclarations } from './app.declarations';
Expand All @@ -30,8 +28,6 @@ import { NgReduxModule } from 'ng2-redux';
{ path: 'home', component: HomeComponent },
{ path: 'evening-music', component: PhalanxRemoteNprGridComponent },
{ path: 'about', component: AboutComponent },
//{ path: 'example', component: PhalanxGridExampleComponent },
//{ path: 'test', component: TestDisplayComponent },
{ path: '**', redirectTo: 'home' }
])
],
Expand Down
10 changes: 2 additions & 8 deletions src/RadioWatch/ClientApp/app/components/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
<div class="content is-medium">
<h1>About This Site</h1>
<p>Welcome to RadioWatch! We provide a service to query and preview the most recently played music on your local NPR (National
Public Radio) station (currently limited to
<a href="http://wutc.org/">WUTC</a> based in Chattanooga,TN). Perhaps you might find something new! We are not associated
with NPR or any local NPR stations in any way. NPR stations employ musically talented and tasteful people and we
are neither of those. It is our hope that if you use this service, that you might make a contribution to your local
NPR station. If you're so inclined, <a href="https://donate.nprstations.org/wutc/">donate</a> to WUTC now!
</p>
<h1>BLURP</h1>

</div>
Original file line number Diff line number Diff line change
@@ -1,71 +1,46 @@
<div class=''>
<div class=''>
<!--<div class='navbar-header'>
<button type='button' class='navbar-toggle' data-toggle='collapse' data-target='.navbar-collapse'>
<span class='sr-only'>Toggle navigation</span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</button>
</div>
<div class='clearfix'></div>-->
<div class="hero-head">
<div class="container">
<div class="nav">
<div class="nav-left">
<a class='no-dec nav-item is-brand' [routerLink]="['/home']">RadioWatch.io</a>
</div>
</div>
<div class="hero-head">
<div class="container">
<div class="nav">
<div class="nav-left">
<a class='no-dec nav-item is-brand' [routerLink]="['/home']">RadioWatch.io</a>
</div>
</div>
<div class="hero-body">
<div class="container">
<div class="columns is-vcentered">
<div class="column">
<p class="title">
RadioWatch.io
</p>
<p class="subtitle">
The latest from your local <strong>NPR</strong> station.
</p>
</div>
</div>
</div>
</div>
<div class="hero-body">
<div class="container">
<div class="columns is-vcentered">
<div class="column">
<p class="title">
RadioWatch.io
</p>
<p class="subtitle">
The latest from your local <strong>NPR</strong> station.
</p>
</div>
</div>
<div class='hero-foot'>
<div class="container">
<nav class='tabs is-boxed'>
<ul>
<!--<li [routerLinkActive]="['is-active']" class="shadow-hover-1">
<a class="no-dec" [routerLink]="['/home']">
</div>
</div>
<div class='hero-foot'>
<div class="container">
<nav class='tabs is-boxed'>
<ul>
<li [routerLinkActive]="['is-active']" class="shadow-hover-1">
<a class="no-dec" [routerLink]="['/home']">
Home
</a>
</li>-->
<li [routerLinkActive]="['is-active']" class="shadow-hover-1">
<a class="no-dec" [routerLink]="['/evening-music']">
</li>
<li [routerLinkActive]="['is-active']" class="shadow-hover-1">
<a class="no-dec" [routerLink]="['/evening-music']">
Evening Music
</a>
</li>
<li [routerLinkActive]="['is-active']" class="shadow-hover-1">
<a class="no-dec" [routerLink]="['/about']">
</li>
<li [routerLinkActive]="['is-active']" class="shadow-hover-1">
<a class="no-dec" [routerLink]="['/about']">
About
</a>
</li>
<!--<li [routerLinkActive]="['is-active']" class="shadow-hover-1">
<a class="no-dec" [routerLink]="['/example']">
Example
</a>
</li>
<li [routerLinkActive]="['is-active']" class="shadow-hover-1">
<a class="no-dec" [routerLink]="['/test']">
Test
</a>
</li >-->
</ul>
</nav>
</div>
</div>
</div>
</li>
</ul>
</nav>
</div>
</div>
2 changes: 1 addition & 1 deletion src/RadioWatch/ClientApp/app/services/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class ApiService {
options: RequestOptions = new RequestOptions({ headers: this.headers });

//todo: set global config..
api_url: string = 'http://localhost:5000';
api_url: string = config.baseUrl;

//bind to context of the class 'http'
constructor(private http: Http){
Expand Down

0 comments on commit 706f98f

Please sign in to comment.