Skip to content

Instantly share code, notes, and snippets.

@KamiKillertO
Last active November 14, 2018 15:24
Show Gist options
  • Select an option

  • Save KamiKillertO/a10858d7afab50113ef33881986696ac to your computer and use it in GitHub Desktop.

Select an option

Save KamiKillertO/a10858d7afab50113ef33881986696ac to your computer and use it in GitHub Desktop.
Redirection modal
<div class="ui-modal__shadow">
<div tabindex="0" class="ui-modal__dialog" role="dialog" aria-labelledby="modal-title" aria-modal="true">
<div class="ui-modal__header">
<h1 id="modal-title" class="ui-modal__title">
Redirection to the old admin
</h1>
<button type="button" aria-label="Close" class="close" onclick={{action "cancelRedirection" target=redirection}}>
<i class="fa fa-times"></i>
</button>
</div>
<div class="ui-modal__body">
<p>The new version of this page is not yet available. You are going to be redirected to the old admin console. Do you want to continue ?</p>
</div>
<div class="ui-modal__footer">
<div class="ui-modal__footer__button-container">
<button type="button" class="button button--with-left-icon" onclick={{action "cancelRedirection" target=redirection}}>
<i class="fa fa-times"></i>
<span class="button__label">Cancel</span>
</button>
<button type="button" class="button button--blue button--with-left-icon" onclick={{action "proceedRedirection" target=redirection}}>
<i class="fa fa-check"></i>
<span class="button__label">Proceed</span>
</button>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment