0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

add password settings layout

This commit is contained in:
elhombretecla 2016-03-06 11:37:16 +01:00
parent 7a732de656
commit b9d43cce24
2 changed files with 16 additions and 9 deletions

View file

@ -24,9 +24,9 @@
} }
&.current { &.current {
background-color: $main-ui-color; background-color: $primary-ui-bg;
border: 0; border: 0;
color: $color-white; color: $main-ui-color;
} }
} }

View file

@ -64,13 +64,20 @@
(html (html
[:main.dashboard-main [:main.dashboard-main
(header) (header)
[:section.dashboard-content [:section.dashboard-content.user-settings
[:ul [:div.user-settings-nav
[:li {:on-click #(r/go :settings/profile)} "Profile"] [:ul.user-settings-nav-inside
[:li {:on-click #(r/go :settings/password)} "Password"] [:li {:on-click #(r/go :settings/profile)} "Profile"]
[:li {:on-click #(r/go :settings/notifications)} "Notifications"]] [:li.current {:on-click #(r/go :settings/password)} "Password"]
[:section.dashboard-grid.library [:li {:on-click #(r/go :settings/notifications)} "Notifications"]]]
[:span "TODO 2"]]]]))
[:section.user-settings-content
[:span.user-settings-label "Change password"]
[:input.input-text {:type "password" :placeholder "Old password"}]
[:input.input-text {:type "password" :placeholder "New password"}]
[:input.input-text {:type "password" :placeholder "Confirm password"}]
[:input.btn-primary {:type "submit" :value "Update settings"}]
]]]))
(def ^:static password-page (def ^:static password-page
(mx/component (mx/component