sachinganesh 2 yıl önce
ebeveyn
işleme
b8d88b9cc5

+ 12
- 7
dist/Js/auth/apiservice.js Dosyayı Görüntüle

@@ -1,10 +1,15 @@
1 1
 //let SERVERNAME = 'https://anwi.bizgaze.app';
2
-let SERVERNAME = 'http://beta.bizgaze.com';
3
-const STAT = 'b276960fddf84e8cb63de6e32d31529b';
2
+//let SERVERNAME = 'http://beta.bizgaze.com';
3
+ let SERVERNAME = 'http://localhost:3088';
4 4
 
5
+//template
6
+const STAT = '8041f78ba55b4847bc4aacaeae9d24ef';
7
+
8
+//live
9
+//const STAT = '0c7ef2b000ca431290065753dfda56fe';
5 10
 
6 11
 function imgServerNameBuild(path){
7
-    return `${SERVERNAME}/${path}`;
12
+    return `https://appassets.bizgaze.app/${path}`;
8 13
 }
9 14
 
10 15
 
@@ -54,10 +59,10 @@ async function postAPIService(url,data={}){
54 59
         url:`${SERVERNAME}/${url}`,
55 60
         method:'post',
56 61
         data:data,
57
-        headers: {
58
-            'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
59
-            'Content-Type': 'application/json'
60
-        },
62
+        // headers: {
63
+        //     'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
64
+        //     'Content-Type': 'application/json'
65
+        // },
61 66
     }
62 67
     let response = await axios(config);
63 68
 

+ 2
- 0
dist/Js/auth/login.js Dosyayı Görüntüle

@@ -107,6 +107,8 @@ function initLogin() {
107 107
       $('.error_msg').show();
108 108
       $('.error_msg .error_msg_res').html(`User doesn't exists with the email,  <a href="#" class="alert-link register_sectionbtn" id="register_sectionbtn">Sign Up </a>`);
109 109
       $(".register_sectionbtn").click(function(){
110
+   
111
+      
110 112
         $(".login_section").css("display","none");
111 113
         $(".register_section").css("display","block");
112 114
         $(".login_section").find("#User_Email").removeClass("is-invalid");

+ 4
- 4
dist/Js/components/authloader/authloader.js Dosyayı Görüntüle

@@ -19,10 +19,10 @@ template.innerHTML = `
19 19
   .loader{
20 20
       transition: all 0.7s ease-in-out;
21 21
   
22
-    border:10px solid #ebebeb;
23
-    border-bottom-color:#26B8BF;
24
-    width: 100px;
25
-    height: 100px;
22
+    border:5px solid #ebebeb;
23
+    border-bottom-color:black;
24
+    width: 20px;
25
+    height: 20px;
26 26
     border-radius:50%;
27 27
     -webkit-font-smoothing: antialiased !important;
28 28
     margin:30px 0px;

+ 6
- 6
dist/Js/myaccount/Address.js Dosyayı Görüntüle

@@ -12,7 +12,7 @@ async function addressDetails() {
12 12
       console.log(cookieRes);
13 13
       const { errorMsg, isError, response } =
14 14
         await API_SERVICES_ACTIONS.getAPIService(
15
-          `apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`
15
+          `apis/v4/bizgaze/integrations/anwiauth/getbillinginfo/contactid/${cookieRes.userId}`
16 16
         );
17 17
       let res = JSON.parse(response.result);
18 18
       debugger;
@@ -138,7 +138,7 @@ async function addressDetails() {
138 138
     });
139 139
   async function getCountryStateCurrency() {
140 140
     const countryRes = await API_SERVICES_ACTIONS.getAPIService(
141
-      "apis/v4/bizgaze/integrations/products/getcountry"
141
+      "apis/v4/bizgaze/integrations/anwiauth/getcountry"
142 142
     );
143 143
     if (countryRes.isError) {
144 144
       alert("something went wrong");
@@ -157,7 +157,7 @@ async function addressDetails() {
157 157
       }
158 158
     }
159 159
     const stateRes = await API_SERVICES_ACTIONS.getAPIService(
160
-      `apis/v4/bizgaze/integrations/products/getcities/countryid/${countryID}`
160
+      `apis/v4/bizgaze/integrations/anwiauth/getcities/countryid/${countryID}`
161 161
     );
162 162
 
163 163
     if (stateRes.isError) {
@@ -186,7 +186,7 @@ async function addressDetails() {
186 186
     });
187 187
 
188 188
     const currencyRes = await API_SERVICES_ACTIONS.getAPIService(
189
-      "apis/v4/bizgaze/integrations/products/getcurrencies"
189
+      "apis/v4/bizgaze/integrations/anwiauth/getcurrencies"
190 190
     );
191 191
 
192 192
     if (currencyRes.isError) {
@@ -209,7 +209,7 @@ async function addressDetails() {
209 209
 
210 210
   async function getCountryId() {
211 211
     const countryRes = await API_SERVICES_ACTIONS.getAPIService(
212
-      "apis/v4/bizgaze/integrations/products/getcountry"
212
+      "apis/v4/bizgaze/integrations/anwiauth/getcountry"
213 213
     );
214 214
 
215 215
     if (countryRes.isError) {
@@ -280,7 +280,7 @@ async function addressDetails() {
280 280
     let { userId, name } = cookieRes;
281 281
     const { errorMsg, isError, response } =
282 282
       await API_SERVICES_ACTIONS.getAPIService(
283
-        `apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`
283
+        `apis/v4/bizgaze/integrations/anwiauth/getbillinginfo/contactid/${cookieRes.userId}`
284 284
       );
285 285
     let resAnwi = JSON.parse(response.result);
286 286
     console.log(resAnwi, "befores");

+ 2
- 2
dist/Js/myaccount/Profile.js Dosyayı Görüntüle

@@ -5,7 +5,7 @@ function myProfile() {
5 5
     let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
6 6
     console.log(cookieRes);
7 7
     const { errorMsg, isError, response } = await API_SERVICES_ACTIONS.getAPIService(
8
-      `apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`
8
+      `apis/v4/bizgaze/integrations/anwiauth/getbillinginfo/contactid/${cookieRes.userId}`
9 9
     );
10 10
     let res = JSON.parse(response.result);
11 11
     debugger;
@@ -134,7 +134,7 @@ function myProfile() {
134 134
     let { userId, name } = cookieRes;
135 135
     const { errorMsg, isError, response } =
136 136
       await API_SERVICES_ACTIONS.getAPIService(
137
-        `apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`
137
+        `apis/v4/bizgaze/integrations/anwiauth/getbillinginfo/contactid/${cookieRes.userId}`
138 138
       );
139 139
     let resAnwi = JSON.parse(response.result);
140 140
     console.log(resAnwi, "previous profilesave");

+ 1
- 1
dist/Js/myaccount/myaccount_warrenty.js Dosyayı Görüntüle

@@ -21,7 +21,7 @@ $('.warranty_serialNumber_submit').click(async function () {
21 21
     debugger
22 22
     let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
23 23
     console.log(url);
24
-    const STAT = `05b2f2ca510344968c65e1ebf49a5595`
24
+    // const STAT = `05b2f2ca510344968c65e1ebf49a5595`
25 25
     const config = {
26 26
         url,
27 27
         method: "get",

+ 6
- 4
dist/Js/myaccount/orderdetails.js Dosyayı Görüntüle

@@ -3,17 +3,19 @@ async function bindOrderDetails() {
3 3
 // validatesession()
4 4
 debugger
5 5
 let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
6
-let { userId} = cookieRes;
7
-// let userId = '106631380000095';
8
-let port = "https://anwi.bizgaze.app";
6
+ let { userId} = cookieRes;
7
+ //let userId = '106631380000048';
8
+ debugger;
9
+let port = SERVERNAME;
9 10
 // let port = "http://localhost:3088";
10 11
   let url = `${port}/apis/v4/Bizgaze/integrations/products/salesorderdetailsbyorgid/organizationid/${userId}`;
12
+  // /apis/v4/bizgaze/integrations/products/salesorderdetailsbyorgid/phonenumber/
11 13
   // https://anwi.bizgaze.app/apis/v4/Bizgaze/integrations/products/salesorderdetailsbyorgid/organizationid/{organizationid}
12 14
   const config = {
13 15
     url,
14 16
     method: "get",
15 17
     headers: {
16
-      'Authorization': `stat 05b2f2ca510344968c65e1ebf49a5595 `,
18
+      'Authorization': `stat ${STAT} `,
17 19
       'Content-Type': 'application/json'
18 20
   }
19 21
   };

+ 6
- 3
dist/Js/navbar.js Dosyayı Görüntüle

@@ -1,7 +1,10 @@
1 1
 navINIT();
2 2
 
3 3
 function navINIT() {
4
-    loadCart();
4
+    if(!window.location.href.includes('orderconfirmation')){
5
+        loadCart();
6
+    }
7
+   
5 8
     function loadHelper(src = './dist/js/utils/helpers.js'){
6 9
         if ($(`script[src="${src}"]`).length > 0) {
7 10
           return new Promise((resolve) => resolve());
@@ -59,7 +62,7 @@ function navINIT() {
59 62
                                     <nav>
60 63
                                         <ul class="mb-0 p-0">
61 64
                                             <li><a href="./storageproducts.html" class="satoshi_font">STORAGE</a></li>
62
-                                            <li><a href="./ramproducts.html" class="satoshi_font">MEMORIES</a></li>
65
+                                            <li><a href="./ramproducts.html" class="satoshi_font">MEMORY</a></li>
63 66
                                             <li><a href="./support.html" class="satoshi_font">SUPPORT</a></li>
64 67
                                             <li><a href="./press.html" class="satoshi_font">PRESS</a></li>
65 68
                                             <li><a href="./index1.html" class="satoshi_font">COMING SOON</a></li>
@@ -75,7 +78,7 @@ function navINIT() {
75 78
                                 </div>
76 79
                                 <div class="same-style header-cart">
77 80
                                 <a class="cart-active1 position-relative" href="./shopping-cart.html"><i class="fa-solid fa-cart-shopping"></i>
78
-                                <span class="position-absolute cartnumcount d-none"  style="top:-15%;right:-115%">0</span>
81
+                                <span class="position-absolute cartnumcount d-none" >0</span>
79 82
                                 </a>
80 83
                                 </div>
81 84
                             </div>

+ 3
- 3
dist/Js/orderDetails/order_summary.js Dosyayı Görüntüle

@@ -3,8 +3,8 @@ let current_orderSerialDate =window.localStorage.getItem('orderSerialno');
3 3
 // let user_number =window.localStorage.getItem('Userphonenumber');
4 4
 let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
5 5
 let { userId} = cookieRes;
6
-// let userId = '106631380000095';
7
-let port = "https://anwi.bizgaze.app";
6
+//  let userId = '106631380000048';
7
+let port = SERVERNAME;
8 8
 // let port = "http://localhost:3088";
9 9
   // let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`;
10 10
   let url = `${port}/apis/v4/Bizgaze/integrations/products/salesorderdetailsbyorgid/organizationid/${userId}`;
@@ -12,7 +12,7 @@ let port = "https://anwi.bizgaze.app";
12 12
     url,
13 13
     method: "get",
14 14
     headers: {
15
-      'Authorization': `stat 05b2f2ca510344968c65e1ebf49a5595 `,
15
+      'Authorization': `stat ${STAT} `,
16 16
       'Content-Type': 'application/json'
17 17
   }
18 18
   };

+ 19
- 1
dist/Js/productdetails/productdetails.js Dosyayı Görüntüle

@@ -13,9 +13,21 @@ function startDetails(){
13 13
 
14 14
     let group = {};
15 15
 
16
+    let loadingActions = {
17
+        addLoader(){
18
+            $('.loadingCall').removeClass('d-none');
19
+            $('.mainContanierProduct').addClass('d-none');
20
+        },
21
+        removeLoader(){
22
+            $('.loadingCall').addClass('d-none');
23
+            $('.mainContanierProduct').removeClass('d-none');
24
+        }
25
+    }
26
+
16 27
     let currentClick = null;
17 28
     debugger;
18 29
     if(productId){
30
+        loadingActions.addLoader();
19 31
         updateProductId(productId);
20 32
        getProductDetails(productId);
21 33
         appendSpecs(productId)
@@ -324,6 +336,7 @@ debugger;
324 336
         let resData = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/products/productattributelist/productid/${id}`,true);
325 337
 
326 338
         if(resData.isError){
339
+            loadingActions.removeLoader();
327 340
             alert(resData.errorMsg.message);
328 341
             return;
329 342
         }
@@ -333,7 +346,10 @@ debugger;
333 346
         res = JSON.parse(res.result);
334 347
         // console.log(res);
335 348
 
336
-      if(!res) return;
349
+      if(!res) {
350
+        loadingActions.removeLoader();
351
+        return;
352
+      };
337 353
 
338 354
         
339 355
        
@@ -489,7 +505,9 @@ debugger;
489 505
         // }
490 506
 
491 507
         $('#spec-container-details').children().slice(1).find('.specsmallcard').removeClass('specsmallcard');
508
+
492 509
         addeventlisteners();
510
+        loadingActions.removeLoader();
493 511
         return;
494 512
         // let resTwo = await postStatAPIService(`${SERVERNAME}/apis/v4/bizgaze/integrations/products/itemtagscombination/productid/${id}`);
495 513
             

+ 23
- 0
dist/Js/products/products.js Dosyayı Görüntüle

@@ -80,6 +80,29 @@ debugger;
80 80
         let gb =  tags[tags.length-1];
81 81
         const [currencySymbol,amount] = getCurrencySymbol(pricelist);
82 82
         let priceAmt = `${currencySymbol} ${amount}`;
83
+        
84
+        return `<div class="col-lg-4 col-md-6 mb-4 col-md-6 ram_card cursor-pointer">
85
+        <div class="card border bg-gray-3 rounded-3 p-1 h-100">
86
+        <img src="${img}" alt="${itemname}" class="w-100 h-100"></a>
87
+            <div class="card-body">
88
+                <h5 class="card-title satoshi_font mb-0">${itemname}</h5>
89
+            </div>
90
+            <ul class="border-0 d-flex h-100 justify-content-between px-md-3 px-4 list-group-flush p-0 text-secondary" style="list-style: none;">
91
+                <li class="border-0 py-0">
92
+                    <span class="satoshi_font">  <h6>${gb}</h6> <h6>${ramTech}</h6></span>
93
+                </li>
94
+                <li class="border-0 py-0">
95
+                    <span class="satoshi_font"><h6>${priceAmt}</h6></span>
96
+                </li>
97
+            </ul>
98
+            <div class="card-body text-center">
99
+                <a href="/productdetails.html?productId=${RAM_ID}#itemid=${itemid}" class="btn bg-white font-1-2 px-5 w-100">Details
100
+                </a>
101
+            </div>
102
+        </div>
103
+    </div>`;
104
+
105
+        //abhi anna design
83 106
         return ` 
84 107
         
85 108
             <!--desktop--->

+ 1
- 1
dist/Js/shoppingcart/addtocart.js Dosyayı Görüntüle

@@ -194,7 +194,7 @@ debugger;
194 194
 
195 195
             addToCartFun();
196 196
             debugger;
197
-            toasterHelper('success',"Item added to cart");
197
+            toasterHelper('success',"Item added to cart","toast-top-right");
198 198
            
199 199
            $('#addtocart').html('Go to cart');
200 200
         });

+ 7
- 7
dist/Js/shoppingcart/select_delivery.js Dosyayı Görüntüle

@@ -130,7 +130,7 @@ let Newuser =window.localStorage.getItem('isaccountCreated');
130 130
     async function appendFormDetails(){
131 131
         let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
132 132
         console.log(cookieRes);
133
-        const { errorMsg, isError, response } = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`);
133
+        const { errorMsg, isError, response } = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/anwiauth/getbillinginfo/contactid/${cookieRes.userId}`);
134 134
         let res = JSON.parse(response.result)[0];
135 135
         debugger;
136 136
         const {cityid, lobid,organizationname,addressline,cityname,phonenumber,zipcode,name } =res;
@@ -152,7 +152,7 @@ let Newuser =window.localStorage.getItem('isaccountCreated');
152 152
     async function getAddressRes() {
153 153
         let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
154 154
         console.log(cookieRes);
155
-        const { errorMsg, isError, response } = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`);
155
+        const { errorMsg, isError, response } = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/anwiauth/getbillinginfo/contactid/${cookieRes.userId}`);
156 156
 
157 157
         let res = JSON.parse(response.result);
158 158
         console.log(res, 'befores');
@@ -285,7 +285,7 @@ let Newuser =window.localStorage.getItem('isaccountCreated');
285 285
         
286 286
         let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
287 287
         let { userId, name } = cookieRes;
288
-        const { errorMsg, isError, response } = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`);
288
+        const { errorMsg, isError, response } = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/anwiauth/getbillinginfo/contactid/${cookieRes.userId}`);
289 289
 
290 290
         let resAnwi = JSON.parse(response.result);
291 291
         console.log(resAnwi, 'befores');
@@ -521,7 +521,7 @@ let Newuser =window.localStorage.getItem('isaccountCreated');
521 521
     }
522 522
 
523 523
     async function getCountryId(){
524
-        const countryRes = await API_SERVICES_ACTIONS.getAPIService('apis/v4/bizgaze/integrations/products/getcountry');;
524
+        const countryRes = await API_SERVICES_ACTIONS.getAPIService('apis/v4/bizgaze/integrations/anwiauth/getcountry');;
525 525
         
526 526
         if (countryRes.isError) {
527 527
             alert("something went wrong");
@@ -564,7 +564,7 @@ let Newuser =window.localStorage.getItem('isaccountCreated');
564 564
     }
565 565
 
566 566
     async function getCountryStateCurrency() {
567
-        const countryRes = await API_SERVICES_ACTIONS.getAPIService('apis/v4/bizgaze/integrations/products/getcountry');;
567
+        const countryRes = await API_SERVICES_ACTIONS.getAPIService('apis/v4/bizgaze/integrations/anwiauth/getcountry');;
568 568
 
569 569
         if (countryRes.isError) {
570 570
             alert("something went wrong");
@@ -585,7 +585,7 @@ let Newuser =window.localStorage.getItem('isaccountCreated');
585 585
             }
586 586
         }
587 587
 
588
-        const stateRes = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/products/getcities/countryid/${countryID}`);
588
+        const stateRes = await API_SERVICES_ACTIONS.getAPIService(`apis/v4/bizgaze/integrations/anwiauth/getcities/countryid/${countryID}`);
589 589
 
590 590
         if (stateRes.isError) {
591 591
             alert("something went wrong");
@@ -607,7 +607,7 @@ let Newuser =window.localStorage.getItem('isaccountCreated');
607 607
 
608 608
        
609 609
 
610
-        const currencyRes = await API_SERVICES_ACTIONS.getAPIService('apis/v4/bizgaze/integrations/products/getcurrencies');
610
+        const currencyRes = await API_SERVICES_ACTIONS.getAPIService('apis/v4/bizgaze/integrations/anwiauth/getcurrencies');
611 611
 
612 612
         if(currencyRes.isError){
613 613
             alert("something went wrong");

+ 4
- 4
dist/Js/utils/helpers.js Dosyayı Görüntüle

@@ -38,19 +38,19 @@ function getCurrencySymbol(value=0) {
38 38
     }
39 39
 }
40 40
 
41
-function toasterHelper(type,message){
41
+function toasterHelper(type,message,align='toast-top-center'){
42 42
     // toasterOpts()
43 43
     debugger;
44
-    toasterOpts();
44
+    toasterOpts(align);
45 45
 Command: toastr[type](message);
46 46
 
47
-function toasterOpts(){
47
+function toasterOpts(align){
48 48
     toastr.options = {
49 49
         "closeButton": true,
50 50
         "debug": false,
51 51
         "newestOnTop": true,
52 52
         "progressBar": true,
53
-        "positionClass": "toast-top-center",
53
+        "positionClass": align,
54 54
         "preventDuplicates": true,
55 55
         "onclick": null,
56 56
         "showDuration": "300",

+ 4
- 4
dist/Js/warranty.js Dosyayı Görüntüle

@@ -15,11 +15,11 @@ function wattantyFunction() {
15 15
       $(".error_phonenumber").addClass("d-none");
16 16
       $("#Add_serial_number_inp").removeClass("border-danger");
17 17
       $("#Add_phonenumber_inp").removeClass("border-danger");
18
-      let port = "https://anwi.bizgaze.app";
18
+      let port = SERVERNAME;
19 19
       debugger;
20 20
       let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
21 21
       console.log(url);
22
-      const STAT = `05b2f2ca510344968c65e1ebf49a5595`;
22
+      //const STAT = `05b2f2ca510344968c65e1ebf49a5595`;
23 23
       const config = {
24 24
         url,
25 25
         method: "get",
@@ -80,11 +80,11 @@ function wattantyFunction() {
80 80
     if (serial_no_inp != "") {
81 81
       $(".error_serial_num").addClass("d-none");
82 82
       $("#Add_serial_number_inp").removeClass("border-danger");
83
-      let port = "https://anwi.bizgaze.app";
83
+      let port = SERVERNAME;
84 84
       debugger;
85 85
       let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
86 86
       console.log(url);
87
-      const STAT = `05b2f2ca510344968c65e1ebf49a5595`;
87
+      // const STAT = `05b2f2ca510344968c65e1ebf49a5595`;
88 88
       const config = {
89 89
         url,
90 90
         method: "get",

+ 53
- 0
dist/css/style.css Dosyayı Görüntüle

@@ -2324,6 +2324,10 @@ textarea:focus {
2324 2324
   background-color: #FCF9F2;
2325 2325
 }
2326 2326
 
2327
+.h-40p{
2328
+  height:40px;
2329
+}
2330
+
2327 2331
 .gradient-bg-1 {
2328 2332
   background: -webkit-gradient(linear, left top, left bottom, from(#12126a), to(#360fbb));
2329 2333
   background: -webkit-linear-gradient(top, #12126a 0%, #360fbb 100%);
@@ -31763,4 +31767,53 @@ input[type=number]::-webkit-outer-spin-button {
31763 31767
 }
31764 31768
 .addr_phone{
31765 31769
   cursor: not-allowed;
31770
+}
31771
+
31772
+.toast-top-right {
31773
+    top: 47px !important;
31774
+    right: 12px !important;
31775
+}
31776
+
31777
+.cartnumcount{
31778
+  white-space: nowrap;
31779
+  text-align: center;
31780
+  line-height: 18px;
31781
+  padding: 0 6px;
31782
+  height: 18px;
31783
+  background: #6a59d3;
31784
+  position: absolute;
31785
+  border-radius: 50%;
31786
+  font-size: 12px;
31787
+  color: #fff;
31788
+  left: 22px;
31789
+  top: -8px;
31790
+
31791
+}
31792
+
31793
+.loadingCall{
31794
+  position: sticky;
31795
+  top: 0px;
31796
+  left: 0px;
31797
+  width: 100vw;
31798
+  height: 100vh;
31799
+  background-color: white;
31800
+  display: flex;
31801
+  justify-content: center;
31802
+  align-items: center;
31803
+}
31804
+
31805
+.checkoutbtn{
31806
+  width:180px;
31807
+  height:40px;
31808
+  border-radius: 5px;
31809
+  display: flex;
31810
+  justify-content: center;
31811
+  align-items: center;
31812
+ 
31813
+}
31814
+
31815
+.checkoutbtn .spinner-border{
31816
+  height: 15px;
31817
+  width: 15px;
31818
+  margin-top: 4px;
31766 31819
 }

+ 1
- 1
index.html Dosyayı Görüntüle

@@ -412,7 +412,7 @@
412 412
     <script src="./dist/js/plugins/jquery-ui.js"></script>
413 413
     <script src="./dist/js/plugins/magnific-popup.js"></script> -->
414 414
     <!-- Main JS -->
415
-    <script src="./dist/js/utils/helpers.js"></script>
415
+
416 416
     <script src="./dist/js/main.js"></script>
417 417
     <script src="./dist/js/index/index.js"></script>
418 418
 

+ 6
- 1
login.html Dosyayı Görüntüle

@@ -474,7 +474,7 @@
474 474
                                                     <span class="loader"></span>
475 475
                                                 </div>
476 476
                                                 <a href="#" class="btn bg-gradient-anwi text-white w-100 fw-500"
477
-                                                    id="register_btn" type="submit">REGISTER</a>
477
+                                                    id="register_btn" type="submit">Sign Up</a>
478 478
                                             </div>
479 479
                                         </div>
480 480
                                         <div class="my-3 mt-4">
@@ -591,6 +591,9 @@
591 591
     <script src="./dist/js/main.js"></script>
592 592
     <script>
593 593
         $(".register_sectionbtn").click(function(){
594
+          debugger;
595
+          $('#User_Email').val('');
596
+        $('#User_password').val('');
594 597
           $(".login_section").css("display","none");
595 598
           $(".register_section").css("display","block");
596 599
           $(".login_section").find("#User_Email").removeClass("is-invalid");
@@ -600,6 +603,8 @@
600 603
           $('.error_msg').hide();
601 604
         });
602 605
         $("#login_sectionbtn").click(function(){
606
+            $("#register_form").find('#User_Email').val('');
607
+            $("#register_form").find('#User_password').val('');
603 608
           $(".login_section").css("display","block");
604 609
           $(".register_section").css("display","none");
605 610
           $(".register_section").find("#User_Email").removeClass("is-invalid");

+ 8
- 3
press.html Dosyayı Görüntüle

@@ -443,7 +443,7 @@
443 443
         totalCount = ele.closest('.image-list').find('.image-item').length;
444 444
         eleIndex = ele.index() + 1;
445 445
         eleImgSrc = ele.find('img').attr('src');
446
-        console.log(ele)
446
+      //  console.log(ele)
447 447
         let ele_con = ele.find('p').text();
448 448
         $('.image-slider-modal .image-view-list').html('<li class="p-md-5 p-3"><img src="'+eleImgSrc+'" alt="'+ele_con+'" class="w-75 mx-auto"/><p style="position:fixed;bottom:90px;left:14.4%;font-size:1rem;background: rgb(32, 38, 57);padding: 3px 5px;" class="fw-600 text-white slider_post_name">"'+ele_con+'"</p></li>');
449 449
         for (var i = 1; i <= totalCount; i++) {
@@ -470,9 +470,9 @@
470 470
             $('.image-slider-modal .thumbnail-list li').removeClass('show');
471 471
             $('.image-slider-modal .thumbnail-list li:nth-child(' + (eleIndex - 1) + ')').addClass('show');
472 472
             eleImgSrc = $('.image-slider-modal .thumbnail-list li:nth-child(' + (eleIndex - 1) + ') img').attr('src');
473
-            console.log(eleImgSrc);
473
+           // console.log(eleImgSrc);
474 474
             let eleCon1 = $('.image-slider-modal .thumbnail-list li:nth-child(' + (eleIndex + 1) + ') p').text();
475
-            console.log(eleCon1)
475
+//console.log(eleCon1)
476 476
             $('.image-slider-modal .image-view-list').html('<li class="p-md-5 p-3 text-center"><img src="'+eleImgSrc+'" alt="'+eleCon1+'" class="w-75 mx-auto"/><p style="position:fixed;bottom:90px;left:14.4%;font-size:1rem;background: rgb(32, 38, 57);padding: 3px 5px;" class="fw-600 text-white slider_post_name">"'+eleCon1+'"</p></li>');
477 477
           }
478 478
         }
@@ -502,6 +502,11 @@
502 502
       $('.bg-overlay, .image-slider-modal').removeClass('show');
503 503
     }
504 504
 
505
+    // document.querySelector('body','onbeforeunload',(e)=>{
506
+    //   localStorage.removeItem('Isloggedin');
507
+    // });
508
+
509
+   
505 510
 
506 511
   </script>
507 512
 </body>

+ 41
- 27
productdetails.html Dosyayı Görüntüle

@@ -38,7 +38,7 @@
38 38
     <link rel="stylesheet" href="./dist/css/fontawesome.all.min.css">
39 39
     <link rel="stylesheet" href="./dist/css/fontawesome.min.css">
40 40
     <link rel="stylesheet" href="./dist/toaster/toastr.css" />
41
-    
41
+
42 42
     <title>Anwi</title>
43 43
 
44 44
 </head>
@@ -55,17 +55,22 @@
55 55
                 </div>
56 56
             </div>
57 57
         </section>
58
-        <div class="container mainContanierProduct">
58
+        <div class="loadingCall">
59
+            <div class="spinner-border" role="status">
60
+                <span class="visually-hidden">Loading...</span>
61
+            </div>
62
+        </div>
63
+        <div class="container mainContanierProduct d-none">
59 64
             <div class="row">
60 65
                 <div class="col-xl-7 ">
61 66
                     <div class=" bgproductDGen  border-0 ">
62 67
                         <div class="row">
63 68
                             <div class="d-none">
64
-                            <!-- <div class="d-none d-xl-flex flex-column col-xl-2"> -->
69
+                                <!-- <div class="d-none d-xl-flex flex-column col-xl-2"> -->
65 70
                                 <div class=" d-flex flex-column gap-2 p-2 d-none">
66 71
                                     <input type="hidden" id="productidtag">
67 72
                                     <input type="hidden" id="itemidtag">
68
-                                   <!--  <div class="product-item-gallery active-gallery-img">
73
+                                    <!--  <div class="product-item-gallery active-gallery-img">
69 74
                                         <img src="./dist/assets/imgs/Navbar/Accessiories-1.png" alt=""
70 75
                                             class="w-100 h-100">
71 76
                                     </div>
@@ -90,8 +95,7 @@
90 95
                             <div class="col-xl-12" type="button" data-toggle="modal" data-target="#exampleModal">
91 96
                                 <div
92 97
                                     class=" productDetailsShadow productDetailsMain  card border-0 box-shodow d-flex justify-content-center align-items-center">
93
-                                    <img src="./dist/assets/imgs/nophoto.png" alt=""
94
-                                        class="card-img img-fluid">
98
+                                    <img src="./dist/assets/imgs/nophoto.png" alt="" class="card-img img-fluid">
95 99
                                 </div>
96 100
                             </div>
97 101
 
@@ -286,10 +290,18 @@
286 290
                                 <option value="2">2</option>
287 291
                                 <option value="3">3</option>
288 292
                                 <option value="4">4</option>
293
+                                <option value="5">5</option>
294
+                                <option value="6">6</option>
295
+                                <option value="7">7</option>
296
+                                <option value="8">8</option>
297
+                                <option value="9">9</option>
298
+                                <option value="10">10</option>
299
+
300
+
289 301
                             </select>
290 302
                         </div>
291 303
                         <div class="text-danger pt-2 insufficientqty d-none">Insufficient quantity</div>
292
-                        <div class=" d-flex  gap-2">
304
+                        <div class=" d-flex  gap-2 mt-2">
293 305
                             <button id="addtocart" class="w-100 btn bg-black text-white" style="border-radius: 5px;">
294 306
                                 Add to cart
295 307
                             </button>
@@ -306,13 +318,15 @@
306 318
 
307 319
             <!-- tabs -->
308 320
             <div class="row tabsContainer">
309
-            
321
+
310 322
                 <div class="col-lg-12 ">
311
-                    <div class="dec-review-topbar no-transition nav mb-65 productdetailstabs d-flex gap-4" role="tablist">
323
+                    <div class="dec-review-topbar no-transition nav mb-65 productdetailstabs d-flex gap-4"
324
+                        role="tablist">
312 325
                         <!-- <a class="active font-1-5 no-transition" data-bs-toggle="tab" href="#des-details1"  aria-selected="true" role="tab">Description</a> -->
313 326
 
314
-                        <a data-bs-toggle="tab" href="#des-details2" aria-selected="false" role="tab" class="active font-1-5 no-transition" tabindex="-1">Specification</a>
315
-                      
327
+                        <a data-bs-toggle="tab" href="#des-details2" aria-selected="false" role="tab"
328
+                            class="active font-1-5 no-transition" tabindex="-1">Specification</a>
329
+
316 330
                     </div>
317 331
                     <div class="tab-content dec-review-bottom">
318 332
                         <!-- <div id="des-details1" class="tab-pane active show" role="tabpanel">
@@ -337,21 +351,21 @@
337 351
                                 </table>
338 352
                             </div> -->
339 353
                             <div class="d-flex gap-5 specContainer mt-3">
340
-                                <div  class="specContainerleft">
354
+                                <div class="specContainerleft">
341 355
                                     <div class="">
342 356
                                         <div class="row  border-bottom">
343 357
                                             <div class="col-sm-6 bg-gray-3">
344
-                                                Manufacturer	
358
+                                                Manufacturer
345 359
                                             </div>
346 360
                                             <div class="col-sm-6">
347
-                                                26/F TOWER ONE TIME SQUARE 1 MATHESON STREET CAUSEWAY BAY HK	
361
+                                                26/F TOWER ONE TIME SQUARE 1 MATHESON STREET CAUSEWAY BAY HK
348 362
                                             </div>
349 363
                                         </div>
350 364
                                     </div>
351 365
                                     <div class="">
352 366
                                         <div class="row  border-bottom">
353 367
                                             <div class="col-sm-6 bg-gray-3">
354
-                                                Model Name	
368
+                                                Model Name
355 369
                                             </div>
356 370
                                             <div class="col-sm-6">
357 371
                                                 ‎ORA 16 GB RAM DDR5 SDRAM 4800 MHz
@@ -361,17 +375,17 @@
361 375
                                     <div class="">
362 376
                                         <div class="row  border-bottom">
363 377
                                             <div class="col-sm-6 bg-gray-3">
364
-                                                Product Dimensions	
378
+                                                Product Dimensions
365 379
                                             </div>
366 380
                                             <div class="col-sm-6">
367
-                                                8 x 3.1 x 0.3 cm; 10 Grams  
381
+                                                8 x 3.1 x 0.3 cm; 10 Grams
368 382
                                             </div>
369 383
                                         </div>
370 384
                                     </div>
371
-                                   
385
+
372 386
                                 </div>
373 387
                                 <div class="specContainerRight">
374
-                                    
388
+
375 389
                                     <div class="">
376 390
                                         <div class="row  border-bottom">
377 391
                                             <div class="col-sm-6 bg-gray-3">
@@ -385,7 +399,7 @@
385 399
                                     <div class="">
386 400
                                         <div class="row  border-bottom">
387 401
                                             <div class="col-sm-6 bg-gray-3">
388
-                                                RAM Size	
402
+                                                RAM Size
389 403
                                             </div>
390 404
                                             <div class="col-sm-6">
391 405
                                                 16 GB
@@ -395,21 +409,21 @@
395 409
                                     <div class="">
396 410
                                         <div class="row  border-bottom">
397 411
                                             <div class="col-sm-6 bg-gray-3">
398
-                                                Ram Memory Technology	
412
+                                                Ram Memory Technology
399 413
                                             </div>
400 414
                                             <div class="col-sm-6">
401 415
                                                 DDR5, SO-DIMM
402
-    
416
+
403 417
                                             </div>
404 418
                                         </div>
405 419
                                     </div>
406 420
                                 </div>
407 421
                             </div>
408 422
                         </div>
409
-                       
423
+
410 424
                     </div>
411 425
                 </div>
412
-              
426
+
413 427
             </div>
414 428
         </div>
415 429
 
@@ -418,7 +432,7 @@
418 432
     <div id="footer-head" class="sec-space-1"></div>
419 433
     <!-- end-footer -->
420 434
 
421
-  
435
+
422 436
 
423 437
     <script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
424 438
     <script src="./dist/js/jquery.min.js"></script>
@@ -438,10 +452,10 @@
438 452
 
439 453
 
440 454
     <script src="./libs/cookies.min.js"></script>
441
-  
455
+
442 456
 
443 457
     <script src="./dist/js/navbar.js"></script>
444
-<script src="./dist/js/footer.js"></script>
458
+    <script src="./dist/js/footer.js"></script>
445 459
     <script src="./dist/js/utils/helpers.js"></script>
446 460
     <script src="./dist/js/auth/apiservice.js"></script>
447 461
     <script src="./dist/js/shoppingcart/addtocart.js"></script>

+ 5
- 5
ramproducts.html Dosyayı Görüntüle

@@ -29,20 +29,20 @@
29 29
     <link rel="stylesheet" href="./dist/css/fontawesome.min.css">
30 30
     <title>Ram | Anwi</title>
31 31
     <style>
32
-        .card:hover{
32
+        /* .card:hover{
33 33
             box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
34 34
         }
35 35
         .card:hover img{
36 36
             transform: scale(1.1);
37
-            /* rotate: 10deg; */
38
-        }
39
-        .card:hover .btn{
37
+            
38
+        } */
39
+        /* .card:hover .btn{
40 40
             background-color: #000 !important;
41 41
             color:#ffff !important;
42 42
         }
43 43
         .card-title{
44 44
             font-size: 1.2rem;
45
-        }
45
+        } */
46 46
     </style>
47 47
 </head>
48 48
 

+ 1
- 1
selectdelivery.html Dosyayı Görüntüle

@@ -192,7 +192,7 @@
192 192
                             </div>
193 193
                         </div>
194 194
                         <div class="pb-3 d-none d-flex justify-content-end">
195
-                            <a class="text-uppercase  detailsAddressBtn  ordernowbtn bg-gradient-anwi btn btn-sm mt-3 text-white px-4">Order Now</a>
195
+                            <a class="text-uppercase  detailsAddressBtn  ordernowbtn bg-gradient-anwi btn btn-sm mt-3 text-white px-4 h-40p d-flex justify-content-center align-items-center">Order Now</a>
196 196
                         </div>
197 197
                     </div>
198 198
                 </div>

+ 4
- 3
shopping-cart.html Dosyayı Görüntüle

@@ -29,6 +29,7 @@
29 29
     <link rel="stylesheet" href="./dist/css/fontawesome.all.min.css">
30 30
     <link rel="stylesheet" href="./dist/css/fontawesome.min.css">
31 31
     <title>Anwi</title>
32
+
32 33
 </head>
33 34
 
34 35
 <body>
@@ -37,7 +38,7 @@
37 38
       <!-- end-navbar -->
38 39
 
39 40
     <!-- main-body -->
40
-    <main class="shopping-cart-main-container main-body pb-0">
41
+    <main class="shopping-cart-main-container main-body pb-0 ">
41 42
         <section class="services h-100 pt-3  bg-gradient-anwi">
42 43
             <div class="container pt-5 ">
43 44
                 <div class="text-center text-white ">
@@ -63,7 +64,7 @@
63 64
                 </div>
64 65
             </div>
65 66
         </section>
66
-        <div class="shopping-cart-details py-5 bg-gradient-violet ">
67
+        <div class="shopping-cart-details py-5 bg-gradient-violet  h-100">
67 68
             <div class="container pt-4">
68 69
                 <div class="row align-items-center bg-white border-radius-top py-1 d-none d-md-flex shopping-cart-details-row-1 border-bottom">
69 70
                     <div class="col-md-2">
@@ -94,7 +95,7 @@
94 95
                     </div>
95 96
                 </div>
96 97
                 <div class="d-flex justify-content-end align-items-center pt-4">
97
-                    <div class="btn btn-dark button_dark checkoutbtn"><div class="spinner-border d-none" role="status">
98
+                    <div class=" checkoutbtn bg-gradient-anwi btn btn-sm mt-3 text-white px-4"><div class="spinner-border d-none" role="status">
98 99
                       
99 100
                       </div><span>Check out</span></div>
100 101
                 </div>

+ 4
- 5
storageproducts.html Dosyayı Görüntüle

@@ -30,20 +30,19 @@
30 30
     <link rel="stylesheet" href="./dist/css/fontawesome.min.css">
31 31
     <title>Storage | Anwi</title>
32 32
     <style>
33
-        .card:hover{
33
+        /* .card:hover{
34 34
             box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
35 35
         }
36 36
         .card:hover img{
37 37
             transform: scale(1.1);
38
-            /* rotate: 10deg; */
39
-        }
40
-        .card:hover .btn{
38
+        } */
39
+        /* .card:hover .btn{
41 40
             background-color: #000 !important;
42 41
             color:#ffff !important;
43 42
         }
44 43
         .card-title{
45 44
             font-size: 1.2rem;
46
-        }
45
+        } */
47 46
     </style>
48 47
 </head>
49 48
 

Loading…
İptal
Kaydet