diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-06-11 17:24:47 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-06-12 13:36:17 +0200 |
commit | c0568e0443a8beaebc3ecd25af5f9a5dca498a42 (patch) | |
tree | 1331471a40d1eb3d76f262febeed7be1f27ea955 /settings/templates | |
parent | a39ecd5ea977f18fac9c7c3683a7988434f6b95f (diff) | |
download | nextcloud-server-c0568e0443a8beaebc3ecd25af5f9a5dca498a42.tar.gz nextcloud-server-c0568e0443a8beaebc3ecd25af5f9a5dca498a42.zip |
remove App management top bar and move buttons more contextually in the interface
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/apps.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php index d3639cbab34..cdb690f9a27 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -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"> |