<commit_before>{% extends 'base.html' %}
{% load static %}

{% block subtitle %}- Tools{% endblock %}
{% block ctftools_class %}active{% endblock %}
{% block content %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h1 class="sub-header">CTF Tools</h1>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-6">
                <form id="hash-form" action="{% url 'tools_hash' %}" method="post">
                    {% csrf_token %}
                    <fieldset>
                        <legend>Hash Generator</legend>
                        <style scoped="">
                            #hash-form tr > td:first-child {
                                text-align: right;
                            }

                            #hash-form tr > td {
                                vertical-align: top;
                                padding-right: 1em;
                                padding-bottom: 1em;
                            }
                        </style>
                        <table>
                            {% for field in hash_form %}
                                <tr>
                                    <td>{{ field.label_tag }}</td>
                                    <td>{{ field }}</td>
                                </tr>
                            {% endfor %}
                        </table>
                        <input type="submit" value="Submit"/>
                    </fieldset>
                </form>
            </div>
        </div>
        <br/>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-6">
                <form id="rot-form" action="{% url 'tools_rot' %}" method="post">
                    {% csrf_token %}
                    <fieldset>
                        <legend>Rot-* Encoder/Decoder</legend>
                        <style scoped="">
                            #rot-form tr > td:first-child {
                                text-align: right;
                            }

                            #rot-form tr > td {
                                vertical-align: top;
                                padding-right: 1em;
                                padding-bottom: 1em;
                            }
                        </style>
                        <table>
                            {% for field in rot_form %}
                                <tr>
                                    <td>{{ field.label_tag }}</td>
                                    <td>{{ field }}</td>
                                </tr>
                            {% endfor %}
                        </table>
                        <input type="submit" value="Submit"/>
                    </fieldset>
                </form>
            </div>
        </div>
        <br/>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-6">
                <form id="base-conversion-form" action="{% url 'tools_base_conversion' %}" method="post">
                    {% csrf_token %}
                    <fieldset>
                        <legend>Base Conversions</legend>
                        <style scoped="">
                            #base-conversion-form tr > td:first-child {
                                text-align: right;
                            }

                            #base-conversion-form tr > td {
                                vertical-align: top;
                                padding-right: 1em;
                                padding-bottom: 1em;
                            }
                        </style>
                        <table>
                            {% for field in base_conversion_form %}
                                <tr>
                                    <td>{{ field.label_tag }}</td>
                                    <td>{{ field }}</td>
                                </tr>
                            {% endfor %}
                        </table>
                        <input type="submit" value="Submit"/>
                    </fieldset>
                </form>
            </div>
        </div>
        <br/>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-6">
                <form id="xor-form" action="{% url 'tools_xor' %}" method="post">
                    {% csrf_token %}
                    <fieldset>
                        <legend>XOR Tool</legend>
                        <style scoped="">
                            #xor-form tr > td:first-child {
                                text-align: right;
                            }

                            #xor-form tr > td {
                                vertical-align: top;
                                padding-right: 1em;
                                padding-bottom: 1em;
                            }
                        </style>
                        <table>
                            {% for field in xor_form %}
                                <tr>
                                    <td>{{ field.label_tag }}</td>
                                    <td>{{ field }}</td>
                                </tr>
                            {% endfor %}
                        </table>
                        <input type="submit" value="Submit"/>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
{% endblock %}
<commit_msg>Aligned my buttons better on ctftools.html<commit_after>{% extends 'base.html' %}
{% load static %}

{% block subtitle %}- Tools{% endblock %}
{% block ctftools_class %}active{% endblock %}
{% block content %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h1 class="sub-header">CTF Tools</h1>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-6">
                <form id="hash-form" action="{% url 'tools_hash' %}" method="post">
                    {% csrf_token %}
                    <fieldset>
                        <legend>Hash Generator</legend>
                        <style scoped="">
                            #hash-form tr > td:first-child {
                                text-align: right;
                            }

                            #hash-form tr > td {
                                vertical-align: top;
                                padding-right: 1em;
                                padding-bottom: 1em;
                            }
                        </style>
                        <table>
                            {% for field in hash_form %}
                                <tr>
                                    <td>{{ field.label_tag }}</td>
                                    <td>{{ field }}</td>
                                </tr>
                            {% endfor %}
                            <tr>
                                <td></td>
                                <td><input type="submit" value="Submit"/></td>
                            </tr>
                        </table>
                    </fieldset>
                </form>
            </div>
        </div>
        <br/>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-6">
                <form id="rot-form" action="{% url 'tools_rot' %}" method="post">
                    {% csrf_token %}
                    <fieldset>
                        <legend>Rot-* Encoder/Decoder</legend>
                        <style scoped="">
                            #rot-form tr > td:first-child {
                                text-align: right;
                            }

                            #rot-form tr > td {
                                vertical-align: top;
                                padding-right: 1em;
                                padding-bottom: 1em;
                            }
                        </style>
                        <table>
                            {% for field in rot_form %}
                                <tr>
                                    <td>{{ field.label_tag }}</td>
                                    <td>{{ field }}</td>
                                </tr>
                            {% endfor %}
                            <tr>
                                <td></td>
                                <td><input type="submit" value="Submit"/></td>
                            </tr>
                        </table>
                    </fieldset>
                </form>
            </div>
        </div>
        <br/>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-6">
                <form id="base-conversion-form" action="{% url 'tools_base_conversion' %}" method="post">
                    {% csrf_token %}
                    <fieldset>
                        <legend>Base Conversions</legend>
                        <style scoped="">
                            #base-conversion-form tr > td:first-child {
                                text-align: right;
                            }

                            #base-conversion-form tr > td {
                                vertical-align: top;
                                padding-right: 1em;
                                padding-bottom: 1em;
                            }
                        </style>
                        <table>
                            {% for field in base_conversion_form %}
                                <tr>
                                    <td>{{ field.label_tag }}</td>
                                    <td>{{ field }}</td>
                                </tr>
                            {% endfor %}
                            <tr>
                                <td></td>
                                <td><input type="submit" value="Submit"/></td>
                            </tr>
                        </table>
                    </fieldset>
                </form>
            </div>
        </div>
        <br/>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-6">
                <form id="xor-form" action="{% url 'tools_xor' %}" method="post">
                    {% csrf_token %}
                    <fieldset>
                        <legend>XOR Tool</legend>
                        <style scoped="">
                            #xor-form tr > td:first-child {
                                text-align: right;
                            }

                            #xor-form tr > td {
                                vertical-align: top;
                                padding-right: 1em;
                                padding-bottom: 1em;
                            }
                        </style>
                        <table>
                            {% for field in xor_form %}
                                <tr>
                                    <td>{{ field.label_tag }}</td>
                                    <td>{{ field }}</td>
                                </tr>
                            {% endfor %}
                            <tr>
                                <td></td>
                                <td><input type="submit" value="Submit"/></td>
                            </tr>
                        </table>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
{% endblock %}

{'fraction_non_alphanumeric': 0.11390855844042311, 'fraction_numerical': 0.006119416032870006, 'mean_word_length': 0.6210854470738274, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3204940', 'n_tokens_mistral': 2855, 'n_tokens_neox': 2512, 'n_words': 515}