<?php
/**
 * Core Offline Assets Library
 * Call render_core_css() in the <head> of your views.
 * Call render_core_js() before the closing </body> tag of your views.
 */

function render_core_css() {
    echo '
    <!-- Core Offline CSS -->
    <link href="/rimax/application/rimaxassets/css/bootstrap.min.css" rel="stylesheet">
    <link href="/rimax/application/rimaxassets/css/all.min.css" rel="stylesheet">
    <link href="/rimax/application/rimaxassets/css/css2.css" rel="stylesheet">
    <link href="/rimax/application/rimaxassets/css/dataTables.bootstrap5.min.css" rel="stylesheet">
    ';
}

function render_core_js() {
    // Note: Preferring jquery-3.7.1 over 3.6.0, and standard bootstrap.bundle.min.js
    echo '
    <!-- Core Offline JS -->
    <script src="/rimax/application/rimaxassets/js/jquery-3.7.1.min.js"></script>
    <script src="/rimax/application/rimaxassets/js/bootstrap.bundle.min.js"></script>
    <script src="/rimax/application/rimaxassets/js/jquery.dataTables.min.js"></script>
    <script src="/rimax/application/rimaxassets/js/dataTables.bootstrap5.min.js"></script>
    <script src="/rimax/application/rimaxassets/js/select2.min.js"></script>
    <script src="/rimax/application/rimaxassets/js/chart.js"></script>
    ';
}
?>