diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-19 22:03:06 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-19 22:03:06 +0800 |
commit | 89041248d4848038b91d6cffd67120cb4f4cf567 (patch) | |
tree | 9536e1c2d8169c1788b688dab6dc2cd4c1b8b243 /templates/repo/commits.tmpl | |
parent | 06af48503cc002d3ab89372c11fc43fc9a5470a8 (diff) | |
download | gitea-89041248d4848038b91d6cffd67120cb4f4cf567.tar.gz gitea-89041248d4848038b91d6cffd67120cb4f4cf567.zip |
repo commit list ui
Diffstat (limited to 'templates/repo/commits.tmpl')
-rw-r--r-- | templates/repo/commits.tmpl | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index 4bffb9daf7..53c14d364a 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -4,6 +4,44 @@ {{template "repo/toolbar" .}} <div id="gogs-body" class="container"> <div id="gogs-commits"> + <div class="panel panel-default commit-box info-box"> + <div class="panel-heading info-head"> + <div class="search pull-right form"> + <input class="form-control search" type="search" placeholder="search commit"/> + </div> + <h4>Commits</h4> + </div> + <table class="panel-footer table commit-list table table-striped"> + <thead> + <tr> + <th class="author">Author</th> + <th class="sha">Commit</th> + <th class="message">Message</th> + <th class="date">Date</th> + </tr> + </thead> + <tbody> + <tr> + <td class="author"><img class="avatar" src="#" alt=""/>CommitUser</td> + <td class="sha"><a class="label label-success" href="#">d91b380</a></td> + <td class="message">Fix Synchronize to delete service objects in subduers upon move</td> + <td class="date">3 years ago</td> + </tr> + <tr> + <td class="author"><img class="avatar" src="#" alt=""/>CommitUser</td> + <td class="sha"><a class="label label-success" href="#">d91b380</a></td> + <td class="message">Fix Synchronize to delete service objects in subduers upon move</td> + <td class="date">3 years ago</td> + </tr> + <tr> + <td class="author"><img class="avatar" src="#" alt=""/>CommitUser</td> + <td class="sha"><a class="label label-success" href="#">d91b380</a></td> + <td class="message">Fix Synchronize to delete service objects in subduers upon move</td> + <td class="date">3 years ago</td> + </tr> + </tbody> + </table> + </div> <ul> {{$r := List .Commits}} {{range $r}} |