diff options
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/app/app.component.html | 23 | ||||
-rw-r--r-- | client/components/app/app.component.scss | 0 | ||||
-rw-r--r-- | client/components/app/app.component.ts | 43 | ||||
-rw-r--r-- | client/components/bootstrap.ts | 4 | ||||
-rw-r--r-- | client/components/videos/add/videos-add.component.ts | 1 | ||||
-rw-r--r-- | client/components/videos/list/videos-list.component.ts | 1 | ||||
-rw-r--r-- | client/components/videos/watch/videos-watch.component.ts | 1 |
7 files changed, 0 insertions, 73 deletions
diff --git a/client/components/app/app.component.html b/client/components/app/app.component.html deleted file mode 100644 index 5a841ca0f..000000000 --- a/client/components/app/app.component.html +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | <div class="container"> | ||
2 | <div class="row"> | ||
3 | <menu class="col-md-2"> | ||
4 | <div id="panel_get_videos" class="panel_button"> | ||
5 | <a [routerLink]="['VideosList']" class="glyphicon glyphicon-list">Get videos</a> | ||
6 | </div> | ||
7 | |||
8 | <div id="panel_upload_video" class="panel_button"> | ||
9 | <a [routerLink]="['VideosAdd']" class="glyphicon glyphicon-cloud-upload">Upload a video</a> | ||
10 | </div> | ||
11 | |||
12 | <div id="panel_make_friends" class="panel_button"> | ||
13 | <a (click)='makeFriends()' class="glyphicon glyphicon-user">Make friends</a> | ||
14 | </div> | ||
15 | |||
16 | <div id="panel_quit_friends" class="panel_button"> | ||
17 | <a (click)='quitFriends()' class="glyphicon glyphicon-plane">Quit friends</a> | ||
18 | </div> | ||
19 | </menu> | ||
20 | |||
21 | <router-outlet class="col-md-9"></router-outlet> | ||
22 | </div> | ||
23 | </div> | ||
diff --git a/client/components/app/app.component.scss b/client/components/app/app.component.scss deleted file mode 100644 index e69de29bb..000000000 --- a/client/components/app/app.component.scss +++ /dev/null | |||
diff --git a/client/components/app/app.component.ts b/client/components/app/app.component.ts deleted file mode 100644 index e2cebf535..000000000 --- a/client/components/app/app.component.ts +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | import {Component} from 'angular2/core'; | ||
2 | import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from 'angular2/router'; | ||
3 | |||
4 | import { VideosAddComponent } from '../videos/add/videos-add.component'; | ||
5 | import { VideosListComponent } from '../videos/list/videos-list.component'; | ||
6 | import { VideosWatchComponent } from '../videos/watch/videos-watch.component'; | ||
7 | |||
8 | @RouteConfig([ | ||
9 | { | ||
10 | path: '/videos/list', | ||
11 | name: 'VideosList', | ||
12 | component: VideosListComponent, | ||
13 | useAsDefault: true | ||
14 | }, | ||
15 | { | ||
16 | path: '/videos/watch/:id', | ||
17 | name: 'VideosWatch', | ||
18 | component: VideosWatchComponent | ||
19 | }, | ||
20 | { | ||
21 | path: '/videos/add', | ||
22 | name: 'VideosAdd', | ||
23 | component: VideosAddComponent | ||
24 | } | ||
25 | ]) | ||
26 | |||
27 | @Component({ | ||
28 | selector: 'my-app', | ||
29 | templateUrl: 'app/components/app/app.component.html', | ||
30 | styleUrls: [ 'app/components/app/app.component.css' ], | ||
31 | directives: [ ROUTER_DIRECTIVES ], | ||
32 | providers: [ ROUTER_PROVIDERS ] | ||
33 | }) | ||
34 | |||
35 | export class AppComponent { | ||
36 | makeFriends() { | ||
37 | alert('make Friends'); | ||
38 | } | ||
39 | |||
40 | quitFriends() { | ||
41 | alert('quit Friends'); | ||
42 | } | ||
43 | } | ||
diff --git a/client/components/bootstrap.ts b/client/components/bootstrap.ts deleted file mode 100644 index d0f524f4a..000000000 --- a/client/components/bootstrap.ts +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | import { bootstrap } from 'angular2/platform/browser'; | ||
2 | import { AppComponent } from './app/app.component'; | ||
3 | |||
4 | bootstrap(AppComponent); | ||
diff --git a/client/components/videos/add/videos-add.component.ts b/client/components/videos/add/videos-add.component.ts deleted file mode 100644 index 0db7c0163..000000000 --- a/client/components/videos/add/videos-add.component.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export class VideosAddComponent {} | ||
diff --git a/client/components/videos/list/videos-list.component.ts b/client/components/videos/list/videos-list.component.ts deleted file mode 100644 index 54470a5ad..000000000 --- a/client/components/videos/list/videos-list.component.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export class VideosListComponent {} | ||
diff --git a/client/components/videos/watch/videos-watch.component.ts b/client/components/videos/watch/videos-watch.component.ts deleted file mode 100644 index 84daef336..000000000 --- a/client/components/videos/watch/videos-watch.component.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export class VideosWatchComponent {} | ||