forked from 00dani/lemoncurry
Upgrade to Tippy.js v2, along with upgrading its dependency Popper.js
This commit is contained in:
parent
6f3f613cc8
commit
ffd0d3384e
5 changed files with 17 additions and 13 deletions
|
@ -14,11 +14,11 @@
|
|||
{% if app %}{{ app.name | first }}{% endif %}
|
||||
{% if app %}({% endif %}<a class="u-url code{% if not app %} p-name{% endif %}" href="{{ params.client_id }}">{{ params.client_id }}</a>{% if app %}){% endif %}?
|
||||
{% if verified %}
|
||||
<span data-tooltip data-theme="success" data-html="#verified-success">
|
||||
<span data-tooltip data-tippy-theme="success" data-tippy-html="#verified-success">
|
||||
<i class="fas fa-check-circle verified-success"></i>
|
||||
</span>
|
||||
{% else %}
|
||||
<span data-tooltip data-theme="warning" data-html="#verified-warning">
|
||||
<span data-tooltip data-tippy-theme="warning" data-tippy-html="#verified-warning">
|
||||
<i class="fas fa-question-circle verified-warning"></i>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
@ -65,6 +65,6 @@
|
|||
{% endblock %}
|
||||
{% block foot %}
|
||||
<script type="text/javascript">
|
||||
tippy('[data-tooltip]', {arrow: true});
|
||||
tippy('[data-tippy-theme]', {arrow: true});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue