diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-02-09 09:13:11 +0100 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-02-09 09:13:11 +0100 |
commit | 9bd45b26a5db6d97ee58586aed50c12c8a34d8f9 (patch) | |
tree | 2ed61c9d664346e4ae914fdbef565dc12dd99344 /settings | |
parent | f097fade01aaf8942a02accc4c9ad1873cf08ef6 (diff) | |
download | nextcloud-server-9bd45b26a5db6d97ee58586aed50c12c8a34d8f9.tar.gz nextcloud-server-9bd45b26a5db6d97ee58586aed50c12c8a34d8f9.zip |
add the buttons for the clients to the personal page.
Useful and prettier
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.css | 5 | ||||
-rw-r--r-- | settings/templates/personal.php | 31 |
2 files changed, 30 insertions, 6 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index 9dd17daaeb7..a767ba41655 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -75,3 +75,8 @@ table.shareAPI td { padding-bottom: 0.8em; } /* HELP */ .pressed {background-color:#DDD;} + +.clientsbox { margin:12px; text-align:center; } +.clientsbox h1 { font-size:40px; font-weight:bold; margin:50px 0 20px; } +.clientsbox h2 { font-size:20px; font-weight:bold; margin:35px 0 10px; } + diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 6ccb607e632..078328442e3 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -8,12 +8,31 @@ <p id="quotatext"><?php echo $l->t('You have used <strong>%s</strong> of the available <strong>%s</strong>', array($_['usage'], $_['total_space']));?></p> </div></div> -<fieldset class="personalblock"> - <legend><strong><?php echo $l->t('Clients');?></strong></legend> - <a class="button" href="<?php echo $_['clients']['desktop']; ?>" target="_blank"><?php echo $l->t('Download Desktop Clients');?></a> - <a class="button" href="<?php echo $_['clients']['android']; ?>" target="_blank"><?php echo $l->t('Download Android Client');?></a> - <a class="button" href="<?php echo $_['clients']['ios']; ?>" target="_blank"><?php echo $l->t('Download iOS Client');?></a> -</fieldset> + + +<div class="clientsbox"> +<h2><?php echo $l->t('Get the apps to sync your files');?></h2> +<a href="<?php echo $_['clients']['desktop']; ?>"> + <img src="<?php echo OCP\Util::imagePath('core', 'desktopapp.png'); ?>" /> +</a> +<a href="<?php echo $_['clients']['android']; ?>"> + <img src="<?php echo OCP\Util::imagePath('core', 'googleplay.png'); ?>" /> +</a> +<a href="<?php echo $_['clients']['ios']; ?>"> + <img src="<?php echo OCP\Util::imagePath('core', 'appstore.png'); ?>" /> +</a> +</div> + + +<?php +if(OC_APP::isEnabled('firstrunwizard')) { +?> + + <center><a class="button" href="#" id="showWizard"><?php echo $l->t('Show First Run Wizard again');?></a></center> + +<?php +} +?> <?php if($_['passwordChangeSupported']) { |