remove App management top bar and move buttons more contextually in the interface
This commit is contained in:
parent
a39ecd5ea9
commit
c0568e0443
|
@ -61,7 +61,13 @@ select.quota.active { background: #fff; }
|
|||
/* APPS */
|
||||
.appinfo { margin: 1em; }
|
||||
h3 { font-size: 1.4em; font-weight: bold; }
|
||||
ul.applist li { height: 2.2em; padding: 0.2em 0.2em 0.2em 0.8em !important; }
|
||||
ul.applist a {
|
||||
height: 2.2em;
|
||||
padding: 0.2em 0.2em 0.2em 0.8em !important;
|
||||
}
|
||||
ul.applist .app-external {
|
||||
width: 100%;
|
||||
}
|
||||
li { color:#888; }
|
||||
li.active { color:#000; }
|
||||
small.externalapp { color:#FFF; background-color:#BBB; font-weight:bold; font-size: 0.6em; margin: 0; padding: 0.1em 0.2em; border-radius: 4px;}
|
||||
|
|
|
@ -7,11 +7,12 @@
|
|||
src="<?php print_unescaped(OC_Helper::linkToRoute('apps_custom'));?>?appid=<?php p($_['appid']); ?>"></script>
|
||||
<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('settings/js', 'apps.js'));?>"></script>
|
||||
|
||||
<div id="controls">
|
||||
<a class="button" target="_blank" href="http://owncloud.org/dev"><?php p($l->t('Add your App'));?></a>
|
||||
<a class="button" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?></a>
|
||||
</div>
|
||||
<ul id="leftcontent" class="applist hascontrols">
|
||||
|
||||
<ul id="leftcontent" class="applist">
|
||||
<li>
|
||||
<a class="app-external" target="_blank" href="http://owncloud.org/dev">+ <?php p($l->t('Add your App'));?></a>
|
||||
</li>
|
||||
|
||||
<?php foreach($_['apps'] as $app):?>
|
||||
<li <?php if($app['active']) print_unescaped('class="active"')?> data-id="<?php p($app['id']) ?>"
|
||||
<?php if ( isset( $app['ocs_id'] ) ) { print_unescaped("data-id-ocs=\"{".OC_Util::sanitizeHTML($app['ocs_id'])."}\""); } ?>
|
||||
|
@ -22,6 +23,10 @@
|
|||
print_unescaped('<small class="'.OC_Util::sanitizeHTML($app['internalclass']).' list">'.OC_Util::sanitizeHTML($app['internallabel']).'</small>') ?>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
|
||||
<li>
|
||||
<a class="app-external" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?> …</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="rightcontent">
|
||||
<div class="appinfo">
|
||||
|
|
Loading…
Reference in New Issue