diff options
author | Unknown <joe2010xtmf@163.com> | 2014-06-25 00:44:59 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-06-25 00:44:59 -0400 |
commit | 3624b2a7f102364b75aca7998371c71cd04494fb (patch) | |
tree | 343db3cc5acff302c7c2f40a4d4dd51b3b00fb7f /templates/repo/create.tmpl | |
parent | e0f9c628c5ff7399167944b3d0730698487af498 (diff) | |
parent | cc703ee6631e9a559fc3a72bf97d68c8fd5ebd10 (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r-- | templates/repo/create.tmpl | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 6da6a93d..0d1c42de 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -8,9 +8,28 @@ <div class="form-group"> <label class="col-md-2 control-label">Owner<strong class="text-danger">*</strong></label> <div class="col-md-8"> + <div class="btn-group" id="repo-owner-switch"> + <button type="button" class="btn btn-default"> + <img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132?s=28" alt="user-avatar" title="username"> + fuxiaohei + </button> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> + <span class="caret"></span> + </button> + <div class="dropdown-menu clone-group-btn no-propagation"> + <ul id="dashboard-switch-menu" class="list-unstyled"> + <li class="checked"><a href="#"><i class="fa fa-check"></i> + <img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132?s=28" alt="user-avatar" title="username"> + gogits/gogs</a></li> + </ul> + </div> + </div> + </div> + + <!--<div class="col-md-8"> <p class="form-control-static">{{.SignedUserName}}</p> <input type="hidden" value="{{.SignedUserId}}" name="userId"/> - </div> + </div>--> </div> <div class="form-group {{if .Err_RepoName}}has-error has-feedback{{end}}"> |