{% extends "base.html.twig" %}


{% block page_title %}
    LifeStyleTools
{% endblock %}

{% block body %}
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <h2>LifeStyleToolsCaching - Configuration</h2>
                <br/>
                <a class="btn btn-danger" href="{{ path('life_style_tools_caching_index', {'clearCache': '1'}) }}">
                    Clear Cache
                </a>
                <br/>
                <h3>Cache Configuration:</h3>
                <ul>
                    <li><strong>Cache Enabled:</strong> {% if cacheConfig.cacheEnabled %}YES{% else %}NO{% endif %}</li>
                    <li><strong>Cache Backend Engine:</strong> {{ cacheConfig.cachingEngine|upper }}</li>
                    <li><strong>Cache Default TTL:</strong> {{ cacheConfig.defaultTtl }}</li>
                    <li><strong>Memcache Host:</strong> {{ cacheConfig.memcacheHost }}</li>
                    <li><strong>Memcache Port:</strong> {{ cacheConfig.memcachePort }}</li>
                </ul>

                {{ cachedkeys|raw }}
            </div>
        </div>
    </div>
{% endblock %}
