aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular/app/app.component.html
blob: af41f86869996ae3e2a0622f927ccdfe8859c0a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<div class="container">

  <header class="row">
    <div class="col-md-2">
      <h4>PeerTube</h4>
    </div>

    <div class="col-md-8">
      <input
        type="text" id="search_video" name="search_video" class="form-control" placeholder="Search a video..."
        #search (keyup.enter)="doSearch(search.value)"
      >
    </div>
  </header>


  <div class="row">

    <menu class="col-md-2">
      <div id="panel_get_videos" class="panel_button">
        <span class="glyphicon glyphicon-list"></span>
        <a [routerLink]="['VideosList']">Get videos</a>
      </div>

      <div id="panel_upload_video" class="panel_button">
        <span class="glyphicon glyphicon-cloud-upload"></span>
        <a [routerLink]="['VideosAdd']">Upload a video</a>
      </div>

      <div id="panel_make_friends" class="panel_button">
        <span class="glyphicon glyphicon-user"></span>
        <a (click)='makeFriends()'>Make friends</a>
      </div>

      <div id="panel_quit_friends" class="panel_button">
        <span class="glyphicon glyphicon-plane"></span>
        <a (click)='quitFriends()'>Quit friends</a>
      </div>
    </menu>

    <div class="col-md-9 router_outler_container">
      <router-outlet></router-outlet>
    </div>

  </div>


  <footer>
    PeerTube, CopyLeft 2015-2016
  </footer>
</div>