Moved style to a css file
[squasher.git] / templates / admin.tpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5 <link rel=stylesheet href="css/squasher.css">
6 <title>Squasher</title>
7 <style>
8 {foreach item=style_row from=$style}{$style_row}{/foreach}
9 </style>
10 </head>
11 <body align="center" style="min-width:1000px;">
12 <div class="wrapper">
13 <div class="container">
14         <div class="banner">&nbsp;<div class="control">{if $user_level > 99}<a href="?">home</a>&nbsp;|&nbsp;<a href="?tools=access">access</a>&nbsp;|{/if}{if $user_level > 99}&nbsp;<a href="?tools=users">users</a>&nbsp;|&nbsp;<a href="?tools=logs">logs</a>&nbsp;|{/if}&nbsp;<a href="index.php?tools=logout">
15 logout({$user_name})</a>&nbsp;</div></div>
16
17         <div class="spacer"></div>
18
19         <div class="menucontainer">
20
21         <div class="menu">
22
23         <div class="menuhead">users</div>
24
25         {foreach item=user key=user_id from=$users}<div {if $user_id eq $edited_user}class="menuitem_selected"{else}class="menuitem"{/if} onClick="location.href='?tools=access&user={$user.id}'" style="cursor:pointer" >{$user.name}</div>{/foreach}
26
27         </div>
28
29         <div class="clear"></div>
30
31         <div class="menu">
32
33 {*
34         <div class="menuhead">subfolders</div>
35
36         {foreach item=folder key=folderpath from=$subfolders}<div class="menuitem" onClick="location.href='?path={$folderpath}'" style="cursor:pointer" >{$folder}</div>{/foreach}*}
37
38         </div>
39
40
41         <div class="clear"></div>
42
43         </div>
44
45         <div class="spacer"></div>
46
47 <div class="content">
48 {if $layout}
49
50         <div class="legend">
51         <div class='sample_all'><!--input name='sample' value=2 type=radio /-->&nbsp; allow this and all underlying folders &nbsp;</div>
52         <div class='sample_allow'><!--input name='sample' value=1 type=radio /-->&nbsp; allow this folder &nbsp;</div>
53         <div class='sample_deny'><!--input name='sample' value=0 type=radio /-->&nbsp; deny access to this folder &nbsp;</div>
54         </div>
55
56         <form method='post'>
57         <input type='hidden' name='formtype' value='folderrights' />
58         <input type='hidden' name='edited_user' value={$edited_user} />
59         {$layout}
60
61         <div style='float:left;'><input type='submit' value='Save'/></div>
62
63         </form>
64
65 {/if}   </div>
66
67         <div class="bottomimage"></div>
68
69         <div class="clear"></div>
70
71         <div class="spacer"></div>
72         <div class="footer">&nbsp;</div>
73 </div>
74 </div>
75 {if $debug}{debug}{/if}
76 </body>
77 </html>