groups for webview
This commit is contained in:
parent
e1a12fbca8
commit
7ea442adae
3 changed files with 20 additions and 15 deletions
|
@ -5,7 +5,7 @@
|
||||||
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
||||||
:dependencies [[org.clojure/clojure "1.11.1"]
|
:dependencies [[org.clojure/clojure "1.11.1"]
|
||||||
[org.clojure/tools.reader "1.3.6"]
|
[org.clojure/tools.reader "1.3.6"]
|
||||||
[org.domaindrivenarchitecture/c4k-common-clj "3.2.0"]
|
[org.domaindrivenarchitecture/c4k-common-clj "3.3.0"]
|
||||||
[hickory "0.7.1"]]
|
[hickory "0.7.1"]]
|
||||||
:target-path "target/%s/"
|
:target-path "target/%s/"
|
||||||
:source-paths ["src/main/cljc"
|
:source-paths ["src/main/cljc"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"src/test/cljc"
|
"src/test/cljc"
|
||||||
"src/test/cljs"
|
"src/test/cljs"
|
||||||
"src/test/resources"]
|
"src/test/resources"]
|
||||||
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "3.2.0"]
|
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "3.3.0"]
|
||||||
[hickory "0.7.1"]]
|
[hickory "0.7.1"]]
|
||||||
:builds {:frontend {:target :browser
|
:builds {:frontend {:target :browser
|
||||||
:modules {:main {:init-fn dda.c4k-jitsi.browser/init}}
|
:modules {:main {:init-fn dda.c4k-jitsi.browser/init}}
|
||||||
|
|
|
@ -3,22 +3,27 @@
|
||||||
[clojure.tools.reader.edn :as edn]
|
[clojure.tools.reader.edn :as edn]
|
||||||
[dda.c4k-jitsi.core :as core]
|
[dda.c4k-jitsi.core :as core]
|
||||||
[dda.c4k-jitsi.jitsi :as jitsi]
|
[dda.c4k-jitsi.jitsi :as jitsi]
|
||||||
[dda.c4k-common.browser :as br]
|
[dda.c4k-common.browser :as br]))
|
||||||
[dda.c4k-common.postgres :as pgc]))
|
|
||||||
|
|
||||||
(defn generate-content
|
(defn generate-content []
|
||||||
[]
|
(cm/concat-vec
|
||||||
(into [] (concat [(assoc (br/generate-needs-validation) :content
|
[(assoc
|
||||||
(into [] (concat (br/generate-input-field "fqdn" "Your fqdn:" "jitsi.prod.meissa-gmbh.de")
|
(br/generate-needs-validation) :content
|
||||||
(br/generate-input-field "issuer" "(Optional) Your issuer prod/staging:" "")
|
(cm/concat-vec
|
||||||
[(br/generate-br)]
|
(br/generate-group
|
||||||
|
"domain"
|
||||||
|
(cm/concat-vec
|
||||||
|
(br/generate-input-field "fqdn" "Your fqdn:" "jitsi.prod.meissa-gmbh.de")
|
||||||
|
(br/generate-input-field "issuer" "(Optional) Your issuer prod/staging:" "")))
|
||||||
|
(br/generate-group
|
||||||
|
"credentials"
|
||||||
(br/generate-text-area "auth" "Your auth.edn:" "{:jvb-auth-password \"jitsi\"
|
(br/generate-text-area "auth" "Your auth.edn:" "{:jvb-auth-password \"jitsi\"
|
||||||
:jicofo-auth-password \"jicofo-password\"
|
:jicofo-auth-password \"jicofo-password\"
|
||||||
:jicofo-component-secret \"jicofo-component-secrect\"}"
|
:jicofo-component-secret \"jicofo-component-secrect\"}"
|
||||||
"5")
|
"5"))
|
||||||
[(br/generate-br)]
|
[(br/generate-br)]
|
||||||
(br/generate-button "generate-button" "Generate c4k yaml"))))]
|
(br/generate-button "generate-button" "Generate c4k yaml")))]
|
||||||
(br/generate-output "c4k-jitsi-output" "Your c4k deployment.yaml:" "25"))))
|
(br/generate-output "c4k-jitsi-output" "Your c4k deployment.yaml:" "25")))
|
||||||
|
|
||||||
(defn generate-content-div
|
(defn generate-content-div
|
||||||
[]
|
[]
|
||||||
|
|
Loading…
Reference in a new issue