mirror of
https://github.com/syssecfsu/witty.git
synced 2024-11-01 17:49:26 +01:00
48 lines
1.4 KiB
HTML
48 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<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="">
|
|
|
|
<title>Web Terminal</title>
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
<link href="external/bootstrap.min.css" rel="stylesheet">
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<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>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main>
|
|
<div class="container" style="margin-top:1em;">
|
|
<div class="card-deck row justify-content-center">
|
|
|
|
<!-- repeat this for each interactive session -->
|
|
<div class="card shadow-sm border-info bg-light mb-3" style="width: 16rem; margin:1em;">
|
|
<div class="card-body">
|
|
<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>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
|
|
</html> |