Debian Codegraph @

html-templates/VIEWprivileges.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 nowrap valign="top" align="center">{%foreach:privilegeitem:<br>: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 nowrap valign="top" align="center">{%foreach:privilegeitem:<br>: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 nowrap valign="top" align="center">{%foreach:privilegeitem:<br>: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 nowrap valign="top" align="center">{%foreach:privilegeitem:<br>: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 nowrap valign="top" align="center">{%foreach:privilegeitem:<br>: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 <a href="fr://manage_privileges?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">Grant
49 and revoke privileges</a>
50 <br>
51 <br>
52 <table border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
53 <tr>
54 <td colspan="2" bgcolor="#CCCCFF"><B>Icons</B></td>
55 </tr>
56 <tr bgcolor="#DDDDDD">
57 <td width="20"><img src="{%template_root%}redx.png" height="16" width="16"></td>
58 <td>privilege not granted</td>
59 </tr>
60 <tr bgcolor="#DDDDDD">
61 <td width="20"><img src="{%template_root%}ok.png" height="16" width="16"></td>
62 <td>privilege granted</td>
63 </tr>
64 <tr bgcolor="#DDDDDD">
65 <td width="20"><img src="{%template_root%}ok2.png" height="16" width="20"></td>
66 <td>privilege granted with grant option</td>
67 </tr>
68 <tr bgcolor="silver">
69 <td colspan=2><font size=-1>Hover over icons to see the grantor</font></td>
70 </tr>
71 </table>
72 </body>
73 </html>