Debian Codegraph @

html-templates/TABLEindices.html

raw
1 <html>
2 <head>
3 <title>Indexes</title>
4 </head>
5 <body>
6 {%header:Indexes%}
7 <br><br>
8 <font size=+2>Indexes for table {%object_name%}</font><br>
9 <br><br>
10 <table cellspacing=1 cellpadding=2 border=0 bgcolor=black>
11 <tbody>
12 <tr bgcolor="navy">
13 {%ifeq:{%is_system%}:false:
14 <td></td>
15 %}
16 <td valign="top"><b><font color=white>Index name</font></b></td>
17 <td valign="top"><b><font color=white>Type</font></b></td>
18 <td valign="top"><b><font color=white>Active</font></b></td>
19 <td valign="top"><b><font color=white>Unique</font></b></td>
20 <td valign="top"><b><font color=white>Fields/Expression</font></b></td>
21 <td valign="top"><b><font color=white>Statistics</font></b></td>
22 <td valign="top"><b><font color=white>Description</font></b></td>
23 </tr>
24 {%foreach:index::
25 <tr bgcolor="{%alternate:#DDDDFF:#CCCCFF%}">
26 {%ifeq:{%parent:{%is_system%}%}:false:
27 <td valign="top" nowrap>
28 <a href="fr://index_action?type=DROP&amp;parent_window={%parent_window%}&amp;object_handle={%object_handle%}"><img src="{%template_root%}drop.png" height="16" width="16"></a>
29 <a href="fr://index_action?type=RECOMPUTE&amp;parent_window={%parent_window%}&amp;object_handle={%object_handle%}"><img src="{%template_root%}compute.png" height="16" width="16"></a>
30 </td>
31 %}
32 <td nowrap valign="top">{%object_name%}</td>
33 <td nowrap valign="top" align="center">{%indexinfo:type%}</td>
34 <td nowrap valign="top" align="center">
35 {%ifeq:{%parent:{%is_system%}%}:false:
36 <a href="fr://index_action?type=TOGGLE_ACTIVE&amp;parent_window={%parent_window%}&amp;object_handle={%object_handle%}">
37 %}
38 <img src="{%template_root%}{%ifeq:{%indexinfo:is_active%}:true:ok.png:redx.png%}" height="16" width="16">{%ifeq:{%parent:{%is_system%}%}:false:</a>
39 %}
40 </td>
41 <td nowrap valign="top" align="center"><img src="{%template_root%}{%ifeq:{%indexinfo:is_unique%}:true:ok.png:redx.png%}" height="16" width="16"></td>
42 <td valign="top">{%indexinfo:fields%}</td>
43 <td nowrap valign="top" align="right">{%indexinfo:stats%}</td>
44 <td nowrap valign="top"><font size=-1>{%object_description%} {%parent:{%ifeq:{%is_system%}:false:[<a
45 href="fr://edit_description?parent_window={%parent_window%}&amp;object_handle={%object_handle%}&amp;object_type=INDEX&amp;object_name={%object_name%}">edit</a>]%}%}</font></td>
46 </tr>
47 %}
48 </tbody>
49 </table>
50 <br><br>
51 {%ifeq:{%is_system%}:false:
52 <a
53 href="fr://add_index?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">Create new index</a> | <a
54 href="fr://recompute_all?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">Recompute
55 statistics for all indexes</a>
56 <br><br>
57 <table border=0 cellspacing=1 cellpadding=3 bgcolor="#999999">
58 <tr bgcolor="#CCCCFF">
59 <td>Icon</td>
60 <td nowrap>click to...</td>
61 </tr>
62 <tr bgcolor="#CCCCCC"><td align="center"><img src="{%template_root%}drop.png" height="16" width="16"></td><td>Drop index</td></tr>
63 <tr bgcolor="#CCCCCC"><td align="center"><img src="{%template_root%}compute.png" height="16" width="16"></td><td>Recompute statistics for index</td></tr>
64 <tr bgcolor="#CCCCCC"><td align="center"><img src="{%template_root%}ok.png" height="16" width="16"></td><td>Make index inactive</td></tr>
65 <tr bgcolor="#CCCCCC"><td align="center"><img src="{%template_root%}redx.png" height="16" width="16"></td><td>Make index active</td></tr>
66 </table>
67 %}
68 </body>
69 </html>