Spaces:
Build error
Build error
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Active Sessions</title> | |
| <link rel="stylesheet" href="https://cdn.datatables.net/1.13.7/css/jquery.dataTables.min.css"> | |
| <style> | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | |
| margin: 20px; | |
| background-color: #fff; | |
| } | |
| h1 { | |
| margin-bottom: 20px; | |
| color: #333; | |
| font-size: 1.4em; | |
| } | |
| #sessionsTable { | |
| font-size: 0.9em; | |
| width: 100%; | |
| } | |
| #sessionsTable thead th { | |
| background-color: #f5f5f5; | |
| font-weight: 600; | |
| } | |
| #sessionsTable tbody tr:nth-child(even) { background-color: #f9f9f9; } | |
| #sessionsTable tbody tr:hover { background-color: #f0f0f0; } | |
| td:last-child { white-space: nowrap; } | |
| .dataTables_wrapper .dataTables_paginate .paginate_button { padding: 0.3em 0.8em; } | |
| #footer-actions { margin-top: 20px; } | |
| #end-all-btn { | |
| padding: 6px 16px; | |
| background: #d9534f; | |
| color: white; | |
| border: none; | |
| border-radius: 3px; | |
| cursor: pointer; | |
| font-size: 0.9em; | |
| } | |
| #end-all-btn:hover { background: #c9302c; } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>Active Sessions</h1> | |
| <table id="sessionsTable" class="display stripe hover"> | |
| <thead> | |
| <tr> | |
| <th>Session ID</th> | |
| <th>Age</th> | |
| <th>Last Access</th> | |
| <th>Owner</th> | |
| <th>Action</th> | |
| </tr> | |
| </thead> | |
| <tbody></tbody> | |
| </table> | |
| <div id="footer-actions"></div> | |
| <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> | |
| <script src="https://cdn.datatables.net/1.13.7/js/jquery.dataTables.min.js"></script> | |
| <script type="module" src="/api/plugins/active-sessions/static/view.js"></script> | |
| </body> | |
| </html> | |