1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/frame/frame.component.html

32 lines
1.4 KiB
HTML
Raw Normal View History

2016-05-01 16:28:05 +08:00
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
2016-05-01 16:28:05 +08:00
<a class="navbar-brand" href="#"><img src="icon_inv.png" style="max-height: 26px; display: inline;"/> PiGallery2</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
2016-12-27 06:36:38 +08:00
<li class="active"><a [routerLink]="['/gallery','/']">Gallery</a></li>
<li><a [routerLink]="['/admin']">Admin</a></li>
2016-05-01 16:28:05 +08:00
</ul>
<ul class="nav navbar-nav navbar-right" *ngIf="authenticationRequired">
2016-05-17 05:15:03 +08:00
<li>
2016-06-24 04:58:31 +08:00
<p class="navbar-text" *ngIf="user">{{user.name}}</p>
2016-05-17 05:15:03 +08:00
</li>
<li>
<a style="cursor: pointer" (click)="logout()">Logout</a>
</li>
</ul>
<ng-content select="[navbar]"></ng-content>
2016-05-17 05:15:03 +08:00
2016-05-01 16:28:05 +08:00
</div><!--/.nav-collapse -->
</div>
</nav>
<ng-content select="[body]"></ng-content>