aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base/navbar.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base/navbar.tmpl')
-rw-r--r--templates/base/navbar.tmpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/base/navbar.tmpl b/templates/base/navbar.tmpl
new file mode 100644
index 0000000000..79ba1ac535
--- /dev/null
+++ b/templates/base/navbar.tmpl
@@ -0,0 +1,18 @@
+<nav class="navbar navbar-inverse navbar-fixed-top">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#gogs-navbar-collapse">
+ <i class="fa fa-bars"></i>
+ </button>
+ <a class="navbar-brand" href="/"><img src="img/favicon.png" alt="Gogs Logo"></a>
+ </div>
+
+ <div class="collapse navbar-collapse" id="gopmweb-navbar-collapse">
+ <ul class="nav navbar-nav">
+ <li><a>{{.Title}}</a></li>
+ </ul>
+
+ <a href="/login" class="navbar-right btn btn-success navbar-btn">Log In</a>
+ </div>
+ </div>
+</nav>