2014-03-02 22:47:55 +09:00
|
|
|
{{template "base/head" .}}
|
|
|
|
{{template "base/navbar" .}}
|
|
|
|
<div id="gogs-body" class="container">
|
|
|
|
<div id="gogs-user-profile" class="col-md-3">
|
|
|
|
<div class="profile-avatar text-center">
|
|
|
|
<a href="#" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change Avatar">
|
2014-03-13 16:39:18 +09:00
|
|
|
<img id="gogs-user-avatar" src="http://1.gravatar.com/avatar/{{.Owner.Avatar}}?s=200" alt="user-avatar" title="username"/>
|
2014-03-02 22:47:55 +09:00
|
|
|
</a>
|
2014-03-13 16:39:18 +09:00
|
|
|
<span id="gogs-user-name" class="center-block" href="#">{{.Owner.Name}}</span>
|
2014-03-02 22:47:55 +09:00
|
|
|
</div>
|
|
|
|
<div class="profile-info">
|
|
|
|
<ul class="list-group">
|
2014-03-15 11:35:04 +09:00
|
|
|
{{if .Owner.Location}}
|
|
|
|
<li class="list-group-item"><i class="fa fa-thumb-tack"></i>{{.Owner.Location}}</li>
|
|
|
|
{{end}}
|
|
|
|
{{if .Owner.Email}}
|
|
|
|
<li class="list-group-item"><i class="fa fa-envelope"></i><a href="mailto:{{.Owner.Email}}">{{.Owner.Email}}</a></li>
|
|
|
|
{{end}}
|
|
|
|
{{if .Owner.Website}}
|
|
|
|
<li class="list-group-item"><i class="fa fa-link"></i><a target="_blank" href="{{.Owner.Website}}">{{.Owner.Website}}</a></li>
|
|
|
|
{{end}}
|
2014-03-13 16:39:18 +09:00
|
|
|
<li class="list-group-item"><i class="fa fa-clock-o"></i>{{.Owner.Created}}</li>
|
2014-03-02 22:47:55 +09:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="gogs-user-activity" class="col-md-9">
|
2014-03-13 15:08:49 +09:00
|
|
|
<ul class="nav nav-tabs" id="gogs-user-act-tabs" data-init="tabs">
|
2014-03-02 22:47:55 +09:00
|
|
|
<li class="active"><a href="#repo" data-toggle="tab"><i class="fa fa-gittip"></i>Repositories</a></li>
|
2014-03-15 13:50:51 +09:00
|
|
|
<li><a href="#activity" data-toggle="tab"><i class="fa fa-rss"></i>Public Activity</a></li>
|
2014-03-02 22:47:55 +09:00
|
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
|
|
<div class="tab-pane active" id="repo">repo</div>
|
2014-03-15 13:50:51 +09:00
|
|
|
<div class="tab-pane" id="activity">
|
|
|
|
{{range .Feeds}}<div>
|
|
|
|
<i class="fa fa-{{ActionIcon .OpType}}"></i>{{ActionDesc . | str2html}} {{TimeSince .Created}}
|
|
|
|
</div>{{end}}
|
|
|
|
</div>
|
2014-03-02 22:47:55 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|