2017-04-27 14:29:31 +00:00
|
|
|
<header class="app-header navbar">
|
|
|
|
<button class="navbar-toggler d-lg-none" type="button" appMobileSidebarToggler>☰</button>
|
|
|
|
<a class="navbar-brand" href="#"></a>
|
2017-08-15 12:34:25 +00:00
|
|
|
<ul class="nav navbar navbar-nav">
|
2017-04-27 14:29:31 +00:00
|
|
|
<li class="nav-item dropdown" dropdown (onToggle)="toggled($event)">
|
|
|
|
<a href class="nav-link dropdown-toggle" dropdownToggle (click)="false">
|
2017-08-15 12:16:58 +00:00
|
|
|
<img src="assets/img/avatars/default.png" class="img-avatar" alt="avatar-image">
|
2017-07-28 18:30:35 +00:00
|
|
|
<span class="d-md-down-none">{{displayName}}</span>
|
2017-04-27 14:29:31 +00:00
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right" *dropdownMenu aria-labelledby="simple-dropdown">
|
|
|
|
|
|
|
|
<div class="dropdown-header text-center"><strong>Settings</strong></div>
|
|
|
|
|
2017-08-15 12:16:58 +00:00
|
|
|
<a class="dropdown-item" routerLinkActive="active" [routerLink]="['/components/account-edit']">
|
|
|
|
<i class="fa fa-user"></i> My Settings
|
|
|
|
</a>
|
2017-04-27 14:29:31 +00:00
|
|
|
<div class="divider"></div>
|
2017-08-15 12:16:58 +00:00
|
|
|
<a class="dropdown-item" (click)="userLogout()" href="#"><i class="fa fa-lock"></i> Logout</a>
|
2017-04-27 14:29:31 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class="app-body">
|
|
|
|
<div class="sidebar">
|
|
|
|
<nav class="sidebar-nav">
|
|
|
|
<ul class="nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/dashboard']"><i class="icon-speedometer"></i> Dashboard <span class="badge badge-info">NEW</span></a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li class="nav-title">
|
|
|
|
UI Elements
|
|
|
|
</li>
|
|
|
|
<li class="nav-item nav-dropdown" routerLinkActive="open" appNavDropdown>
|
|
|
|
<a class="nav-link nav-dropdown-toggle" href="#" appNavDropdownToggle><i class="icon-puzzle"></i> Components</a>
|
|
|
|
<ul class="nav-dropdown-items">
|
2017-06-19 11:41:08 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/components/leaderboards']"><i class="icon-puzzle"></i> Leaderboards</a>
|
2017-07-28 18:30:35 +00:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/components/account-edit']"><i class="icon-puzzle"></i> Edit Account</a>
|
2017-06-19 11:41:08 +00:00
|
|
|
</li>
|
2017-06-26 17:36:48 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/components/add-data']"><i class="icon-puzzle"></i> Add Data</a>
|
|
|
|
</li>
|
2017-04-27 14:29:31 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item nav-dropdown" routerLinkActive="open" appNavDropdown>
|
|
|
|
<a class="nav-link nav-dropdown-toggle" href="#" appNavDropdownToggle><i class="icon-star"></i> Icons</a>
|
|
|
|
<ul class="nav-dropdown-items">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/icons/font-awesome']"><i class="icon-star"></i> Font Awesome</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/icons/simple-line-icons']"><i class="icon-star"></i> Simple Line Icons</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/widgets']"><i class="icon-calculator"></i> Widgets <span class="badge badge-info">NEW</span></a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/charts']"><i class="icon-pie-chart"></i> Charts</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li class="nav-title">
|
|
|
|
Extras
|
|
|
|
</li>
|
|
|
|
<li class="nav-item nav-dropdown" appNavDropdown>
|
|
|
|
<a class="nav-link nav-dropdown-toggle" href="#" appNavDropdownToggle><i class="icon-star"></i> Pages</a>
|
|
|
|
<ul class="nav-dropdown-items">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/pages/login']"><i class="icon-star"></i> Login</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/pages/register']"><i class="icon-star"></i> Register</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/pages/404']"><i class="icon-star"></i> Error 404</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/pages/500']"><i class="icon-star"></i> Error 500</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Main content -->
|
|
|
|
<main class="main">
|
|
|
|
|
|
|
|
<!-- Breadcrumb -->
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<app-breadcrumbs></app-breadcrumbs>
|
|
|
|
<!-- Breadcrumb Menu-->
|
|
|
|
<li class="breadcrumb-menu d-md-down-none">
|
2017-06-22 15:30:35 +00:00
|
|
|
<!-- Currently taking up too much space being here -->
|
2017-06-26 17:36:48 +00:00
|
|
|
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
|
|
|
|
<a class="btn btn-secondary" routerLinkActive="active" [routerLink]="['/components/add-data']">< Add Transaction</a>
|
|
|
|
<!-- <a class="btn btn-secondary" href="#"> Customers This Month: {{customersThisMonth}}</a>
|
2017-06-22 15:30:35 +00:00
|
|
|
<a class="btn btn-secondary" [routerLink]="['/dashboard']"> Money Spent this Month: {{moneySpentThisMonth | currency:'GBP':true:'1.2-2'}}</a>
|
|
|
|
<a class="btn btn-secondary" href="#"> Points Total: {{pointsTotal}}</a>
|
2017-06-26 17:36:48 +00:00
|
|
|
<a class="btn btn-secondary" [routerLink]="['/dashboard']"> Average Transaction Today: {{averageTransactionToday | currency:'GBP':true:'1.2-2'}}</a> -->
|
|
|
|
</div>
|
2017-04-27 14:29:31 +00:00
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div><!-- /.conainer-fluid -->
|
|
|
|
</main>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<footer class="app-footer">
|
|
|
|
<a href="http://coreui.io">CoreUI</a> © 2017 creativeLabs.
|
|
|
|
<span class="float-right">Powered by <a href="http://coreui.io">CoreUI</a></span>
|
|
|
|
</footer>
|