From 7f3cc7ccb48df8970b9a8366d640d1324db75bce Mon Sep 17 00:00:00 2001 From: tenusha Date: Sat, 20 Jul 2019 18:25:38 +0530 Subject: [PATCH 01/70] login --- DMT/assets/icons/left_arrow.png | Bin 0 -> 359 bytes DMT/assets/icons/login_logo.png | Bin 0 -> 30674 bytes DMT/assets/icons/password.png | Bin 0 -> 1488 bytes DMT/assets/icons/username.png | Bin 0 -> 1321 bytes DMT/components/LoginScreen.js | 145 ++++++++++++------ DMT/components/login_symbols/LoginHeader.js | 23 +++ DMT/components/login_symbols/LoginTextBox.js | 77 ++++++++++ .../login_symbols/MaterialButtonPrimary1.js | 40 +++++ .../login_symbols/MaterialButtonViolet.js | 40 +++++ .../MaterialButtonWithVioletText1.js | 30 ++++ .../MaterialCheckboxWithLabel1.js | 40 +++++ .../MaterialFixedLabelTextbox.js | 44 ++++++ DMT/config.json | 2 +- DMT/package.json | 1 + 14 files changed, 397 insertions(+), 45 deletions(-) create mode 100644 DMT/assets/icons/left_arrow.png create mode 100644 DMT/assets/icons/login_logo.png create mode 100644 DMT/assets/icons/password.png create mode 100644 DMT/assets/icons/username.png create mode 100644 DMT/components/login_symbols/LoginHeader.js create mode 100644 DMT/components/login_symbols/LoginTextBox.js create mode 100644 DMT/components/login_symbols/MaterialButtonPrimary1.js create mode 100644 DMT/components/login_symbols/MaterialButtonViolet.js create mode 100644 DMT/components/login_symbols/MaterialButtonWithVioletText1.js create mode 100644 DMT/components/login_symbols/MaterialCheckboxWithLabel1.js create mode 100644 DMT/components/login_symbols/MaterialFixedLabelTextbox.js diff --git a/DMT/assets/icons/left_arrow.png b/DMT/assets/icons/left_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..9660f0cff4f69fb29a3c7c1f36a89ca2056d173b GIT binary patch literal 359 zcmeAS@N?(olHy`uVBq!ia0vp^Q6S903?%u>HW~n_gaDrqSN8&+|Fi^O9bGelcFC6n z`2{mDaWb;8Z{ygp>HExiUq4Tn^=-afJ&!(x;TbJ9DaK} zlCQ}?#O>iUqYTFbg3ovVk9BHN+4tkxeTm|ItaIA^c9!x1RqtQ5!~R^Un&xz~m8q%K zr%r8~KJ~4F_H@@rMf>WehKr`2nqt3dn)QrRncMfA+^bqX=XBj{yS*QatxjF)V%@oF z+sCq#U)uZ4-u};f?KWq7*>Y+1+X~t4`qCSu&$chlPB!kSGghzopr0GKMx%m4rY literal 0 HcmV?d00001 diff --git a/DMT/assets/icons/login_logo.png b/DMT/assets/icons/login_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..6703650cd5fda9c6384bb5cf7c3c6e2d322e4c76 GIT binary patch literal 30674 zcmeHwbyU<_`|q9s2?Ys7MI=N4k?tBo0Rq#2VA zK{|$1x};;~erG_BhjU)mdw=)db^n32knfJ?*?WJU*w3!z?bF&PX}9m+4gjE4S5r9) z037;+11bvW&y44{CFl>ei<%J{fE~MtzcBD9W*-1D-S)bMZiZT#vQ{W3K}&1Y1*D*- zlM7TE0ED8ai=~wV(v9N+($?Nto^zt0gpJZg5GMzzikpKx=P_b~9EMt_Ih0YZ zNDc`>NdYTiNhuB~89@;VDJgL&ehyJ#5eXq-F(ENw0Z}noaba0;QI7Q=PKE8z7sA!r zM)s`AiS_27lsu=Mo12TQkdTLmhoFa;Aj;KNNJK_PMo3sxNK{k+sv&^(a(1)y6mUi# zT4VByj|viPU9+|lLOLRykj`#sh)(2R>0InkZYZ=J>OVC3yZApg49P@G>v!A# z+FvK9e{CA=rg|BIU>(wbr9|s`xgdqkBGD*!S1Y9IWoRge{%!Pb_BMYB=Wm>dCI7MS zNKgC!Kt?QCBO|H8nuHM0SY?%6k(O>KS6vj!QDIHXPXB_CLs^-mRUAhQ?47Mq9%x>K z&_nq>7~*QUTIO83AD_0TBsZVJTTLX<1=uK4A%2G2uU$tkvAWLkneXZ{zhh z9-_j!BGR&uT1$xj$>Wcj8+kzXV{PeX`CoDQv+f^!tgU2iP_9mvZVL8JmbOSC7iU|9 z&|jH<)cmbgvdSn&lq=LNq=Fbi=-;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assets/icons/username.png new file mode 100644 index 0000000000000000000000000000000000000000..3dafca16cd6e99cac51f77bdcfaa45a479f282b3 GIT binary patch literal 1321 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD3?#3*wF4y>_XqfdxVjhk07XW@5DkIP_jl|B zI(kY6wZ*U3NctbQ7w5uC}K|L?DF1Iy-#<>$B;#j!qO`tpQdneUs@SHsX>9j3R~ zK7SPcEyVcga?s8lHnNMKaeUx?dYb2|n6$#n_6;UdkL6!Trk(Zv;oPR;p}GFM?cwJq z-e|1z(Y<7J-8}l?p_bPdubJJh6pylgP$zTHm3@u&1%HEW(<^q*S$JOmion+3*_QYA zAJMbecTDYm|HAqk3=B-Io-U3d8TZ~seh(IQ6k$_pX;E3yE>Okf#jnw|;7c0wnvyqr zzw51N5MA;{{!Ncm`u%tJ;;JQ&&-`1rr~3Wxyzh7SeUF_qdGP`eII!TE+r2k>vv=J5 zrx)M6??njX!Gk-)6#sKLI{&S0JYe8>#HZ=;`Zb3|6v8*}W^lS@+2|C*7%!@A(68+f zw~1+Hc*&Vm{>SwdpSH3T<;q>#lf&)ug~f{P?S7dSV$pS_^&XL9jm z`FzgB_oiHQ%$=un_>bR>jCeTiLC#{&HAnf zE_L^!x`MQ8OoRdmUc5ow3OA=!RCpcGm-7^>6}vfl7|KHlD&8WJ7WlDq4iB%5Itj&Wm_-Fb*6wxk_ z{3*V^F6=<>>H68<+jlU1|M99P;nQ@t%EoI|Hvg7fnDI5E%lTM-?NdD& q*)^~9){)k { + handleChange = (name, value) => { + this.setState({[name]: value}) + } + + handleSubmit = async () => { + // TODO + console.log("login clicked") + const user = { id: 1, fname: "Tenusha", @@ -23,49 +38,91 @@ export default class LoginScreen extends React.Component { email: "tenusha@gmail.com" } - AsyncStorage.setItem("dmt_user", JSON.stringify(user)) - console.log("set User") + const result = await AsyncStorage.setItem("dmt_user", JSON.stringify(user)) + + registerForPushNotificationsAsync().catch(err => { + ToastAndroid.showWithGravityAndOffset( + 'notification server error!', + ToastAndroid.SHORT, + ToastAndroid.BOTTOM, + 25, + 100, + ); + }) + this.props.navigation.navigate("Reload") + } + + handleSignUp = async () => { + this.props.navigation.navigate("Home") + } + + handleToggle = () => { + this.setState({remember: !this.state.remember}) } render() { const {navigate} = this.props.navigation; return ( - <> - Login -