|
|
@ -4,7 +4,7 @@ |
|
|
|
<a id="nav-logo" class="nav-item pull-left{{if .PageIsHome}} active{{end}}" href="/"><img src="/img/favicon.png" alt="Gogs Logo" id="logo"></a> |
|
|
|
<a id="nav-logo" class="nav-item pull-left{{if .PageIsHome}} active{{end}}" href="/"><img src="/img/favicon.png" alt="Gogs Logo" id="logo"></a> |
|
|
|
<a class="nav-item pull-left{{if .PageIsUserDashboard}} active{{end}}" href="/">Dashboard</a> |
|
|
|
<a class="nav-item pull-left{{if .PageIsUserDashboard}} active{{end}}" href="/">Dashboard</a> |
|
|
|
<a class="nav-item pull-left{{if .PageIsHelp}} active{{end}}" target="_blank" href="https://github.com/gogits/gogs/wiki">Help</a>{{if .IsSigned}} |
|
|
|
<a class="nav-item pull-left{{if .PageIsHelp}} active{{end}}" target="_blank" href="https://github.com/gogits/gogs/wiki">Help</a>{{if .IsSigned}} |
|
|
|
{{if .HasAccess}}<!-- <form class="nav-item pull-left{{if .PageIsNewRepo}} active{{end}}" id="nav-search-form"> |
|
|
|
{{if .HasAccess}}<form class="nav-item pull-left{{if .PageIsNewRepo}} active{{end}}" id="nav-search-form"> |
|
|
|
<div class="input-group"> |
|
|
|
<div class="input-group"> |
|
|
|
<div class="input-group-btn"> |
|
|
|
<div class="input-group-btn"> |
|
|
|
<button type="button" class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown">{{if .Repository}}This Repository{{else}}All Repositories{{end}} <span class="caret"></span></button> |
|
|
|
<button type="button" class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown">{{if .Repository}}This Repository{{else}}All Repositories{{end}} <span class="caret"></span></button> |
|
|
@ -16,7 +16,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<input type="search" class="form-control input-sm" name="q" placeholder="search code, commits and issues"/> |
|
|
|
<input type="search" class="form-control input-sm" name="q" placeholder="search code, commits and issues"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> -->{{end}} |
|
|
|
</form>{{end}} |
|
|
|
<a id="nav-out" class="nav-item navbar-right navbar-btn btn btn-danger" href="/user/logout/"><i class="fa fa-power-off fa-lg"></i></a> |
|
|
|
<a id="nav-out" class="nav-item navbar-right navbar-btn btn btn-danger" href="/user/logout/"><i class="fa fa-power-off fa-lg"></i></a> |
|
|
|
<a id="nav-avatar" class="nav-item navbar-right{{if .PageIsUserProfile}} active{{end}}" href="{{.SignedUser.HomeLink}}" data-toggle="tooltip" data-placement="bottom" title="{{.SignedUserName}}"> |
|
|
|
<a id="nav-avatar" class="nav-item navbar-right{{if .PageIsUserProfile}} active{{end}}" href="{{.SignedUser.HomeLink}}" data-toggle="tooltip" data-placement="bottom" title="{{.SignedUserName}}"> |
|
|
|
<img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username"/> |
|
|
|
<img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username"/> |
|
|
|