Debian Codegraph @

html-templates/COLLATIONprivileges.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">USAGE</font></b></td>
15 </tr>
16 {%foreach:privilege::
17 <tr bgcolor="{%alternate:#DDDDFF:#CCCCFF%}">
18 <td nowrap valign="top">{%privilegeinfo:grantee_name%}</td>
19 <td nowrap valign="top" align="center">{%foreach:privilegeitem:<br>:USAGE:<a href="info://Granted by {%privilegeiteminfo:grantor%}">
20 <img src="{%template_root%}{%ifeq:{%privilegeiteminfo:grant_option%}:true:ok2.png:ok.png%}" height="16" width="16"></a><font size="-1">{%privilegeiteminfo:columns%}</font>%}
21 {%ifeq:{%privilegeitemcount:USAGE%}:0:<img src="{%template_root%}redx.png" height="16" width="16">%}
22 </td>
23 </tr>%}
24 </tbody>
25 </table>
26 <br>
27 <br>
28 <a href="fr://manage_privileges?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">Grant
29 and revoke privileges</a>
30 <br>
31 <br>
32 <table border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
33 <tr>
34 <td colspan="2" bgcolor="#CCCCFF"><B>Icons</B></td>
35 </tr>
36 <tr bgcolor="#DDDDDD">
37 <td width="20"><img src="{%template_root%}redx.png" height="16" width="16"></td>
38 <td>privilege not granted</td>
39 </tr>
40 <tr bgcolor="#DDDDDD">
41 <td width="20"><img src="{%template_root%}ok.png" height="16" width="16"></td>
42 <td>privilege granted</td>
43 </tr>
44 <tr bgcolor="#DDDDDD">
45 <td width="20"><img src="{%template_root%}ok2.png" height="16" width="20"></td>
46 <td>privilege granted with grant option</td>
47 </tr>
48 <tr bgcolor="silver">
49 <td colspan=2><font size=-1>Hover over icons to see the grantor</font></td>
50 </tr>
51 </table>
52 </body>
53 </html>