added br tags
This commit is contained in:
parent
ab5eb367b0
commit
a9bb71c88d
1 changed files with 12 additions and 2 deletions
|
@ -85,6 +85,10 @@
|
||||||
:tag :button
|
:tag :button
|
||||||
:content [label]})
|
:content [label]})
|
||||||
|
|
||||||
|
(defn generate-br
|
||||||
|
[]
|
||||||
|
{:type :element, :attrs nil, :tag :br, :content nil})
|
||||||
|
|
||||||
(defn generate-output
|
(defn generate-output
|
||||||
[id
|
[id
|
||||||
label
|
label
|
||||||
|
@ -98,7 +102,6 @@
|
||||||
[]
|
[]
|
||||||
{:type :element, :attrs {:class :needs-validation, :id :form}, :tag :form, :content []})
|
{:type :element, :attrs {:class :needs-validation, :id :form}, :tag :form, :content []})
|
||||||
|
|
||||||
; TODO: add br tags
|
|
||||||
(defn generate-content
|
(defn generate-content
|
||||||
[]
|
[]
|
||||||
(conj
|
(conj
|
||||||
|
@ -107,15 +110,22 @@
|
||||||
(generate-input-field "jira-data-volume-path" "(Optional) Your jira-data-volume-path:" "/var/jira")
|
(generate-input-field "jira-data-volume-path" "(Optional) Your jira-data-volume-path:" "/var/jira")
|
||||||
(generate-input-field "postgres-data-volume-path" "(Optional) Your postgres-data-volume-path:" "/var/postgres")
|
(generate-input-field "postgres-data-volume-path" "(Optional) Your postgres-data-volume-path:" "/var/postgres")
|
||||||
(generate-input-field "restic-repository" "(Optional) Your restic-repository:" "restic-repository")
|
(generate-input-field "restic-repository" "(Optional) Your restic-repository:" "restic-repository")
|
||||||
|
(generate-br)
|
||||||
(generate-input-field "issuer" "(Optional) Your issuer prod/staging:" "")
|
(generate-input-field "issuer" "(Optional) Your issuer prod/staging:" "")
|
||||||
|
(generate-br)
|
||||||
|
(generate-br)
|
||||||
(generate-text-area "auth" "Your auth.edn:" "{:postgres-db-user \" jira \"
|
(generate-text-area "auth" "Your auth.edn:" "{:postgres-db-user \" jira \"
|
||||||
:postgres-db-password \" jira-db-password \"
|
:postgres-db-password \" jira-db-password \"
|
||||||
:aws-access-key-id \" aws-id \"
|
:aws-access-key-id \" aws-id \"
|
||||||
:aws-secret-access-key \" aws-secret \"
|
:aws-secret-access-key \" aws-secret \"
|
||||||
:restic-password \" restic-password \"}"
|
:restic-password \" restic-password \"}"
|
||||||
5)
|
5)
|
||||||
|
(generate-br)
|
||||||
|
(generate-br)
|
||||||
(generate-button "generate-button" "Generate c4k yaml")))]
|
(generate-button "generate-button" "Generate c4k yaml")))]
|
||||||
[(generate-output "c4k-keycloak-output" "Your c4k deployment.yaml:" 25)]))
|
[(generate-br)
|
||||||
|
(generate-br)
|
||||||
|
(generate-output "c4k-keycloak-output" "Your c4k deployment.yaml:" 25)]))
|
||||||
|
|
||||||
(defn find-map
|
(defn find-map
|
||||||
[coll]
|
[coll]
|
||||||
|
|
Reference in a new issue