{% extends "::base.html.twig" %}
{% block title %}{{ parent() }} - Edit{% endblock %}
{% block bodyhead %}
    <div id="header" style="background-color: #89bf04;margin-bottom: 1%;padding: 1%;">
        <h1 style="color: black;font-weight: bold;line-height: 1.5em;padding: 10px 0 0 0;font-size: 1.5em;margin: 0;">
            API ({{ webserviceversion }})</h1>
        <div id="sandbox_configuration">
        </div>
        <br style="clear: both;">
    </div>
{% endblock %}
{% block body %}

    <br/>
    <div class="well container-fluid">
        <p>
            <strong>click buttons for the particular api documentation</strong>
        </p>
        <div class="row">
            <div class="col-lg-2">
                <a class="btn btn-default" style="width:100%;" href="/doc/idp">
                    <i class="glyphicon glyphicon-wrench"> </i> IDP Webservice API
                </a>
            </div>
            <div class="col-lg-2">
                <a class="btn btn-default" style="width:100%;" href="/doc/sso-ws">
                    <i class="glyphicon glyphicon-wrench"> </i>
                    User Webservice API
                </a>
            </div>
            <div class="col-lg-2">
                <a class="btn btn-default" style="width:100%;" href="/doc/sso-ws-object">
                    <i class="glyphicon glyphicon-wrench"> </i> Object Webservice API
                </a>
            </div>
            <div class="col-lg-2">
                <a class="btn btn-default" style="width:100%;" href="/doc/sso-ws-multiple">
                    <i class="glyphicon glyphicon-wrench"> </i> Multiple Webservice API
                </a>
            </div>
        </div>
    </div>
    <br/>
    {% include '@SsoRest/ApiDoc/idpws.html.twig' %}
    {% include '@SsoRest/ApiDoc/userws.html.twig' %}
    {% include '@SsoRest/ApiDoc/objectws.html.twig' %}
    {% include '@SsoRest/ApiDoc/multiplews.html.twig' %}

    <style>
        .label-post {
            background-color: #10a54a;
        }

        .post_bg {
            background-color: #d4f7cd;
        }

        .label-get {
            background-color: #0f6ab4;
        }

        .get_bg {
            background-color: #e7f0f7;
        }

        .label-put {
            background-color: #c5862b;
        }

        .put_bg {
            background-color: #f9f2e9;
        }

        .label-delete {
            background-color: #a41e22;
        }

        .delete_bg {
            background-color: #f5e8e8;
        }

        .tdseparator {
            border-top-color: #333;
        }
    </style>
{% endblock %}