{% extends 'layout/base.html' %}

{% block title %}
    {%- trans %}Applications settings{% endtrans -%}
{% endblock %}

{% block content %}
    <div id="inPlaceAddConsumer" style="margin-bottom: 1em;"></div>

    <div class="i-box titled">
        <div class="i-box-header">
            <div class="i-box-title">
                {%- trans %}Applications{% endtrans -%}
            </div>
            <div class="i-box-buttons toolbar right">
                <a href="{{ url_for('.app_new') }}" class="i-button icon-plus">
                    {%- trans %}Register new application{% endtrans -%}
                </a>
            </div>
        </div>
        <div class="i-box-content">
            <ul class="group-list with-buttons">
                {% for application in applications %}
                    <li>
                        <div class="list-item-title">
                            {{ application.name }}
                        </div>
                        <div class="list-item-content">
                            <span class="list-item-content-title">
                                {% trans %}client id{% endtrans %}
                            </span>
                            <span class="list-item-content-data">
                                {{ application.client_id }}
                            </span>
                        </div>
                        <div class="list-item-content">
                            <span class="list-item-content-title">
                                {% trans %}client secret{% endtrans %}
                            </span>
                            <span class="list-item-content-data">
                                {{ application.client_secret }}
                            </span>
                        </div>
                    </li>
                {% endfor %}
            </ul>
        </div>
    </div>
{% endblock %}

{% extends 'layout/base.html' %}

{% block title %}
    {%- trans %}Applications settings{% endtrans -%}
{% endblock %}

{% block content %}
    <div id="inPlaceAddConsumer" style="margin-bottom: 1em;"></div>

    <div class="i-box titled">
        <div class="i-box-header">
            <div class="i-box-title">
                {%- trans %}Applications{% endtrans -%}
            </div>
            <div class="i-box-buttons toolbar right">
                <a href="{{ url_for('.app_new') }}" class="i-button icon-plus">
                    {%- trans %}Register new application{% endtrans -%}
                </a>
            </div>
        </div>
        <div class="i-box-content">
            <p>{% trans %}This is the list of applications authorized to access Indico. Click on the name of an application to see more information.{% endtrans %}</p>
            <ul class="group-list with-buttons">
                {% for application in applications %}
                    <li>
                        <span class="list-item-title">
                            <a href="{{ url_for('.app_details', application) }}">
                                {{ application.name }}
                            </a>
                        </span>
                    </li>
                {% endfor %}
            </ul>
        </div>
    </div>
{% endblock %}

Improve layout of applications settings page
Improve layout of applications settings page
