Changes for page ListWebSearch

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

From version 191.1
edited by Ecaterina Valica
on 2009/03/19 16:39
Change comment: There is no comment for this version
To version 224.1
edited by Ecaterina Valica
on 2009/03/20 14:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,7 @@
1 1  $xwiki.ssx.use("Main.ListWebSearch")
2 +
3 +1 Search
4 +
2 2  #if(!$request.space)
3 3   #set($space = "All")
4 4  #else
... ... @@ -15,7 +15,7 @@
15 15   <option value="$spacesText.get($space)" #if($selectspace == $spacesText.get($space))selected="selected"#end>$space</option>
16 16  #end
17 17  #macro(spaceselect $selectspace $spaces $spacesText)
18 - <select name="space">
21 + <select name="space" title="$msg.get('xe.search.bar.spaces.title')">
19 19   #spaceoption("All spaces" $selectspace $spacesText)
20 20   #foreach($space in $spaces)
21 21   #spaceoption($space $selectspace $spacesText)
... ... @@ -35,9 +35,10 @@
35 35  <form action="">
36 36   <div id="searchBar">
37 37   {pre}
38 - <input type="text" name="text" class="searchQuery" value="search..." size="50"/>
39 - #spaceselect($space $spaces $spacesText) <input class="button" type="image" src="/xwiki/skins/albatross/go.png" value="Go"/>
40 - <div class="searchHelp">eq. xwiki* AND "search query"</div>
41 + <input type="text" name="text" class="searchQuery" value="$msg.get("xe.search.bar.query")" size="50" title="$msg.get('xe.search.bar.query.title')"/>
42 + #spaceselect($space $spaces $spacesText)
43 + <span class="searchButton"><input type="submit" value="Search" title="$msg.get('xe.search.bar.go.title')"/></span>
44 + <div class="searchHelp">$msg.get("xe.search.bar.help")</div>
41 41   {/pre}
42 42   </div>
43 43  </form>
SearchImprovementIdeas.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.GuillaumeLerouge
Size
... ... @@ -1,0 +1,1 @@
1 +351.6 KB
Content
XWiki.StyleSheetExtension[0]
Code
... ... @@ -5,10 +5,11 @@
5 5  /* Search Bar*/
6 6  #searchBar{
7 7   margin-bottom: 11px;
8 + padding-left: 5px;
8 8   clear: both;
9 9  }
10 10  #searchBar .searchQuery, #searchBar select {
11 - border: 1px solid #5599FF;
12 + border: 1px solid #CCCCCC;
12 12   color: #4d4d4d;
13 13  }
14 14  .searchQuery{
... ... @@ -16,6 +16,10 @@
16 16   display:inline-block;
17 17   padding-left:18px;
18 18  }
20 +.searchButton{
21 + height: 100%;
22 + vertical-align: middle;
23 +}
19 19  .searchHelp{
20 20   font-size: 80%;
21 21   color: #808080;
... ... @@ -23,7 +23,6 @@
23 23  /* Search Filters*/
24 24  .searchFilters{
25 25   clear: both;
26 - margin-bottom: 10px;
27 27   font-size: 90%;
28 28  }
29 29  #sortFilter{
... ... @@ -45,7 +45,7 @@
45 45   color: #808080;
46 46   height: 100%;
47 47   border-top: 1px solid #CCCCCC;
48 - padding: 5px 0px 5px 5px;
52 + padding: 2px 0px 5px 5px;
49 49   display: block;
50 50   line-height: 22px;
51 51  }
... ... @@ -53,7 +53,7 @@
53 53   float: left;
54 54  }
55 55  .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{
56 - color: #4D4D4D;
60 + color: #808080;
57 57  }
58 58  .pagination{
59 59   float: right;
... ... @@ -102,10 +102,11 @@
102 102   width: 100%;
103 103   z-index: 1;
104 104  }
105 -/* Search Filters*/
109 +/* Search Result List*/
106 106  #searchResultsList{
107 107   clear: both;
108 108   display: table;
113 + padding-top: 15px;
109 109  }
110 110  .resultItem{
111 111   display: block;
... ... @@ -168,7 +168,10 @@
168 168   font-size:90%;
169 169  }
170 170  .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{}
171 -.itemContext{}
176 +.itemContext .highlight{
177 + background-color: #f7ff94;
178 + padding: 0px 5px 0px 5px;
179 +}
172 172  .itemOthers{
173 173   color: #808080;
174 174   font-size:80%;