Skip to content
Snippets Groups Projects
Commit a178de85 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

Merge pull request #3677 from owncloud/apps-buttons

remove App management top bar and move buttons more contextually in the interface
parents c989e32a 4cafe21a
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,13 @@ select.quota.active { background: #fff; } ...@@ -61,7 +61,13 @@ select.quota.active { background: #fff; }
/* APPS */ /* APPS */
.appinfo { margin: 1em; } .appinfo { margin: 1em; }
h3 { font-size: 1.4em; font-weight: bold; } 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 { color:#888; }
li.active { color:#000; } 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;} 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 @@ ...@@ -7,11 +7,12 @@
src="<?php print_unescaped(OC_Helper::linkToRoute('apps_custom'));?>?appid=<?php p($_['appid']); ?>"></script> 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> <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> <ul id="leftcontent" class="applist">
<a class="button" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?></a> <li>
</div> <a class="app-external" target="_blank" href="http://owncloud.org/dev"><?php p($l->t('Add your App'));?></a>
<ul id="leftcontent" class="applist hascontrols"> </li>
<?php foreach($_['apps'] as $app):?> <?php foreach($_['apps'] as $app):?>
<li <?php if($app['active']) print_unescaped('class="active"')?> data-id="<?php p($app['id']) ?>" <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'])."}\""); } ?> <?php if ( isset( $app['ocs_id'] ) ) { print_unescaped("data-id-ocs=\"{".OC_Util::sanitizeHTML($app['ocs_id'])."}\""); } ?>
...@@ -22,6 +23,10 @@ ...@@ -22,6 +23,10 @@
print_unescaped('<small class="'.OC_Util::sanitizeHTML($app['internalclass']).' list">'.OC_Util::sanitizeHTML($app['internallabel']).'</small>') ?> print_unescaped('<small class="'.OC_Util::sanitizeHTML($app['internalclass']).' list">'.OC_Util::sanitizeHTML($app['internallabel']).'</small>') ?>
</li> </li>
<?php endforeach;?> <?php endforeach;?>
<li>
<a class="app-external" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?></a>
</li>
</ul> </ul>
<div id="rightcontent"> <div id="rightcontent">
<div class="appinfo"> <div class="appinfo">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment