src/Platform/ControlPanelBundle/Resources/views/base.html.twig line 1

Open in your IDE?
  1. {% extends '@ui/dashboards/default.html.twig' %}
  2. {% block sidebar %}
  3.     {% embed '@ui/common/dashboard/sidebar/content.html.twig' %}
  4.         {% block content %}
  5.             {% embed '@ui/common/dashboard/sidebar/menu.html.twig' %}
  6.                 {% block items %}
  7.                     {% embed '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
  8.                         text: 'Tenants',
  9.                         path: [
  10.                             'platform.control_panel.dashboard.tenant.index',
  11.                             'platform.control_panel.dashboard.tenant.list',
  12.                         ],
  13.                         icon: 'users',
  14.                         submenu: true
  15.                     } %}
  16.                         {% block items %}
  17.                             {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  18.                                 text: 'All',
  19.                                 link: path('platform.control_panel.dashboard.tenant.list'),
  20.                                 active: (app.request.attributes.get('primary') is empty)
  21.                             } %}
  22.                             {% for primary in constant('Cms\\TenantBundle\\Entity\\TenantTypeEmbeddable::PRIMARY') %}
  23.                                 {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  24.                                     text: 'campussuite.cms.tenant.types.primary.%s'|format(primary)|trans,
  25.                                     link: path('platform.control_panel.dashboard.tenant.list', {
  26.                                         primary: primary
  27.                                     }),
  28.                                     active: (app.request.attributes.get('primary') is same as(primary))
  29.                                 } %}
  30.                             {% endfor %}
  31.                             {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  32.                                 text: 'Pending Removal',
  33.                                 link: path('platform.control_panel.dashboard.tenant.list', {
  34.                                     primary: 'pending-removal',
  35.                                 }),
  36.                                 active: (app.request.attributes.get('primary') is same as('pending-removal'))
  37.                             } %}
  38.                         {% endblock %}
  39.                     {% endembed %}
  40.                     {% include '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
  41.                         text: 'Announcements',
  42.                         path: 'platform.control_panel.dashboard.announcement.index',
  43.                         icon: 'bell'
  44.                     } %}
  45.                     {% embed '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
  46.                         text: 'Reports',
  47.                         path: [
  48.                             'platform.control_panel.dashboard.reports.remediation',
  49.                             'platform.control_panel.dashboard.reports.oneroster',
  50.                             'platform.control_panel.dashboard.reports.pdfs',
  51.                         ],
  52.                         icon: 'files-o',
  53.                         submenu: true
  54.                     } %}
  55.                         {% block items %}
  56.                             {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  57.                                 text: 'ADA Document Remediation Summary',
  58.                                 path: 'platform.control_panel.dashboard.reports.remediation'
  59.                             } %}
  60.                             {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  61.                                 text: 'ADA PDF Page Counts',
  62.                                 path: 'platform.control_panel.dashboard.reports.pdfs'
  63.                             } %}
  64.                             {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  65.                                 text: 'One Roster Summary',
  66.                                 path: 'platform.control_panel.dashboard.reports.oneroster'
  67.                             } %}
  68.                             {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  69.                                 text: 'SSL Apex Status Report',
  70.                                 path: 'platform.control_panel.dashboard.reports.apex'
  71.                             } %}
  72.                             {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  73.                                 text: 'SSL Domain Status Report',
  74.                                 path: 'platform.control_panel.dashboard.reports.domain'
  75.                             } %}
  76.                             {% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
  77.                                 text: 'SSL Certificate Status Report',
  78.                                 path: 'platform.control_panel.dashboard.reports.certificate'
  79.                             } %}
  80.                         {% endblock %}
  81.                     {% endembed %}
  82.                     {% include '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
  83.                         text: 'Stats',
  84.                         path: 'platform.control_panel.dashboard.stats.index',
  85.                         icon: 'bar-chart-o'
  86.                     } %}
  87.                     {% include '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
  88.                         text: 'One Roster',
  89.                         path: 'platform.control_panel.dashboard.tenant.one_roster_syncs',
  90.                         icon: 'refresh'
  91.                     } %}
  92.                     {% include '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
  93.                         text: 'Notifications Onboarding',
  94.                         path: 'platform.control_panel.dashboard.tenant.notifications_onboarding',
  95.                         icon: 'commenting-o'
  96.                     } %}
  97.                 {% endblock %}
  98.             {% endembed %}
  99.         {% endblock %}
  100.     {% endembed %}
  101. {% endblock %}