<commit_before>{% extends "base.html" %}

{%  block extra_style %}
    {% load staticfiles %}
    <link rel="stylesheet" type="text/css" href="{% static 'css/camps-index.css' %}"/>
{% endblock %}

{% block content %}
    <body>
    <!-- Headline intro -->
    <div class="row">
        <div class="panel panel-heading">
            Welcome To Midburn 2016 - Theme Camps Index
            <p>

            </p>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12 blog-main">

            <div id="camp-card" class="col-md-6 col-sm-6">
                <article class="blog-teaser">
                    <header>

                        {% for camp in published_camps %}

                            <!-- Camp Status -->
                            <div class="camp-icn">
                                <span class="camp-icn-{{ camp.camp_status }}" tooltip="{{ camp.status }}"
                                      data-toggle="tooltip"></span>
                            </div>

                            <!-- Camp Name -->
                            <div class="camp-name">
                                <h3>
                                    {{ camp.camp_name_en }}
                                </h3>
                            </div>

                            <!-- Camp Description -->
                            <div class="camp-desc">
                                <p>
                                    {{ camp.camp_desc_en | linebreaks }}
                                </p>
                            </div>
                            <hr>
                            </header>

                            <!-- Camp Full Details (*Collapsed) -->
                            <div id="campId{{ camp.pk }}" class="body collapse">

                                <!-- Camp Contact Details -->
                                <div class="camp-contactName">
                                    <i class="fa fa-heart-o"></i> Contact Us
                                    <ul class="list-group">
                                        <li class="list-group-item">
                                            {{ camp.contact_name_en }}
                                        </li>
                                        <li>
                                            {% if camp.contact_email %}
                                                <div class="camp-contactInfo">Email: <a
                                                        href="mailto:{{ camp.contact_email }}">{{ camp.contact_email }}</a>
                                                </div>
                                            {% endif %}
                                        </li>
                                        <li>
                                            {% if camp.contact_facebook %}
                                                <div class="camp-contactInfo">Facebook: <a
                                                        href="{{ camp.contact_facebook }}">{{ camp.contact_facebook }}</a>
                                                </div>
                                            {% endif %}
                                        </li>
                                        <li>
                                            {% if camp.contact_phone %}
                                                <div class="camp-contactInfo">Phone number: <a
                                                        href="tel:{{ camp.contact_phone }}">{{ camp.contact_phone }}</a>
                                                </div>
                                            {% endif %}
                                        </li>
                                    </ul>
                                </div>

                            </div>
                        {% endfor %}

                    <div class="clearfix">
                        <div class="center-block">
                            <a href="#" data-toggle="collapse" data-target="#campId{{ camp.pk }}"
                               class="btn btn-default">
                                Read more
                            </a>
                        </div>
                    </div>

                </article>
            </div>

        </div>
    </div>
    <script>
        $(document).ready(function () {
            $('[data-toggle="tooltip"]').tooltip();
        });
    </script>
    </body>
{% endblock %}<commit_msg>- Camp index page<commit_after>{% extends "base.html" %}

{% block extra_style %}
    {% load staticfiles %}
    <link rel="stylesheet" type="text/css" href="{% static 'css/camps-index.css' %}"/>
{% endblock %}

{% block content %}
    <body>
    <!-- Headline intro -->
    <div class="row">
        <div class="panel panel-heading">
            Welcome To Midburn 2016 - Theme Camps Index
            <p>

            </p>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12 blog-main">

            {% for camp in published_camps %}

                <div id="camp-card" class="col-md-6 col-sm-6">
                    <article class="blog-teaser">
                        <header>
                            <!-- Camp Status -->
                            <div class="camp-icn">
                                <span class="camp-icn-{{ camp.camp_status }}" tooltip="{{ camp.status }}"
                                      data-toggle="tooltip"></span>
                            </div>

                            <!-- Camp Name -->
                            <div class="camp-name">
                                <h3>
                                    {{ camp.camp_name_en }}
                                </h3>
                            </div>

                            <!-- Camp Description -->
                            <div class="camp-desc">
                                <p>
                                    {{ camp.camp_desc_en | linebreaks }}
                                </p>
                            </div>
                            <hr>
                        </header>

                        <!-- Camp Full Details (*Collapsed) -->
                        <div id="campId{{ camp.pk }}" class="body collapse">

                            <!-- Camp Contact Details -->
                            <div class="camp-contactName">
                                <i class="fa fa-heart-o"></i> Contact Us
                                <ul class="list-group">
                                    <li class="list-group-item">
                                        {{ camp.contact_name_en }}
                                    </li>
                                    <li>
                                        {% if camp.contact_email %}
                                            <div class="camp-contactInfo">Email: <a
                                                    href="mailto:{{ camp.contact_email }}">{{ camp.contact_email }}</a>
                                            </div>
                                        {% endif %}
                                    </li>
                                    <li>
                                        {% if camp.contact_facebook %}
                                            <div class="camp-contactInfo">Facebook: <a
                                                    href="{{ camp.contact_facebook }}">{{ camp.contact_facebook }}</a>
                                            </div>
                                        {% endif %}
                                    </li>
                                    <li>
                                        {% if camp.contact_phone %}
                                            <div class="camp-contactInfo">Phone number: <a
                                                    href="tel:{{ camp.contact_phone }}">{{ camp.contact_phone }}</a>
                                            </div>
                                        {% endif %}
                                    </li>
                                </ul>
                            </div>
                        </div>

                        <div class="clearfix">
                            <div class="center-block">
                                <a href="#" data-toggle="collapse" data-target="#campId{{ camp.pk }}"
                                   class="btn btn-default">
                                    Read more
                                </a>
                            </div>
                        </div>

                    </article>
                </div>

            {% endfor %}

        </div>
    </div>

    <script>
        $(document).ready(function () {
            $('[data-toggle="tooltip"]').tooltip();
        });
    </script>
    </body>
{% endblock %}
{'fraction_non_alphanumeric': 0.1178131706766068, 'fraction_numerical': 0.0022591212018524794, 'mean_word_length': 0.6216117216117216, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 100, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3599821', 'n_tokens_mistral': 1869, 'n_tokens_neox': 1705, 'n_words': 355}