mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 12:27:50 +01:00
fix profile ui
This commit is contained in:
parent
cc1eb5643e
commit
1c88a541cb
@ -311,11 +311,18 @@ html, body {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
#user-name {
|
||||
margin-top: 20px;
|
||||
#user-name,#user-full-name {
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#user-name{
|
||||
margin-bottom: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#user-full-name{
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#user-profile .profile-info .list-group-item {
|
||||
@ -387,7 +394,7 @@ html, body {
|
||||
|
||||
/* gogits user setting */
|
||||
|
||||
#user-setting-nav {
|
||||
#user-setting-nav.repo-setting-nav {
|
||||
background-color: #FFF;
|
||||
border: 1px solid #CCC;
|
||||
padding: 0;
|
||||
|
@ -3,7 +3,7 @@
|
||||
{{template "repo/nav" .}}
|
||||
{{template "repo/toolbar" .}}
|
||||
<div id="body" class="container">
|
||||
<div id="user-setting-nav" class="col-md-2">
|
||||
<div id="user-setting-nav" class="col-md-2 repo-setting-nav">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings">Options</a></li>
|
||||
<li class="list-group-item active"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/collaboration">Collaborators</a></li>
|
||||
|
@ -3,7 +3,7 @@
|
||||
{{template "repo/nav" .}}
|
||||
{{template "repo/toolbar" .}}
|
||||
<div id="body" class="container">
|
||||
<div id="user-setting-nav" class="col-md-2">
|
||||
<div id="user-setting-nav" class="col-md-2 repo-setting-nav">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item active"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings">Options</a></li>
|
||||
<li class="list-group-item"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/collaboration">Collaborators</a></li>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<a href="http://gravatar.com/emails/" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change your avatar at gravatar.com">
|
||||
<img id="user-avatar" src="{{.Owner.AvatarLink}}?s=200" alt="user-avatar" title="{{.Owner.Name}}"/>
|
||||
</a>
|
||||
{{if .Owner.FullName}}<span id="user-name" class="center-block">{{.Owner.FullName}}</span>{{end}}
|
||||
{{if .Owner.FullName}}<span id="user-full-name" class="center-block">{{.Owner.FullName}}</span>{{end}}
|
||||
<span id="user-name" class="center-block">{{.Owner.Name}}</span>
|
||||
</div>
|
||||
<div class="profile-info">
|
||||
|
Loading…
Reference in New Issue
Block a user