summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard.tmpl
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-11 12:49:09 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-11 12:49:09 +0800
commit63d2f74c21b28cf3e88d507c489f1ab7486fd634 (patch)
tree5282faa38368e66c78c32ce460d2bb08cb88815e /templates/user/dashboard.tmpl
parent5b5d54621e6b17e65e1df9227ca1bd5a66ce86db (diff)
downloadgitea-63d2f74c21b28cf3e88d507c489f1ab7486fd634.tar.gz
gitea-63d2f74c21b28cf3e88d507c489f1ab7486fd634.zip
begin dashboard ui
Diffstat (limited to 'templates/user/dashboard.tmpl')
-rw-r--r--templates/user/dashboard.tmpl25
1 files changed, 24 insertions, 1 deletions
diff --git a/templates/user/dashboard.tmpl b/templates/user/dashboard.tmpl
index bde541a6a7..3045b033cf 100644
--- a/templates/user/dashboard.tmpl
+++ b/templates/user/dashboard.tmpl
@@ -1,6 +1,29 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
+<div id="gogs-body-nav">
+ <div class="container">
+ <ul class="nav nav-pills pull-right">
+ <li class="active"><a href="/">Feed</a></li>
+ <li><a href="/issues/">Issues</a></li>
+ <li><a href="/pulls/">Pull Requests</a></li>
+ <li><a href="/stars/">Stars</a></li>
+ </ul>
+ <h3>New Feed</h3>
+ </div>
+</div>
<div id="gogs-body" class="container">
- Website is still in the progress of building...please come back later! <strong>{{.SignedUserName}}</strong> is logged!
+ <div id="gogs-feed-left" class="col-md-8">
+ Website is still in the progress of building...please come back later! <strong>{{.SignedUserName}}</strong> is logged!
+ </div>
+ <div id="gogs-feed-right" class="col-md-4">
+ <div class="panel panel-default repo-panel">
+ <div class="panel-heading">Your Repositories
+ <a class="btn btn-success pull-right btn-sm" href="/repo/create/"><i class="fa fa-plus-square"></i>New Repo</a>
+ </div>
+ <div class="panel-body">
+ repo-list
+ </div>
+ </div>
+ </div>
</div>
{{template "base/footer" .}} \ No newline at end of file