This commit is contained in:
Zhi Wang 2022-01-11 11:23:21 -05:00
parent 1af9985b86
commit 91a18a3ff8
2 changed files with 17 additions and 43 deletions

View File

@ -11,61 +11,35 @@
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->
<link href="external/bootstrap.min.css" rel="stylesheet"> <link href="external/bootstrap.min.css" rel="stylesheet">
<script src=
"external/bootstrap.min.js">
</script> </script>
</head> </head>
<body> <body>
<header>
<nav class="navbar navbar-dark bg-dark shadow-sm">
<header style="margin-bottom: 3em;"> <div class="container-fluid">
<nav class="navbar navbar-light bg-light"> <a class="navbar-brand">
<div class="container-fluid justify-content-center "> <img src="logo.svg" style="margin-left: 3em;margin-right: 3em;" width="48" height="36"
<span class="navbar-brand clearfix "> class="d-inline-block align-text-top" />
<img src="logo.svg" alt="" width="48" height="36" class="d-inline-block align-text-top" /> <strong>A web-based terminal emulator</strong></a>
<strong> &nbsp &nbsp &nbsp &nbspWeb Terminal</strong> <a class="btn btn-primary float-end" href="{{.url}}" role="button">New Session</a>
</span>
</div> </div>
</nav> </nav>
</header> </header>
<main> <main>
<div class="container" style="margin-top:1em;">
<div class="card-deck row justify-content-center">
<div class="container"> <!-- repeat this for each interactive session -->
<h1 style="text-align:center;color:green;"> <div class="card shadow-sm border-info bg-light mb-3" style="width: 16rem; margin:1em;">
GeeksforGeeks
</h1>
<form>
<div class="form-group">
<label for="">Enter Your Name:</label>
<input class="form-control"
type="text"
placeholder="Input Your Name Here">
</div>
<div class="form-group">
<button class="btn btn-success btn-lg float-right"
type="submit">
Submit
</button>
</div>
</form>
</div>
<div class="container">
<div class="row">
<div class="card" style="width: 18rem;">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Card title</h5> <h5 class="card-title">Interactive session</h5>
<h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6> <p class="card-text">From {{.ip}}, running {{.cmd}}</p>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's <a class="btn btn-secondary btn-sm float-end" href="{{.url}}" role="button">View</a>
content.</p>
<a href="#" class="card-link">Card link</a>
<a href="#" class="card-link">Another link</a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</main> </main>

0
assets/logo.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB