123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="/css/fonts.css" rel="stylesheet">
- <link rel="stylesheet" href="/css/bulma.min.css" />
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous">
- <script src="/js/jquery.min.js"></script>
- <link rel="stylesheet" type="text/css" href="/css/dt.min.css">
- <script type="text/javascript" charset="utf8" src="/js/dt.min.js"></script>
- <script src="/js/dt.js"></script>
- <script src="/js/common.js"></script>
- <link rel="stylesheet" type="text/css" href="/css/style.css">
- <title>EdgeVPN - Machines index</title>
- </head>
- <body>
- <nav class="navbar is-light is-spaced has-shadow" role="navigation" aria-label="main navigation">
- <div class="navbar-brand">
- <a class="navbar-item" href="/">
- <img src="/images/logo.png" >
- EdgeVPN
- </a>
-
- <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="menu">
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- </a>
- </div>
- <div id="menu" class="navbar-menu">
- <div class="navbar-start">
- <a class="navbar-item" href="/machines.html">
- <i class="fas fa-server"></i>
- Machines
- </a>
- <a class="navbar-item" href="/services.html">
- <i class="fas fa-project-diagram"></i>
- Services
- </a>
- <a class="navbar-item" href="/files.html">
- <i class="fas fa-file-upload"></i>
- Files
- </a>
- <a class="navbar-item" href="/users.html">
- <i class="fas fa-user-clock"></i>
- Users
- </a>
- <a class="navbar-item" href="/blockchain.html">
- <i class="fas fa-dice-d20"></i>
- Blockchain
- </a>
- </div>
- <div class="navbar-end">
- <div class="navbar-item">
- <div class="buttons">
- <a class="button is-link" href="https://github.com/mudler/edgevpn" target=_blank>
- <strong><i class="fab fa-github-alt"></i> GitHub</strong>
- </a>
- <a class="button is-light" href="https://github.com/mudler/edgevpn/issues/new" target=_blank>
- <i class="fas fa-bug"></i> Report issue
- </a>
- </div>
- </div>
- </div>
- </div>
- </nav>
- <section class="hero">
- <div class="hero-body">
- <div class="container">
- <h1 class="title">
- <i class="fas fa-server"></i> Connected Machines
- </h1>
- <h2 class="subtitle">
- Accessible via api at <a href="/api/machines" target=_blank><code> /api/machines </code></a>
- </h2>
- </div>
- </div>
- </section>
- <section class="section">
- <div class="container">
- <table data-toggle="table"
- data-search="true"
- data-show-columns="true"
- id="table" >
- <thead>
-
- <tr>
- <th ><abbr title="ip">Address</abbr></th>
- <th ><abbr title="peer">PeerID</abbr></th>
- <th >Hostname</th>
- <th ><abbr title="OS">OS</abbr></th>
- <th><abbr title="Arch">Architecture</abbr></th>
- <th><abbr title="Version">Version</abbr></th>
- </tr>
- </thead>
- </table>
- </div>
- </section>
-
- <script type="text/javascript">
- $(document).ready(function() {
- var table = $('#table').DataTable( {
- "processing": true,
- "ajax": {
- "url": "/api/machines",
- "type": "GET",
- "dataSrc": '',
- },
- 'language':{
- "loadingRecords": "",
- "processing": ""
- },
- "columns": [
- { "data": "Address" },
- { "data": "PeerID" },
- { "data": "Hostname" },
- { "data": "OS" },
- { "data": "Arch" },
- { "data": "Version" },
- ],
- } );
- setInterval( function () {
- table.ajax.reload();
- }, 5000 ); // 5 s
- } );
- </script>
- <footer class="footer">
- <div class="content has-text-centered">
- <p>
- <strong>EdgeVPN</strong> by <a href="https://github.com/mudler/edgevpn">Ettore Di Giacinto</a>. The source code is licensed
- <a href="https://github.com/mudler/edgevpn/blob/master/LICENSE">GPLv3</a>.
- Logo originally made by <a href="https://www.flaticon.com/authors/uniconlabs" title="Uniconlabs">Uniconlabs</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>
- </p>
- </div>
- </footer>
- </body>
- </html>
|