First git import
[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"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Squasher</title><style>body{background-color:#E2EBD8;text-align:center;min-width:1000px;}.wrapper{width: 1000px;margin: 10px auto;}.container{border:5px solid;border-color:#FFFFFF;color:#003300;left:50%;background: #FFFFFF;}.control{float:right;text-align:right;}.menucontainer{background-color:#FFFFFF;}.menu{text-align:center;}.menuhead{float:left;background-color:#66CC00;color:#003300;margin:1px;border:1px solid;border-color:#66CC00;}.menuitem{float:left;background-color:#C7F09E;color:#003300;margin:1px;border:1px solid;border-color:#E2EBD8;}.menuitem_selected{float:left;background-color:#339900;color:#FFFFFF;margin:1px;border:1px solid;border-color:#E2EBD8;}.menuitem:hover{background-color:#339900;color:#FFFFFF;}.content{float:left;padding-right:5px;width:600px;}.item, .status1, .status2, .status3{position:relative;color:#003300;width:400px;height:36px;border:2px solid;border-color:#FFFFFF;font-size:12px;}.item{background-color:#E2EBD8;}.status1{background-color:#FFCCCC;}.status2{background-color:#FFFFCC;}.status3{background-color:#CCFFCC;}.name{position:absolute;left:1px;top:1px;padding-left:1px;}.center{float:left;height:inherit;padding-left:1px;}.chunks{position:absolute;left:1px;bottom:1px;padding-left:1px;}.size{position:absolute;left:100px;bottom:1px;padding-left:1px;}.status{position:absolute;right:2px;top:1px;padding-left:1px;}.stream{position:absolute;float:right;bottom:1px;padding-left:1px;}.download{position:absolute;right:2px;bottom:1px;padding-left:1px;}.clear{clear:both;height:1px;}.spacer{clear:both;height:10px;}.videoframe{float:left;width:500px;height:400px;padding-left:25px;}.banner{background-color:#66CC00;text-align:center;width:100%;height:45px;background:#66CC00 url(img/squash.gif) no-repeat 30px 50%;}.titel{background-color:#66CC00;text-align:center;}.footer{background-color:#66CC00;text-align:center;background:#66CC00 url(img/gplogobottomright.gif) no-repeat 100%;}.bottomimage{background: #FFFFFF url(img/gp1.gif) no-repeat 95% 95%;float:right;width:300px;height:146px;}a{color:#003300;}a:hover{color:#FF6600;}.white_border{float:left;border-top:0px solid #FFFFFF;border-bottom:0px solid #FFFFFF;}.check_all, .check_allow, .check_deny{float:right;height:20px;}.sample_all, .sample_allow, .sample_deny{float:left;height:20px;}.check_all, .sample_all{background-color:#AAEEAA;}.check_allow, .sample_allow{background-color:#EEEEAA;}.check_deny, .sample_deny{background-color:#EEAAAA;}{/literal}{foreach item=style_row from=$style}{$style_row}{/foreach}</style></head><body align="center" style="min-width:1000px;"><div class="wrapper"><div class="container">      <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">logout({$user_name})</a>&nbsp;</div></div>  <div class="spacer"></div>      <div class="menucontainer">     <div class="menu">      <div class="menuhead">users</div>       {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}  </div>  <div class="clear"></div>       <div class="menu">{*    <div class="menuhead">subfolders</div>  {foreach item=folder key=folderpath from=$subfolders}<div class="menuitem" onClick="location.href='?path={$folderpath}'" style="cursor:pointer" >{$folder}</div>{/foreach}*}    </div>  <div class="clear"></div>       </div>  <div class="spacer"></div>      <div class="content">   {if $layout}    <div class="legend">  <div class='sample_all'><!--input name='sample' value=2 type=radio /-->&nbsp; allow this and all underlying folders &nbsp;</div>  <div class='sample_allow'><!--input name='sample' value=1 type=radio /-->&nbsp; allow this folder &nbsp;</div>  <div class='sample_deny'><!--input name='sample' value=0 type=radio /-->&nbsp; deny access to this folder &nbsp;</div>  </div>  <form method='post'>    <input type='hidden' name='formtype' value='folderrights' />    <input type='hidden' name='edited_user' value={$edited_user} />{$layout}        <div style='float:left;'><input type='submit' value='Save'/></div>      </form>{/if}    </div>  <div class="bottomimage"></div> <div class="clear"></div>       <div class="spacer"></div>      <div class="footer">&nbsp;</div></div></div>{if $debug}{debug}{/if}</body></html>