<commit_before>{% extends "dashboard.html" %}
{% load avatar_tags %}
{% load staticfiles %}

{% block dashboard_js %}
    <link rel="stylesheet" type="text/css" href="{% static 'css/morris.css' %}"/>
    <script src="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.4.2/morris.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
    <script src="{% static 'js/sigma.min.js' %}"></script>
    <script src="{% static 'js/sigma.forceatlas2.js' %}"></script>
    <script src="{% static 'redactor/jquery-migrate.min.js' %}"></script>
    <script src="{% static 'redactor/redactor.min.js' %}"></script>
    {% if active_page == "home" %}
        <script src="{% static 'js/models/messages.js' %}"></script>
        <script src="{% static 'js/models/announcements.js' %}"></script>
    {% elif active_page == "resources"%}
        <script src="{% static 'js/models/resources.js' %}"></script>
    {% elif active_page == "skills"%}
        <script src="{% static 'js/models/skills.js' %}"></script>
    {% elif active_page == "messages"%}
        <script src="{% static 'js/models/messages.js' %}"></script>
    {% elif active_page == "users"%}
        <script src="{% static 'js/models/users.js' %}"></script>
    {% elif active_page == "stats"%}
        <script src="{% static 'js/models/stats.js' %}"></script>
    {% elif active_page == "notifications"%}
        <link rel="stylesheet" type="text/css" href="{% static 'css/ice.css' %}"/>
        <script src="{% static 'js/ice.min.js' %}"></script>
        <script src="{% static 'js/models/messages.js' %}"></script>
        <script src="{% static 'js/models/notifications.js' %}"></script>
        <script src="{% static 'js/models/gradings.js' %}"></script>
    {% elif active_page == "settings"%}
        <script src="{% static 'js/models/settings.js' %}"></script>
    {% endif %}
    <script src="{% static 'js/models/class.js' %}"></script>
    <script src="{% static 'js/models/classview.js' %}"></script>
    <script src="{% static 'js/classview.js' %}" ></script>

{% endblock %}

{% block title %}
    Manage your class.
{% endblock %}

{% block meta_description %}
    The class view allows you to interact with the class.
{% endblock %}

{% block sidebar %}
    <ul class="nav nav-tabs" id="tag-sidebar">
        <li {% if active_page == "home" %}class="active current"{% endif %}><a href="{{ link }}" class="sidebar-item" data-name="home" data-toggle="tooltip" title="Home"><span class="glyphicon glyphicon-home"></span></a></li>
        <li {% if active_page == "resources" %}class="active current"{% endif %}><a href="{{ link }}resources/" class="sidebar-item" data-name="resources" data-toggle="tooltip" title="Course Content"><span class="glyphicon glyphicon-book"></span></a></li>
        <li {% if active_page == "skills" %}class="active current"{% endif %}><a href="{{ link }}skills/" class="sidebar-item" data-name="skills" data-toggle="tooltip" title="Skills"><span class="glyphicon glyphicon-tree-conifer"></span></a></li>
        <li {% if active_page == "messages" %}class="active current"{% endif %}><a href="{{ link }}messages/" class="sidebar-item" data-name="messages" data-toggle="tooltip" title="Discussions"><span class="glyphicon glyphicon-envelope"></span></a></li>
        {% if is_owner == "true" %}
            <li {% if active_page == "users" %}class="active current"{% endif %}><a href="{{ link }}users/" class="sidebar-item" data-name="users" data-toggle="tooltip" title="Users"><span class="glyphicon glyphicon-user"></span></a></li>
        {% endif %}
        <li {% if active_page == "stats" %}class="active current"{% endif %}><a href="{{ link }}stats/" class="sidebar-item" data-name="stats" data-toggle="tooltip" title="Stats"><span class="glyphicon glyphicon-stats"></span></a></li>
        <li {% if active_page == "notifications" %}class="active current"{% endif %}>
            <a href="{{ link }}notifications/" class="sidebar-item" data-name="notifications" data-toggle="tooltip" title="Notifications">
                <span class="glyphicon glyphicon-bell"></span>
                {% if to_be_graded_count > 0 %}
                    <span class="badge badge-info">{{ to_be_graded_count }}</span>
                {% endif %}
                {% if notification_count > 0 %}
                <span class="badge">{{ notification_count }}</span>
                {% endif %}
            </a>
        </li>
        <li {% if active_page == "settings" %}class="active current"{% endif %}><a href="{{ link }}settings/" class="sidebar-item" data-name="settings" data-toggle="tooltip" title="Settings"><span class="glyphicon glyphicon-wrench"></span></a></li>
        <li class="pull-right {% if active_page == "help" %}active current{% endif %}"><a href="{{ link }}help/" class="sidebar-item sidebar-item-help" data-name="help" data-toggle="tooltip" title="Help"><span class="glyphicon glyphicon-question-sign"></span></a></li>
    </ul>
{% endblock %}

{% block additional_nav %}
    <li class="active">
        <a href="{{ link }}" data-name="{{ name }}" data-display-class-name="{{ display_name }}">
            {{ display_name }}
        </a>
    </li>
{% endblock %}

{% block class_info %}
    <input type="hidden" id="classinfo" data-name="{{ name }}" data-display-name="{{ display_name }}" data-is-owner="{{ is_owner }}" data-class-link="{{ link }}" data-access-key="{{ access_key }}" data-active-page="{{ active_page }}" data-class-api-link="{{ class_api_link }}" data-avatar-change-link="{% url 'avatar_change' %}" data-class-owner="{{ class_owner }}" data-current-user="{{ current_user }}">
    <script type="application/json" id="autocomplete-list">
        {{ autocomplete_list|safe }}
    </script>
{% endblock %}

{% block dashboard_content %}
{% endblock %}<commit_msg>Add in resources to skills<commit_after>{% extends "dashboard.html" %}
{% load avatar_tags %}
{% load staticfiles %}

{% block dashboard_js %}
    <link rel="stylesheet" type="text/css" href="{% static 'css/morris.css' %}"/>
    <script src="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.4.2/morris.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
    <script src="{% static 'js/sigma.min.js' %}"></script>
    <script src="{% static 'js/sigma.forceatlas2.js' %}"></script>
    <script src="{% static 'redactor/jquery-migrate.min.js' %}"></script>
    <script src="{% static 'redactor/redactor.min.js' %}"></script>
    {% if active_page == "home" %}
        <script src="{% static 'js/models/messages.js' %}"></script>
        <script src="{% static 'js/models/announcements.js' %}"></script>
    {% elif active_page == "resources"%}
        <script src="{% static 'js/models/resources.js' %}"></script>
    {% elif active_page == "skills"%}
        <script src="{% static 'js/models/resources.js' %}"></script>
        <script src="{% static 'js/models/skills.js' %}"></script>
    {% elif active_page == "messages"%}
        <script src="{% static 'js/models/messages.js' %}"></script>
    {% elif active_page == "users"%}
        <script src="{% static 'js/models/users.js' %}"></script>
    {% elif active_page == "stats"%}
        <script src="{% static 'js/models/stats.js' %}"></script>
    {% elif active_page == "notifications"%}
        <link rel="stylesheet" type="text/css" href="{% static 'css/ice.css' %}"/>
        <script src="{% static 'js/ice.min.js' %}"></script>
        <script src="{% static 'js/models/messages.js' %}"></script>
        <script src="{% static 'js/models/notifications.js' %}"></script>
        <script src="{% static 'js/models/gradings.js' %}"></script>
    {% elif active_page == "settings"%}
        <script src="{% static 'js/models/settings.js' %}"></script>
    {% endif %}
    <script src="{% static 'js/models/class.js' %}"></script>
    <script src="{% static 'js/models/classview.js' %}"></script>
    <script src="{% static 'js/classview.js' %}" ></script>

{% endblock %}

{% block title %}
    Manage your class.
{% endblock %}

{% block meta_description %}
    The class view allows you to interact with the class.
{% endblock %}

{% block sidebar %}
    <ul class="nav nav-tabs" id="tag-sidebar">
        <li {% if active_page == "home" %}class="active current"{% endif %}><a href="{{ link }}" class="sidebar-item" data-name="home" data-toggle="tooltip" title="Home"><span class="glyphicon glyphicon-home"></span></a></li>
        <li {% if active_page == "resources" %}class="active current"{% endif %}><a href="{{ link }}resources/" class="sidebar-item" data-name="resources" data-toggle="tooltip" title="Course Content"><span class="glyphicon glyphicon-book"></span></a></li>
        <li {% if active_page == "skills" %}class="active current"{% endif %}><a href="{{ link }}skills/" class="sidebar-item" data-name="skills" data-toggle="tooltip" title="Skills"><span class="glyphicon glyphicon-tree-conifer"></span></a></li>
        <li {% if active_page == "messages" %}class="active current"{% endif %}><a href="{{ link }}messages/" class="sidebar-item" data-name="messages" data-toggle="tooltip" title="Discussions"><span class="glyphicon glyphicon-envelope"></span></a></li>
        {% if is_owner == "true" %}
            <li {% if active_page == "users" %}class="active current"{% endif %}><a href="{{ link }}users/" class="sidebar-item" data-name="users" data-toggle="tooltip" title="Users"><span class="glyphicon glyphicon-user"></span></a></li>
        {% endif %}
        <li {% if active_page == "stats" %}class="active current"{% endif %}><a href="{{ link }}stats/" class="sidebar-item" data-name="stats" data-toggle="tooltip" title="Stats"><span class="glyphicon glyphicon-stats"></span></a></li>
        <li {% if active_page == "notifications" %}class="active current"{% endif %}>
            <a href="{{ link }}notifications/" class="sidebar-item" data-name="notifications" data-toggle="tooltip" title="Notifications">
                <span class="glyphicon glyphicon-bell"></span>
                {% if to_be_graded_count > 0 %}
                    <span class="badge badge-info">{{ to_be_graded_count }}</span>
                {% endif %}
                {% if notification_count > 0 %}
                <span class="badge">{{ notification_count }}</span>
                {% endif %}
            </a>
        </li>
        <li {% if active_page == "settings" %}class="active current"{% endif %}><a href="{{ link }}settings/" class="sidebar-item" data-name="settings" data-toggle="tooltip" title="Settings"><span class="glyphicon glyphicon-wrench"></span></a></li>
        <li class="pull-right {% if active_page == "help" %}active current{% endif %}"><a href="{{ link }}help/" class="sidebar-item sidebar-item-help" data-name="help" data-toggle="tooltip" title="Help"><span class="glyphicon glyphicon-question-sign"></span></a></li>
    </ul>
{% endblock %}

{% block additional_nav %}
    <li class="active">
        <a href="{{ link }}" data-name="{{ name }}" data-display-class-name="{{ display_name }}">
            {{ display_name }}
        </a>
    </li>
{% endblock %}

{% block class_info %}
    <input type="hidden" id="classinfo" data-name="{{ name }}" data-display-name="{{ display_name }}" data-is-owner="{{ is_owner }}" data-class-link="{{ link }}" data-access-key="{{ access_key }}" data-active-page="{{ active_page }}" data-class-api-link="{{ class_api_link }}" data-avatar-change-link="{% url 'avatar_change' %}" data-class-owner="{{ class_owner }}" data-current-user="{{ current_user }}">
    <script type="application/json" id="autocomplete-list">
        {{ autocomplete_list|safe }}
    </script>
{% endblock %}

{% block dashboard_content %}
{% endblock %}
{'fraction_non_alphanumeric': 0.22262929198261908, 'fraction_numerical': 0.0015336116554485813, 'mean_word_length': 3.7064955894145952, 'pattern_counts': {'":': 0, '<': 227, '<?xml version=': 0, '>': 231, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4650362', 'n_tokens_mistral': 3930, 'n_tokens_neox': 3569, 'n_words': 813}