src/App/Resources/views/dashboard/settings/accounts/main.html.twig line 23

Open in your IDE?
  1. {% extends '@App/dashboard/settings/base.html.twig' %}
  2. {% form_theme form '@ui2022/schoolnow/forms/themes/default.html.twig' %}
  3. {% block header %}
  4.     {% embed '@ui2022/page__header.html.twig' with {
  5.         title: 'User accounts',
  6.     } %}
  7.         {% block actions %}
  8.             {% include '@ui2022/button--a.html.twig' with {
  9.                 text: '+ Add user',
  10.                 styles: 'gray',
  11.                 link: path('app.app.dashboard.settings.accounts.create'),
  12.                 modal: 'modal__result',
  13.             } %}
  14.         {% endblock %}
  15.     {% endembed %}
  16. {% endblock %}
  17. {% block content %}
  18.     <div class="row">
  19.         <div class="col">
  20.             {% include '@App/dashboard/settings/accounts/includes/_filter.html.twig' %}
  21.             <div id="{{ form.vars.id }}__results" class="user-table">
  22.                 {% include '@App/dashboard/settings/accounts/includes/_results.html.twig' with {
  23.                     sidepanel: 'sidepanel__result_view',
  24.                 } %}
  25.             </div>
  26.         </div>
  27.     </div>
  28. {% endblock %}
  29. {% block modals %}
  30.     {{ parent() }}
  31.     {% include '@ui2022/modal.html.twig' with {
  32.         attr: {
  33.             id: 'modal__result',
  34.             class: 'modal-ajax modal-delete',
  35.         },
  36.         dialog_styles: 'dialog--createmsg',
  37.     } %}
  38.     {% include '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  39.         attr: {
  40.             id: 'sidepanel__result_view',
  41.             class: 'sidepanel-user'
  42.         },
  43.         preserveScroll: true,
  44.     } %}
  45. {% endblock %}