<commit_before>{% extends "admin/base_site.html" %}
{% load i18n admin_modify adminmedia grp_tags %}

{% block title %}{% trans "Výstupy" %}{{ block.super }}{% endblock %}

{% block javascripts %}
    {{ block.super }}
    <script src="{{ STATIC_URL }}js/jquery.cookie.js" type="text/javascript"></script>
    <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_inline.js" type="text/javascript"></script>
    <script type="text/javascript" charset="utf-8">
        (function($) {
            $(document).ready(function() {
                grappelli.initDateAndTimePicker();

                $('.form-container .vForeignKeyRawIdAdminField').grp_autocomplete_fk({
                    lookup_url:"/grappelli/lookup/related/",
                    autocomplete_lookup_url:"/grappelli/lookup/autocomplete/"
                });
            });
        })(django.jQuery);
    </script>
    <style>
        .form-container input {
            font-size: 12px !important;
        }
    </style>
{% endblock %}

<!-- BREADCRUMBS -->
{% block breadcrumbs %}
    <div id="breadcrumbs">
         <a href="../">{% trans "Home" %}</a> &rsaquo;
         <a href=".">{% trans "Výstupy" %}</a>
    </div>
{% endblock %}

<!-- CONTENT -->
{% block content %}
    <div class="container-flexible" id="tabs">
        <h1>{% trans "Výstupy" %}</h1>
        <ul>
            {% for tab, form in tabs %}
            <li><a href="#tabs-{{ forloop.counter }}">{{ tab.get_title }}</a></li>
            {% endfor %}
        </ul>
        <div class="form-container">
            {% for tab, form in tabs %}
            <div id="tabs-{{ forloop.counter }}">
                <form method="POST" action="{{ tab.get_absolute_url }}" target="_blank">
                    <fieldset class="module">
                        <div class="row cells cells-1"><div class="cell">
                            {% autoescape off %}
                            {{ tab.get_description }}
                            {% endautoescape %}
                        </div></div>
                        {% include "form_snippet.html" %}
                        <div class="row cells cells-2 submit-right"><div class="cell">
                            <a onclick="django.jQuery(this).closest('form').submit();" class="cbutton">Zobrazit výstup</a>
                        </div></div>
                    </fieldset>
                </form>
            </div>
            {% endfor %}
        </div>
    </div>

    <script type="text/javascript">
        django.jQuery(document).ready(function () {
            django.jQuery('#tabs').tabs({cookie: {expires: 1}});
        });
    </script>
{% endblock %}
<commit_msg>Fix magnifier tool in service overview report form.<commit_after>{% extends "admin/base_site.html" %}
{% load i18n admin_modify adminmedia grp_tags %}

{% block title %}{% trans "Výstupy" %}{{ block.super }}{% endblock %}

{% block javascripts %}
    {{ block.super }}
    <script src="{{ STATIC_URL }}js/jquery.cookie.js" type="text/javascript"></script>
    <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_inline.js" type="text/javascript"></script>
    <script src="{% admin_media_prefix %}js/admin/RelatedObjectLookups.js" type="text/javascript"></script>
    <script type="text/javascript" charset="utf-8">
        (function($) {
            $(document).ready(function() {
                grappelli.initDateAndTimePicker();

                $('.form-container .vForeignKeyRawIdAdminField').grp_autocomplete_fk({
                    lookup_url:"/grappelli/lookup/related/",
                    autocomplete_lookup_url:"/grappelli/lookup/autocomplete/"
                });
            });
        })(django.jQuery);
    </script>
    <style>
        .form-container input {
            font-size: 12px !important;
        }
    </style>
{% endblock %}

<!-- BREADCRUMBS -->
{% block breadcrumbs %}
    <div id="breadcrumbs">
         <a href="../">{% trans "Home" %}</a> &rsaquo;
         <a href=".">{% trans "Výstupy" %}</a>
    </div>
{% endblock %}

<!-- CONTENT -->
{% block content %}
    <div class="container-flexible" id="tabs">
        <h1>{% trans "Výstupy" %}</h1>
        <ul>
            {% for tab, form in tabs %}
            <li><a href="#tabs-{{ forloop.counter }}">{{ tab.get_title }}</a></li>
            {% endfor %}
        </ul>
        <div class="form-container">
            {% for tab, form in tabs %}
            <div id="tabs-{{ forloop.counter }}">
                <form method="POST" action="{{ tab.get_absolute_url }}" target="_blank">
                    <fieldset class="module">
                        <div class="row cells cells-1"><div class="cell">
                            {% autoescape off %}
                            {{ tab.get_description }}
                            {% endautoescape %}
                        </div></div>
                        {% include "form_snippet.html" %}
                        <div class="row cells cells-2 submit-right"><div class="cell">
                            <a onclick="django.jQuery(this).closest('form').submit();" class="cbutton">Zobrazit výstup</a>
                        </div></div>
                    </fieldset>
                </form>
            </div>
            {% endfor %}
        </div>
    </div>

    <script type="text/javascript">
        django.jQuery(document).ready(function () {
            django.jQuery('#tabs').tabs({cookie: {expires: 1}});
        });
    </script>
{% endblock %}

{'fraction_non_alphanumeric': 0.17632058287795993, 'fraction_numerical': 0.0036429872495446266, 'mean_word_length': 1.791560752414845, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '2761408', 'n_tokens_mistral': 1694, 'n_tokens_neox': 1572, 'n_words': 296}