aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-13 10:24:28 +0100
committerChocobozzz <me@florianbigard.com>2018-03-13 10:24:28 +0100
commit066e94c5382a761180c7d82fa24b31b66dbeaca4 (patch)
tree36037c2c5aaa6c86c2299ceafe6ec35dd1abbd13 /client/src/app/menu
parent66c3b7744c6c7a91b9538eb5a6e0ae07e0a5a6af (diff)
downloadPeerTube-066e94c5382a761180c7d82fa24b31b66dbeaca4.tar.gz
PeerTube-066e94c5382a761180c7d82fa24b31b66dbeaca4.tar.zst
PeerTube-066e94c5382a761180c7d82fa24b31b66dbeaca4.zip
Add "local" videos in menu
Diffstat (limited to 'client/src/app/menu')
-rw-r--r--client/src/app/menu/menu.component.html5
-rw-r--r--client/src/app/menu/menu.component.scss8
2 files changed, 13 insertions, 0 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index d174c76ba..d827a4dd4 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -43,6 +43,11 @@
43 <span class="icon icon-videos-recently-added"></span> 43 <span class="icon icon-videos-recently-added"></span>
44 Recently added 44 Recently added
45 </a> 45 </a>
46
47 <a routerLink="/videos/local" routerLinkActive="active">
48 <span class="icon icon-videos-local"></span>
49 Local
50 </a>
46 </div> 51 </div>
47 52
48 <div class="panel-block"> 53 <div class="panel-block">
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss
index 1f3c889cf..da5a581a1 100644
--- a/client/src/app/menu/menu.component.scss
+++ b/client/src/app/menu/menu.component.scss
@@ -126,6 +126,14 @@ menu {
126 background-image: url('../../assets/images/menu/recently-added.svg'); 126 background-image: url('../../assets/images/menu/recently-added.svg');
127 } 127 }
128 128
129 &.icon-videos-local {
130 width: 23px;
131 height: 23px;
132 position: relative;
133 top: -1px;
134 background-image: url('../../assets/images/menu/home.svg');
135 }
136
129 &.icon-administration { 137 &.icon-administration {
130 width: 23px; 138 width: 23px;
131 height: 23px; 139 height: 23px;