From 629c3dd39f383b2ca99757a13181ed8f79079ab3 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Wed, 10 Aug 2016 05:27:13 -0400 Subject: [PATCH] adding social buttons --- core/img/facebook.svg | 1 + core/img/googleplus.svg | 1 + core/img/mail.svg | 77 +++++++++++++++++++ core/img/rss.svg | 60 +++++++++++++++ core/img/twitter.svg | 1 + settings/css/settings.css | 4 + .../templates/settings.development.notice.php | 48 +++++++++++- 7 files changed, 188 insertions(+), 4 deletions(-) create mode 100755 core/img/facebook.svg create mode 100755 core/img/googleplus.svg create mode 100755 core/img/mail.svg create mode 100755 core/img/rss.svg create mode 100755 core/img/twitter.svg diff --git a/core/img/facebook.svg b/core/img/facebook.svg new file mode 100755 index 00000000000..df7eba290d7 --- /dev/null +++ b/core/img/facebook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/googleplus.svg b/core/img/googleplus.svg new file mode 100755 index 00000000000..5409983dffd --- /dev/null +++ b/core/img/googleplus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/mail.svg b/core/img/mail.svg new file mode 100755 index 00000000000..299613d7a44 --- /dev/null +++ b/core/img/mail.svg @@ -0,0 +1,77 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/core/img/rss.svg b/core/img/rss.svg new file mode 100755 index 00000000000..3a83e0af508 --- /dev/null +++ b/core/img/rss.svg @@ -0,0 +1,60 @@ + +image/svg+xml \ No newline at end of file diff --git a/core/img/twitter.svg b/core/img/twitter.svg new file mode 100755 index 00000000000..64052987815 --- /dev/null +++ b/core/img/twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/settings/css/settings.css b/settings/css/settings.css index b006f1f5656..61b4d29231d 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -159,6 +159,10 @@ table.nostyle td { padding: 0.2em 0; } display: table-cell; padding-right: 1em; } +.social-button img { + padding: 10px 10px 10px 10px; +} + /* USERS */ #newgroup-init a span { margin-left: 20px; } diff --git a/settings/templates/settings.development.notice.php b/settings/templates/settings.development.notice.php index a96661e5de1..cbdd0e29fd6 100644 --- a/settings/templates/settings.development.notice.php +++ b/settings/templates/settings.development.notice.php @@ -1,6 +1,4 @@ - +

'', '', ], - $l->t('Developed by the {communityopen}Nextcloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}AGPL{linkclose}.') + $l->t('Developed by the {communityopen}Nextcloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}AGPL{linkclose}.') )); ?> + + ', + '', + '', + '', + '', + '', + ], + $l->t(' +

+{googleopen}Follow us on Google Plus!{linkclose} +{facebookopen}Like our facebook page!{linkclose} +{twitteropen}Subscribe to our twitter channel!{linkclose} +{rssopen}Subscribe to our news feed!{linkclose} +{newsletteropen}Subscribe to our newsletter!{linkclose} +

+') + )); ?> + + + +

-- 2.39.5