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

{% load staticfiles %}
{% load django_bootstrap_breadcrumbs %}

{% block title %}Test Plan Manager{% endblock %}
{% block content_header %}Test Plan Manager{% endblock %}
{% block content_subheader %}{% endblock %}

{% block breadcrumbs %}
    {{ block.super }}
    {% breadcrumb "Test plans" "testplan_list" %}
{% endblock %}

{% block styles %}
    <!-- DATA TABLES -->
    <link href="{% static 'webui/css/datatables/dataTables.bootstrap.css' %}" rel="stylesheet" type="text/css" />
{% endblock %}

{% block scripts %}
    <!-- DATA TABES SCRIPT -->
    <script src="{% static 'webui/js/plugins/datatables/jquery.dataTables.js' %}" type="text/javascript"></script>
    <script src="{% static 'webui/js/plugins/datatables/dataTables.bootstrap.js' %}" type="text/javascript"></script>
    <!-- page script -->
    <script type="text/javascript">
        $(document).ready(function() {
            $('#example1').dataTable( {
                "columnDefs": [
                    {
                        "targets": [ 0 ],
                        "visible": false
                    }
                ]
            } );
        } );
    </script>
{% endblock %}

{% block content %}
    <div class="row">
        <div class="col-xs-12">
            <button class="btn btn-primary pull-right">Create a new Test Plan</button>
        </div>
    </div>

    <div class="row top10">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">Test Plan list</h3>
                </div><!-- /.box-header -->
                <div class="box-body table-responsive">
                    <table id="example1" class="table table-bordered table-striped">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>Name</th>
                                <th>Description</th>
                                <th>Rules</th>
                            </tr>
                        </thead>
                        <tfoot>
                            <tr>
                                <th>ID</th>
                                <th>Name</th>
                                <th>Description</th>
                                <th>Rules</th>
                            </tr>
                        </tfoot>
                        <tbody>

                            {% for testplan in data %}
                                <tr>
                                    <td>{{ testplan.id }}</td>
                                    <td><a href="{% url 'testplan_details' testplan.id %}">{{ testplan.name }}</a></td>
                                    <td>{{ testplan.description }}</td>
                                    <td>{{ testplan.rules }}</td>
                                </tr>
                            {% endfor %}
                        </tbody>
                    </table>

                </div><!-- /.box-body -->
            </div><!-- /.box -->
        </div>
    </div>


{% endblock %}<commit_msg>HS-20 Jira integration test 2<commit_after>{% extends 'base.html' %}

{% load staticfiles %}
{% load django_bootstrap_breadcrumbs %}

{% block title %}Test Plan Manager{% endblock %}
{% block content_header %}Test Plan Manager{% endblock %}
{% block content_subheader %}{% endblock %}

{% block breadcrumbs %}
    {{ block.super }}
    {% breadcrumb "Test plans" "testplan_list" %}
{% endblock %}

{% block styles %}
    <!-- DATA TABLES -->
    <link href="{% static 'webui/css/datatables/dataTables.bootstrap.css' %}" rel="stylesheet" type="text/css" />
{% endblock %}

{% block scripts %}
    <!-- DATA TABES SCRIPT -->
    <script src="{% static 'webui/js/plugins/datatables/jquery.dataTables.js' %}" type="text/javascript"></script>
    <script src="{% static 'webui/js/plugins/datatables/dataTables.bootstrap.js' %}" type="text/javascript"></script>
    <!-- page script -->
    <script type="text/javascript">
        $(document).ready(function() {
            $('#example1').dataTable( {
                "columnDefs": [
                    {
                        "targets": [ 0 ],
                        "visible": false
                    }
                ]
            } );
        } );
    </script>
{% endblock %}

{% block content %}
    <div class="row">
        <div class="col-xs-12">
            <button class="btn btn-primary pull-right">Create a new Test Plan</button>
        </div>
    </div>

    <div class="row top10">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">Test Plan list</h3>
                </div><!-- /.box-header -->
                <div class="box-body table-responsive">
                    <table id="example1" class="table table-bordered table-striped">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>Name</th>
                                <th>Description</th>
                                <th>Rules</th>
                            </tr>
                        </thead>
                        <tfoot>
                            <tr>
                                <th>ID</th>
                                <th>Name</th>
                                <th>Description</th>
                                <th>Rules</th>
                            </tr>
                        </tfoot>
                        <tbody>
                            {% for testplan in data %}
                                <tr>
                                    <td>{{ testplan.id }}</td>
                                    <td><a href="{% url 'testplan_details' testplan.id %}">{{ testplan.name }}</a></td>
                                    <td>{{ testplan.description }}</td>
                                    <td>{{ testplan.rules }}</td>
                                </tr>
                            {% endfor %}
                        </tbody>
                    </table>

                </div><!-- /.box-body -->
            </div><!-- /.box -->
        </div>
    </div>


{% endblock %}
{'fraction_non_alphanumeric': 0.1546424589902851, 'fraction_numerical': 0.003981525720656155, 'mean_word_length': 1.0623973727422003, 'pattern_counts': {'":': 6, '<': 145, '<?xml version=': 0, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4155387', 'n_tokens_mistral': 1769, 'n_tokens_neox': 1587, 'n_words': 318}