summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2021-02-19 14:19:05 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commiteff6468090fbf31f40c36a3a5ddb4d69d3b15143 (patch)
treeff15c8f7f5ce5a220afd32dab243801765a74e90 /templates
parente7afafba29d8561ccdc1463380dbe9b63b0a50c4 (diff)
(+) ui > social networks in row
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php39
1 files changed, 18 insertions, 21 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 98adba029..01270ce1d 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -99,7 +99,7 @@
</button>
</li>
<div
- style="margin-top: 3em;"
+ style="margin-top: 2.8em;"
class="dropdown-content"
ng-controller="ShareController as Share">
<!-- Contact -->
@@ -133,28 +133,25 @@
ng-click="Share.shareItem(item.id, user.value.shareWith)">
{{ user.value.shareWith }}
<span class="right" style="margin-top: 1.4em; margin-right: 1em"
- ng-class="{'icon-loading-small': App.loading.isLoading(user.value.shareWith)}"></span>
- </a>
- <p class="label-group"> <?php p($l->t('Share on social media')) ?> </p>
- <a class="icon-facebook pr-5"
- ng-href="https://www.facebook.com/sharer/sharer.php?u={{ ::item.url }}"
- >
- <span>
- Facebook
+ ng-class="{'icon-loading-small': App.loading.isLoading(user.value.shareWith)}">
</span>
+ <span ng-if="!App.loading.isLoading(user.value.shareWith)">Envoyé.</span>
</a>
- <a class="icon-twitter pr-5"
- ng-href="https://twitter.com/intent/tweet?url={{ ::item.url }}"
-
- >
- <span> Twitter </span>
- </a>
- <a
- class="icon-mail pr-5"
- ng-href="mailto:?subject=I wanted you to see this site&amp;body=Check out this site http://www.website.com./{{ ::item.url }}"
- >
- <span> Mail </span>
- </a>
+ <p class="label-group"> <?php p($l->t('Share on social media')) ?> </p>
+ <div class="row">
+ <div class="col-4">
+ <a class="icon-dropdown icon-facebook pr-5"
+ ng-href="https://www.facebook.com/sharer/sharer.php?u={{ ::item.url }}"></a>
+ </div>
+ <div class="col-4">
+ <a class="icon-dropdown icon-twitter pr-5"
+ ng-href="https://twitter.com/intent/tweet?url={{ ::item.url }}"></a>
+ </div>
+ <div class="col-4">
+ <a class="icon-dropdown icon-mail pr-5"
+ ng-href="mailto:?subject=I wanted you to see this site&amp;body=Check out this site http://www.website.com./{{ ::item.url }}"></a>
+ </div>
+ </div>
</div>