<commit_before>{% extends 'base.html' %}
{% load i18n %}
{% load is_coordinator %}
{% load pipeline %}

{% block js %}
    {{ block.super }}
    {% javascript 'dashboard' %}
{% endblock %}

{% block body_attrs %}
  ng-app="dashboard"
{% endblock %}

{% block content %}

<div ng-controller="DashboardCtrl" ng-cloak>

    <section class="widget courses-widget container-fluid">

        <header class="widget-header line two-column fifty-fifty">
            <div class="column">
                <h2 class="widget-title">Meus módulos</h2>
            </div>
            <div class="column">
                <!--<form class="widget-filter form-inline">-->
                    <!--<label>mostrando:</label>-->
                    <!--<select class="form-control">-->
                        <!--<option>formações fixas</option>-->
                        <!--<option>formações fixas</option>-->
                        <!--<option>formações fixas</option>-->
                    <!--</select>-->
                <!--</form>-->
            </div>
        </header>

        {% verbatim %}
        <div class="courses line two-column fifty-fifty" ng-repeat="courses_row in courses_rows">
            <div class="course-box column" ng-repeat="course in courses_row">
                <div class="line two-column">
                    <div class="course-progress column">
                        <div class="progress">
                            <div class="progress-bar" role="progressbar" aria-valuenow="65" aria-valuemin="0" aria-valuemax="100" style="width: {{course.percent_progress}}%;">
                            </div>
                        </div>
                    </div>
                    <div class="progress-label column">{{course.percent_progress}} completo</div>
                </div>
                <div class="line two-column">
                    <div class="course-thumb column">
                        <div class="course-thumb-bg" style="background-image: url({{course.course.home_thumbnail_url || 'http://placehold.it/800x600'}});"></div>
                        <a class="btn continue" href="#">continuar módulo</a>
                    </div>
                    <div class="course-description column">
                        <h3 class="course-title">{{course.course.name}}</h3>
                        <div class="course-info">
                            <p><b>Iniciado em:</b> {{course.course.start_date}} | <b>Cidade:</b> Camaçari</p>
                            <p>você parou em <span class="unit-title">{{course.current_class.name}}</span></p>
                        </div>
                    </div>
                </div>
                <div class="line one-column">
                    <div class="column">
                        <p class="course-update"><strong>atualização:</strong> lorem ipsum dolor sit amet, consectetur adipiscing elit | <span>xx horas atrás</span></p>
                    </div>
                </div>
            </div>
        </div>
        {% endverbatim %}

    </section>

    <section class="widget forums forums-widget container-fluid">

        <header class="widget-header line two-column fifty-fifty">
            <div class="column">
                <h2 class="widget-title">fóruns</h2>
            </div>
            <div class="column">
                <form class="widget-filter form-inline">
                    <input class="form-control" type="text" placeholder="Busca nos fóruns...">
                </form>
            </div>
        </header>

        <div class="line two-column forty-sixty">
            <div class="column">
                <h3 class="section-title">últimas postagens</h3>
                <div class="forum-update">
                    Avante e Entremeios
                </div>
                <div class="forum-update">
                    Curso de Mediação
                </div>
                <div class="forum-update">
                    Formação de formadoras
                </div>
                <div class="forum-update">
                    Avante e Entremeios
                </div>
                <div class="forum-update">
                    Curso de Mediação
                </div>
                <div class="forum-update">
                    Formação de formadoras
                </div>
            </div>
            <div class="column">
                <h3 class="section-title">Avante e Entremeios</h3>

                <div class="user-update">
                    <div class="user-icon">
                        <img src="http://placehold.it/40" alt="<NAME>">
                    </div>
                    <div class="info">
                        <b><NAME></b> comentou no tópico <a href="#" class="thread-name">Curso de Mediação</a>
                        no fórum <a href="#">Lorem ipsum dolor sit amet...</a></span>
                    </div>
                    <div class="actions">
                        <span class="action liked">4 curtiram</span>
                        <span class="action used">7 usaram</span>
                    </div>
                    <div class="tags">
                        <span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span>
                    </div>
                </div>

                <div class="user-update">
                    <div class="user-icon">
                        <img src="http://placehold.it/40" alt="<NAME>">
                    </div>
                    <div class="info">
                        <b><NAME></b> comentou no tópico <a href="#" class="thread-name">Curso de Mediação</a>
                        no fórum <a href="#">Lorem ipsum dolor sit amet...</a></span>
                    </div>
                    <div class="actions">
                        <span class="action liked">4 curtiram</span>
                        <span class="action used">7 usaram</span>
                    </div>
                    <div class="tags">
                        <span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span>
                    </div>
                </div>

                <div class="user-update">
                    <div class="user-icon">
                        <img src="http://placehold.it/40" alt="<NAME>">
                    </div>
                    <div class="info">
                        <b><NAME></b> comentou no tópico <a href="#" class="thread-name">Curso de Mediação</a>
                        no fórum <a href="#">Lorem ipsum dolor sit amet...</a></span>
                    </div>
                    <div class="actions">
                        <span class="action liked">4 curtiram</span>
                        <span class="action used">7 usaram</span>
                    </div>
                    <div class="tags">
                        <span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span>
                    </div>
                </div>

            </div>
        </div>
    </section>

</div>

{% endblock %}
<commit_msg>fix dashboard modules<commit_after>{% extends 'base.html' %}
{% load i18n %}
{% load is_coordinator %}
{% load pipeline %}

{% block js %}
    {{ block.super }}
    {% javascript 'dashboard' %}
{% endblock %}

{% block body_attrs %}
  ng-app="dashboard"
{% endblock %}

{% block content %}

<div ng-controller="DashboardCtrl" ng-cloak>

    <section class="widget courses-widget container-fluid">

        <header class="widget-header line two-column fifty-fifty">
            <div class="column">
                <h2 class="widget-title">Meus módulos</h2>
            </div>
            <div class="column">
                <!--<form class="widget-filter form-inline">-->
                    <!--<label>mostrando:</label>-->
                    <!--<select class="form-control">-->
                        <!--<option>formações fixas</option>-->
                        <!--<option>formações fixas</option>-->
                        <!--<option>formações fixas</option>-->
                    <!--</select>-->
                <!--</form>-->
            </div>
        </header>

        {% verbatim %}
        <div class="courses line two-column fifty-fifty">
            <div class="course-box column" ng-repeat="course in my_courses">
                <div class="line two-column">
                    <div class="course-progress column">
                        <div class="progress">
                            <div class="progress-bar" role="progressbar" aria-valuenow="65" aria-valuemin="0" aria-valuemax="100" style="width: {{course.percent_progress}}%;">
                            </div>
                        </div>
                    </div>
                    <div class="progress-label column">{{course.percent_progress}} completo</div>
                </div>
                <div class="line two-column">
                    <div class="course-thumb column">
                        <div class="course-thumb-bg" style="background-image: url({{course.course.home_thumbnail_url || 'http://placehold.it/800x600'}});"></div>
                        <a class="btn continue" href="#">continuar módulo</a>
                    </div>
                    <div class="course-description column">
                        <h3 class="course-title">{{course.course.name}}</h3>
                        <div class="course-info">
                            <p><b>Iniciado em:</b> {{course.course.start_date}}
                              <!--| <b>Cidade:</b> Camaçari</p>-->
                            <p>você parou em <span class="unit-title">{{course.current_class.name}}</span></p>
                        </div>
                    </div>
                </div>
                <!--<div class="line one-column">-->
                    <!--<div class="column">-->
                        <!--<p class="course-update"><strong>atualização:</strong> lorem ipsum dolor sit amet, consectetur adipiscing elit | <span>xx horas atrás</span></p>-->
                    <!--</div>-->
                <!--</div>-->
            </div>
        </div>
        {% endverbatim %}

    </section>

    <section class="widget forums forums-widget container-fluid">

        <header class="widget-header line two-column fifty-fifty">
            <div class="column">
                <h2 class="widget-title">fóruns</h2>
            </div>
            <div class="column">
                <form class="widget-filter form-inline">
                    <input class="form-control" type="text" placeholder="Busca nos fóruns...">
                </form>
            </div>
        </header>

        <div class="line two-column forty-sixty">
            <div class="column">
                <h3 class="section-title">últimas postagens</h3>
                <div class="forum-update">
                    Avante e Entremeios
                </div>
                <div class="forum-update">
                    Curso de Mediação
                </div>
                <div class="forum-update">
                    Formação de formadoras
                </div>
                <div class="forum-update">
                    Avante e Entremeios
                </div>
                <div class="forum-update">
                    Curso de Mediação
                </div>
                <div class="forum-update">
                    Formação de formadoras
                </div>
            </div>
            <div class="column">
                <h3 class="section-title">Avante e Entremeios</h3>

                <div class="user-update">
                    <div class="user-icon">
                        <img src="http://placehold.it/40" alt="<NAME>">
                    </div>
                    <div class="info">
                        <b><NAME></b> comentou no tópico <a href="#" class="thread-name">Curso de Mediação</a>
                        no fórum <a href="#">Lorem ipsum dolor sit amet...</a></span>
                    </div>
                    <div class="actions">
                        <span class="action liked">4 curtiram</span>
                        <span class="action used">7 usaram</span>
                    </div>
                    <div class="tags">
                        <span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span>
                    </div>
                </div>

                <div class="user-update">
                    <div class="user-icon">
                        <img src="http://placehold.it/40" alt="<NAME>">
                    </div>
                    <div class="info">
                        <b><NAME></b> comentou no tópico <a href="#" class="thread-name">Curso de Mediação</a>
                        no fórum <a href="#">Lorem ipsum dolor sit amet...</a></span>
                    </div>
                    <div class="actions">
                        <span class="action liked">4 curtiram</span>
                        <span class="action used">7 usaram</span>
                    </div>
                    <div class="tags">
                        <span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span>
                    </div>
                </div>

                <div class="user-update">
                    <div class="user-icon">
                        <img src="http://placehold.it/40" alt="<NAME>">
                    </div>
                    <div class="info">
                        <b><NAME></b> comentou no tópico <a href="#" class="thread-name">Curso de Mediação</a>
                        no fórum <a href="#">Lorem ipsum dolor sit amet...</a></span>
                    </div>
                    <div class="actions">
                        <span class="action liked">4 curtiram</span>
                        <span class="action used">7 usaram</span>
                    </div>
                    <div class="tags">
                        <span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span><span class="tag">#lorem</span><span class="tag">#ipsum</span>
                    </div>
                </div>

            </div>
        </div>
    </section>

</div>

{% endblock %}

{'fraction_non_alphanumeric': 0.15903712218540808, 'fraction_numerical': 0.00486848333220637, 'mean_word_length': 1.3405602152239278, 'pattern_counts': {'":': 0, '<': 455, '<?xml version=': 0, '>': 455, 'https://': 0, 'lorem ipsum': 2, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5307952', 'n_tokens_mistral': 4197, 'n_tokens_neox': 3859, 'n_words': 785}