source: contrib/Resources/templates/default/search.tpl @ 4362

Revision 4362, 2.3 KB checked in by afernandes, 13 years ago (diff)

Ticket #1416 - Disponibilizado módulo de recursos para a comunidade

  • Property svn:executable set to *
Line 
1<!-- BEGIN search -->
2
3<script language="Javascript">
4 
5    function submitit(form,campo)
6{
7        //alert(name+' pressed');
8 var texto;
9  //  texto = "El numero de opciones del select: " + document.form.search_info_type.length;
10    var indice = document.form.search_info_type.selectedIndex;
11    //texto += "\nIndice de la opcion escogida: " + indice;
12    var valor = document.form.search_info_type.options[indice].value;
13   // texto += "\nValor de la opcion escogida: " + valor;
14    var textoEscogido = document.form.search_info_type.options[indice].text;
15  //  texto += "\nTexto de la opcion escogida: " + textoEscogido;
16  //  alert(texto) ;
17        //document.form.ordena.value = name;
18form.action='/index.php?menuaction=resources.uiresources.search&ordenar='+campo+'&valor='+valor;
19        form.submit();
20        //form.submit_button.value = '';
21        return false;
22}
23   function submitit2(id)
24{
25
26location.href='/index.php?menuaction=resources.uiresources.delete&id='+id;
27return false;   
28}
29</script>
30<center>
31
32<table id="calendar_search_table" width="90%">
33
34<tr><td align=left>
35<form  METHOD=POST name="form">
36<input type=hidden name=ordena value="">
37        <table><tr class="th">
38        <td>
39                <table>
40                       
41                        <tr>
42                                <td class="inactiv_sortcolumn" align="left"></td>
43                        </tr>
44                </table>
45
46        </td>
47<td>
48                <table>
49       
50                        <tr>
51                        <td class="inactiv_sortcolumn" align="left">Descripci&oacute;n</td>
52                       
53                        </tr>
54                       
55                </table>
56        </td>
57       
58       
59<td>
60                <table>
61       
62                        <tr>
63                        <td class="inactiv_sortcolumn" align="left">Ubicaci&oacute;n</td>
64                       
65                        </tr>
66                       
67                </table>
68        </td>
69       
70        <td class="noPrint" align="left" width="3%">Acci&oacute;n </td>
71
72        </td>
73        </tr>
74
75        <tr>
76                <td colspan="2" align="center" bgcolor="{th_bg}">
77                        <b></b>
78                </td>
79        </tr>
80        {rows}
81</form>
82</table>
83<!-- END search -->
84
85<!-- BEGIN search_list_header -->
86
87<!-- END search_list_header -->
88
89<!-- BEGIN search_list -->
90        <tr bgcolor="{tr_color}">
91               
92<td>    {picture_src}</td>
93<td>{name}<br>{description}</td>
94
95
96
97<td>    {location}</td>
98
99<td><table><tr>
100
101
102
103<td>
104<a href="{accionlistar}"><img src=/resources/templates/default/images/calendar.png alt="ver recursos asignados"></a>&nbsp;&nbsp;&nbsp;
105
106</td>
107<td>
108
109
110<a href="{accionreservar}"><img src=/resources/templates/default/images/bookable.png alt="reservar"></a>&nbsp;&nbsp;&nbsp;
111</td>
112
113
114
115</tr></table></td>
116        </tr>
117<!-- END search_list -->
118
119<!-- BEGIN search_list_footer -->
120
121<!-- END search_list_footer -->
Note: See TracBrowser for help on using the repository browser.