<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="mobile-web-app-capable" content="yes">

    <title> {{ conf.title }} </title>

    {#    <link rel="stylesheet" type="text/css"#}
    {#          href="https://cdnjs.cloudflare.com/ajax/libs/fomantic-ui/2.8.7/semantic.min.css">#}

    <link rel="stylesheet" type="text/css"
          href="https://cdnjs.cloudflare.com/ajax/libs/fomantic-ui/2.8.7/semantic.min.css">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/stylesheets/jquery.tocify.min.css"
          rel="stylesheet"
          type="text/css">
    <link href="https://code.jquery.com/ui/1.11.4/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css">

    <link href="https://cdn.datatables.net/1.10.22/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css">

    <style>
        table {
            table-layout: fixed;
            width: 100%;
        }

        table td {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
        }

        table tr {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
        }

        .buttons-print {
            margin-bottom: 0.5em !important;
        }

        section {
            margin-bottom: 5em !important;
        }

        .reportTitle {
            margin-top: 1em !important;
        }

        main {
            flex: 1 0 auto;
        }

        footer {
            background: #bdbdbd;
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            height: 50px;
            margin: 0;
        }

        .footerText {
            margin: revert !important;
        }

        .dataTables_wrapper {
            margin-bottom: 5em;
        }

        body {
            font-family: "Roboto", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
            font-size: 14px !important;
            line-height: 1.42857143;

            display: flex;
            min-height: 100vh;
            flex-direction: column;
        }

        .content {
            margin-top: 2.5em;
            padding: 0.1em;
        }

        #toc {
            width: 15%;
            margin-top: 2.5em;
            padding: 0.1em;
        }

        .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
            border: 1px solid #79b7e7;
            background: #f5f5f5 !important;
            font-weight: normal;
            color: black !important;
        }

        .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
            background: #888f9e !important;
            color: #fff !important;
            font-weight: normal;
        }

        .tocify {
            border-radius: 0 !important;
        }

        .tocify li:not(:last-child) li:not(:first-child) {
            border-bottom: 1px solid #888f9e47 !important;
        }

        @media print {
            footer {
                display: none;
            }
        }
    </style>

</head>

<body>

<main class="ui grid">
    <div class="three wide column">
        <div id="toc"></div>
    </div>
    <div id="print-container" class="ten wide column content">
        <h1 class="text-center" id="skip-toc">{{ conf.title }}</h1>
        <h3 class="text-center" id="skip-toc">[<em>{{ conf.type }}</em>]</h3>

        <div>
            <h2 class="">Abstract</h2>
            <p> This document represents an automatically generated account of the class instantiation
                patterns. </p>
            <p> The datasource endpoint: <em>{{ conf.default_endpoint |e }}</em></p>
            {% if conf.selected_graphs %}
                <p> The fingerprinting is not applied to the entire endpoint but is limited to a set of graphs.
                    The
                    selected graphs to fingerprint are: </p>
                <ul>
                    {% for gr in conf.selected_graphs | unique | list %}
                        {% if gr %}
                            <li><em>{{ gr|e }}</em></li>
                        {% else %}
                            <li><em>default graph</em></li>
                        {% endif %}

                    {% endfor %}
                </ul>
            {% endif %}
            <h2 class="">Keywords</h2>
            <em>application profile, structural metrics, data shapes, class instantiation patterns</em>
        </div>
        {% block content %}
            < empty >
        {% endblock %}
    </div>
</main>

<footer>
    <div class="ui container center aligned">
        <p class="footerText">Powered by
            <a href="https://github.com/meaningfy-ws">Meaningfy</a></p>
    </div>
</footer>
</body>
</html>

{#<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>#}
{#<script src="https://cdnjs.cloudflare.com/ajax/libs/fomantic-ui/2.8.7/semantic.min.js"></script>#}

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-migrate-1.4.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
        integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
        crossorigin="anonymous"></script>
<script type="text/javascript" src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>

<script type="text/javascript"
        src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/javascripts/jquery.tocify.min.js"></script>

<script type="text/javascript" src="https://cdn.datatables.net/1.10.22/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.6.4/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.6.4/js/buttons.print.min.js"></script>

<script type="text/javascript">
    $(document).ready(function () {

        $(function () {
            $("#toc").tocify({
                selectors: "h1,h2,h3,h4,h5,h6,h7,h8",
                theme: "jqueryui",
                hashGenerator: "pretty",
                ignoreSelector: "#skip-toc",
                highlightOnScroll: "true",
                highlightDefault: "true"
            });
        });

        $("table.display").DataTable({
            dom: 'B<"clear">lfrtip',
            buttons: [
                'print'
            ],
            "lengthMenu": [[5, 15, 30, -1], [5, 15, 30, "All"]],
            responsive: {
                details: true,
                breakpoints: [
                    {name: 'bigdesktop', width: Infinity},
                    {name: 'meddesktop', width: 1480},
                    {name: 'smalldesktop', width: 1280},
                    {name: 'medium', width: 1188},
                    {name: 'tabletl', width: 1024},
                    {name: 'btwtabllandp', width: 848},
                    {name: 'tabletp', width: 768},
                    {name: 'mobilel', width: 480},
                    {name: 'mobilep', width: 320}
                ]
            }
        });
    });
</script>