wg-portal/frontend/index.html

36 lines
1.2 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link href="/favicon.ico" rel="icon" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>WireGuard Portal</title>
<meta content="WireGuard VPN Management Portal" name="description">
<script>
// global config, will be overridden by backend if available
let WGPORTAL_BACKEND_BASE_URL="http://localhost:5000/api/v0";
let WGPORTAL_VERSION="unknown";
let WGPORTAL_SITE_TITLE="WireGuard Portal";
let WGPORTAL_SITE_COMPANY_NAME="WireGuard Portal";
</script>
<script src="/api/v0/config/frontend.js"></script>
</head>
<body class="d-flex flex-column min-vh-100">
<noscript>
<strong>We're sorry but this site doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<!-- vue teleport will add toasts here -->
<div id="toasts"></div>
<!-- main application -->
<div id="app"></div>
<!-- vue teleport will add modals and dialogs here -->
<div id="modals"></div>
<div id="dialogs"></div>
<script src="/src/main.js" type="module"></script>
</body>
</html>