0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -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 {
background-color: $main-ui-color;
background-color: $primary-ui-bg;
border: 0;
color: $color-white;
color: $main-ui-color;
}
}

View file

@ -64,13 +64,20 @@
(html
[:main.dashboard-main
(header)
[:section.dashboard-content
[:ul
[:li {:on-click #(r/go :settings/profile)} "Profile"]
[:li {:on-click #(r/go :settings/password)} "Password"]
[:li {:on-click #(r/go :settings/notifications)} "Notifications"]]
[:section.dashboard-grid.library
[:span "TODO 2"]]]]))
[:section.dashboard-content.user-settings
[:div.user-settings-nav
[:ul.user-settings-nav-inside
[:li {:on-click #(r/go :settings/profile)} "Profile"]
[:li.current {:on-click #(r/go :settings/password)} "Password"]
[:li {:on-click #(r/go :settings/notifications)} "Notifications"]]]
[: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
(mx/component