0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 01:01:30 -05:00

changes in settings inputs

This commit is contained in:
elhombretecla 2016-03-11 21:39:40 +01:00
parent dc66bbba9f
commit 8ec429f0cf
2 changed files with 10 additions and 6 deletions

View file

@ -20,7 +20,7 @@
(defn messages-render (defn messages-render
[] []
(html (html
[:div.message.error [:div.message.error.hide
[:div.message-body [:div.message-body
[:span.close i/close] [:span.close i/close]
[:span "Something wrong has happened"]]])) [:span "Something wrong has happened"]]]))

View file

@ -38,15 +38,19 @@
[:form.avatar-form [:form.avatar-form
[:img {:src "images/favicon.png" :border "0"}] [:img {:src "images/favicon.png" :border "0"}]
[:input {:type "file"}]] [:input {:type "file"}]]
[:span.user-settings-label "Name"] [:span.user-settings-label "Name, username and email"]
[:input.input-text {:type "text" :placeholder "Your name"}] [:input.input-text {:type "text" :placeholder "Your name"}]
[:span.user-settings-label "Username"]
[:input.input-text {:type "text" :placeholder "Your username"}] [:input.input-text {:type "text" :placeholder "Your username"}]
[:span.user-settings-label "Email"]
[:input.input-text {:type "email" :placeholder "Your email"}] [:input.input-text {:type "email" :placeholder "Your email"}]
[:span.user-settings-label "Choose a color theme"] [:span.user-settings-label "Choose a color theme"]
[:span "TODO RADIO BUTTONS"] [:div.input-radio.radio-primary
[:input.btn-primary {:type "submit" :value "Update settings"}] [:input {:type "radio" :id "light-theme" :name "light theme" :value "none"}]
[:label {:for "light-theme" :value "None"} "Light theme"]
[:input {:type "radio" :id "dark-theme" :name "dark theme" :value "every-hour"}]
[:label {:for "dark-theme" :value "Every hour"} "Dark theme"]
[:input {:type "radio" :id "contrast-theme" :name "contrast theme" :value "every-day"}]
[:label {:for "contrast-theme" :value "Every day"} "High-contrast theme"]]
[:input.btn-primary {:type "submit" :value "Update settings"}]
]]])) ]]]))
(def ^:static profile-page (def ^:static profile-page