outposts: update modal to pb-modal-button
This commit is contained in:
parent
a340378ce1
commit
1b6bd5b997
|
@ -1,13 +1,10 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static %}
|
|
||||||
<button class="pf-c-button pf-m-tertiary" data-target="modal" data-modal="saml-{{ provider.pk }}">{% trans 'View Deployment Info' %}</button>
|
|
||||||
|
|
||||||
<div class="pf-c-backdrop" id="saml-{{ provider.pk }}" hidden>
|
<pb-modal-button>
|
||||||
<div class="pf-l-bullseye">
|
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
||||||
<div class="pf-c-modal-box pf-m-lg" role="dialog">
|
{% trans 'View Deployment Info' %}
|
||||||
<button data-modal-close class="pf-c-button pf-m-plain" type="button" aria-label="Close dialog">
|
|
||||||
<i class="fas fa-times" aria-hidden="true"></i>
|
|
||||||
</button>
|
</button>
|
||||||
|
<div slot="modal">
|
||||||
<div class="pf-c-modal-box__header">
|
<div class="pf-c-modal-box__header">
|
||||||
<h1 class="pf-c-title pf-m-2xl" id="modal-title">{% trans 'Outpost Deployment Info' %}</h1>
|
<h1 class="pf-c-title pf-m-2xl" id="modal-title">{% trans 'Outpost Deployment Info' %}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
@ -37,8 +34,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<footer class="pf-c-modal-box__footer pf-m-align-left">
|
<footer class="pf-c-modal-box__footer pf-m-align-left">
|
||||||
<button data-modal-close class="pf-c-button pf-m-primary" type="button">{% trans 'Close' %}</button>
|
<a class="pf-c-button pf-m-primary">{% trans 'Close' %}</a>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</pb-modal-button>
|
||||||
</div>
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<pb-modal-button>
|
<pb-modal-button>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
||||||
{% trans 'View Setup URLs' %}
|
{% trans 'View Setup URLs' %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static %}
|
|
||||||
<pb-modal-button>
|
<pb-modal-button>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
||||||
{% trans 'View Metadata' %}
|
{% trans 'View Metadata' %}
|
||||||
|
|
Reference in New Issue