2017-12-14 11:41:26 +01:00
|
|
|
<app-navigation></app-navigation>
|
|
|
|
<div class="container">
|
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|
|
|
|
<!-- <div>
|
2017-11-13 17:19:43 +01:00
|
|
|
<nav class="navbar navbar-default shadowed">
|
2017-12-06 10:04:55 +01:00
|
|
|
<div class="col-md-5">
|
2017-11-13 18:13:49 +01:00
|
|
|
<div class="nav navbar-nav navbar-left">
|
2017-12-06 10:04:55 +01:00
|
|
|
<li class="dropdown" [ngClass]="{false:'invisible'}[tokenService.isLoggedIn() == true]">
|
|
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Quick Navigate
|
|
|
|
<span class="caret"></span>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li>
|
|
|
|
<a class="cursor" (click)="goToDMPs()">My DMPs</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a class="cursor" (click)="goToProjects()">Projects</a>
|
2017-11-15 11:59:08 +01:00
|
|
|
</li>
|
2017-12-06 10:04:55 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
2017-11-15 11:59:08 +01:00
|
|
|
|
|
|
|
|
2017-11-13 18:13:49 +01:00
|
|
|
|
|
|
|
</div>
|
2017-11-13 17:41:07 +01:00
|
|
|
</div>
|
2017-11-13 18:13:49 +01:00
|
|
|
|
2017-11-03 18:57:06 +01:00
|
|
|
|
2017-12-06 10:04:55 +01:00
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
<h3 class="navbar-title">Data Management Plans Creator</h3>
|
2017-11-13 17:41:07 +01:00
|
|
|
</div>
|
2017-11-02 15:19:12 +01:00
|
|
|
|
2017-12-06 10:04:55 +01:00
|
|
|
<div class="col-md-4">
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
<li class="dropdown" [ngClass]="{true:'invisible'}[loggedInAs == null]">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Quick links
|
|
|
|
<span class="caret"></span>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li>
|
|
|
|
<a href="#">Action</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Another action</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Something else here</a>
|
|
|
|
</li>
|
|
|
|
<li role="separator" class="divider"></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Separated link</a>
|
2017-11-13 17:41:07 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
2017-12-06 10:04:55 +01:00
|
|
|
</li>
|
|
|
|
<li [ngClass]="{false:'invisible'}[tokenService.isLoggedIn() == true]">
|
|
|
|
<a>{{tokenService.getEmail()}}</a>
|
|
|
|
</li>
|
|
|
|
<li class="cursor" [ngClass]="{false:'invisible'}[tokenService.isLoggedIn() == true]" (click)="logout()">
|
|
|
|
<a>Logout</a>
|
|
|
|
</li>
|
|
|
|
<li class="cursor" [ngClass]="{true:'invisible'}[tokenService.isLoggedIn() == true]" (click)="login()">
|
|
|
|
<a>Login</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-11-13 17:41:07 +01:00
|
|
|
|
2017-11-03 18:57:06 +01:00
|
|
|
</nav>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2017-12-14 11:41:26 +01:00
|
|
|
|
2017-11-15 16:11:35 +01:00
|
|
|
<div class="col-md-12">
|
|
|
|
<breadcrumb></breadcrumb>
|
2017-12-14 11:41:26 +01:00
|
|
|
</div> -->
|
|
|
|
<!--
|
|
|
|
<router-outlet></router-outlet> -->
|