49 lines
1.5 KiB
HTML
49 lines
1.5 KiB
HTML
<!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="started-alert" class="alert alert-info" style="display: none;">
|
|
<strong>Job running...</strong>
|
|
it's ID is <code id="jobid"></code>
|
|
</div>
|
|
|
|
<div id="error-alert" class="alert alert-danger" style="display: none;">
|
|
<strong>An error occurs:</strong>
|
|
<span id="errortxt"></span>
|
|
</div>
|
|
|
|
<div id="volumes-card" class="mb-3 card" style="display: none;">
|
|
<h5 class="card-header">
|
|
Volumes
|
|
</h5>
|
|
<div id="volumes" class="list-group">
|
|
</div>
|
|
</div>
|
|
|
|
<div id="logs-card" class="mb-3 card" style="display: none;">
|
|
<h5 class="card-header">
|
|
Here is your container logs output:
|
|
</h5>
|
|
<pre id="logs" class="mb-0 card-body bg-dark text-light"></pre>
|
|
</div>
|
|
|
|
<script src="/js/minifass.js"></script>
|
|
</body>
|
|
</html>
|