Skip to content
This repository
Browse code

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

… tag-fragments)
  • Loading branch information...
commit 63eca8ce0f74360bf5e4b1ca7fa5069e6f230a37 1 parent 860fba2
Daisuke Morita authored February 13, 2013
4  src/main/webapp/style/piggydb-shared.css
@@ -59,6 +59,10 @@ div.sl-horizontal #main-fragment {
59 59
 	margin-top: 24px;
60 60
 }
61 61
 
  62
+div.sl-horizontal #main-user-fragment {
  63
+	margin-top: 3px;
  64
+}
  65
+
62 66
 
63 67
 
64 68
 /*
39  src/main/webapp/user.htm
... ...
@@ -1,22 +1,31 @@
1 1
 <div id="page-content-inner">
2 2
   
3 3
 <div id="main">
4  
-  #if ($userFragment)
5  
-    <div class="fragment-group-control">
6  
-      <img class="home-icon" src="$context/style/images/tag-user.png" border="0"
7  
-        title="$messages.get("user-home")" alt="$messages.get("user-home")"/>
  4
+  <div class="sl-container">
  5
+    #if ($userFragment)
  6
+      #initSmartLayoutJs()
  7
+      <div class="sl-pane" style="margin-bottom: 35px;">
  8
+        <div id="main-user-fragment">
  9
+          <div class="fragment-group-control" style="height: 18px;">
  10
+            <img class="home-icon" src="$context/style/images/tag-user.png" border="0"
  11
+              title="$messages.get("user-home")" alt="$messages.get("user-home")"/>
  12
+          </div>
  13
+          <div class="user-fragment" style="margin-bottom: 25px;">
  14
+            #fragment($userFragment $null)
  15
+          </div>
  16
+        </div>
  17
+      </div>
  18
+    #end
  19
+    
  20
+    <div class="sl-pane">
  21
+      #fragmentsView(
  22
+      	"fragmentsByUser" 
  23
+      	"$context/partial/fragments-by-user.htm?name=$!utils.urlEncode($name)" 
  24
+      	"true"
  25
+      	$null
  26
+      	$null)
8 27
     </div>
9  
-    <div class="user-fragment" style="margin-bottom: 25px;">
10  
-    #fragment($userFragment $null)
11  
-    </div>
12  
-  #end
13  
-  
14  
-  #fragmentsView(
15  
-  	"fragmentsByUser" 
16  
-  	"$context/partial/fragments-by-user.htm?name=$!utils.urlEncode($name)" 
17  
-  	"true"
18  
-  	$null
19  
-  	$null)
  28
+  </div>
20 29
 </div>
21 30
   
22 31
 <div id="sidebar">

0 notes on commit 63eca8c

Please sign in to comment.
Something went wrong with that request. Please try again.