[Notice] Announcing the End of Demo Server [Read me]
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
... | ... | @@ -109,6 +109,7 @@ |
109 | 109 |
height: 44px; |
110 | 110 |
background-color: @gray-ec; |
111 | 111 |
border-bottom: 1px solid @gray-f7; |
112 |
+ .outshadow-right; |
|
112 | 113 |
.sub-menus { |
113 | 114 |
margin: 0; |
114 | 115 |
list-style: none; |
... | ... | @@ -251,7 +252,7 @@ |
251 | 252 |
} |
252 | 253 |
|
253 | 254 |
.outshadow-rbl { |
254 |
- box-shadow: 1px 1px 1px @gray-cc; |
|
255 |
+ box-shadow: 1px 1px 3px @gray-cc; |
|
255 | 256 |
} |
256 | 257 |
|
257 | 258 |
.page { |
... | ... | @@ -540,6 +541,9 @@ |
540 | 541 |
.ordertype-name { |
541 | 542 |
display: inline-block; |
542 | 543 |
} |
544 |
+ .delimeter { |
|
545 |
+ color: @gray-cc; |
|
546 |
+ } |
|
543 | 547 |
} |
544 | 548 |
} |
545 | 549 |
.my-projects { |
--- app/assets/stylesheets/less/_variables.less
+++ app/assets/stylesheets/less/_variables.less
... | ... | @@ -29,6 +29,7 @@ |
29 | 29 |
@gray-87: #878787; |
30 | 30 |
@gray-99: #999; |
31 | 31 |
@gray-66: #666; |
32 |
+@gray-33: #333; |
|
32 | 33 |
@gray-cc: #CCC; |
33 | 34 |
@gray-52: #5D5D5D; |
34 | 35 |
@gray-f2: #F2F2F2; |
--- app/models/Project.java
+++ app/models/Project.java
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 |
|
32 | 32 |
/** |
33 | 33 |
* |
34 |
- * @author "Hwi Ahn" |
|
34 |
+ * @author "nForge Team" |
|
35 | 35 |
*/ |
36 | 36 |
|
37 | 37 |
@Entity |
... | ... | @@ -106,8 +106,8 @@ |
106 | 106 |
* 해당 프로젝트가 존재하는지 여부를 검사합니다. 해당 파라미터에 대하여 프로젝트가 존재하면 true, 존재하지 않으면 false를 |
107 | 107 |
* 반환합니다. |
108 | 108 |
* |
109 |
- * @param userName |
|
110 |
- * @param projectName |
|
109 |
+ * @param userName 사용자이름 |
|
110 |
+ * @param projectName 프로젝트이름 |
|
111 | 111 |
* @return |
112 | 112 |
*/ |
113 | 113 |
public static boolean isProject(String userName, String projectName) { |
... | ... | @@ -167,9 +167,9 @@ |
167 | 167 |
/** |
168 | 168 |
* 해당 유저가 속해있는 프로젝트들의 리스트를 필터를 적용해서 보여준다. |
169 | 169 |
* |
170 |
- * @param userId |
|
170 |
+ * @param userId 유저 아이디 |
|
171 | 171 |
* @param orderString 오름차순/내림차순 등 필터로 사용할 스트링 |
172 |
- * @return |
|
172 |
+ * @return 정렬된 프로젝트 목록 |
|
173 | 173 |
*/ |
174 | 174 |
public static List<Project> findProjectsByMemberWithFilter(Long userId, String orderString) { |
175 | 175 |
List<Project> userProjectList = find.where().eq("projectUser.user.id", userId).findList(); |
... | ... | @@ -182,6 +182,11 @@ |
182 | 182 |
return filteredList; |
183 | 183 |
} |
184 | 184 |
|
185 |
+ /** |
|
186 |
+ * 요청 문자열로 부터 정렬 방법을 정한다. |
|
187 |
+ * @param orderString |
|
188 |
+ * @return |
|
189 |
+ */ |
|
185 | 190 |
private static Comparator determineComparator(String orderString) { //TODO: Some ugly coding... |
186 | 191 |
if( orderString.contains("name desc")){ |
187 | 192 |
return sortByNameWithIgnoreCaseDesc; |
--- app/views/index.scala.html
+++ app/views/index.scala.html
... | ... | @@ -42,7 +42,7 @@ |
42 | 42 |
<a href="@routes.Application.index()?order=date">@Messages("orderby.recent")</a> |
43 | 43 |
} |
44 | 44 |
} |
45 |
- </span> | <span class="ordertype-name"> |
|
45 |
+ </span><span class="delimeter"> | </span><span class="ordertype-name"> |
|
46 | 46 |
@if( orderString == "name desc" ){ |
47 | 47 |
<a href="@routes.Application.index()?order=name"><strong>@Messages("orderby.name")</strong> <i class="icon-chevron-down"></i></a> |
48 | 48 |
} else { |
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?