Use database as apps source and add deployments UI
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Deployment {{ deployment.id }}</title>
|
||||
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
padding: 30px;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #111;
|
||||
color: #0f0;
|
||||
padding: 20px;
|
||||
overflow-x: auto;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>
|
||||
<a href="/portal/deployments">
|
||||
← Back to deployments
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<h1>Deployment #{{ deployment.id }}</h1>
|
||||
|
||||
<div class="section">
|
||||
<strong>App:</strong> {{ deployment.app_id }}<br>
|
||||
<strong>Status:</strong> {{ deployment.status }}<br>
|
||||
<strong>Kind:</strong> {{ deployment.kind }}<br>
|
||||
<strong>Started:</strong> {{ deployment.started_at }}<br>
|
||||
<strong>Finished:</strong> {{ deployment.finished_at }}<br>
|
||||
<strong>Return code:</strong> {{ deployment.returncode }}
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h2>STDOUT</h2>
|
||||
<pre>{{ deployment.stdout }}</pre>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h2>STDERR</h2>
|
||||
<pre>{{ deployment.stderr }}</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user