witty/assets/index.html

47 lines
1.5 KiB
HTML
Raw Normal View History

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 -->
2022-01-11 21:22:24 +01:00
<link href="/assets/external/bootstrap.min.css" rel="stylesheet">
<link href="/assets/main.css" rel="stylesheet">
2022-01-04 21:41:41 +01:00
<body>
2022-01-11 17:23:21 +01:00
<header>
2022-01-11 21:22:24 +01:00
<nav class="navbar navbar-dark bg-dark shadow-sm navbar-xs">
2022-01-11 17:23:21 +01:00
<div class="container-fluid">
<a class="navbar-brand">
2022-01-11 21:22:24 +01:00
<img src="/assets/logo.svg" style="margin-left: 2em;margin-right: 1em;" height="24"
class="d-inline-block align-text-top">
Web-based Terminal Emulator
<a class="btn btn-primary btn-sm float-end" href="/new" 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>