diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-01-01 12:06:46 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-01-01 12:06:46 +0100 |
commit | 5bc350814a9426a89e8ab06728badad9430d4015 (patch) | |
tree | f8d053012af162c18beb14b51b4dcda86b55b0dd /themes | |
parent | bb3bcfbb5f2627788d4ee498ddbd3b7024a2d326 (diff) |
sort-order is now set via AJAX, not while submit a search-query
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/stylesheet.css | 13 | ||||
-rw-r--r-- | themes/default/templates/search.tpl | 14 |
2 files changed, 21 insertions, 6 deletions
diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index eae8f4a..e12e57d 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -210,3 +210,16 @@ table.calendar tr td { border: dashed 1px #888888;
vertical-align: middle;
}
+
+input.submit {
+ background-color: #ffffff;
+ border: 0px;
+}
+
+input, select, textarea {
+ background-color: #eeeeee;
+ color: #333333;
+ border: 1px solid #888888;
+ border-collapse: collapse;
+}
+
diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl index e12a099..cd2a93b 100644 --- a/themes/default/templates/search.tpl +++ b/themes/default/templates/search.tpl @@ -14,12 +14,12 @@ <input type="text" name="searchfor" value="{$searchfor}" size="15" /> </td> <td> - <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" /> + <input type="image" class="submit" src="resources/doit.png" alt="start search" title="start search" onclick="click(this);" /> </td> </tr> <tr> <td>Date:</td> - <td> + <td style="white-space: nowrap;"> { if ! $date_search_enabled } <input type="checkbox" name="consider_date" value="Y" onclick="datesearch();"> { else } @@ -38,18 +38,20 @@ {$to_date} <a href="javascript:showCalendar('to');" onclick="click(this);"><img src="resources/date.png" id="topic" /></a> </td> <td> - <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" /> + <input type="image" class="submit" src="resources/doit.png" alt="start search" title="start search" onclick="click(this);" /> </td> </tr> <tr> <td> - Sort-Order: + Sort-Order: </td> <td> - { sort_select_list } + <select name="sort_order" onchange="update_sort_order(this);"> + { sort_select_list } + </select> </td> <td> - <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" /> + </td> </tr> </form> |