<commit_before>{% extends "fancypages/assets/base.html" %}
{% load i18n %}
{% load compress %}
{% load thumbnail %}
{% load staticfiles %}

{% block mainstylesheet %}
    {% compress css %}
    <link rel="stylesheet" href="{% static "oscar/css/dashboard.css" %}" />
    {% endcompress %}
{% endblock %}

{% block body_class %}assets{% endblock %}

{% block extrahead %}
    {{ block.super }}
    <link rel="stylesheet" type="text/css" href="{% static "fancypages/css/jquery-file-upload/jquery.fileupload-ui.css" %}" />
{% endblock %}

{% block column_left %}
<h3 id="asset-modal-label"><i class="icon-picture"></i> <span>{% trans "Image Assets" %}</span></h3>
<form id="fileupload" action="{% url fp-dashboard:image-upload %}" method="POST" enctype="multipart/form-data">
    {% csrf_token %}
    <span class="btn btn-primary btn-block fileinput-button">
        <i class="icon-upload icon-white"></i>
        <span>{% trans "Upload new image" %}</span>
        <input type="file" name="image" style="opacity: 0;">
    </span>
</form>
<commit_msg>Fix issue with Oscar 0.5<commit_after>{% extends "fancypages/assets/base.html" %}
{% load i18n %}
{% load compress %}
{% load thumbnail %}
{% load staticfiles %}

{% block mainstylesheet %}
    {% compress css %}
    <link type="text/less" rel="stylesheet" href="{% static "oscar/less/dashboard.less" %}" />
    {% endcompress %}
{% endblock %}

{% block body_class %}assets{% endblock %}

{% block extrahead %}
    {{ block.super }}
    <link rel="stylesheet" type="text/css" href="{% static "fancypages/css/jquery-file-upload/jquery.fileupload-ui.css" %}" />
{% endblock %}

{% block column_left %}
<h3 id="asset-modal-label"><i class="icon-picture"></i> <span>{% trans "Image Assets" %}</span></h3>
<form id="fileupload" action="{% url fp-dashboard:image-upload %}" method="POST" enctype="multipart/form-data">
    {% csrf_token %}
    <span class="btn btn-primary btn-block fileinput-button">
        <i class="icon-upload icon-white"></i>
        <span>{% trans "Upload new image" %}</span>
        <input type="file" name="image" style="opacity: 0;">
    </span>
</form>

{'fraction_non_alphanumeric': 0.2085687382297552, 'fraction_numerical': 0.005649717514124294, 'mean_word_length': 4.059523809523809, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '4225706', 'n_tokens_mistral': 762, 'n_tokens_neox': 690, 'n_words': 155}