mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 23:36:38 +02:00
add notification settings layout
This commit is contained in:
parent
b9d43cce24
commit
290e7fdac8
2 changed files with 23 additions and 7 deletions
|
@ -52,6 +52,10 @@
|
||||||
color: $intense-ui-text;
|
color: $intense-ui-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
margin-top: $medium;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar-form {
|
.avatar-form {
|
||||||
|
|
|
@ -94,13 +94,25 @@
|
||||||
(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 {:on-click #(r/go :settings/password)} "Password"]
|
||||||
[:section.dashboard-grid.library
|
[:li.current {:on-click #(r/go :settings/notifications)} "Notifications"]]]
|
||||||
[:span "TODO 3"]]]]))
|
|
||||||
|
[:section.user-settings-content
|
||||||
|
[:span.user-settings-label "Prototype notifications"]
|
||||||
|
[:p "Get a roll up of prototype changes in your inbox."]
|
||||||
|
[:div.input-radio.radio-primary
|
||||||
|
[:input {:type "radio" :id "notification-1" :name "notification-1" :value "none"}]
|
||||||
|
[:label {:for "notification-1" :value "None"} "None"]
|
||||||
|
[:input {:type "radio" :id "notification-2" :name "notification-2" :value "every-hour"}]
|
||||||
|
[:label {:for "notification-2" :value "Every hour"} "Every hour"]
|
||||||
|
[:input {:type "radio" :id "notification-3" :name "notification-3" :value "every-day"}]
|
||||||
|
[:label {:for "notification-3" :value "Every day"} "Every day"]]
|
||||||
|
[:input.btn-primary {:type "submit" :value "Update settings"}]
|
||||||
|
]]]))
|
||||||
|
|
||||||
(def ^:static notifications-page
|
(def ^:static notifications-page
|
||||||
(mx/component
|
(mx/component
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue