Changes for page ListWebSearch

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

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

Summary

Details

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