Changes for page ListWebSearch

Last modified by Ecaterina Valica on 2010/07/22 10:30

From version 1.1
edited by Ecaterina Valica
on 2009/03/16 14:01
Change comment: There is no comment for this version
To version 10.1
edited by Ecaterina Valica
on 2009/03/16 15:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,4 @@
1 +$xwiki.ssx.use("Main.ListWebSearch")
1 1  #if(!$request.space)
2 2   #set($space = "All")
3 3  #else
... ... @@ -14,7 +14,6 @@
14 14  #macro(spaceoption $space $selectspace $spacesText)
15 15   <option value="$spacesText.get($space)" #if($selectspace == $spacesText.get($space))selected="selected"#end>$space</option>
16 16  #end
17 -
18 18  #macro(spaceselect $selectspace $spaces $spacesText)
19 19   <select name="space">
20 20   #spaceoption("All spaces" $selectspace $spacesText)
... ... @@ -32,9 +32,7 @@
32 32  #else
33 33   #set($url = $xwiki.getURL("Main.WebSearchRss", "view", "xpage=rdf&space=$space&text=${utext}"))
34 34  #end
35 -
36 36  <div id="search">
37 -
38 38  <form action="">
39 39   {pre}
40 40   <div id="searchBar">
... ... @@ -44,10 +44,6 @@
44 44   </div>
45 45   {/pre}
46 46  </form>
47 -
48 -
49 49  #includeInContext("XWiki.WebSearchCode")
50 50  #includeInContext("XWiki.ListResults")
51 -
52 52  </div>
53 -
XWiki.StyleSheetExtension[0]
Code
... ... @@ -3,33 +3,28 @@
3 3   width: 100%;
4 4   background-color: #ffffff;
5 5  }
6 -
7 7  /* Search Bar*/
8 -
9 9  #searchBar{
10 10   width: 60%;
11 11   padding: 10px;
12 12   background-color: #e6e6e6;
13 13   border: 1px solid #b3b3b3;
12 + margin-bottom: 20px;
14 14   clear: both;
15 15  }
16 -
17 17  #searchBar input, #searchBar select {
18 18   border: 1px solid #b3b3b3;
19 19   color: #4d4d4d;
20 20  }
21 -
22 22  .searchHelp{
23 23   font-size: 80%;
24 24   color: #808080;
25 25  }
26 -
27 27  /* Search Filters*/
28 28  .searchFilters
29 29  {
30 30   clear: both;
31 31  }
32 -
33 33  #sortFilter{
34 34   color: #808080;
35 35   background-color: #e6e6e6;
... ... @@ -36,12 +36,14 @@
36 36   border-bottom: 2px solid #b3b3b3;
37 37   padding: 5px;
38 38  }
39 -
40 40  #sortFilter a{
35 + color: #808080;
41 41  }
42 -
37 +#sortFilter a:hover{
38 + color: #4d4d4d;
39 +}
43 43  #sortFilter a#currentSort{
44 -
41 + color: #4d4d4d;
45 45  }
46 46  .paginationFilter {
47 47   color: #808080;
... ... @@ -61,7 +61,6 @@
61 61  .pagination a{}
62 62  .pagination a.currentPagination{}
63 63  .pagination .controlPagination{}
64 -
65 65  /* Search Filters*/
66 66  #searchResultsList{
67 67   clear: both;
... ... @@ -69,7 +69,6 @@
69 69  .resultItem{
70 70   margin-bottom: 15px;
71 71  }
72 -
73 73  .resultItemContainer{
74 74   clear: both;
75 75   display: table-row;
... ... @@ -113,13 +113,14 @@
113 113   clear: both;
114 114   text-align: right;
115 115  }
116 -
117 117  .searchFooter .pagination {
118 118   width: 100%;
119 119   background-color: #f2f2f2;
120 120  }
121 -
122 -.clearfloats
115 +.divClosure
123 123  {
124 - background-color: none;
117 + background-color: transparent;
118 + clear: both;
119 + height: 1px;
120 + margin: 0 220px;
125 125  }
Use this extension
... ... @@ -1,1 +1,1 @@
1 -always
1 +onDemand