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:
parent
7a732de656
commit
b9d43cce24
2 changed files with 16 additions and 9 deletions
|
@ -24,9 +24,9 @@
|
|||
}
|
||||
|
||||
&.current {
|
||||
background-color: $main-ui-color;
|
||||
background-color: $primary-ui-bg;
|
||||
border: 0;
|
||||
color: $color-white;
|
||||
color: $main-ui-color;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue