{% extends "base.html.twig" %}
{% block title %}
{% trans %}index.header.documents{% endtrans %}
{% endblock %}
{% block content %}
<section class="docs-section">
<div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">{% trans %}index.header.documents{% endtrans %}</h1>
<p class="lead">{% trans %}index.header.subtitle{% endtrans %}</p>
</div>
<div class="my-auto container">
<div class="row">
<div class="col-sm-4 d-flex align-items-stretch offset-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">{% trans %}index.files.sd.user.title{% endtrans %}</h4>
</div>
<div class="card-body d-flex flex-column align-middle">
<div class=" m-auto py-2">
<p class="align-middle">{% trans %}index.files.sd.user.description{% endtrans %}</p>
</div>
<a href="{{ path('pdf_document', {document: 'sd_user', domains: app.request.getBaseURL()}) }}" class="btn btn-lg btn-block btn-primary mt-auto">{% trans %}global.view{% endtrans %}</a>
</div>
</div>
</div>
</div>
{% if isLoggedIn %}
<div class="row">
<div class="col-sm-4 d-flex align-items-stretch offset-md-1">
<div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">{% trans %}index.files.rusz.title{% endtrans %}</h4>
</div>
<div class="card-body d-flex flex-column align-middle">
<div class=" m-auto py-2">
<p class="align-middle">{% trans %}index.files.rusz.description{% endtrans %}</p>
</div>
<p class="card-text"><small class="text-muted">{% trans %}global.linkonly{% endtrans %}</small></p>
<a href="{{ path('pdf_document', {document: 'rusz', domains: app.request.getBaseURL()}) }}" class="btn btn-lg btn-block btn-primary mt-auto">{% trans %}global.view{% endtrans %}</a>
</div>
</div>
</div>
<div class="col-sm-4 d-flex align-items-stretch offset-md-2">
<div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">{% trans %}index.files.ibsz.title{% endtrans %}</h4>
</div>
<div class="card-body d-flex flex-column align-middle">
<div class=" m-auto py-2">
<p class="align-middle">{% trans %}index.files.ibsz.description{% endtrans %}</p>
</div>
<p class="card-text"><small class="text-muted">{% trans %}global.linkonly{% endtrans %}</small></p>
<a href="{{ path('pdf_document', {document: 'ibsz', domains: app.request.getBaseURL()}) }}" class="btn btn-lg btn-block btn-primary mt-auto">{% trans %}global.view{% endtrans %}</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4 d-flex align-items-stretch offset-md-1">
<div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">{% trans %}index.files.sd.admin.title{% endtrans %}</h4>
</div>
<div class="card-body d-flex flex-column align-middle">
<div class=" m-auto py-2">
<p class="align-middle">{% trans %}index.files.sd.admin.description{% endtrans %}</p>
</div>
<p class="card-text"><small class="text-muted">{% trans %}global.privateonly{% endtrans %}</small></p>
<a href="{{ path('pdf_document', {document: 'sd_admin', domains: app.request.getBaseURL()}) }}" class="btn btn-lg btn-block btn-primary mt-auto">{% trans %}global.view{% endtrans %}</a>
</div>
</div>
</div>
<div class="col-sm-4 d-flex align-items-stretch offset-md-2">
<div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">{% trans %}index.files.howto.title{% endtrans %}</h4>
</div>
<div class="card-body d-flex flex-column align-middle">
<div class=" m-auto py-2">
<p class="align-middle">{% trans %}index.files.howto.description{% endtrans %}</p>
</div>
<p class="card-text"><small class="text-muted">{% trans %}global.privateonly{% endtrans %}</small></p>
<a href="{{ path('pdf_document', {document: 'howto', domains: app.request.getBaseURL()}) }}" class="btn btn-lg btn-block btn-primary mt-auto">{% trans %}global.view{% endtrans %}</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4 d-flex align-items-stretch offset-md-1">
<div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">{% trans %}index.files.sla.title{% endtrans %}</h4>
</div>
<div class="card-body d-flex flex-column align-middle">
<form method="POST" action="{{ path('index') }}#slas" class="needs-validation">
<div class=" m-auto py-2">
<p class="align-middle">{% trans %}index.files.sla.description{% endtrans %}</p>
<div class="form-group">
<input type="text" class="form-control {% if valid is same as (0) %} is-invalid {% elseif valid is same as (1) %} is-valid {% endif %}" id="sla_botname" name="sla_botname" placeholder="{% trans %}index.files.sla.botname{% endtrans %}" required value="{{ botname }}">
</div>
</div>
<p class="card-text"><small class="text-muted">{% trans %}global.privateonly{% endtrans %}</small></p>
<button type="submit" class="btn btn-lg btn-block btn-primary mt-auto">{% trans %}global.view{% endtrans %}</button>
</form>
</div>
</div>
</div>
<div class="col-sm-4 d-flex align-items-stretch offset-md-2">
<div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">{% trans %}index.files.generate.title{% endtrans %}</h4>
</div>
<div class="card-body d-flex flex-column align-middle">
<div class=" m-auto py-2">
<p class="align-middle">{% trans %}index.files.generate.description{% endtrans %}</p>
</div>
<p class="card-text"><small class="text-muted">{% trans %}global.privateonly{% endtrans %}</small></p>
<a href="{{ path('private_requirements', {domains: app.request.getBaseURL()}) }}" class="btn btn-lg btn-block btn-primary mt-auto">{% trans %}global.view{% endtrans %}</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4 d-flex align-items-stretch offset-md-1">
<div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">{% trans %}index.contract.generator.title{% endtrans %}</h4>
</div>
<div class="card-body d-flex flex-column align-middle">
<div class=" m-auto py-2">
<p class="align-middle">{% trans %}index.contract.generator.description{% endtrans %}</p>
</div>
<p class="card-text"><small class="text-muted">{% trans %}global.privateonly{% endtrans %}</small></p>
<a href="{{ path('admin_app_cheqcontract_list', {}) }}" class="btn btn-lg btn-block btn-primary mt-auto">{% trans %}global.view{% endtrans %}</a>
</div>
</div>
</div>
</div>
{% endif %}
</div>
</section>
{% if valid is same as (1) %}
{{ include("index_documents/slas.html.twig") }}
{% if CHEQContracts is defined and CHEQContracts is not null %}
{{ include("index_documents/CHEQcontracts.html.twig") }}
{% endif %}
{% if others is defined and others is not null %}
{{ include("index_documents/others.html.twig") }}
{% endif %}
{% endif %}
{% endblock %}