c4k-keycloak/public/index.html

44 lines
1.5 KiB
HTML
Raw Normal View History

2021-05-17 07:28:01 +00:00
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
2021-06-05 15:49:05 +00:00
<title>c4k-keycloak</title>
2021-05-17 07:28:01 +00:00
<link href="https://domaindrivenarchitecture.org/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="https://domaindrivenarchitecture.org/css/fonts/fontawesome/fontawesome.css" rel="stylesheet" type="text/css" />
<link href="https://domaindrivenarchitecture.org/css/custom.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container jumbotron">
<form class="needs-validation" id="form">
2021-06-05 15:49:05 +00:00
<label for="config" class="form-label">Your fqdn:</label>
<textarea name="fqdn" id="fqdn" class="form-control" rows="1">
your.domain.com
</textarea>
<div class="invalid-feedback"><pre id="config-validation"></pre></div>
<br><br>
2021-05-17 07:28:01 +00:00
<label for="auth" class="form-label">Your auth.edn:</label>
2021-06-05 15:49:05 +00:00
<textarea name="auth" id="auth" class="form-control" rows="5">
{:keycloak-admin-user "testuser"
:keycloak-admin-password "testpassword"
:postgres-db-user "keycloakuser"
:postgres-db-password "testdbpassword"}
2021-05-17 07:28:01 +00:00
</textarea>
<div class="invalid-feedback"><pre id="auth-validation"></pre></div>
<br><br>
<button type="button" id="generate-button" class="btn btn-primary">
2021-06-05 15:27:42 +00:00
Generate c4k yaml
2021-05-17 07:28:01 +00:00
</button></form><br><br>
2021-06-05 15:49:05 +00:00
<div id="c4k-keycloak-output">
2021-06-05 15:27:42 +00:00
<label for="output" class="form-label">Your c4k deployment.yaml:</label>
2021-06-05 15:49:05 +00:00
<textarea name="output" id="output" class="form-control" rows="25">
2021-05-17 07:28:01 +00:00
</textarea>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>