mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-02 08:57:32 -04:00
select owner when creating repository
This commit is contained in:
parent
b2801a2e98
commit
cc703ee663
@ -257,6 +257,9 @@ html, body {
|
||||
|
||||
.card .btn {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.card .btn-primary {
|
||||
margin-right: 1.2em;
|
||||
}
|
||||
|
||||
@ -638,7 +641,7 @@ html, body {
|
||||
margin: 0 .5em;
|
||||
}
|
||||
|
||||
#dashboard-switch .btn {
|
||||
#dashboard-switch .btn, #repo-owner-switch .btn {
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
@ -647,7 +650,7 @@ html, body {
|
||||
margin-right: 18px;
|
||||
}
|
||||
|
||||
#dashboard-switch .dropdown-menu {
|
||||
#dashboard-switch .dropdown-menu,#repo-owner-switch .dropdown-menu {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
@ -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}}">
|
||||
|
Loading…
Reference in New Issue
Block a user