Another attempt at getting the trade flipping and collapsing looking correct
This commit is contained in:
parent
7c62c57433
commit
37d8bd5981
7 changed files with 386 additions and 233 deletions
|
|
@ -41,13 +41,6 @@
|
|||
<script src="{% static 'js/floating-ui_core@1.6.9.9.min.js' %}"></script>
|
||||
<script src="{% static 'js/floating-ui_dom@1.6.13.13.min.js' %}"></script>
|
||||
|
||||
<!-- Gravatar -->
|
||||
<!-- Import the hovercard styles -->
|
||||
<link rel="stylesheet" href="{% static 'css/hovercards.min.css' %}">
|
||||
|
||||
<!-- Import the hovercards library -->
|
||||
<script src="{% static 'js/hovercards.min.js' %}"></script>
|
||||
|
||||
<script src="{% static 'js/base.js' %}"></script>
|
||||
|
||||
{% block css %}{% endblock %}
|
||||
|
|
@ -150,29 +143,6 @@
|
|||
<script defer src="{% static 'js/alpinejs@3.14.8.min.js' %}"></script>
|
||||
|
||||
<script defer src="{% static 'js/tooltip.js' %}"></script>
|
||||
|
||||
<!-- Gravatar -->
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if (typeof Gravatar !== 'undefined' && typeof Gravatar.Hovercards !== 'undefined') {
|
||||
const hovercards = new Gravatar.Hovercards({
|
||||
myHash: '{{ user.email|gravatar_hash }}',
|
||||
});
|
||||
hovercards.attach( document.body, { ignoreSelector: 'img[src*="gravatar.com/avatar/"].ignore' } );
|
||||
}
|
||||
});
|
||||
// i18n: {
|
||||
// 'Edit your profile →': 'Modifier votre profil →',
|
||||
// 'View profile →': 'Voir le profil →',
|
||||
// 'Contact': 'Contact',
|
||||
// 'Send money': 'Envoyer de l\'argent',
|
||||
// 'Sorry, we are unable to load this Gravatar profile.': 'Désolé, nous ne pouvons pas charger ce profil Gravatar.',
|
||||
// 'Profile not found.': 'Profil non trouvé.',
|
||||
// 'Too Many Requests.': 'Trop de demandes.',
|
||||
// 'Internal Server Error.': 'Erreur interne du serveur.',
|
||||
// }
|
||||
</script>
|
||||
|
||||
|
||||
{% block javascript %}{% endblock %}
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue