Debian Codegraph @

html-templates/TABLEprivileges.html

raw
1 <html>
2 <head>
3 <title>Privileges</title>
4 </head>
5 <body>
6 {%header:Privileges%}
7 <br><br>
8 <font size=+2>Privileges on {%object_name%}</font>
9 <br><br>
10 <table cellspacing=1 cellpadding=2 border=0 bgcolor=black>
11 <tbody>
12 <tr bgcolor="navy">
13 <td><b><font color="white">Grantee</font></b></td>
14 <td><b><font color="white">Select</font></b></td>
15 <td><b><font color="white">Insert</font></b></td>
16 <td><b><font color="white">Update</font></b></td>
17 <td><b><font color="white">Delete</font></b></td>
18 <td><b><font color="white">Reference</font></b></td>
19 </tr>
20 {%foreach:privilege::
21 <tr bgcolor="{%alternate:#DDDDFF:#CCCCFF%}">
22 <td nowrap valign="top">{%privilegeinfo:grantee_name%}</td>
23 <td valign="top" align="center">{%foreach:privilegeitem: :SELECT:<a href="info://Granted by {%privilegeiteminfo:grantor%}">
24 <img src="{%template_root%}{%ifeq:{%privilegeiteminfo:grant_option%}:true:ok2.png:ok.png%}" height="16" width="16"></a><font size="-1">{%privilegeiteminfo:columns%}</font>%}
25 {%ifeq:{%privilegeitemcount:SELECT%}:0:<img src="{%template_root%}redx.png" height="16" width="16">%}
26 </td>
27 <td valign="top" align="center">{%foreach:privilegeitem: :INSERT:<a href="info://Granted by {%privilegeiteminfo:grantor%}">
28 <img src="{%template_root%}{%ifeq:{%privilegeiteminfo:grant_option%}:true:ok2.png:ok.png%}" height="16" width="16"></a><font size="-1">{%privilegeiteminfo:columns%}</font>%}
29 {%ifeq:{%privilegeitemcount:INSERT%}:0:<img src="{%template_root%}redx.png" height="16" width="16">%}
30 </td>
31 <td valign="top" align="center">{%foreach:privilegeitem: :UPDATE:<a href="info://Granted by {%privilegeiteminfo:grantor%}">
32 <img src="{%template_root%}{%ifeq:{%privilegeiteminfo:grant_option%}:true:ok2.png:ok.png%}" height="16" width="16"></a><font size="-1">{%privilegeiteminfo:columns%}</font>%}
33 {%ifeq:{%privilegeitemcount:UPDATE%}:0:<img src="{%template_root%}redx.png" height="16" width="16">%}
34 </td>
35 <td valign="top" align="center">{%foreach:privilegeitem: :DELETE:<a href="info://Granted by {%privilegeiteminfo:grantor%}">
36 <img src="{%template_root%}{%ifeq:{%privilegeiteminfo:grant_option%}:true:ok2.png:ok.png%}" height="16" width="16"></a><font size="-1">{%privilegeiteminfo:columns%}</font>%}
37 {%ifeq:{%privilegeitemcount:DELETE%}:0:<img src="{%template_root%}redx.png" height="16" width="16">%}
38 </td>
39 <td valign="top" align="center">{%foreach:privilegeitem: :REFERENCES:<a href="info://Granted by {%privilegeiteminfo:grantor%}">
40 <img src="{%template_root%}{%ifeq:{%privilegeiteminfo:grant_option%}:true:ok2.png:ok.png%}" height="16" width="16"></a><font size="-1">{%privilegeiteminfo:columns%}</font>%}
41 {%ifeq:{%privilegeitemcount:REFERENCES%}:0:<img src="{%template_root%}redx.png" height="16" width="16">%}
42 </td>
43 </tr>%}
44 </tbody>
45 </table>
46 <br>
47 <br>
48 {%ifeq:{%is_system%}:false:
49 <a href="fr://manage_privileges?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">Grant
50 and revoke privileges</a>%}
51 <br>
52 <br>
53 <table border="0" cellpadding="3" cellspacing="1" bgcolor="#999999">
54 <tr>
55 <td colspan="2" bgcolor="#CCCCFF">Icons</td>
56 </tr>
57 <tr bgcolor="#CCCCCC">
58 <td align="center" width="20"><img src="{%template_root%}redx.png" height="16" width="16"></td>
59 <td>privilege not granted</td>
60 </tr>
61 <tr bgcolor="#CCCCCC">
62 <td align="center" width="20"><img src="{%template_root%}ok.png" height="16" width="16"></td>
63 <td>privilege granted</td>
64 </tr>
65 <tr bgcolor="#CCCCCC">
66 <td align="center" width="20"><img src="{%template_root%}ok2.png" height="16" width="20"></td>
67 <td>privilege granted with grant option</td>
68 </tr>
69 <tr bgcolor="silver">
70 <td colspan=2><font size=-1>Hover over icons to see the grantor</font></td>
71 </tr>
72 </table>
73 </body>
74 </html>