diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-02-11 03:51:11 -0800 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-02-11 03:51:11 -0800 |
commit | efc70e27bcebabce460692b925e5a695f12218bd (patch) | |
tree | d0fdc6f0181bc9bff65549e17e9b44424a3aa691 /settings | |
parent | 0708f4dec058e98f9d2163000847bf3bc3877faf (diff) | |
parent | 40d8a2531dcb5de1aeb5008f9907e1f2cf9aac2d (diff) | |
download | nextcloud-server-efc70e27bcebabce460692b925e5a695f12218bd.tar.gz nextcloud-server-efc70e27bcebabce460692b925e5a695f12218bd.zip |
Merge pull request #1610 from owncloud/improved_personal_page
add the buttons for the clients to the personal page.
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.css | 9 | ||||
-rw-r--r-- | settings/templates/personal.php | 25 |
2 files changed, 28 insertions, 6 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index 9dd17daaeb7..d18a2657c87 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -5,7 +5,15 @@ select#languageinput, select#timezone { width:15em; } input#openid, input#webdav { width:20em; } + /* PERSONAL */ + +/* Sync clients */ +.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; } +.clientsbox center { margin-top:10px; } + #passworderror { display:none; } #passwordchanged { display:none; } #displaynameerror { display:none; } @@ -75,3 +83,4 @@ table.shareAPI td { padding-bottom: 0.8em; } /* HELP */ .pressed {background-color:#DDD;} + diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 6ccb607e632..6b3e8acbf02 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -8,12 +8,25 @@ <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']; ?>" target="_blank"> + <img src="<?php echo OCP\Util::imagePath('core', 'desktopapp.png'); ?>" /> + </a> + <a href="<?php echo $_['clients']['android']; ?>" target="_blank"> + <img src="<?php echo OCP\Util::imagePath('core', 'googleplay.png'); ?>" /> + </a> + <a href="<?php echo $_['clients']['ios']; ?>" target="_blank"> + <img src="<?php echo OCP\Util::imagePath('core', 'appstore.png'); ?>" /> + </a> + <?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 }?> +</div> + + <?php if($_['passwordChangeSupported']) { |