From d310d1d1bfa5e44fe05230b0a9f051e59d1294cf Mon Sep 17 00:00:00 2001 From: ninabreznik Date: Sun, 11 Feb 2018 01:27:46 +0000 Subject: [PATCH] Restyle settings tab - enable personal mode --- src/app/tabs/settings-tab.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index 17f9e6c7d5..ec8906d553 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -18,6 +18,13 @@ function SettingsTab (container, appAPI, appEvents) { var optionVM = yo`` var personal = yo`` + var warnText = `Transaction sent over Web3 will use the web3.personal API - be sure the endpoint is opened before enabling it. + This mode allows to provide the passphrase in the Remix interface without having to unlock the account. + Although this is very convenient, you should completely trust the backend you are connected to (Geth, Parity, ...). + It is not recommended (and also most likely not relevant) to use this mode with an injected provider (Mist, Metamask, ...) or with JavaScript VM. + Remix never persist any passphrase.` + var warnPersonalMode = yo`` + var el = yo`
@@ -42,16 +49,10 @@ function SettingsTab (container, appAPI, appEvents) { Enable Optimization
-
${personal}>
- Enable Personal Mode (transaction sent over Web3 will use the web3.personal API - be sure the endpoint is opened before enabling it -). -
- This mode allows to provide the passphrase in the Remix interface without having to unlock the account.
- Although this is very convenient, you should completely trust the backend you are connected to (Geth, Parity, ...).
- It is not recommended (and also most likely not relevant) to use this mode with an injected provider (Mist, Metamask, ...) or with JavaScript VM
- Remix never persist any passphrase. +
${personal}>
+ Enable Personal Mode ${warnPersonalMode}>
-
Themes