mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 07:36:12 +02:00
initial remodal testing
This commit is contained in:
@@ -40,7 +40,8 @@
|
||||
{% block titlebar %}
|
||||
<div class="button-bar">
|
||||
{% if not uri.param('new') %}
|
||||
<button class="button" href="{{ uri.route(true) }}/new:1"><i class="fa fa-plus"></i> Add Page</button>
|
||||
<a class="button" href="#modal"><i class="fa fa-plus"></i> Add Page</a>
|
||||
{# <a class="button" href="{{ uri.route(true) }}/new:1"><i class="fa fa-plus"></i> Add Page</a> #}
|
||||
{% if context %}
|
||||
{% if not uri.param('expert') %}
|
||||
<button class="button" href="{{ uri.route(true) }}/expert:1">Normal mode</button>
|
||||
@@ -98,5 +99,16 @@
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="remodal" data-remodal-id="modal">
|
||||
<h1>Remodal</h1>
|
||||
<p>
|
||||
Flat, responsive, lightweight, fast, easy customizable modal window plugin
|
||||
with declarative state notation and hash tracking.
|
||||
</p>
|
||||
<br>
|
||||
<a class="remodal-cancel" href="#">Cancel</a>
|
||||
<a class="remodal-confirm" href="#">OK</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user