diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-10-26 23:38:36 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-10-26 23:38:36 +0200 |
commit | 3eea7aac1391184e00a92c8801c9f0b54c43bb8d (patch) | |
tree | 34990ac14aa16a67552e1a31ef83abf20de13935 /core/templates/layout.user.php | |
parent | 46871e9b2e39750d64d16fb127cbfd608477287b (diff) | |
download | nextcloud-server-3eea7aac1391184e00a92c8801c9f0b54c43bb8d.tar.gz nextcloud-server-3eea7aac1391184e00a92c8801c9f0b54c43bb8d.zip |
first base on navigation rework, less obtrusive, icons need to be updated, settings moved
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r-- | core/templates/layout.user.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 1f16fdf7c6c..2509026dfac 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -44,17 +44,25 @@ <nav><div id="navigation"> <ul id="apps" class="svg"> <?php foreach($_['navigation'] as $entry): ?> - <li data-id="<?php echo $entry['id']; ?>"><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>><?php echo $entry['name']; ?></a> + <li data-id="<?php echo $entry['id']; ?>"> + <a href="<?php echo $entry['href']; ?>" title="" <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>> + <img src="<?php echo $entry['icon']; ?>"> + <?php echo $entry['name']; ?> + </a> </li> <?php endforeach; ?> </ul> <ul id="settings" class="svg"> <img role=button tabindex=0 id="expand" class="svg" alt="<?php echo $l->t('Settings');?>" src="<?php echo image_path('', 'actions/settings.svg'); ?>" /> - <span><?php echo $l->t('Settings');?></span> <div id="expanddiv" <?php if($_['bodyid'] == 'body-user') echo 'style="display:none;"'; ?>> <?php foreach($_['settingsnavigation'] as $entry):?> - <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>><?php echo $entry['name'] ?></a></li> + <li> + <a href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>> + <img src="<?php echo $entry['icon']; ?>"> + <?php echo $entry['name'] ?> + </a> + </li> <?php endforeach; ?> </div> </ul> |