summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2021-02-16 14:26:33 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commit660173c4282b816b9e3e52e11db90aff4eeb31ad (patch)
tree6044f0d03ca79bc59d5e93178982f774fab9b73e /templates
parenta990183265d66f01e46a867d228789fa62dc5086 (diff)
(+) Ergonomy improvement
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php28
1 files changed, 13 insertions, 15 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index e41813b76..f0e8683bb 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -99,10 +99,11 @@
</button>
</li>
<div
+ style="margin-top: 3em;"
class="dropdown-content"
ng-controller="ShareController as Share">
<!-- Contact -->
- <p class="label-group">Contacts</p>
+ <p class="label-group"><?php p($l->t('Users')) ?></p>
<form ng-submit="" name="contactForm" autocomplete="off">
<fieldset>
<input
@@ -114,26 +115,27 @@
placeholder="<?php p($l->t('Contact name')) ?>"
title="<?php p($l->t('Contact name')) ?>"
name="contactName"
- required>
+ required
+ style="width: 200px">
</fieldset>
</form>
- <div ng-class="{'icon-loading-small': App.loading.isLoading('user') }">
+ <div style="margin-bottom: 1em" ng-class="{'icon-loading-small': App.loading.isLoading('user') }">
</div>
- <a
+ <div class="row">
+
+ <a
+ class="icon-contacts-dark pr-3"
ng-repeat="user in Share.userList"
ng-click="Share.shareItem(item.id, user.value.shareWith)">
{{ user.value.shareWith }}
- <span class="right"
+ <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
@@ -145,18 +147,14 @@
>
<span> Twitter </span>
</a>
- <a class="icon-google pr-5"
- ng-href="https://plus.google.com/share?url={{ ::item.url }}"
- >
- <span> Google </span>
- </a>
- <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 }}"
+ 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>
+
</div>
</div>
<!-- END DROPDOWN -->