mirror of
https://github.com/flextype/flextype.git
synced 2025-08-25 22:20:48 +02:00
feat(admin-plugin): add help tooltips #306
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
<a href="{{ path_for('admin.entries.index') }}">
|
||||
FLEXTYPE
|
||||
</a>
|
||||
<a href="{{ base_url() }}" class="view-site-link" target="_blank">
|
||||
<a href="{{ base_url() }}" class="view-site-link" target="_blank" data-toggle="tooltip" data-placement="bottom" title="{{ tr('admin_view_site') }}">
|
||||
<i class="fas fa-external-link-alt"></i>
|
||||
</a>
|
||||
</div>
|
||||
@@ -267,6 +267,7 @@
|
||||
{% include "plugins/admin/views/partials/datetimepicker.html" %}
|
||||
{% include "plugins/admin/views/partials/tags.html" %}
|
||||
{% include "plugins/admin/views/partials/slugify.html" %}
|
||||
{% include "plugins/admin/views/partials/tooltips.html" %}
|
||||
|
||||
{% block tail %}{% endblock %}
|
||||
</body>
|
||||
|
5
site/plugins/admin/views/partials/tooltips.html
Normal file
5
site/plugins/admin/views/partials/tooltips.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<script>
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
})
|
||||
</script>
|
Reference in New Issue
Block a user