a few more design modifcations for the modal
This commit is contained in:
parent
3fa60bc0e7
commit
edc437132e
|
@ -269,26 +269,26 @@
|
||||||
(let [bounty @(rf/subscribe [:revoke-modal-bounty])]
|
(let [bounty @(rf/subscribe [:revoke-modal-bounty])]
|
||||||
(fn []
|
(fn []
|
||||||
(when bounty
|
(when bounty
|
||||||
[:div.ui.active.modal
|
(let [owner-address (:owner_address bounty)]
|
||||||
[:div
|
;; width requires a deliberate override of semantic.min.css
|
||||||
|
[:div.ui.active.modal {:style {:width 600}}
|
||||||
|
[:div.ph4.pv3
|
||||||
[:h3 "Are you sure you want to request a refund?"]
|
[:h3 "Are you sure you want to request a refund?"]
|
||||||
[:p "This will set your bounty value to $0. Don't worry, your issue will still be accessible to the community. Remember that the higher the funds, the higher the chance to get the issue solved."]
|
[:p "This will set your bounty"
|
||||||
|
[:span.pg-med " value to $0."]
|
||||||
|
" Don't worry, your issue will still be accessible to the community. Remember that the higher the funds, the higher the chance to get the issue solved."]
|
||||||
[:p (:issue-title bounty)]
|
[:p (:issue-title bounty)]
|
||||||
;; tokens
|
|
||||||
;; eth
|
|
||||||
;; usd
|
|
||||||
[ui-balances/token-balances (bnt/crypto-balances bounty) :badge]
|
[ui-balances/token-balances (bnt/crypto-balances bounty) :badge]
|
||||||
[ui-balances/usd-value-label (:value-usd bounty)]
|
[ui-balances/usd-value-label (:value-usd bounty)]
|
||||||
[:p "To be refunded to "
|
[:p "To be refunded to "
|
||||||
[:a.sob-blue.pg-med
|
[:a.sob-blue.pg-med
|
||||||
;; todo let binding
|
{:href (etherscan-address-url owner-address) :target "_blank"}
|
||||||
{:href (etherscan-address-url (:owner_address bounty)) :target "_blank"}
|
owner-address]]
|
||||||
(:owner_address bounty)]]
|
|
||||||
|
|
||||||
[:button {:on-click #(rf/dispatch [:clear-revoke-modal])}
|
[:button {:on-click #(rf/dispatch [:clear-revoke-modal])}
|
||||||
"REQUEST REFUND"]
|
"REQUEST REFUND"]
|
||||||
[:button {:on-click #(rf/dispatch [:clear-revoke-modal])}
|
[:button {:on-click #(rf/dispatch [:clear-revoke-modal])}
|
||||||
"CANCEL"]]]))))
|
"CANCEL"]]])))))
|
||||||
|
|
||||||
(defn revoke-dropdown [bounty]
|
(defn revoke-dropdown [bounty]
|
||||||
(let [menu (if (contains? @(rf/subscribe [:three-dots-open?]) (:issue-id bounty))
|
(let [menu (if (contains? @(rf/subscribe [:three-dots-open?]) (:issue-id bounty))
|
||||||
|
|
Loading…
Reference in New Issue