Permalink
Browse files

LPS-25035 - Source formatting

  • Loading branch information...
natecavanaugh authored and brianchandotcom committed May 14, 2012
1 parent c3da499 commit bac598f2f1a90c7cb43cc6021ae52cd391b5aaa6
@@ -68,7 +68,7 @@ for (int j = 0; j < fileEntryColumns.length; j++) {
<img class="thumbnail" src="<%= thumbnailSrc %>" />
<c:if test="<%= fileShortcut != null %>">
- <img alt="<liferay-ui:message key="shortcut" />" class="shortcut-icon" src="<%= themeDisplay.getPathThemeImages() %>/file_system/large/overlay_link.png">
+ <img alt="<liferay-ui:message key="shortcut" />" class="shortcut-icon" src="<%= themeDisplay.getPathThemeImages() %>/file_system/large/overlay_link.png" />
</c:if>
<c:if test="<%= fileEntry.isCheckedOut() %>">
@@ -25,6 +25,7 @@
height: 170px;
margin: 10px 4px;
padding: 5px 15px 0;
+ text-align: center;
&:hover, &.hover {
background-color: #D3E8F1;
@@ -52,7 +53,6 @@
.image-thumbnail {
display: inline-block;
position: relative;
- text-align: center;
img {
background: #EAEAEA;
@@ -96,7 +96,7 @@
<div class="image-icon">
<a class="image-link preview" <%= (hasAudio || hasVideo) ? "data-options=\"height=" + playerHeight + "&thumbnailURL=" + HtmlUtil.escapeURL(DLUtil.getPreviewURL(fileEntry, fileVersion, themeDisplay, "&videoThumbnail=1")) + "&width=640" + dataOptions + "\"" : StringPool.BLANK %> href="<%= href %>" thumbnailId="<%= thumbnailId %>" title="<%= HtmlUtil.escape(fileEntry.getTitle()) + " - " + HtmlUtil.escape(fileEntry.getDescription()) %>">
- <div class="image-thumbnail" style="<%= DLUtil.getThumbnailStyle(false, 4) %>">
+ <span class="image-thumbnail" style="<%= DLUtil.getThumbnailStyle(false, 4) %>">
<img alt="<%= HtmlUtil.escape(fileEntry.getTitle()) + " - " + HtmlUtil.escape(fileEntry.getDescription()) %>" border="no" src="<%= src %>" style="max-height: <%= PropsValues.DL_FILE_ENTRY_THUMBNAIL_MAX_HEIGHT %>px; max-width: <%= PropsValues.DL_FILE_ENTRY_THUMBNAIL_MAX_WIDTH %>px;" />
<c:if test="<%= fileShortcut != null %>">
@@ -106,7 +106,7 @@
<c:if test="<%= fileEntry.isCheckedOut() %>">
<img alt="<liferay-ui:message key="locked" />" class="locked-icon" src="<%= themeDisplay.getPathThemeImages() %>/file_system/large/overlay_lock.png" />
</c:if>
- </div>
+ </span>
<span class="image-title"><%= HtmlUtil.escape(fileVersion.getTitle()) %></span>
</a>
@@ -159,9 +159,9 @@
<div class="image-icon">
<a class="image-link" href="<%= viewFolderURL.toString() %>" title="<%= HtmlUtil.escape(curFolder.getName()) + " - " + HtmlUtil.escape(curFolder.getDescription()) %>">
- <div class="image-thumbnail">
+ <span class="image-thumbnail">
<img alt="" border="no" src="<%= folderImageSrc %>" style="max-height: <%= PropsValues.DL_FILE_ENTRY_THUMBNAIL_MAX_HEIGHT %>px; max-width: <%= PropsValues.DL_FILE_ENTRY_THUMBNAIL_MAX_WIDTH %>px;" />
- </div>
+ </span>
<span class="image-title"><%= HtmlUtil.escape(StringUtil.shorten(curFolder.getName(), 60)) %></span>
</a>
@@ -209,9 +209,9 @@
}
%>
- <div class="image-thumbnail">
+ <span class="image-thumbnail">
<img alt="" border="no" src="<%= folderImageSrc %>" style="max-height: <%= PropsValues.DL_FILE_ENTRY_THUMBNAIL_MAX_HEIGHT %>px; max-width: <%= PropsValues.DL_FILE_ENTRY_THUMBNAIL_MAX_WIDTH %>px;" />
- </div>
+ </span>
<span class="image-title"><%= HtmlUtil.escape(StringUtil.shorten(curFolder.getName(), 60)) %></span>
</a>

0 comments on commit bac598f

Please sign in to comment.