<commit_before><!doctype html>
<html>
<head>
    <title>{{ pageTitle }}</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    {% block css %}
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/switchery.min.css') }}" />
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/bootstrap.min.css') }}" />
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/icons.css') }}" />
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/style.css') }}" />
    <script type="text/javascript" src="{{ asset('static/js/modernizr.min.js') }}"></script>
    {% endblock %}
</head>
<body class="fixed-left">

<div id="wrapper">
    <div class="topbar">
        <div class="topbar-left">
            <div class="text-center">
                <a href="{{ path('index') }}" class="logo"><i class="mdi mdi-radar"></i> <span>{{ brandName }}</span></a>
            </div>
        </div>

        <nav class="navbar-custom">
            <ul class="list-inline float-right mb-0">
                <li class="list-inline-item notification-list hide-phone">
                    <a class="nav-link waves-light waves-effect" href="#" id="btn-fullscreen">
                        <i class="mdi mdi-crop-free noti-icon"></i>
                    </a>
                </li>
                <li class="list-inline-item dropdown notification-list">
                    <a class="nav-link dropdown-toggle waves-effect waves-light nav-user" data-toggle="dropdown" href="#" role="button"
                       aria-haspopup="false" aria-expanded="false">
                        <img src="{{ asset('static/images/avatar-1.jpg') }}" alt="{{ username }}" class="rounded-circle">
                    </a>
                    <div class="dropdown-menu dropdown-menu-right profile-dropdown " aria-labelledby="Preview">
                        <div class="dropdown-item noti-title">
                            <h5 class="text-overflow"><small>{{ username }}</small> </h5>
                        </div>
                        <a href="{{ path('profile') }}" class="dropdown-item notify-item">
                            <i class="mdi mdi-account-star-variant"></i> <span>Profile</span>
                        </a>
                        <a href="{{ path('logout') }}" class="dropdown-item notify-item">
                            <i class="mdi mdi-logout"></i> <span>Logout</span>
                        </a>
                    </div>
                </li>
            </ul>
            <ul class="list-inline menu-left mb-0">
                <li class="float-left">
                    <button class="button-menu-mobile open-left waves-light waves-effect">
                        <i class="mdi mdi-menu"></i>
                    </button>
                </li>
                <li class="hide-phone app-search">
                    <form role="search" class="">
                        <input type="text" placeholder="Search..." class="form-control">
                        <a href="#"><i class="fa fa-search"></i></a>
                    </form>
                </li>
            </ul>
        </nav>
    </div>

    <div class="left side-menu">
        <div class="sidebar-inner slimscrollleft">
            <div id="sidebar-menu">
                <ul>
                    <li class="menu-title">{{ role }} | {{ username }}</li>
                    <li>
                        <a href="{{ path('dashboard') }}" class="waves-effect waves-primary">
                            <i class="ti-home"></i><span> Dashboard </span></a>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-user"></i>
                            <span> Students </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('newStudent') }}">Add new student</a></li>
                            <li><a href="{{ path('students') }}">Students</a></li>
                        </ul>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-cloud-up"></i>
                            <span> Upload </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('uploadTimetables') }}">Timetable</a></li>
                            <li><a href="{{ path('uploadNotes') }}">Notes</a></li>
                        </ul>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-cloud-down"></i>
                            <span> Download </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('timetables') }}">Timetables</a></li>
                            <li><a href="{{ path('notes') }}">Notes</a></li>
                        </ul>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class=" ti-announcement"></i>
                            <span> Announcements </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('newAnnouncement') }}">New Announcement</a></li>
                            <li><a href="{{ path('announcements') }}">Announcements</a></li>
                        </ul>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-comment-alt"></i>
                            <span> Complaints </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('newComplaint') }}">New Complaint</a></li>
                            <li><a href="{{ path('complaints') }}">Complaints</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="{{ path('lecturers') }}" class="waves-effect waves-primary">
                            <i class="ti-user"></i><span> Lecturers </span></a>
                    </li>
                    <li>
                        <a href="{{ path('admins') }}" class="waves-effect waves-primary">
                            <i class="ti-user"></i><span> Admins </span></a>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-layers-alt"></i>
                            <span> Courses </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('newCourse') }}">New course</a></li>
                            <li><a href="{{ path('courses') }}">Courses</a></li>
                        </ul>
                    </li>
                </ul>
                <div class="clearfix"></div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>

    <div class="content-page">
        {% block content %}
        {% endblock %}
        <footer class="footer text-right">
            {{ footNote }}
        </footer>
    </div>

</div>

{% block scripts %}
<script> var resizefunc = []; </script>
<!-- Plugins  -->
<script src="{{ asset('static/js/jquery.min.js') }}"></script>
<script src="{{ asset('static/js/popper.min.js') }}"></script>
<script src="{{ asset('static/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('static/js/detect.js') }}"></script>
<script src="{{ asset('static/js/fastclick.js') }}"></script>
<script src="{{ asset('static/js/jquery.slimscroll.js') }}"></script>
<script src="{{ asset('static/js/jquery.blockUI.js') }}"></script>
<script src="{{ asset('static/js/waves.js') }}"></script>
<script src="{{ asset('static/js/wow.min.js') }}"></script>
<script src="{{ asset('static/js/jquery.nicescroll.js') }}"></script>
<script src="{{ asset('static/js/jquery.scrollTo.min.js') }}"></script>
<script src="{{ asset('static/js/switchery.min.js') }}"></script>

<!-- Counter Up  -->
<script src="{{ asset('static/js/jquery.waypoints.min.js') }}"></script>
<script src="{{ asset('static/js/jquery.counterup.min.js') }}"></script>

<!-- Page js  -->
<script src="{{ asset('static/js/jquery.dashboard.js') }}"></script>

<!-- Custom main Js -->
<script src="{{ asset('static/js/jquery.core.js') }}"></script>
<script src="{{ asset('static/js/jquery.app.js') }}"></script>

<script type="text/javascript">
    jQuery(document).ready(function($) {
        $('.counter').counterUp({
            delay: 100,
            time: 1200
        });
    });
</script>
{% endblock %}
</body>
</html><commit_msg>[templates/base.html.twig] Add Datatables ref links both css and js<commit_after><!doctype html>
<html>
<head>
    <title>{{ pageTitle }}</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    {% block css %}
    {# data tables #}
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/dataTables.bootstrap4.min.css') }}" />
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/buttons.bootstrap4.min.css') }}" />

    {# responsive data table examples #}
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/responsive.bootstrap4.min.css') }}" />

    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/switchery.min.css') }}" />
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/bootstrap.min.css') }}" />
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/icons.css') }}" />
    <link rel="stylesheet" type="text/css" href="{{ asset('static/css/style.css') }}" />
    <script type="text/javascript" src="{{ asset('static/js/modernizr.min.js') }}"></script>
    {% endblock %}
</head>
<body class="fixed-left">

<div id="wrapper">
    <div class="topbar">
        <div class="topbar-left">
            <div class="text-center">
                <a href="{{ path('index') }}" class="logo"><i class="mdi mdi-radar"></i> <span>{{ brandName }}</span></a>
            </div>
        </div>

        <nav class="navbar-custom">
            <ul class="list-inline float-right mb-0">
                <li class="list-inline-item notification-list hide-phone">
                    <a class="nav-link waves-light waves-effect" href="#" id="btn-fullscreen">
                        <i class="mdi mdi-crop-free noti-icon"></i>
                    </a>
                </li>
                <li class="list-inline-item dropdown notification-list">
                    <a class="nav-link dropdown-toggle waves-effect waves-light nav-user" data-toggle="dropdown" href="#" role="button"
                       aria-haspopup="false" aria-expanded="false">
                        <img src="{{ asset('static/images/avatar-1.jpg') }}" alt="{{ username }}" class="rounded-circle">
                    </a>
                    <div class="dropdown-menu dropdown-menu-right profile-dropdown " aria-labelledby="Preview">
                        <div class="dropdown-item noti-title">
                            <h5 class="text-overflow"><small>{{ username }}</small> </h5>
                        </div>
                        <a href="{{ path('profile') }}" class="dropdown-item notify-item">
                            <i class="mdi mdi-account-star-variant"></i> <span>Profile</span>
                        </a>
                        <a href="{{ path('logout') }}" class="dropdown-item notify-item">
                            <i class="mdi mdi-logout"></i> <span>Logout</span>
                        </a>
                    </div>
                </li>
            </ul>
            <ul class="list-inline menu-left mb-0">
                <li class="float-left">
                    <button class="button-menu-mobile open-left waves-light waves-effect">
                        <i class="mdi mdi-menu"></i>
                    </button>
                </li>
                <li class="hide-phone app-search">
                    <form role="search" class="">
                        <input type="text" placeholder="Search..." class="form-control">
                        <a href="#"><i class="fa fa-search"></i></a>
                    </form>
                </li>
            </ul>
        </nav>
    </div>

    <div class="left side-menu">
        <div class="sidebar-inner slimscrollleft">
            <div id="sidebar-menu">
                <ul>
                    <li class="menu-title">{{ role }} | {{ username }}</li>
                    <li>
                        <a href="{{ path('dashboard') }}" class="waves-effect waves-primary">
                            <i class="ti-home"></i><span> Dashboard </span></a>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-user"></i>
                            <span> Students </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('newStudent') }}">Add new student</a></li>
                            <li><a href="{{ path('students') }}">Students</a></li>
                        </ul>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-cloud-up"></i>
                            <span> Upload </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('uploadTimetables') }}">Timetable</a></li>
                            <li><a href="{{ path('uploadNotes') }}">Notes</a></li>
                        </ul>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-cloud-down"></i>
                            <span> Download </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('timetables') }}">Timetables</a></li>
                            <li><a href="{{ path('notes') }}">Notes</a></li>
                        </ul>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class=" ti-announcement"></i>
                            <span> Announcements </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('newAnnouncement') }}">New Announcement</a></li>
                            <li><a href="{{ path('announcements') }}">Announcements</a></li>
                        </ul>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-comment-alt"></i>
                            <span> Complaints </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('newComplaint') }}">New Complaint</a></li>
                            <li><a href="{{ path('complaints') }}">Complaints</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="{{ path('lecturers') }}" class="waves-effect waves-primary">
                            <i class="ti-user"></i><span> Lecturers </span></a>
                    </li>
                    <li>
                        <a href="{{ path('admins') }}" class="waves-effect waves-primary">
                            <i class="ti-user"></i><span> Admins </span></a>
                    </li>
                    <li class="has_sub">
                        <a href="javascript:void(0);" class="waves-effect waves-primary"><i class="ti-layers-alt"></i>
                            <span> Courses </span> <span class="menu-arrow"></span> </a>
                        <ul class="list-unstyled">
                            <li><a href="{{ path('newCourse') }}">New course</a></li>
                            <li><a href="{{ path('courses') }}">Courses</a></li>
                        </ul>
                    </li>
                </ul>
                <div class="clearfix"></div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>

    <div class="content-page">
        {% block content %}
        {% endblock %}
        <footer class="footer text-right">
            {{ footNote }}
        </footer>
    </div>

</div>

{% block scripts %}
<script> var resizefunc = []; </script>

{# plugins #}
<script src="{{ asset('static/js/jquery.min.js') }}"></script>
<script src="{{ asset('static/js/popper.min.js') }}"></script>
<script src="{{ asset('static/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('static/js/detect.js') }}"></script>
<script src="{{ asset('static/js/fastclick.js') }}"></script>
<script src="{{ asset('static/js/jquery.slimscroll.js') }}"></script>
<script src="{{ asset('static/js/jquery.blockUI.js') }}"></script>
<script src="{{ asset('static/js/waves.js') }}"></script>
<script src="{{ asset('static/js/wow.min.js') }}"></script>
<script src="{{ asset('static/js/jquery.nicescroll.js') }}"></script>
<script src="{{ asset('static/js/jquery.scrollTo.min.js') }}"></script>
<script src="{{ asset('static/js/switchery.min.js') }}"></script>

{# counter up #}
<script src="{{ asset('static/js/jquery.waypoints.min.js') }}"></script>
<script src="{{ asset('static/js/jquery.counterup.min.js') }}"></script>

{# page js #}
<script src="{{ asset('static/js/jquery.dashboard.js') }}"></script>

{# required datatable js #}
<script src="{{ asset('static/js/jquery.dataTables.min.js') }}"></script>
<script src="{{ asset('static/js/dataTables.bootstrap4.min.js') }}"></script>

{# buttons examples #}
<script src="{{ asset('static/js/dataTables.buttons.min.js') }}"></script>
<script src="{{ asset('static/js/buttons.bootstrap4.min.js') }}"></script>
<script src="{{ asset('static/js/jszip.min.js') }}"></script>
<script src="{{ asset('static/js/pdfmake.min.js') }}"></script>
<script src="{{ asset('static/js/vfs_fonts.js') }}"></script>
<script src="{{ asset('static/js/buttons.html5.min.js') }}"></script>
<script src="{{ asset('static/js/buttons.print.min.js') }}"></script>
<script src="{{ asset('static/js/buttons.colVis.min.js') }}"></script>

{# responsive examples #}
<script src="{{ asset('static/js/dataTables.responsive.min.js') }}"></script>
<script src="{{ asset('static/js/responsive.bootstrap4.min.js') }}"></script>

{# custom main Js #}
<script src="{{ asset('static/js/jquery.core.js') }}"></script>
<script src="{{ asset('static/js/jquery.app.js') }}"></script>

<script type="text/javascript">
    jQuery(document).ready(function($)
    {
        $('.counter').counterUp({
            delay: 100,
            time: 1200
        });

        $('#timetables_datatable').DataTable({
            "processing": true,
            "serverSide": true,
            "ajax": "{{ path('apiTimetables') }}"
        });
    });
</script>
{% endblock %}
</body>
</html>
{'fraction_non_alphanumeric': 0.20412496208674552, 'fraction_numerical': 0.002375897280355879, 'mean_word_length': 1.7423066260049902, 'pattern_counts': {'":': 3, '<': 600, '<?xml version=': 0, '>': 600, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3678127', 'n_tokens_mistral': 5762, 'n_tokens_neox': 5505, 'n_words': 1080}