From acc5ac9ddd0cc9069186ef19c3c3efba35419ec8 Mon Sep 17 00:00:00 2001 From: kykhang1997 <54208929+kykhang1997@users.noreply.github.com> Date: Fri, 6 Dec 2019 15:49:35 +0700 Subject: [PATCH 1/4] dev --- debug.log | 47 ++ markup/css/admin.css | 317 +++++++++++++ markup/css/dashboard.png | Bin 0 -> 9726 bytes markup/css/log_out.png | Bin 0 -> 2818 bytes markup/css/style.css | 104 ++++- markup/html/admin.html | 62 +++ markup/html/cart.html | 97 ++++ markup/html/debug.log | 14 + markup/html/edit_product.html | 108 +++++ markup/html/edit_product_type.html | 58 +++ markup/html/index.html | 10 +- markup/html/login.html | 86 +++- markup/html/pay.html | 86 ++++ markup/html/product.html | 87 ++++ markup/html/product_type.html | 190 ++++++++ markup/html/register.html | 82 +++- markup/html/samsung.html | 179 +++++++ markup/html/user.html | 104 +++++ package-lock.json | 296 ++++++++++++ package.json | 9 +- public/favicon.ico | Bin 22382 -> 0 bytes public/favicon.jpg | Bin 0 -> 21325 bytes public/img/GALAXY-NOTE-9.jpg | Bin 0 -> 295110 bytes public/img/IPHONE 5 - 16GB.jpg | Bin 0 -> 88960 bytes public/img/IPHONE 6 PLUS 32GB.jpg | Bin 0 -> 126982 bytes public/img/NOKIA 130 - 2 SIM.jpg | Bin 0 -> 71504 bytes public/img/NOKIA LUMIA 925.jpg | Bin 0 -> 61975 bytes public/img/NOKIA XL.jpg | Bin 0 -> 75502 bytes public/img/OPPO-F9.jpg | Bin 0 -> 117418 bytes public/img/Oppo-R17.jpg | Bin 0 -> 27427 bytes public/img/SamSung-Galaxy-A30-32gb.png | Bin 0 -> 121582 bytes public/img/SamSung-Galaxy-Note 10.jpg | Bin 0 -> 125626 bytes public/img/XPERIA-X72.jpg | Bin 0 -> 28523 bytes public/img/asha206.jpg | Bin 0 -> 98446 bytes public/img/banner1.jpg | Bin 0 -> 629877 bytes public/img/banner2.jpg | Bin 0 -> 134160 bytes public/img/dashboard.png | Bin 0 -> 9726 bytes public/img/facebook.png | Bin 0 -> 31181 bytes public/img/favicon.jpg | Bin 0 -> 21325 bytes public/img/galaxy-s10-512gb.jpg | Bin 0 -> 35303 bytes public/img/iphone-11-pro-max-256gb.png | Bin 0 -> 160739 bytes public/img/iphone-x.jpg | Bin 0 -> 295110 bytes public/img/iphone_7_128gb.jpg | Bin 0 -> 61035 bytes public/img/log_out.png | Bin 0 -> 2818 bytes public/img/logo.jpg | Bin 0 -> 17852 bytes public/img/nova.png | Bin 0 -> 2436 bytes public/img/oppo-a1k.jpg | Bin 0 -> 39127 bytes public/img/oppo-a3s-32gb.png | Bin 0 -> 128608 bytes public/img/oppo-f11-pro.jpg | Bin 0 -> 8720 bytes public/img/samsung-galaxy-a50-128gb.jpg | Bin 0 -> 83641 bytes public/img/samsung-galaxy-a9.jpg | Bin 0 -> 64065 bytes public/img/samsung-galaxy-m20.jpg | Bin 0 -> 42142 bytes public/img/twitter.png | Bin 0 -> 1892 bytes public/img/youtube.png | Bin 0 -> 7962 bytes public/index.html | 3 +- server/db.json | 16 +- src/App.js | 23 +- src/App.test.js | 9 - src/actions/ActionUs.js | 18 + src/components/admin/header/Header.js | 19 + src/components/admin/main/CategoryList.js | 22 + src/components/admin/main/CategoryListItem.js | 21 + src/components/admin/main/Home.js | 40 ++ src/components/admin/main/ProductList.js | 24 + src/components/admin/main/ProductListItem.js | 21 + src/components/admin/menu/Menu.js | 76 +++ src/components/users/footer/Footer.js | 54 +++ src/components/users/header/Header.js | 47 ++ src/components/users/main/Home.js | 29 ++ src/components/users/main/ProductItems.js | 26 ++ src/components/users/search/Search.js | 21 + src/components/users/tintuc/News.js | 63 +++ src/constants/ActionType.js | 1 + src/constants/config.js | 1 + src/containers/users/ListProductCTN.js | 50 ++ src/css/admin.css | 317 +++++++++++++ src/css/style.css | 440 ++++++++++++++++++ src/index.js | 17 +- src/pages/admin/HomePageAd.js | 23 + src/pages/admin/category/CategoryPageAd.js | 23 + .../admin/category/CategoryPageAdForm.js | 43 ++ src/pages/admin/product/ProductPageAd.js | 21 + src/pages/users/HomePage.js | 22 + src/reducers/Reducer.js | 8 + src/reducers/users/UsProduct.js | 17 + src/routes/AppRoute.js | 11 + src/routes/PathRoute.js | 62 +++ src/util/ApiCall.js | 23 + src/util/users/ListAPI.js | 2 + 89 files changed, 3481 insertions(+), 68 deletions(-) create mode 100644 markup/css/admin.css create mode 100644 markup/css/dashboard.png create mode 100644 markup/css/log_out.png create mode 100644 markup/html/admin.html create mode 100644 markup/html/cart.html create mode 100644 markup/html/debug.log create mode 100644 markup/html/edit_product.html create mode 100644 markup/html/edit_product_type.html create mode 100644 markup/html/pay.html create mode 100644 markup/html/product.html create mode 100644 markup/html/product_type.html create mode 100644 markup/html/samsung.html create mode 100644 markup/html/user.html delete mode 100644 public/favicon.ico create mode 100644 public/favicon.jpg create mode 100644 public/img/GALAXY-NOTE-9.jpg create mode 100644 public/img/IPHONE 5 - 16GB.jpg create mode 100644 public/img/IPHONE 6 PLUS 32GB.jpg create mode 100644 public/img/NOKIA 130 - 2 SIM.jpg create mode 100644 public/img/NOKIA LUMIA 925.jpg create mode 100644 public/img/NOKIA XL.jpg create mode 100644 public/img/OPPO-F9.jpg create mode 100644 public/img/Oppo-R17.jpg create mode 100644 public/img/SamSung-Galaxy-A30-32gb.png create mode 100644 public/img/SamSung-Galaxy-Note 10.jpg create mode 100644 public/img/XPERIA-X72.jpg create mode 100644 public/img/asha206.jpg create mode 100644 public/img/banner1.jpg create mode 100644 public/img/banner2.jpg create mode 100644 public/img/dashboard.png create mode 100644 public/img/facebook.png create mode 100644 public/img/favicon.jpg create mode 100644 public/img/galaxy-s10-512gb.jpg create mode 100644 public/img/iphone-11-pro-max-256gb.png create mode 100644 public/img/iphone-x.jpg create mode 100644 public/img/iphone_7_128gb.jpg create mode 100644 public/img/log_out.png create mode 100644 public/img/logo.jpg create mode 100644 public/img/nova.png create mode 100644 public/img/oppo-a1k.jpg create mode 100644 public/img/oppo-a3s-32gb.png create mode 100644 public/img/oppo-f11-pro.jpg create mode 100644 public/img/samsung-galaxy-a50-128gb.jpg create mode 100644 public/img/samsung-galaxy-a9.jpg create mode 100644 public/img/samsung-galaxy-m20.jpg create mode 100644 public/img/twitter.png create mode 100644 public/img/youtube.png delete mode 100644 src/App.test.js create mode 100644 src/actions/ActionUs.js create mode 100644 src/components/admin/header/Header.js create mode 100644 src/components/admin/main/CategoryList.js create mode 100644 src/components/admin/main/CategoryListItem.js create mode 100644 src/components/admin/main/Home.js create mode 100644 src/components/admin/main/ProductList.js create mode 100644 src/components/admin/main/ProductListItem.js create mode 100644 src/components/admin/menu/Menu.js create mode 100644 src/components/users/footer/Footer.js create mode 100644 src/components/users/header/Header.js create mode 100644 src/components/users/main/Home.js create mode 100644 src/components/users/main/ProductItems.js create mode 100644 src/components/users/search/Search.js create mode 100644 src/components/users/tintuc/News.js create mode 100644 src/constants/ActionType.js create mode 100644 src/constants/config.js create mode 100644 src/containers/users/ListProductCTN.js create mode 100644 src/css/admin.css create mode 100644 src/css/style.css create mode 100644 src/pages/admin/HomePageAd.js create mode 100644 src/pages/admin/category/CategoryPageAd.js create mode 100644 src/pages/admin/category/CategoryPageAdForm.js create mode 100644 src/pages/admin/product/ProductPageAd.js create mode 100644 src/pages/users/HomePage.js create mode 100644 src/reducers/Reducer.js create mode 100644 src/reducers/users/UsProduct.js create mode 100644 src/routes/AppRoute.js create mode 100644 src/routes/PathRoute.js create mode 100644 src/util/ApiCall.js create mode 100644 src/util/users/ListAPI.js diff --git a/debug.log b/debug.log index c0fa289..a17d8af 100644 --- a/debug.log +++ b/debug.log @@ -1,2 +1,49 @@ [1121/194100.902:ERROR:crash_report_database_win.cc(428)] unexpected header [1123/204023.582:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/003340.307:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/213237.805:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/214237.805:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/214237.806:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/214737.806:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/220237.807:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/221737.807:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/222420.278:ERROR:crash_report_database_win.cc(428)] unexpected header +[1204/135118.923:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/140118.922:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/140118.923:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/140618.940:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/142007.381:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/142118.941:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/143618.942:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/145118.943:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/150618.944:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/152118.944:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/153618.944:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/155118.944:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/160618.945:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/162118.946:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/163618.947:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/165118.947:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/170618.947:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/172118.948:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/173618.949:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/175118.949:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/180618.950:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/182118.951:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/183618.951:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/185118.951:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/190618.952:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/192118.954:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/193618.954:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/195118.955:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/200226.213:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/200618.956:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/203136.553:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/204136.553:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/204136.553:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/204636.553:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/210136.553:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/211636.555:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/213136.557:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1204/214636.558:ERROR:crash_report_database_win.cc(469)] failed to stat report +[1206/154130.123:ERROR:crash_report_database_win.cc(469)] failed to stat report diff --git a/markup/css/admin.css b/markup/css/admin.css new file mode 100644 index 0000000..45f99aa --- /dev/null +++ b/markup/css/admin.css @@ -0,0 +1,317 @@ +*{ + margin: 0; + padding: 0; +} + +body{ + font-family: serif; +} + +header{ + background: black; + height: 40px; + line-height: 40px; +} + +header h3{ + font-weight: normal; + padding-left: 40px; + float: left; +} + +header a{ + color: #D9D8D8; + text-decoration: none; + display: block; +} + +header .log_out a{ + float: right; + color: #D9D8D8; + text-decoration: none; + padding-right: 40px; + color: #D9D8D8; +} + +header .log_out a:hover{ + color: red; +} + +main{ + +} + +main aside{ + width: 250px; + background:#615F5F; + height: 600px; + float: left; +} + +main aside ul{ + list-style: none; +} + +main aside ul li{ + border-bottom: 1px solid #e3e3e3; + padding-bottom: 10px; + padding: 20px; +} + +main aside ul li a{ + color: #EAEAEA; + text-decoration: none; + display: block; + background: url(../css/dashboard.png) no-repeat; + background-size: 20px 20px; + text-indent: 30px; +} + +main aside ul li a:hover{ + color: red; +} + +main aside ul li a.active{ + color: red; +} + +main #content{ + width: 100%; + background: #fff; + padding-top: 20px; +} + + +main #content #items1{ + display: flex; + justify-content: space-around; +} + +main #content .item{ + border: 1px solid black; + width: 250px; + height: 100px; + text-align: center; + line-height: 100px; + background: #ccc; +} + +main #content #items2{ + display: flex; + justify-content: space-around; +} + +main #content #items2 #item_left{ + width: 800px; + height: 200px; + background: #66BFF0; + margin-top: 20px; +} + +main #content #items2 #item_right{ + width: 350px; + height: 200px; + background: #f86c6b;; + margin-top: 20px; +} + +main #content #card{ + display: flex; + justify-content: space-around; +} + +main #content #card #card_1{ + background: #6610f2; + width: 250px; + height: 100px; + margin-top: 20px; +} + +main #content #card #card_2{ + background: #6f42c1;; + width: 250px; + height: 100px; + margin-top: 20px; +} + +main #content #card #card_3{ + background: #e83e8c;; + width: 250px; + height: 100px; + margin-top: 20px; +} + +main #content #card #card_4{ + background: #f86c6b; + width: 250px; + height: 100px; + margin-top: 20px; +} + +main aside .active_product{ + color: red; +} + +main aside .active_product_type{ + color: red; +} + +main aside .active_user{ + color: red; +} + +main aside .active_cart{ + color: red; +} + +main aside .active_pay{ + color: red; +} + +main #content #form_search{ + text-indent: 20px; +} + +main #content #product{ + text-align: center; + padding: 20px; + border: none; +} + +main #content #product td{ + padding: 10px; + width: 200px; +} + +main #content #product a{ + color: blue; + text-decoration: none; +} + +main #content #product a:hover{ + color: red; +} + +main #content #edit_product{ + margin: 40px auto; +} + +main #content #add_product{ + width: 290px; +} + +main #content #edit_product td{ + padding: 10px; + width: 300px; +} + +main #content #edit_product input{ + margin: 5px; +} + +main #content #edit_product #add_products{ + width: 100px; + margin-left: 260px; + height: 30px; +} + +main #content #edit_product #add_products:hover{ + color: red; + transition: 0.3s; +} + +main #content #user{ + border: none; + padding: 20px 30px; +} + +main #content #user td{ + width: 300px; + padding: 20px; +} + +main #content #user th{ + text-align: right; + width: 128px; + padding-right: 10px; +} + +main #content #user input{ + width: 300px; + height: 25px; +} + +main #content #user #ok{ + height: 30px; + margin-left: 77px; + color: blue; +} + +main #content #user #ok:hover{ + color: red; + cursor: pointer; +} + +main #content #cart{ + border: none; + padding: 20px 30px; +} + +main #content #cart td{ + width: 300px; + padding: 20px; +} + +main #content #cart th{ + text-align: right; + width: 128px; + padding-right: 10px; +} + +main #content #cart input{ + width: 300px; + height: 25px; +} + +main #content #cart #ok{ + height: 30px; + margin-left: 77px; + color: blue; +} + +main #content #cart #ok:hover{ + color: red; + cursor: pointer; +} + +main #content #pay{ + border: none; + padding: 20px 30px; +} + +main #content #pay td{ + width: 300px; + padding: 20px; +} + +main #content #pay th{ + text-align: right; + width: 128px; + padding-right: 10px; +} + +main #content #pay input{ + width: 300px; + height: 25px; +} + +main #content #pay #ok{ + height: 30px; + margin-left: 77px; + color: blue; +} + +main #content #pay #ok:hover{ + color: red; + cursor: pointer; +} \ No newline at end of file diff --git a/markup/css/dashboard.png b/markup/css/dashboard.png new file mode 100644 index 0000000000000000000000000000000000000000..701336985c687e1703a5e1bf7705519585ba989f GIT binary patch literal 9726 zcmZ`U|=w0q{UU_rrk)z{%#@P7?|z7t-PGTrr;gpGaZXu^Sh555XOH)iEa zS_-ViHq9pa>wlB#1KD}RLiX!GjW618lyc|<`hJ*1BKc>I(urUOmnig>-8}sBz|T&I z=Kc?Tx6I<6WaR@xwxfUM>dR$ z$YG$9plF9L-UBu?4?{Q2hs_-esS3c^rN|0Tj;I6ay~SnI^P%Pbnm*8K6!8yhnZ1wX z@m6(3w@bOMO(>6!DW_pnOk+LoMO^bpd%vP&Qhy+!f;28z{!d3ud zH~pd&Ay}pxgfh%HupfGtlVnPhWX~lZ_eGWhZV{NN=9!>_-AP~?NtCUp7pceh{)P;}qKS z@<()SE{#ri%c}YY9i5Me5e|$FJA$M*Zo9uEgZ~ItB5)ILuZB;#XV-3+#V|07hJNxb zf}NJm<(ekQ!FVbW`@(Ik2nUgty0_#~9mlV%vc%L@&*3VEK zMsK{d8U@M@&l`Ks@3Ku~+jDXg{J41X_>l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(?}VrZqB;zOMc^Cy6^Az2 zL0xv8!Kj4Tr2fE@%uZJE*2baqmIoiaq_h&J#6d+RXQW@r2~$Oyl_^eio~6i`!}CWC ziaNhm6tkrc$?4)Rz2;5M@hST4UC0uvEu~J1x)}P3Yz}qru;nCQz{u9;%fUv8;IsVE zZy7VVI*$&Y1!LGaRf-x#Nh4@#OFO5MAsALfFM3?G1}T&U!<7qOkX{cQ-Fm{~)55b> z1GVbD6l5eDJKz7H+S8}wJAW*(?G9JBCQ2M8ksnj38I-zKX(8Wc!d&wO)*?ek)UDGr z5-R@)?zmI0$-T2cjOMcmf*CpH88MK290$hetj&XEuv79#4U-<%rhT)Rn9H8W7gjzO zUaPmH%gP>Q!Wb~{Q{ZHGwm_u!pvhh&p>zSUD8rkiL>?n6k*vq%$e1kvnD#aKIBu%? zh&wdO+a!4nqw6B;A9?_<5Bj_kO5G(TA|m>d25UjPepP&gRbQ+h2AMQ$mA8VJR1Ao-YObr& zL34Gy3V)_?EJCNrEQ;%PO^&fShC)yX+yFuh|FDU0l&Pk~wcqT>DN;;D4;vF3 zKe7Q1M0Uz|Y9VoHaQ?m@3O|MXMmC0p~@hR?ht_BS0Rr=uo z!VLt-7*qjTQa9ywgMB9FmgrZB;TJy@ z12*B%l>ZXPd749MQWEzK``)4fEm|H4m;+;Zl?kfKuG3tNmQt|w+6s9R^XZK}~1@D9|7#Rsg@oG`S!2bdFfAYcr literal 0 HcmV?d00001 diff --git a/markup/css/log_out.png b/markup/css/log_out.png new file mode 100644 index 0000000000000000000000000000000000000000..3ceb6b51993fd1cef599af0eb3dad06ea9ff2f95 GIT binary patch literal 2818 zcmV+d3;pzoP)D51``+8@Q%LrZoqPq%f!^xS{w{v<)$Z zKWGw{U)9WqvRT$GnhbJk3OAGZGfs?OfZ^}Dg%iO8VE9nCa3UZT&5uzvh~a;A3nzkx z;o+lUc=%`-9zGg|hmVHg;iF-A_-Gg&J{pFH4|j&`nk4ka<$OOp=+5x>>LjJ0JPfW! zs^md)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NT&h zo!Xwu@Qc=h~fcF-#GFWJ%B;kO5d??F1Z6{+?_rc7j z*@CupQ(uFDo(XcQz|7o~jSNx6MUWt9^(VD!o&~BRszKj^neiST&=mRxAxl8ZG-ki1 z62LAD?jAvpoX~WGRqG*|v;eH&OyqL|S6>0s0~W8zH8p^MCF|j}&amA;k`n{zg21}2 zEnw|m3frx1;5!yj=%|1*N=K>^;2QPIfn&R=ebxVk0?*MeY$wKX!PvB-h zmgY2pu(ZJwYA@Kq&07pBd({!R@rTe9T01tWc-qF&=TELfq@~lBiWT*S9V@bMgY6$| z9R(vbp$4v*_s3q#JqtJCiA2#xQ1pU|N~zx|P6eO#jz{Y=MVpw~AJ-QSxLG^;3g^6l zLV!<-Pm<^2;NC`1{OV?J)2szo&6&2pQSr{@_V%7~$5T0xu>ukLK@Z3hnjMOLiIqBV zX{s&WptWVYD1N+IfjpEGhX%Bf@?EU@bo=OjSVPL(sVjOcD+)H<`h-?Dd~>*cQSlkK zif6=%DA?MVe!gJ#CpOQu;}fFA*r88oR|50kKaXu!eo_5j*5!}~m zU%&~LZkxMusNpYXL+E4A==JC`{vi6FfvOYOfc7M_9 zjxQGXqpjonFZAesaXaoNb)UsXdywaslWzBHa+&9Y?_yFnXwaZRg9Z&6H25C)A3p1i Uw5f^d3jhEB07*qoM6N<$g8izW9RL6T literal 0 HcmV?d00001 diff --git a/markup/css/style.css b/markup/css/style.css index 6c7e209..553c6cb 100644 --- a/markup/css/style.css +++ b/markup/css/style.css @@ -24,14 +24,15 @@ header ul{ list-style: none; display: flex; padding-left: 150px; + float: left; } header nav ul li{ line-height: 35px; padding-left: 20px; - } + header nav ul li a{ border-right: 1px solid white; padding-right: 20px; @@ -49,13 +50,26 @@ header nav ul li a:hover{ transition: 0.3s; } +header nav .login_register{ + float: right; + margin-right: 100px; +} + +#header-content{ + border: 1.5px solid #A5A4A4; + border-radius: 5px; + padding: 20px 20px; + background: white; +} + #header-content img{ margin: 20px 0 0 150px; float: left; margin-right: 80px; + clear: both; } -#header-content input{ +#header-content form input{ border:1px solid #a8cf45; border-radius: 2px; width: 250px; @@ -70,7 +84,7 @@ header nav ul li a:hover{ width: 90px; height: 33px; position: absolute; - top:8%; + margin-top: 20px; border-radius: 2px; background: #F89999; border:1px solid #a8cf45; @@ -83,10 +97,6 @@ header nav ul li a:hover{ transition: 0.3s; } -#header-content #banner img{ - width: 1250px; - height: 550px; -} #content{ clear: both; @@ -349,4 +359,82 @@ footer #footer-bottom{ line-height: 40px; color: #F2EEEE; font-size: 14px; -} \ No newline at end of file +} + +#form_register{ + width: 500px; + margin: 47px auto; + border: 1px solid #a8cf45; + background: #fff; + padding: 40px; +} + +#form_register h2{ + text-align: center; + padding-bottom: 20px; + color: red; +} + +#form_register .clearfix button{ + width: 100px; + height: 30px; + background: #578EBE; + border: 1px solid #578EBE; + color: white; +} + +#form_register .clearfix button:hover{ + line-height: 31px; + cursor: pointer; +} + +#form_register label{ + width: 180px; + text-align: right; + float: left; + margin-right: 20px; +} + +#form_register input{ + margin-bottom: 10px; + height: 25px; +} + +#form_login h2{ + text-align: center; + padding-bottom: 20px; + color: red; +} + +#form_login{ + width: 500px; + margin: 67px auto; + border: 1px solid #a8cf45; + background: #fff; + padding: 40px; +} + +#form_login .clearfix button{ + width: 100px; + height: 30px; + background: #578EBE; + border: 1px solid #578EBE; + color: white; +} + +#form_login .clearfix button:hover{ + line-height: 31px; + cursor: pointer; +} + +#form_login label{ + width: 180px; + text-align: right; + float: left; + margin-right: 20px; +} + +#form_login input{ + margin-bottom: 10px; + height: 25px; +} diff --git a/markup/html/admin.html b/markup/html/admin.html new file mode 100644 index 0000000..1da9000 --- /dev/null +++ b/markup/html/admin.html @@ -0,0 +1,62 @@ + + + + + Trang quản lý admin + + + +
+

BK SHOP

+ +
+ +
+ + +
+
+
+

1

+
+
+

2

+
+
+

3

+
+
+

4

+
+
+ +
+
+

+
+
+

+
+
+ +
+
+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/markup/html/cart.html b/markup/html/cart.html new file mode 100644 index 0000000..9ecec1d --- /dev/null +++ b/markup/html/cart.html @@ -0,0 +1,97 @@ + + + + + Trang quản lý loại sản phẩm + + + +
+

BK SHOP

+ +
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ID +
+ +
+
User ID +
+ +
+
User name
+ +
+
Địa chỉ nhận +
+ +
+
Ngày tạo +
+ +
+
Tình trạng +
+ +
+
+
+ +
+
+
+
+
+ + \ No newline at end of file diff --git a/markup/html/debug.log b/markup/html/debug.log new file mode 100644 index 0000000..11e7401 --- /dev/null +++ b/markup/html/debug.log @@ -0,0 +1,14 @@ +[1201/222009.569:ERROR:crash_report_database_win.cc(428)] unexpected header +[1201/223009.570:ERROR:crash_report_database_win.cc(428)] unexpected header +[1201/223009.570:ERROR:crash_report_database_win.cc(428)] unexpected header +[1201/223509.601:ERROR:crash_report_database_win.cc(428)] unexpected header +[1201/225009.601:ERROR:crash_report_database_win.cc(428)] unexpected header +[1201/230510.829:ERROR:crash_report_database_win.cc(428)] unexpected header +[1201/232010.829:ERROR:crash_report_database_win.cc(428)] unexpected header +[1201/233510.829:ERROR:crash_report_database_win.cc(428)] unexpected header +[1201/235010.830:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/000510.830:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/002010.831:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/003510.832:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/005010.833:ERROR:crash_report_database_win.cc(428)] unexpected header +[1202/010510.834:ERROR:crash_report_database_win.cc(428)] unexpected header diff --git a/markup/html/edit_product.html b/markup/html/edit_product.html new file mode 100644 index 0000000..f4187a9 --- /dev/null +++ b/markup/html/edit_product.html @@ -0,0 +1,108 @@ + + + + + Trang chỉnh sửa sản phẩm + + + +
+

BK SHOP

+ +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Thêm sản phẩm
Tên sản phẩm
Mã sản phẩm
Hình ảnh + +
Giá đề xuất
Giá giảm
Nội dung
Số lượng + + + +
Tên nhà sx +
+ +
+
Tình trạng +
+ Kích hoạt + Không kích hoạt +
+
+
+
+ + \ No newline at end of file diff --git a/markup/html/edit_product_type.html b/markup/html/edit_product_type.html new file mode 100644 index 0000000..40bf49b --- /dev/null +++ b/markup/html/edit_product_type.html @@ -0,0 +1,58 @@ + + + + + Trang chỉnh sửa sản phẩm + + + +
+

BK SHOP

+ +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
Thêmcloại sản phẩm
Tên loại sản phẩm
Tình trạng +
+ Kích hoạt + Không kích hoạt +
+
+
+
+ + \ No newline at end of file diff --git a/markup/html/index.html b/markup/html/index.html index b9ff1e5..9d3daef 100644 --- a/markup/html/index.html +++ b/markup/html/index.html @@ -2,7 +2,7 @@ - Điện thoại smartphone giá rẻ chính hãng giá tốt + BK - SHOP @@ -16,7 +16,13 @@
  • Giới thiệu
  • Liên hệ
  • - ` + +
    diff --git a/markup/html/login.html b/markup/html/login.html index 516a419..f4a6be6 100644 --- a/markup/html/login.html +++ b/markup/html/login.html @@ -1,27 +1,83 @@ - + - Login + Điện thoại smartphone giá rẻ chính hãng giá tốt - + -
    +
    + +
    + +
    + nova-logo + + + + +
    + +

    Đăng nhập tài khoản

    +
    + +
    + + +
    + +
    +
    +
    +
    -