[Notice] Announcing the End of Demo Server [Read me]

enhance author avatar CSS (32x32, 64x64)
@75e4aa3e0569e8478ebf546c18990a7d60d095d9
--- app/assets/stylesheets/less/_common.less
+++ app/assets/stylesheets/less/_common.less
... | ... | @@ -134,10 +134,12 @@ |
134 | 134 |
} |
135 | 135 |
.img-rounded { |
136 | 136 |
.border-radius(3px) !important; |
137 |
- border: 1px solid #CCC; |
|
137 |
+ border: 1px solid #ccc; |
|
138 | 138 |
} |
139 |
-.author-avatar { |
|
140 |
- width:34px; height:34px; overflow:hidden; |
|
139 |
+.avatar-wrap { |
|
140 |
+ width:32px; height:32px; overflow:hidden; |
|
141 |
+ &.mid { width:64px; height:64px; } |
|
142 |
+ &.large { width:128px; height:128px; } |
|
141 | 143 |
} |
142 | 144 |
|
143 | 145 |
.orange-txt { |
--- app/views/board/postList.scala.html
+++ app/views/board/postList.scala.html
... | ... | @@ -76,8 +76,8 @@ |
76 | 76 |
<div class="comment-wrap"> |
77 | 77 |
<i class="ico ico-comment-bubble"></i><span class="num">@post.numOfComments</span> |
78 | 78 |
</div> |
79 |
- <a href="@routes.UserApp.userInfo(post.authorLoginId)" class="author-avatar img-rounded pull-right"> |
|
80 |
- <img src="@User.findByLoginId(post.authorLoginId).avatarUrl" alt="@post.authorName" width="34" height="34"> |
|
79 |
+ <a href="@routes.UserApp.userInfo(post.authorLoginId)" class="avatar-wrap img-rounded pull-right"> |
|
80 |
+ <img src="@User.findByLoginId(post.authorLoginId).avatarUrl" alt="@post.authorName" width="32" height="32"> |
|
81 | 81 |
</a> |
82 | 82 |
</div> |
83 | 83 |
</li> |
--- app/views/issue/issueList.scala.html
+++ app/views/issue/issueList.scala.html
... | ... | @@ -136,8 +136,8 @@ |
136 | 136 |
<div class="comment-wrap"> |
137 | 137 |
<i class="ico ico-comment-bubble"></i><span class="num">@issue.comments.size()</span> |
138 | 138 |
</div> |
139 |
- <a href="@routes.UserApp.userInfo(issue.authorLoginId)" class="author-avatar img-rounded pull-right"><!-- |
|
140 |
- --><img src="@User.findByLoginId(issue.authorLoginId).avatarUrl" width="34" height="34" alt="@issue.authorName"></a> |
|
139 |
+ <a href="@routes.UserApp.userInfo(issue.authorLoginId)" class="avatar-wrap img-rounded pull-right"><!-- |
|
140 |
+ --><img src="@User.findByLoginId(issue.authorLoginId).avatarUrl" width="32" height="32" alt="@issue.authorName"></a> |
|
141 | 141 |
</div> |
142 | 142 |
</li> |
143 | 143 |
} |
--- app/views/project/memberList.scala.html
+++ app/views/project/memberList.scala.html
... | ... | @@ -28,7 +28,7 @@ |
28 | 28 |
@if( member.user != null){ |
29 | 29 |
|
30 | 30 |
<li class="member"> |
31 |
- <a href="@routes.UserApp.userInfo(member.user.loginId)" class="img-rounded pull-left"><!-- |
|
31 |
+ <a href="@routes.UserApp.userInfo(member.user.loginId)" class="avatar-wrap mid img-rounded pull-left"><!-- |
|
32 | 32 |
--><img class="media-object" src="@User.findByLoginId(member.user.loginId).avatarUrl" width="64" height="64"></a> |
33 | 33 |
<div class="m-body"> |
34 | 34 |
<div class="td"> |
--- app/views/project/projectList.scala.html
+++ app/views/project/projectList.scala.html
... | ... | @@ -51,8 +51,8 @@ |
51 | 51 |
<i class="ico ico-like"></i><span class="num">1</span> |
52 | 52 |
</div> |
53 | 53 |
<i class="ico ico-activity low"></i><!-- |
54 |
- --><a href="@routes.UserApp.userInfo(project.owner)" class="author-avatar img-rounded"> |
|
55 |
- <img src="@project.getOwnerByName(project.owner).avatarUrl" width="34" height="34"> |
|
54 |
+ --><a href="@routes.UserApp.userInfo(project.owner)" class="avatar-wrap img-rounded"> |
|
55 |
+ <img src="@project.getOwnerByName(project.owner).avatarUrl" width="32" height="32"> |
|
56 | 56 |
</a> |
57 | 57 |
</div> |
58 | 58 |
</li> |
--- app/views/user/info.scala.html
+++ app/views/user/info.scala.html
... | ... | @@ -111,8 +111,8 @@ |
111 | 111 |
<i class="ico ico-like"></i><span class="num">1</span> |
112 | 112 |
</div> |
113 | 113 |
<i class="ico ico-activity low"></i> <!-- |
114 |
- --><a href="@routes.UserApp.userInfo(project.owner)" class="author-avatar img-rounded"> |
|
115 |
- <img src="@project.getOwnerByName(project.owner).avatarUrl" width="34" height="34"> |
|
114 |
+ --><a href="@routes.UserApp.userInfo(project.owner)" class="avatar-wrap img-rounded"> |
|
115 |
+ <img src="@project.getOwnerByName(project.owner).avatarUrl" width="32" height="32"> |
|
116 | 116 |
</a> |
117 | 117 |
</div> |
118 | 118 |
</li> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?