ui and code style tweaks

integration-tests
Josha von Gizycki 6 years ago
parent 39c1b06ff5
commit d56f20dab3

@ -146,6 +146,14 @@ form {
}
}
form.inline {
display: inline-grid;
input {
grid-column: 1 / span 2;
}
}
table {
width: 100%;
border-collapse: collapse;

@ -33,4 +33,4 @@
(GET "/schema" [] view-schema/overview!)
(GET "/schema/:uuid" [uuid :as req] (show-schema! uuid (:session req)))
(POST "/schema/new" [] new!)
(DELETE "/schema/:uuid/delete" [uuid :as req] (delete-schema! uuid (:session req))))
(DELETE "/schema/:uuid" [uuid :as req] (delete-schema! uuid (:session req))))

@ -50,6 +50,7 @@
[:li (:name attr)])]
[:h2 "Mute pali"]
(hform/form-to
[:delete (str "/schema/" (:uuid schema) "/delete")]
{:class "inline"}
[:delete (str "/schema/" (:uuid schema))]
(anti-forgery-field)
(hform/submit-button "Pakala!"))]))

Loading…
Cancel
Save