Update Browser build

This commit is contained in:
bom 2023-01-20 14:17:55 +01:00
parent 4640a2e762
commit c67aab1b56
2 changed files with 4 additions and 39 deletions

View file

@ -11,43 +11,7 @@
</head> </head>
<body> <body>
<div class="container jumbotron"> <div id="c4k-content"></div>
<form class="needs-validation" id="form">
<label for="fqdn" class="form-label">Your fqdn:</label>
<input class="form-control" type="text" name="fqdn" id="fqdn" value="your.domain.com">
<div class="invalid-feedback">
<pre id="fqdn-validation"></pre>
</div>
<br>
<label for="issuer" class="form-label">(Optional) Your issuer prod/staging:</label>
<input class="form-control" type="text" name="issuer" id="issuer" value="">
<div class="invalid-feedback">
<pre id="issuer-validation"></pre>
</div>
<br><br>
<label for="auth" class="form-label">Your auth.edn:</label>
<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"}
</textarea>
<div class="invalid-feedback">
<pre id="auth-validation"></pre>
</div>
<br><br>
<button type="button" id="generate-button" class="btn btn-primary">
Generate c4k yaml
</button>
</form><br><br>
<div id="c4k-keycloak-output">
<label for="output" class="form-label">Your c4k deployment.yaml:</label>
<textarea name="output" id="output" class="form-control" rows="25">
</textarea>
</div>
</div>
<script src="js/main.js"></script> <script src="js/main.js"></script>
</body> </body>

View file

@ -2,9 +2,10 @@
"src/main/cljs" "src/main/cljs"
"src/main/resources" "src/main/resources"
"src/test/cljc" "src/test/cljc"
"src/test/cljs"
"src/test/resources"] "src/test/resources"]
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "0.1.0-SNAPSHOT"]] :dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "5.0.1"]
:dev-http {8080 "public"} [hickory "0.7.1"]]
:builds {:frontend {:target :browser :builds {:frontend {:target :browser
:modules {:main {:init-fn dda.c4k-keycloak.browser/init}} :modules {:main {:init-fn dda.c4k-keycloak.browser/init}}
:release {} :release {}