PHP Classes
elePHPant
Icontem

File: src/Cabin/Bridge/View/cargo/bridge_perms_index.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/View/cargo/bridge_perms_index.twig  >  Download  
File: src/Cabin/Bridge/View/cargo/bridge_perms_index.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 1 year ago
Size: 1,020 bytes
 

Contents

Class file image Download
<h2>{{ __("Permissions") }}</h2>

<p>
    {{ __("Select a cabin to manage") }}:
</p>
<ul id="bridge_perms_list">
{% for cabin in cabins %}
    <li>
        <a href="{{ cabin_url() }}crew/permissions/{{ cabin|e('html_attr') }}">{{ cabin }}</a>
    </li>
{% endfor %}
</ul>

<fieldset id="perms-test">
    <legend>{{ __("View the Permissions for a URL") }}</legend>
    <div class="table full-width table-pad-1">
        <div class="table-row">
            <div class="table-cell">
                <input type="text" id="test_url" class="full-width" placeholder="{{ cabin_url('Bridge') }}crew/permissions" />
            </div>
            <div class="table-cell table-btn-right">
                <button type="button" class="pure-button pure-button-secondary" id="test_url_btn">
                    <i class="fa fa-flask"></i>{{ __("Test URL") }}
                </button>
            </div>
        </div>
    </div>
    <div id="perms-test-results"></div>
</fieldset>

{% include cargo("bridge_perms_index_explain") %}