mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 11:11:44 +02:00
43 lines
1.7 KiB
Clojure
43 lines
1.7 KiB
Clojure
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
;;
|
|
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
|
|
;; Copyright (c) 2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
|
|
|
(ns uxbox.main.ui.settings.notifications
|
|
(:require
|
|
[cuerdas.core :as str]
|
|
[rumext.alpha :as mf]
|
|
[uxbox.util.i18n :refer [tr]]))
|
|
|
|
(mf/defc notifications-page
|
|
[]
|
|
[:section.dashboard-content.user-settings
|
|
[:section.user-settings-content
|
|
[:span.user-settings-label (tr "settings.notifications.notifications-saved")]
|
|
[:p (tr "settings.notifications.description")]
|
|
[:div.input-radio.radio-primary
|
|
[:input {:type "radio"
|
|
:id "notification-1"
|
|
:name "notification"
|
|
:value "none"}]
|
|
[:label {:for "notification-1"
|
|
:value (tr "settings.notifications.none")} (tr "settings.notifications.none")]
|
|
[:input {:type "radio"
|
|
:id "notification-2"
|
|
:name "notification"
|
|
:value "every-hour"}]
|
|
[:label {:for "notification-2"
|
|
:value (tr "settings.notifications.every-hour")} (tr "settings.notifications.every-hour")]
|
|
[:input {:type "radio"
|
|
:id "notification-3"
|
|
:name "notification"
|
|
:value "every-day"}]
|
|
[:label {:for "notification-3"
|
|
:value (tr "settings.notifications.every-day")} (tr "settings.notifications.every-day")]]
|
|
[:input.btn-primary {:type "submit"
|
|
:class "btn-disabled"
|
|
:disabled true
|
|
:value (tr "settings.update-settings")}]
|
|
]])
|