Removed the unused streaming functions/templates
[squasher.git] / templates / admin.tpl
1 {literal}<!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 <title>Squasher</title>
6 <style>
7 body{
8 background-color:#E2EBD8;
9 text-align:center;
10 min-width:1000px;
11 }
12
13 .wrapper{
14 width: 1000px;
15 margin: 10px auto;
16 }
17
18 .container{
19 border:5px solid;
20 border-color:#FFFFFF;
21 color:#003300;
22 left:50%;
23 background: #FFFFFF;
24 }
25
26 .control{
27 float:right;
28 text-align:right;
29 }
30
31 .menucontainer{
32 background-color:#FFFFFF;
33 }
34
35 .menu{
36 text-align:center;
37 }
38
39 .menuhead{
40 float:left;
41 background-color:#66CC00;
42 color:#003300;
43 margin:1px;
44 border:1px solid;
45 border-color:#66CC00;
46 }
47
48 .menuitem{
49 float:left;
50 background-color:#C7F09E;
51 color:#003300;
52 margin:1px;
53 border:1px solid;
54 border-color:#E2EBD8;
55 }
56
57 .menuitem_selected{
58 float:left;
59 background-color:#339900;
60 color:#FFFFFF;
61 margin:1px;
62 border:1px solid;
63 border-color:#E2EBD8;
64 }
65
66 .menuitem:hover{
67 background-color:#339900;
68 color:#FFFFFF;
69 }
70
71 .content{
72 float:left;
73 padding-right:5px;
74 width:600px;
75 }
76
77 .item, .status1, .status2, .status3{
78 position:relative;
79 color:#003300;
80 width:400px;
81 height:36px;
82 border:2px solid;
83 border-color:#FFFFFF;
84 font-size:12px;
85 }
86
87 .item{
88 background-color:#E2EBD8;
89 }
90
91 .status1{
92 background-color:#FFCCCC;
93 }
94
95 .status2{
96 background-color:#FFFFCC;
97 }
98
99 .status3{
100 background-color:#CCFFCC;
101 }
102
103 .name{
104 position:absolute;
105 left:1px;
106 top:1px;
107 padding-left:1px;
108 }
109
110 .center{
111 float:left;
112 height:inherit;
113 padding-left:1px;
114 }
115
116 .chunks{
117 position:absolute;
118 left:1px;
119 bottom:1px;
120 padding-left:1px;
121 }
122
123 .size{
124 position:absolute;
125 left:100px;
126 bottom:1px;
127 padding-left:1px;
128 }
129
130 .status{
131 position:absolute;
132 right:2px;
133 top:1px;
134 padding-left:1px;
135 }
136
137 .stream{
138 position:absolute;
139 float:right;
140 bottom:1px;
141 padding-left:1px;
142 }
143
144 .download{
145 position:absolute;
146 right:2px;
147 bottom:1px;
148 padding-left:1px;
149 }
150
151 .clear{
152 clear:both;
153 height:1px;
154 }
155
156 .spacer{
157 clear:both;
158 height:10px;
159 }
160
161 .videoframe{
162 float:left;
163 width:500px;
164 height:400px;
165 padding-left:25px;
166 }
167
168 .banner{
169 background-color:#66CC00;
170 text-align:center;
171 width:100%;
172 height:45px;
173 background:#66CC00 url(img/squash.gif) no-repeat 30px 50%;
174 }
175
176 .titel{
177 background-color:#66CC00;
178 text-align:center;
179 }
180
181 .footer{
182 background-color:#66CC00;
183 text-align:center;
184 background:#66CC00 url(img/gplogobottomright.gif) no-repeat 100%;
185 }
186
187 .bottomimage{
188 background: #FFFFFF url(img/gp1.gif) no-repeat 95% 95%;
189 float:right;
190 width:300px;
191 height:146px;
192 }
193
194 a{
195 color:#003300;
196 }
197
198 a:hover{
199 color:#FF6600;
200 }
201
202 .white_border{
203 float:left;
204 border-top:0px solid #FFFFFF;
205 border-bottom:0px solid #FFFFFF;
206 }
207
208 .check_all, .check_allow, .check_deny{
209 float:right;
210 height:20px;
211 }
212
213 .sample_all, .sample_allow, .sample_deny{
214 float:left;
215 height:20px;
216 }
217
218 .check_all, .sample_all{
219 background-color:#AAEEAA;
220 }
221
222 .check_allow, .sample_allow{
223 background-color:#EEEEAA;
224 }
225
226 .check_deny, .sample_deny{
227 background-color:#EEAAAA;
228 }
229
230
231 {/literal}
232 {foreach item=style_row from=$style}{$style_row}{/foreach}
233 </style>
234 </head>
235 <body align="center" style="min-width:1000px;">
236 <div class="wrapper">
237 <div class="container">
238         <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">
239 logout({$user_name})</a>&nbsp;</div></div>
240
241         <div class="spacer"></div>
242
243         <div class="menucontainer">
244
245         <div class="menu">
246
247         <div class="menuhead">users</div>
248
249         {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}
250
251         </div>
252
253         <div class="clear"></div>
254
255         <div class="menu">
256
257 {*
258         <div class="menuhead">subfolders</div>
259
260         {foreach item=folder key=folderpath from=$subfolders}<div class="menuitem" onClick="location.href='?path={$folderpath}'" style="cursor:pointer" >{$folder}</div>{/foreach}*}
261
262         </div>
263
264
265         <div class="clear"></div>
266
267         </div>
268
269         <div class="spacer"></div>
270
271 <div class="content">
272 {if $layout}
273
274         <div class="legend">
275         <div class='sample_all'><!--input name='sample' value=2 type=radio /-->&nbsp; allow this and all underlying folders &nbsp;</div>
276         <div class='sample_allow'><!--input name='sample' value=1 type=radio /-->&nbsp; allow this folder &nbsp;</div>
277         <div class='sample_deny'><!--input name='sample' value=0 type=radio /-->&nbsp; deny access to this folder &nbsp;</div>
278         </div>
279
280         <form method='post'>
281         <input type='hidden' name='formtype' value='folderrights' />
282         <input type='hidden' name='edited_user' value={$edited_user} />
283         {$layout}
284
285         <div style='float:left;'><input type='submit' value='Save'/></div>
286
287         </form>
288
289 {/if}   </div>
290
291         <div class="bottomimage"></div>
292
293         <div class="clear"></div>
294
295         <div class="spacer"></div>
296         <div class="footer">&nbsp;</div>
297 </div>
298 </div>
299 {if $debug}{debug}{/if}
300 </body>
301 </html>