fixed broken lines in user table

Conflicts:

	settings/css/settings.css
This commit is contained in:
Bjoern Schiessle 2012-06-08 11:37:04 +02:00
parent 0f68276921
commit 4a15cf28a9
2 changed files with 3 additions and 2 deletions

View File

@ -34,9 +34,10 @@ li.selected { background-color:#ddd; }
#content>table:not(.nostyle) { margin-top:3em; } #content>table:not(.nostyle) { margin-top:3em; }
table:not(.nostyle) { width:100%; } table:not(.nostyle) { width:100%; }
#rightcontent { padding-left: 1em; } #rightcontent { padding-left: 1em; }
td.quota { position:relative } td.quota { position:relative; }
div.quota { float:right; display:block; position:absolute; right:25em; top:0; } div.quota { float:right; display:block; position:absolute; right:25em; top:0; }
select.quota { position:absolute; left:0; top:0; width:10em; } select.quota { position:absolute; left:0; top:0; width:10em; }
select.quota-user { position:relative; left:0; top:0; width:10em; }
input.quota-other { display:none; position:absolute; left:0.1em; top:0.1em; width:7em; border:none; -webkit-box-shadow: none -mox-box-shadow:none ; box-shadow:none; } input.quota-other { display:none; position:absolute; left:0.1em; top:0.1em; width:7em; border:none; -webkit-box-shadow: none -mox-box-shadow:none ; box-shadow:none; }
div.quota>span { position:absolute; right:0em; white-space:nowrap; top: 0.7em } div.quota>span { position:absolute; right:0em; white-space:nowrap; top: 0.7em }
select.quota.active { background: #fff; } select.quota.active { background: #fff; }

View File

@ -64,7 +64,7 @@ foreach($_["groups"] as $group) {
</select> </select>
</td> </td>
<td class="quota"> <td class="quota">
<select class='quota'> <select class='quota-user'>
<?php foreach($_['quota_preset'] as $preset):?> <?php foreach($_['quota_preset'] as $preset):?>
<option <?php if($user['quota']==$preset) echo 'selected="selected"';?> value='<?php echo $preset;?>'><?php echo $preset;?></option> <option <?php if($user['quota']==$preset) echo 'selected="selected"';?> value='<?php echo $preset;?>'><?php echo $preset;?></option>
<?php endforeach;?> <?php endforeach;?>