Changes for page ListWebSearch
Last modified by Ecaterina Valica on 2010/07/22 10:30
From version 174.1
edited by Ecaterina Valica
on 2009/03/19 15:56
on 2009/03/19 15:56
Change comment:
There is no comment for this version
To version 211.1
edited by Ecaterina Valica
on 2009/03/20 13:24
on 2009/03/20 13:24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,10 +1,12 @@ 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 5 5 #set($space = $request.space) 6 6 #end 7 - 8 8 #set($spacesText = {}) 9 9 #set($spaces = $xwiki.spaces) 10 10 #set($ok = $spacesText.put("All","All")) ... ... @@ -16,7 +16,7 @@ 16 16 <option value="$spacesText.get($space)" #if($selectspace == $spacesText.get($space))selected="selected"#end>$space</option> 17 17 #end 18 18 #macro(spaceselect $selectspace $spaces $spacesText) 19 - <select name="space"> 21 + <select name="space" title="$msg.get('xe.search.bar.spaces.title')"> 20 20 #spaceoption("All spaces" $selectspace $spacesText) 21 21 #foreach($space in $spaces) 22 22 #spaceoption($space $selectspace $spacesText) ... ... @@ -36,9 +36,10 @@ 36 36 <form action=""> 37 37 <div id="searchBar"> 38 38 {pre} 39 - <input type="text" name="text" class="searchQuery"value="search..." size="50"/> 40 - #spaceselect($space $spaces $spacesText) <input class="button" type="image" src="/xwiki/skins/albatross/go.png" value="Go"/> 41 - <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 class="button" type="image" src="/xwiki/skins/albatross/go.png" value="Go" title="$msg.get('xe.search.bar.go.title')"/></span> 44 + <div class="searchHelp">$msg.get("xe.search.bar.help")</div> 42 42 {/pre} 43 43 </div> 44 44 </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
-
... ... @@ -4,8 +4,8 @@ 4 4 } 5 5 /* Search Bar*/ 6 6 #searchBar{ 7 - border: 1px solid #b3b3b3; 8 8 margin-bottom: 11px; 8 + padding-left: 5px; 9 9 clear: both; 10 10 } 11 11 #searchBar .searchQuery, #searchBar select { ... ... @@ -12,8 +12,10 @@ 12 12 border: 1px solid #5599FF; 13 13 color: #4d4d4d; 14 14 } 15 -.searchButton{ 16 - border: none; 15 +.searchQuery{ 16 + background:transparent url($xwiki.getSkinFile("search.png")) center left no-repeat; 17 + display:inline-block; 18 + padding-left:18px; 17 17 } 18 18 .searchHelp{ 19 19 font-size: 80%; ... ... @@ -22,12 +22,10 @@ 22 22 /* Search Filters*/ 23 23 .searchFilters{ 24 24 clear: both; 25 - margin-bottom: 15px; 26 26 font-size: 90%; 27 27 } 28 28 #sortFilter{ 29 29 color: #808080; 30 - background-color: #F9F9F9; 31 31 padding: 5px; 32 32 line-height: 16px; 33 33 } ... ... @@ -35,19 +35,17 @@ 35 35 color: #808080; 36 36 } 37 37 #sortFilter a:hover{ 38 - color: #777777; 39 - font-weight: bold; 38 + color: #4D4D4D; 40 40 } 41 41 #sortFilter a#currentSort{ 42 - color: # 777777;41 + color: #4D4D4D; 43 43 font-weight: bold; 44 44 } 45 45 .paginationFilter { 46 46 color: #808080; 47 47 height: 100%; 48 - background-color: #F9F9F9; 49 49 border-top: 1px solid #CCCCCC; 50 - padding: 5px; 48 + padding: 2px 0px 5px 5px; 51 51 display: block; 52 52 line-height: 22px; 53 53 } ... ... @@ -55,7 +55,7 @@ 55 55 float: left; 56 56 } 57 57 .resultsNo .currentResultsNo, .resultsNo .totalResultsNo{ 58 - color: # 4D4D4D;56 + color: #808080; 59 59 } 60 60 .pagination{ 61 61 float: right; ... ... @@ -65,11 +65,10 @@ 65 65 color: #808080; 66 66 } 67 67 .pagination a:hover{ 68 - color: #777777; 69 - font-weight: bold; 66 + color: #4D4D4D; 70 70 } 71 71 .pagination a.currentPagination{ 72 - color: # 777777;69 + color: #4D4D4D; 73 73 font-weight: bold; 74 74 } 75 75 .controlPagination{ ... ... @@ -105,10 +105,11 @@ 105 105 width: 100%; 106 106 z-index: 1; 107 107 } 108 -/* Search Filters*/105 +/* Search Result List*/ 109 109 #searchResultsList{ 110 110 clear: both; 111 111 display: table; 109 + padding-top: 15px; 112 112 } 113 113 .resultItem{ 114 114 display: block; ... ... @@ -123,13 +123,13 @@ 123 123 width: 3%; 124 124 } 125 125 .itemType .typeComment{ 126 - background:transparent url($xwiki.getSkinFile("comment. png")) center right no-repeat;124 + background:transparent url($xwiki.getSkinFile("comment.gif")) center right no-repeat; 127 127 display:inline-block; 128 128 width:16px; 129 129 height:16px; 130 130 } 131 131 .itemType .typeAttachment{ 132 - background:transparent url($xwiki.getSkinFile("attach. png")) center right no-repeat;130 + background:transparent url($xwiki.getSkinFile("attach.gif")) center right no-repeat; 133 133 display:inline-block; 134 134 width:16px; 135 135 height:16px; ... ... @@ -148,11 +148,19 @@ 148 148 .itemDescription a{ 149 149 color: #5599ff; 150 150 } 149 +.itemDescription a:hover{ 150 + color: #5599ff; 151 +} 151 151 .itemTitle a{ 152 152 color: #4d4d4d; 153 153 font-weight: bold; 154 154 font-size:130%; 155 155 } 157 +.itemTitle a:hover{ 158 + color: #4d4d4d; 159 + font-weight: bold; 160 + font-size:130%; 161 +} 156 156 .itemLocation{ 157 157 color: #808080; 158 158 font-size:90%; ... ... @@ -163,7 +163,10 @@ 163 163 font-size:90%; 164 164 } 165 165 .itemModifiers a.itemAuthor, .itemModifiers a.itemDate{} 166 -.itemContext{} 172 +.itemContext .highlight{ 173 + background-color: #f7ff94; 174 + padding: 0px 5px 0px 5px; 175 +} 167 167 .itemOthers{ 168 168 color: #808080; 169 169 font-size:80%; ... ... @@ -255,7 +255,6 @@ 255 255 height: 1px; 256 256 } 257 257 .searchFooter{ 258 - margin-bottom: 15px; 259 259 display: block; 260 260 clear: both; 261 261 text-align: right;