{% extends "base/module_base.html" %}

{% set active_page ='' %}

{% block pagehead %}
<title></title>
<style>

</style>
{% endblock %}




{% block sidebar %}
  {%include '{}/blocks/sidebar.html'.format(module_info['module_name'])%}
{%endblock%}




{% block content %}
<br>
    <table class="table">
        <thead>
            <tr>
                <th>Name</th>
                <th>Author</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            {%for key in all_info%}
                <tr>
                    <td>{{key}}</td>
                    <td>{{all_info[key]['author']}}</td>
                    <td>
                        {%if active_theme != key%}
                            <a class="btn btn-info" href="{{url_for('theme.activate', theme_name=key)}}">activate</a>
                        {%else%}
                        active
                        {%endif%}
                    </td>
                </tr>
            {%endfor%}
        </tbody>
    </table>

{% endblock %}