forked from gitea/gitea
1
0
Fork 0

assignee ui in issue view

This commit is contained in:
FuXiaoHei 2014-05-08 21:49:05 +08:00
parent 8eb15815f1
commit a03f380fa8
2 changed files with 80 additions and 62 deletions

View File

@ -1441,7 +1441,7 @@ html, body {
margin-left: .8em;
}
#issue .assignee,#issue .assignee ul{
#issue .assignee.dropdown-menu, #issue .assignee ul {
padding: 0;
margin: 0;
min-width: 300px;
@ -1457,12 +1457,22 @@ html, body {
cursor: pointer;
}
#issue .assignee li img{
#issue .assignee li img, #issue .issue-bar .assignee img {
width: 28px;
height: 28px;
margin-right: 12px;
}
#issue .issue-bar > div {
padding-bottom: 8px;
margin-bottom: 8px;
border-bottom: 1px solid #CCC;
}
#issue .issue-bar .assignee {
line-height: 30px;
}
/* wrapper and footer */
#wrapper {

View File

@ -5,6 +5,7 @@
<div id="body" class="container">
<div id="issue">
<div id="issue-{{.Issue.Id}}" class="issue-whole issue-is-opening">
<div class="issue-wrap col-md-10">
<div class="issue-head clearfix">
<div class="number pull-right">#{{.Issue.Index}}</div>
<a class="author pull-left" href="/user/{{.Issue.Poster.Name}}"><img class="avatar" src="{{.Issue.Poster.AvatarLink}}" alt="" width="30"/></a>
@ -95,6 +96,13 @@
</div>
</form>
</div>{{else}}<div class="alert alert-warning"><a class="btn btn-success btn-lg" href="/user/sign_up">Sign up for free</a> to join this conversation. Already have an account? <a href="/user/login">Sign in to comment</a></div>{{end}}
</div>
</div>
<div class="issue-bar col-md-2">
<div class="assignee">
<h4>Assignee</h4>
<p><img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132"><strong>fuxiaohei</strong></p>
</div>
</div><!--
<div class="col-md-3">
label assignment milestone dashboard