Skip to content

Commit

Permalink
Add Bootstrap styles to data centre location form
Browse files Browse the repository at this point in the history
Updated the form to use BootStrap to make it more usable and have a better
aesthetic.
  • Loading branch information
practicalli-johnny committed Oct 23, 2018
1 parent 9b98af4 commit 94c301a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/status_monitor/handler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,13 @@
[:div {:class "col-md-12"}
[:h2 "ACME Infrastructure Locations"]
[:form {:action "/dashboard"}
[:td
[:select
[:div {:class "form-group"}
[:label "Choose data centre location to view"]
[:select {:class "form-control"}
(for [location data-centre-locations]
[:option {:value (:name location)} (:name location)])]
[:input {:type "submit"} "Monitor Location"]]]]]
[:option {:value (:name location)} (:name location)])]]
(web-form/submit-button {:class "btn btn-outline-primary" :name "submit"} "View Dashboard")
]]]

] ;; End of :div container
] ;; End of :body
Expand Down

0 comments on commit 94c301a

Please sign in to comment.