Skip to content
Extraits de code Groupes Projets
log.ejs 2,01 Kio
<%# vim: ts=4 syntax=html
    The template for the main page %>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title><%= app %>'s Logs</title>
        <script>
            window.$ = window.jQuery = require('../style/jquery/jquery-3.5.1.js');
        </script>
        <script src="../style/bootstrap-4.5.2-dist/js/bootstrap.min.js"></script>
        <link rel="stylesheet" href="../style/bootstrap-4.5.2-dist/css/bootstrap.min.css" />
        <link rel="stylesheet" href="../style/fontawesome-free-5.15.1-web/css/all.min.css" />
        <script src="./log.js"></script>
        <script></script>
        <style>
            ::-webkit-scrollbar { width: 13px; }
            ::-webkit-scrollbar-track { background: #343a40; } /* Background */
            ::-webkit-scrollbar-thumb { background: #4e5d6c; } /* Scrollbar */
            ::-webkit-scrollbar-thumb:hover { background: #df691a; } /* Scrollbar on hover */
        </style>
    </head>
    <body style='overflow-y: scroll; height: 100%; overflow-x: hidden;'>
        <div style='border-color: #abb6c2; border-style: solid; border-top: none; height: 100%;'>
            <table class='table table-sm' style='margin: 0px;'>
                <thead class='thead-light'
                       style='position: sticky; position: -webkit-sticky; top: 0; z-index: 999; -webkit-app-region: drag'>
                    <tr style='-webkit-app-region: drag'>
                        <th style='border: 0px; position: sticky; position: -webkit-sticky; top: 0; z-index: 999; -webkit-app-region: drag'>Timestamp</th>
                        <th style='border: 0px; position: sticky; position: -webkit-sticky; top: 0; z-index: 999; -webkit-app-region: drag'>Label</th>
                        <th style='border: 0px; position: sticky; position: -webkit-sticky; top: 0; z-index: 999; -webkit-app-region: drag'>Message</th>
                    </tr>
                </thead>
                <tbody id='body'>
                </tbody>
            </table>
        </div>
    </body>
</html>