cockpit/examples/long-running-process/index.html

25 lines
862 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Launch and reattach to long-running process</title>
<meta charset="utf-8">
<link href="../base1/cockpit.css" type="text/css" rel="stylesheet">
<link href="long-running.css" type="text/css" rel="stylesheet">
<script src="../base1/cockpit.js"></script>
<script type="module" src="long-running-process.js"></script>
<script type="module" src="index.js"></script>
</head>
<body>
<div class="pf-c-page">
<main class="pf-c-page__main" tabindex="-1">
<section class="pf-c-page__main-section pf-m-light">
<p><label>State:</label> <span id="state"></span></p>
<p><input id="command" type="text" /> <button id="run" disabled>Start</button></p>
<pre id="output"></pre>
</section>
</main>
</div>
</body>
</html>