diff options
author | Unknwon <u@gogs.io> | 2016-03-11 15:33:12 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-11 15:33:12 -0500 |
commit | 2bf8494332592b3c57f9a12a26b9abd356fb3f15 (patch) | |
tree | e46c61ba30018ebbafcda6b97b36d3ffece3cfb0 /templates/explore/users.tmpl | |
parent | df2bdf7ea36ad0729e0326ca799d8896d7f96946 (diff) | |
download | gitea-2bf8494332592b3c57f9a12a26b9abd356fb3f15.tar.gz gitea-2bf8494332592b3c57f9a12a26b9abd356fb3f15.zip |
#13 finish user and repository search
Both are possible on explore and admin panel
Diffstat (limited to 'templates/explore/users.tmpl')
-rw-r--r-- | templates/explore/users.tmpl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/explore/users.tmpl b/templates/explore/users.tmpl new file mode 100644 index 0000000000..b7eca4b024 --- /dev/null +++ b/templates/explore/users.tmpl @@ -0,0 +1,35 @@ +{{template "base/head" .}} +<div class="explore users"> + <div class="ui container"> + <div class="ui grid"> + {{template "explore/navbar" .}} + <div class="twelve wide column content"> + {{template "explore/search" .}} + + <div class="ui user list"> + {{range .Users}} + <div class="item"> + <img class="ui avatar image" src="{{.AvatarLink}}"> + <div class="content"> + <span class="header"><a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}</span> + <div class="description"> + {{if .Location}} + <i class="octicon octicon-location"></i> {{.Location}} + {{end}} + {{if and .Email $.IsSigned}} + <i class="octicon octicon-mail"></i> + <a href="mailto:{{.Email}}" rel="nofollow">{{.Email}}</a> + {{end}} + <i class="octicon octicon-clock"></i> {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} + </div> + </div> + </div> + {{end}} + </div> + + {{template "explore/page" .}} + </div> + </div> + </div> +</div> +{{template "base/footer" .}} |