diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-01-27 18:18:23 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-01-27 18:18:23 +0000 |
commit | 4ace8344cfd8769ef059ec5c920ac663c8c1d4ce (patch) | |
tree | 14427de964a8a0abb2596e97c50a37d5d979f16e /h-source/Application/Views/Search | |
parent | 4e4b0e82b62d9a5bdce92b3caa2ab18e16122ba0 (diff) |
improved search and impagination with CSS
Diffstat (limited to 'h-source/Application/Views/Search')
-rw-r--r-- | h-source/Application/Views/Search/form.php | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/h-source/Application/Views/Search/form.php b/h-source/Application/Views/Search/form.php index 9303b81..cd5b00a 100644 --- a/h-source/Application/Views/Search/form.php +++ b/h-source/Application/Views/Search/form.php @@ -54,7 +54,7 @@ <div class="search_form"> <div class="search_form_label"> - <?php echo gtext("search by");?> <b><?php echo gtext("model name");?></b> + <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("search by");?> <b><?php echo gtext("model name");?></b></span> </div> <noscript> <div class="noscript_notice"> @@ -75,15 +75,35 @@ </form> </div> - <div class="search_form_2"> + <div class="search_form_pciid"> <div class="search_form_label"> - <?php echo gtext("search by");?> <b>vendorid:productid</b> + <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("search by");?> <b>vendorid:productid</b></span> </div> - <form method="GET"> + <form action="<?php echo $this->baseUrl."/search/pciid/".Lang::$current;?>" method="POST"> <table> <tr> <td><?php echo gtext("VendorID:ProductID code of the device");?>:</td> - <td><?php echo Html_Form::input('vendorid','','input_entry_search',"search_model_input");?></td> + <td><?php echo Html_Form::input('pciid','','input_entry_search');?></td> + </tr> + <tr> + <td><input type="submit" name="search_pci" value="search"></td> + </tr> + </table> + </form> + </div> + + <div class="search_form_lspci"> + <div class="search_form_label"> + <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("analyze the output of the lspci command");?></span> + </div> + <form action="<?php echo $this->baseUrl."/search/lspci/".Lang::$current;?>" method="POST"> + <table> + <tr> + <td valign="top"><?php echo gtext("paste the output of the lspci command");?>:<div class="lspci_notice">lspci -vmmnn</div></td> + <td><?php echo Html_Form::textarea('lspci','insert the output of lspci -vmmnn','textarea_entry_search');?></td> + </tr> + <tr> + <td><input type="submit" name="search_pci" value="search"></td> </tr> </table> </form> |