<commit_before>{% extends "base.html" %}
{% block content %}
<div class="ui container">
    <h1 class="center ui header aligned" style="margin-top:20px;">提交答案</h1>
    <div id="intro" class="aligned center ui header">
        <p>文件大小不超过100M</p>
        <p>请以组别+姓名为文件名提交压缩文件</p>
        <p>例如：Web于有为.zip</p>
    </div>
    <div id="drag-area" onclick="dragClick()" ondrop="drop(event);uploadSelected();" ondragover="allowDrop(event)"><p>Drag Here</p></div>
    <div class="loding form ui center aligned container" style="width:400px">
        <div class="field">
            <label id="filename" style="margin-bottom: 20px">点击上方灰色区域或直接拖动文件至该区域来选择文件</label>
            <input id="fileToUpload" type=file name=file onchange="uploadSelected();uploadGetName()">
        </div>

    </div>
    <div class="ui container center aligned" style="width: 400px;margin-top: 20px">
        <div style="margin-bottom: 20px" id="progress-bar" class="ui indicating progress active" data-percent="0">
            <div id="progress-bar_" class="bar" style="transition-duration: 300ms; width: 0;">
                <div id="progress-num" class="progress center aligned">0%</div>
            </div>
        </div>
        <button id="submit" class="blue ui submit button mini" onclick="uploadSelected();uploadFile()">上传</button>
    </div>

</div>
<script src="../static/main_v4.0.js"></script>
{% endblock %}<commit_msg>fix(web): change upload limit in templates to 256M<commit_after>{% extends "base.html" %}
{% block content %}
<div class="ui container">
    <h1 class="center ui header aligned" style="margin-top:20px;">提交答案</h1>
    <div id="intro" class="aligned center ui header">
        <p>文件大小不超过256M</p>
        <p>请以组别+姓名为文件名提交压缩文件</p>
        <p>例如：Web于有为.zip</p>
    </div>
    <div id="drag-area" onclick="dragClick()" ondrop="drop(event);uploadSelected();" ondragover="allowDrop(event)">
        <p>Drag Here</p>
    </div>
    <div class="loding form ui center aligned container" style="width:400px">
        <div class="field">
            <label id="filename" style="margin-bottom: 20px">点击上方灰色区域或直接拖动文件至该区域来选择文件</label>
            <input id="fileToUpload" type=file name=file onchange="uploadSelected();uploadGetName()">
        </div>

    </div>
    <div class="ui container center aligned" style="width: 400px;margin-top: 20px">
        <div style="margin-bottom: 20px" id="progress-bar" class="ui indicating progress active" data-percent="0">
            <div id="progress-bar_" class="bar" style="transition-duration: 300ms; width: 0;">
                <div id="progress-num" class="progress center aligned">0%</div>
            </div>
        </div>
        <button id="submit" class="blue ui submit button mini" onclick="uploadSelected();uploadFile()">上传</button>
    </div>

</div>
<script src="../static/main_v4.0.js"></script>
{% endblock %}
{'fraction_non_alphanumeric': 0.17783233952998947, 'fraction_numerical': 0.01999298491757278, 'mean_word_length': 3.6449511400651464, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '6587526', 'n_tokens_mistral': 1021, 'n_tokens_neox': 978, 'n_words': 199}