이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
kj
/
cac-desktop
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
Added basic sub pages
master
kj1352
3 년 전
부모
ef9d1ffde0
커밋
a276a80c1f
5개의 변경된 파일
과
21개의 추가작업
그리고
3개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/app/app-routing.module.ts
+1
-1
src/app/dashboard/dashboard.component.html
+4
-0
src/app/dashboard/dashboard.component.scss
+11
-1
src/app/dashboard/graph/graph.component.html
+4
-0
src/styles.scss
+ 1
- 1
src/app/app-routing.module.ts
파일 보기
@@ -14,7 +14,7 @@ const routes: Routes = [
{
path: '', pathMatch: 'full', redirectTo: 'graph'
}, {
path: '
graph
', component: GraphComponent
path: '
analytics
', component: GraphComponent
}, {
path: 'partners', component: TableComponent
}, {
+ 1
- 1
src/app/dashboard/dashboard.component.html
파일 보기
@@ -5,7 +5,7 @@
</figure>
<nav>
<a [ngClass]="{'active' : currentURL.includes('
graph')}" [routerLink]="'graph
'"> <span> Dashboard </span> </a>
<a [ngClass]="{'active' : currentURL.includes('
analytics')}" [routerLink]="'analytics
'"> <span> Dashboard </span> </a>
<a [ngClass]="{'active' : currentURL.includes('partners')}" [routerLink]="'partners'"> <span> All Partners </span> </a>
<a [ngClass]="{'active' : currentURL.includes('report')}" [routerLink]="'report'"> <span> Report </span> </a>
<a [ngClass]="{'active' : currentURL.includes('settings')}" [routerLink]="'settings'"> <span> Settings </span> </a>
+ 4
- 0
src/app/dashboard/dashboard.component.scss
파일 보기
@@ -51,6 +51,10 @@ $sidebar-width: 240px;
position: relative;
overflow: hidden;
&:last-child {
justify-self: flex-end;
}
&:hover {
color: white;
}
+ 11
- 1
src/app/dashboard/graph/graph.component.html
파일 보기
@@ -1 +1,11 @@
<p>graph works!</p>
<div class="subpage">
<header>
<h2> Dashboard </h2>
</header>
<section class="analytics">
<div class="card">
<div class="line-chart"></div>
</div>
</section>
</div>
+ 4
- 0
src/styles.scss
파일 보기
@@ -98,4 +98,8 @@
}
}
}
}
.subpage {
padding: 20px;
}
쓰기
미리보기
불러오는 중...
취소
저장