Merge pull request #4314 from owncloud/css-fixes

Design fixes
This commit is contained in:
Jan-Christoph Borchardt 2013-08-16 01:05:29 -07:00
commit 1e8849b04e
5 changed files with 21 additions and 42 deletions

View File

@ -19,9 +19,9 @@ body { background:#fefefe; font:normal .8em/1.6em "Helvetica Neue",Helvetica,Ari
#body-user #header, #body-settings #header {
position:fixed; top:0; left:0; right:0; z-index:100; height:45px; line-height:2.5em;
background:#1d2d44 url('../img/noise.png') repeat;
-moz-box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222;
-webkit-box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222;
box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222;
-moz-box-shadow:0 0 10px rgba(0, 0, 0, .5);
-webkit-box-shadow:0 0 10px rgba(0, 0, 0, .5);
box-shadow:0 0 10px rgba(0, 0, 0, .5);
}
#body-login {
@ -381,6 +381,15 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
color: #dd3b3b !important;
font-weight: bold;
}
.error pre {
white-space: pre-wrap;
text-align: left;
}
.error-wide {
width: 800px;
}
/* Fixes for log in page, TODO should be removed some time */
#body-login .update,
#body-login .error {
@ -635,7 +644,7 @@ span.ui-icon {float: left; margin: 3px 7px 30px 0;}
#category_addinput { width:10em; }
/* ---- APP SETTINGS ---- */
.popup { background-color:white; border-radius:10px 10px 10px 10px; box-shadow:0 0 20px #888; color:#333; padding:10px; position:fixed !important; z-index:200; }
.popup { background-color:white; border-radius:10px 10px 10px 10px; box-shadow:0 0 20px #888; color:#333; padding:10px; position:fixed !important; z-index:100; }
.popup.topright { top:7em; right:1em; }
.popup.bottomleft { bottom:1em; left:33em; }
.popup .close { position:absolute; top:0.2em; right:0.2em; height:20px; width:20px; background:url('../img/actions/close.svg') no-repeat center; }

View File

@ -1,4 +1,4 @@
<ul>
<ul class="error-wide">
<?php foreach($_["errors"] as $error):?>
<li class='error'>
<?php p($error['error']) ?><br/>

View File

@ -1,22 +0,0 @@
<ol class="pager">
<?php if($_['page']>0):?>
<li class="pagerbutton1"><a href="<?php print_unescaped($_['url'].($_['page']-1));?>"><?php p($l->t( 'prev' )); ?></a></li>
<?php endif; ?>
<?php if ($_['pagestart']>0):?>
&hellip;
<?php endif;?>
<?php for ($i=$_['pagestart']; $i < $_['pagestop'];$i++):?>
<?php if ($_['page']!=$i):?>
<li><a href="<?php print_unescaped($_['url'].$i);?>"><?php p($i+1);?></a></li>
<?php else:?>
<li><?php p($i+1);?></li>
<?php endif?>
<?php endfor;?>
<?php if ($_['pagestop']<$_['pagecount']):?>
&hellip;
<?php endif;?>
<?php if(($_['page']+1)<$_['pagecount']):?>
<li class="pagerbutton2"><a href="<?php print_unescaped($_['url'].($_['page']+1));?>"><?php p($l->t( 'next' )); ?></a></li>
<?php endif; ?>
</ol>

View File

@ -232,7 +232,7 @@ class OC_Helper {
public static function humanFileSize( $bytes ) {
if( $bytes < 0 ) {
$l = OC_L10N::get('lib');
return $l->t("couldn't be determined");
return "?";
}
if( $bytes < 1024 ) {
return "$bytes B";

View File

@ -90,38 +90,30 @@ if (!$_['internetconnectionworking']) {
<fieldset class="personalblock" id="backgroundjobs">
<legend><strong><?php p($l->t('Cron'));?></strong></legend>
<table class="nostyle">
<tr>
<td>
<p>
<input type="radio" name="mode" value="ajax"
id="backgroundjobs_ajax" <?php if ($_['backgroundjobs_mode'] === "ajax") {
print_unescaped('checked="checked"');
} ?>>
<label for="backgroundjobs_ajax">AJAX</label><br/>
<em><?php p($l->t("Execute one task with each page loaded")); ?></em>
</td>
</tr>
<tr>
<td>
</p>
<p>
<input type="radio" name="mode" value="webcron"
id="backgroundjobs_webcron" <?php if ($_['backgroundjobs_mode'] === "webcron") {
print_unescaped('checked="checked"');
} ?>>
<label for="backgroundjobs_webcron">Webcron</label><br/>
<em><?php p($l->t("cron.php is registered at a webcron service to call cron.php once a minute over http.")); ?></em>
</td>
</tr>
<tr>
<td>
</p>
<p>
<input type="radio" name="mode" value="cron"
id="backgroundjobs_cron" <?php if ($_['backgroundjobs_mode'] === "cron") {
print_unescaped('checked="checked"');
} ?>>
<label for="backgroundjobs_cron">Cron</label><br/>
<em><?php p($l->t("Use systems cron service to call the cron.php file once a minute.")); ?></em>
</td>
</tr>
</table>
</p>
</fieldset>
<fieldset class="personalblock" id="shareAPI">