Author: alevkovsky
Date: 2009-03-12 10:02:55 -0400 (Thu, 12 Mar 2009)
New Revision: 12933
Added:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_album.png
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_photo.png
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_shelf.png
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_album.png
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_bg.png
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_photo.png
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_shelf.png
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/ImageManager.java
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/userImagePreviewBlock.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/layout/menu.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld2.css
Log:
Realworld: add avatar for comments, add new icons to main menu
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/ImageManager.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/ImageManager.java 2009-03-12
13:28:45 UTC (rev 12932)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/ImageManager.java 2009-03-12
14:02:55 UTC (rev 12933)
@@ -36,6 +36,7 @@
import org.richfaces.realworld.service.IImageAction;
import org.richfaces.realworld.util.DirectLinkHelper;
+
@Name("imageManager")
@Scope(ScopeType.CONVERSATION)
public class ImageManager {
@@ -89,8 +90,12 @@
Events.instance().raiseEvent(Constants.CLEAR_EDITOR_EVENT, "");
}
+ public void deleteComment(Comment comment){
+ imageAction.deleteComment(comment);
+ }
+
public String getImageDirectLink(Image image) {
return directLink.getDirectImageLink(image.getId());
}
-
+
}
Added:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_album.png
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_album.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_photo.png
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_photo.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_shelf.png
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/icon_add_shelf.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_album.png
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_album.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added: trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_bg.png
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_bg.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_photo.png
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_photo.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_shelf.png
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/realworld2/web/src/main/webapp/img/shell/informer_shelf.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/userImagePreviewBlock.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/layout/menu.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld2.css
===================================================================
---
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld2.css 2009-03-12
13:28:45 UTC (rev 12932)
+++
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld2.css 2009-03-12
14:02:55 UTC (rev 12933)
@@ -122,9 +122,13 @@
color: #FFFFFF;
font-size: 11px;
font-weight: bold;
- text-decoration: none;
+ text-decoration: none;
}
+.main-menu-toolbar-content{
+ width: 100%;
+}
+
.table-boby-column1{
vertical-align: top;
}
@@ -615,4 +619,46 @@
}
.image-edit-div-table{
border-collapse : collapse;
+}
+
+.main-menu-icons-outer-div {
+ cursor: pointer;
+ float: left;
+ padding: 4px 2px 0px 2px;
+}
+
+.main-menu-icons-left-div {
+ height: 23px;
+ float: left;
+}
+
+.main-menu-icons-middle-div {
+ height: 23px;
+ float: left;
+ background: url(../img/shell/informer_bg.png) top left no-repeat;
+ color: #FFFFFF;
+ padding: 4px 0px 0px 0px;
+}
+
+.main-menu-icons-right-div {
+ height : 23px;
+ float : left;
+ width : 10px;
+ overflow : hidden;
+ position : relative;
+}
+.main-menu-icons-backgroung-img {
+ position : absolute;
+ top : 0px;
+ right : 0px;
+ border: 0px;
+}
+.main-menu-separator-img{
+ float:left;
+ margin : 8px 15px 0px 15px;
+ border : 0px;
+}
+.main-menu-add-icons-img{
+ padding : 4px 0px 0px 5px;
+ border : 0px;
}
\ No newline at end of file
Show replies by date