Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

#smart_layout: updated user.htm to support multi-column for tags (not…

… tag-fragments)
  • Loading branch information...
commit 63eca8ce0f74360bf5e4b1ca7fa5069e6f230a37 1 parent 860fba2
@marubinotto authored
Showing with 28 additions and 15 deletions.
  1. +4 −0 src/main/webapp/style/piggydb-shared.css
  2. +24 −15 src/main/webapp/user.htm
View
4 src/main/webapp/style/piggydb-shared.css
@@ -59,6 +59,10 @@ div.sl-horizontal #main-fragment {
margin-top: 24px;
}
+div.sl-horizontal #main-user-fragment {
+ margin-top: 3px;
+}
+
/*
View
39 src/main/webapp/user.htm
@@ -1,22 +1,31 @@
<div id="page-content-inner">
<div id="main">
- #if ($userFragment)
- <div class="fragment-group-control">
- <img class="home-icon" src="$context/style/images/tag-user.png" border="0"
- title="$messages.get("user-home")" alt="$messages.get("user-home")"/>
+ <div class="sl-container">
+ #if ($userFragment)
+ #initSmartLayoutJs()
+ <div class="sl-pane" style="margin-bottom: 35px;">
+ <div id="main-user-fragment">
+ <div class="fragment-group-control" style="height: 18px;">
+ <img class="home-icon" src="$context/style/images/tag-user.png" border="0"
+ title="$messages.get("user-home")" alt="$messages.get("user-home")"/>
+ </div>
+ <div class="user-fragment" style="margin-bottom: 25px;">
+ #fragment($userFragment $null)
+ </div>
+ </div>
+ </div>
+ #end
+
+ <div class="sl-pane">
+ #fragmentsView(
+ "fragmentsByUser"
+ "$context/partial/fragments-by-user.htm?name=$!utils.urlEncode($name)"
+ "true"
+ $null
+ $null)
</div>
- <div class="user-fragment" style="margin-bottom: 25px;">
- #fragment($userFragment $null)
- </div>
- #end
-
- #fragmentsView(
- "fragmentsByUser"
- "$context/partial/fragments-by-user.htm?name=$!utils.urlEncode($name)"
- "true"
- $null
- $null)
+ </div>
</div>
<div id="sidebar">
Please sign in to comment.
Something went wrong with that request. Please try again.