1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
{% set pagetitle = 'SimpleSAMLphp installation page'|trans %}
{% set frontpage_section = 'main' %}
{% extends "base.twig" %}
{% block content %}
{%- include "@admin/includes/menu.twig" %}
{%- for key, warning in warnings %}
{%- if warning is iterable %}
<div class="message-box warning">{{ warning[0]|trans(warning[1])|raw }}</div>
{%- else %}
<div class="message-box warning">{{ warning|trans|raw }}</div>
{%- endif %}
{%- endfor %}
<div class="message-box">
{% trans %}SimpleSAMLphp is installed in:{% endtrans %}
<kbd>{{ directory }}</kbd><br/>
{% trans %}You are running version <kbd>{{ version }}</kbd>.{% endtrans %}
</div>
<h2>{% trans %}Configuration{% endtrans %}</h2>
<div class="enablebox mini">
<table>
<tr class="{%- if enablematrix.saml20idp %}enabled{% else %}disabled{% endif -%}">
<td>SAML 2.0 IdP</td>
<td><i class="fa fa-{%- if enablematrix.saml20idp %}check{% else %}ban{% endif %}"></i></td>
</tr>
<tr class="{%- if enablematrix.shib13idp %}enabled{% else %}disabled{% endif -%}">
<td>Shib 1.3 IdP</td>
<td><i class="fa fa-{%- if enablematrix.shib13idp %}check{% else %}ban{% endif %}"></i></td>
</tr>
</table>
</div>
<ul>
{%- for key, link in links %}
<li><a href="{{ link.href }}">{{ link.text|trans }}</a></li>
{%- endfor %}
</ul>
<h2>{% trans %}Checking your PHP installation{% endtrans %}</h2>
<div class="enablebox">
<table>
{%- for key, func in funcmatrix %}
<tr class="{%- if func.enabled %}enabled{% else %}disabled{% endif -%}">
<td><i class="fa fa-{%- if func.enabled %}check{% else %}ban{% endif -%}"></i></td>
<td>
{%- if func.required == 'required' %}
{%- trans %}required{% endtrans %}
{%- else %}
{%- trans %}optional{% endtrans %}
{%- endif -%}
</td>
<td>
{%- if func.descr is iterable -%}
{{ func.descr[0]|trans(func.descr[1]|raw) }}
{%- else -%}
{{ func.descr|trans|raw }}
{%- endif -%}
</td>
</tr>
{%- endfor %}
</table>
</div>
{% endblock %}
|