2022-01-04 21:41:41 +01:00
|
|
|
<!doctype html>
|
2022-01-11 16:08:32 +01:00
|
|
|
<html lang="en">
|
2022-01-04 21:41:41 +01:00
|
|
|
|
|
|
|
<head>
|
2022-01-11 16:08:32 +01:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
2022-01-04 21:41:41 +01:00
|
|
|
|
2022-01-11 16:08:32 +01:00
|
|
|
<title>Web Terminal</title>
|
2022-01-04 21:41:41 +01:00
|
|
|
|
2022-01-11 16:08:32 +01:00
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
<link href="external/bootstrap.min.css" rel="stylesheet">
|
2022-01-11 17:23:21 +01:00
|
|
|
</script>
|
2022-01-04 21:41:41 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2022-01-11 17:23:21 +01:00
|
|
|
<header>
|
|
|
|
<nav class="navbar navbar-dark bg-dark shadow-sm">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<a class="navbar-brand">
|
|
|
|
<img src="logo.svg" style="margin-left: 3em;margin-right: 3em;" width="48" height="36"
|
|
|
|
class="d-inline-block align-text-top" />
|
|
|
|
<strong>A web-based terminal emulator</strong></a>
|
|
|
|
<a class="btn btn-primary float-end" href="{{.url}}" role="button">New Session</a>
|
2022-01-11 16:08:32 +01:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<main>
|
2022-01-11 17:23:21 +01:00
|
|
|
<div class="container" style="margin-top:1em;">
|
|
|
|
<div class="card-deck row justify-content-center">
|
2022-01-11 16:08:32 +01:00
|
|
|
|
2022-01-11 17:23:21 +01:00
|
|
|
<!-- repeat this for each interactive session -->
|
|
|
|
<div class="card shadow-sm border-info bg-light mb-3" style="width: 16rem; margin:1em;">
|
2022-01-11 16:08:32 +01:00
|
|
|
<div class="card-body">
|
2022-01-11 17:23:21 +01:00
|
|
|
<h5 class="card-title">Interactive session</h5>
|
|
|
|
<p class="card-text">From {{.ip}}, running {{.cmd}}</p>
|
|
|
|
<a class="btn btn-secondary btn-sm float-end" href="{{.url}}" role="button">View</a>
|
2022-01-11 16:08:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-11 17:23:21 +01:00
|
|
|
|
2022-01-11 16:08:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
2022-01-04 21:41:41 +01:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|