Start minimalist UI
This commit is contained in:
parent
5598d78e16
commit
cce72978bf
8 changed files with 123 additions and 0 deletions
33
ui/index.html
Normal file
33
ui/index.html
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Minifaas</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="container">
|
||||
<div class="mt-2 jumbotron">
|
||||
<h1>This will launch a docker container</h1>
|
||||
<hr>
|
||||
<form onsubmit="return runctnr()">
|
||||
<button type="submit" class="btn btn-primary" id="btnlaunch">
|
||||
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true" id="btnlaunchspinner" style="display: none"></span>
|
||||
Launch!
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="logs-card" class="card" style="display: none;">
|
||||
<h5 class="card-header">
|
||||
Here is your container logs output:
|
||||
</h5>
|
||||
<pre id="logs" class="card-body bg-dark text-light">
|
||||
test
|
||||
test
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<script src="/js/minifass.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in a new issue