aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base/navbar.tmpl
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-21 21:36:15 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-21 21:36:15 +0800
commit85abe5132e1c67a247839bd819b67311f97a7563 (patch)
tree1c3e92a1b619381a3da97792ef71f313f1a4ee83 /templates/base/navbar.tmpl
parent6bc311c552f2b06ec45e2193aff5d7c7f61c9168 (diff)
downloadgitea-85abe5132e1c67a247839bd819b67311f97a7563.tar.gz
gitea-85abe5132e1c67a247839bd819b67311f97a7563.zip
fix navbar button ui
Diffstat (limited to 'templates/base/navbar.tmpl')
-rw-r--r--templates/base/navbar.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/navbar.tmpl b/templates/base/navbar.tmpl
index d775191a5a..2c18b038a3 100644
--- a/templates/base/navbar.tmpl
+++ b/templates/base/navbar.tmpl
@@ -11,7 +11,7 @@
<a class="navbar-right gogs-nav-item{{if .PageIsNewRepo}} active{{end}}" href="/repo/create" data-toggle="tooltip" data-placement="bottom" title="New Repository"><i class="fa fa-plus fa-lg"></i></a>
<a class="navbar-right gogs-nav-item{{if .PageIsUserSetting}} active{{end}}" href="/user/setting" data-toggle="tooltip" data-placement="bottom" title="Setting"><i class="fa fa-cogs fa-lg"></i></a>
{{if .IsAdmin}}<a class="navbar-right gogs-nav-item{{if .PageIsAdmin}} active{{end}}" href="/admin" data-toggle="tooltip" data-placement="bottom" title="Admin"><i class="fa fa-gear fa-lg"></i></a>{{end}}
- {{else}}<a id="gogs-nav-signin" class="gogs-nav-item navbar-right navbar-btn btn btn-success" href="/user/login/">Sign In</a>
+ {{else}}<a id="gogs-nav-signin" class="gogs-nav-item navbar-right navbar-btn btn btn-danger" href="/user/login/">Sign In</a>
<a id="gogs-nav-signup" class="gogs-nav-item navbar-right navbar-btn btn btn-info" href="/user/sign_up/">Sign Up</a>{{end}}
</nav>
</div>