roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r821547 - in /roller/trunk/apps/weblogger/web: WEB-INF/jsps/editor/MediaFileEdit.jsp roller-ui/styles/roller.css
Date Sun, 04 Oct 2009 15:11:52 GMT
Author: snoopdave
Date: Sun Oct  4 15:11:51 2009
New Revision: 821547

URL: http://svn.apache.org/viewvc?rev=821547&view=rev
Log:
For consistancy and appearance sake, making media file edit show thumbnail in 120 x 120 box

Modified:
    roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/MediaFileEdit.jsp
    roller/trunk/apps/weblogger/web/roller-ui/styles/roller.css

Modified: roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/MediaFileEdit.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/MediaFileEdit.jsp?rev=821547&r1=821546&r2=821547&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/MediaFileEdit.jsp (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/MediaFileEdit.jsp Sun Oct  4 15:11:51
2009
@@ -19,8 +19,9 @@
 <script type="text/javascript" src='<s:url value="/roller-ui/scripts/jquery-1.3.1.min.js"
/>'></script>
 
 <s:if test="bean.isImage">
-    <img align="right" alt="thumbnail"
-         src='<s:property value="bean.thumbnailURL" />' />
+    <div class="mediaFileThumbnail">
+        <img align="right" alt="thumbnail" src='<s:property value="bean.thumbnailURL"
/>' />
+    </div>
 </s:if>
 
 <p class="subtitle">

Modified: roller/trunk/apps/weblogger/web/roller-ui/styles/roller.css
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/styles/roller.css?rev=821547&r1=821546&r2=821547&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/styles/roller.css (original)
+++ roller/trunk/apps/weblogger/web/roller-ui/styles/roller.css Sun Oct  4 15:11:51 2009
@@ -667,12 +667,23 @@
     font-weight: bold;
 }
 
+
 /* media file pages */
+
 .mediaFileSearchResult {
     float: left;
     margin: 10px 10px 10px 10px;
 }
 
+div.mediaFileThumbnail {
+   float:right;
+   width:120px;
+   height:120px;
+   border:1px solid grey;
+   margin: 10px
+}
+
+
 /* weblog entry form page */
 
 span.entryEditSidebarLink {



Mime
View raw message