소스 검색

merge conflict

master
Kobus 5 년 전
부모
커밋
753dc90a40

+ 35
- 0
public/css/style.css 파일 보기

1574
 /*======================================
1574
 /*======================================
1575
 //--//-->   FORM INPUT
1575
 //--//-->   FORM INPUT
1576
 ======================================*/
1576
 ======================================*/
1577
+.login-page {
1578
+    width: 360px;
1579
+    padding: 8% 0 0;
1580
+    margin: auto;
1581
+}
1582
+
1583
+.reg-page {
1584
+    width: 800px;
1585
+    padding: 8% 0 0;
1586
+    margin: auto;
1587
+}
1588
+
1589
+.form {
1590
+    position: relative;
1591
+    z-index: 1;
1592
+    background: rgb(236, 233, 233);
1593
+    max-width: 360px;
1594
+    margin: 0 auto 100px;
1595
+    padding: 45px;
1596
+    text-align: center;
1597
+    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
1598
+}
1599
+
1600
+.regform {
1601
+    position: relative;
1602
+    z-index: 1;
1603
+    background: rgb(236, 233, 233);
1604
+    max-width: 600px;
1605
+    margin: 0 auto 100px;
1606
+    padding: 45px;
1607
+    text-align: center;
1608
+    font-size: 10pt;
1609
+    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
1610
+}
1611
+
1577
 
1612
 
1578
 .form-a #sendmessage {
1613
 .form-a #sendmessage {
1579
     color: #60CBEB;
1614
     color: #60CBEB;

+ 7
- 7
src/components/property/propertyImage.vue 파일 보기

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <div>
3
     <div>
4
-      <label class="btn btn-a" style="width: 137px; height:58px;">
4
+      <label class="btn btn-b-n" style="width: 85px; height:40px;">
5
         Upload
5
         Upload
6
         <input
6
         <input
7
           type="file"
7
           type="file"
30
   data() {
30
   data() {
31
     return {
31
     return {
32
       images: {},
32
       images: {},
33
-      image: [],
33
+      image: []
34
     };
34
     };
35
   },
35
   },
36
 
36
 
50
         const reader = new FileReader();
50
         const reader = new FileReader();
51
         var vm = this;
51
         var vm = this;
52
 
52
 
53
-        reader.onload = (e) => {
53
+        reader.onload = e => {
54
           vm.image.push(e.target.result);
54
           vm.image.push(e.target.result);
55
           console.log(vm.image);
55
           console.log(vm.image);
56
         };
56
         };
63
       this.images.splice(key, 1);
63
       this.images.splice(key, 1);
64
 
64
 
65
       if (!this.image.length) {
65
       if (!this.image.length) {
66
-        this.$refs.im.value = '';
66
+        this.$refs.im.value = "";
67
       }
67
       }
68
-    },
69
-  },
68
+    }
69
+  }
70
 };
70
 };
71
-</script>
71
+</script>

+ 71
- 65
src/components/property/propertyeditPage.vue 파일 보기

30
           >
30
           >
31
             <div class="form-group row">
31
             <div class="form-group row">
32
               <div class="col-md-4">
32
               <div class="col-md-4">
33
-                <label>Property Type</label>
33
+                <label for="Property Type"></label>
34
                 <select
34
                 <select
35
-                  class="form-control form-control-lg form-control-a"
35
+                  class="form-control"
36
                   name="propertyType"
36
                   name="propertyType"
37
                   id="propertyType"
37
                   id="propertyType"
38
                   v-model="property.propertyTypeId"
38
                   v-model="property.propertyTypeId"
39
                 >
39
                 >
40
-                  <option value="0">Please Select</option>
40
+                  <option value="0">Please select Property Type</option>
41
                   <option v-for="item in propertyTypes" :value="item.id">{{ item.description }}</option>
41
                   <option v-for="item in propertyTypes" :value="item.id">{{ item.description }}</option>
42
                 </select>
42
                 </select>
43
               </div>
43
               </div>
44
             </div>
44
             </div>
45
             <div class="form-group row">
45
             <div class="form-group row">
46
               <div class="col-md-4">
46
               <div class="col-md-4">
47
-                <label>Address Line 1</label>
47
+                <label for="Address Line 1"></label>
48
                 <input
48
                 <input
49
-                  class="form-control form-control-lg form-control-a"
49
+                  class="form-control"
50
                   type="text"
50
                   type="text"
51
+                  placeholder="Address Line 1"
51
                   name="address1"
52
                   name="address1"
52
                   id="address1"
53
                   id="address1"
53
                   v-model="property.addressLine1"
54
                   v-model="property.addressLine1"
54
                 />
55
                 />
55
               </div>
56
               </div>
56
               <div class="col-md-4">
57
               <div class="col-md-4">
57
-                <label>Address Line 2</label>
58
+                <label for="Address Line 2"></label>
58
                 <input
59
                 <input
59
-                  class="form-control form-control-lg form-control-a"
60
+                  class="form-control"
60
                   type="text"
61
                   type="text"
62
+                  placeholder="Address Line 2"
61
                   name="address2"
63
                   name="address2"
62
                   id="address2"
64
                   id="address2"
63
                   v-model="property.addressLine2"
65
                   v-model="property.addressLine2"
64
                 />
66
                 />
65
               </div>
67
               </div>
66
               <div class="col-md-4">
68
               <div class="col-md-4">
67
-                <label>Address Line 3</label>
69
+                <label for="Address Line 3"></label>
68
                 <input
70
                 <input
69
-                  class="form-control form-control-lg form-control-a"
71
+                  class="form-control"
70
                   type="text"
72
                   type="text"
73
+                  placeholder="Address Line 3"
71
                   name="address3"
74
                   name="address3"
72
                   id="address3"
75
                   id="address3"
73
                   v-model="property.addressLine3"
76
                   v-model="property.addressLine3"
76
             </div>
79
             </div>
77
             <div class="form-group row">
80
             <div class="form-group row">
78
               <div class="col-md-4">
81
               <div class="col-md-4">
79
-                <label>Province</label>
82
+                <label for="Province"></label>
80
                 <select
83
                 <select
81
-                  class="form-control form-control-lg form-control-a"
84
+                  class="form-control"
82
                   name="propertyType"
85
                   name="propertyType"
83
                   id="propertyType"
86
                   id="propertyType"
84
                   @change="ProvinceSelected"
87
                   @change="ProvinceSelected"
85
                   v-model="property.provinceId"
88
                   v-model="property.provinceId"
86
                 >
89
                 >
87
-                  <option value="0">Please Select</option>
90
+                  <option value="0">Please select Province</option>
88
                   <option
91
                   <option
89
                     v-for="province in provinces"
92
                     v-for="province in provinces"
90
                     :value="province.id"
93
                     :value="province.id"
92
                 </select>
95
                 </select>
93
               </div>
96
               </div>
94
               <div class="col-md-4">
97
               <div class="col-md-4">
95
-                <label>City</label>
98
+                <label for="City"></label>
96
                 <select
99
                 <select
97
-                  class="form-control form-control-lg form-control-a"
100
+                  class="form-control"
98
                   name="propertyType"
101
                   name="propertyType"
99
                   id="propertyType"
102
                   id="propertyType"
100
                   @change="CitySelected"
103
                   @change="CitySelected"
101
                   v-model="property.cityId"
104
                   v-model="property.cityId"
102
                 >
105
                 >
103
-                  <option value="0">Please Select</option>
106
+                  <option value="0">Please select City</option>
104
                   <option v-for="city in cities" :value="city.id">{{ city.description }}</option>
107
                   <option v-for="city in cities" :value="city.id">{{ city.description }}</option>
105
                 </select>
108
                 </select>
106
               </div>
109
               </div>
107
               <div class="col-md-4">
110
               <div class="col-md-4">
108
-                <label>Suburb</label>
111
+                <label for="Suburb"></label>
109
                 <select
112
                 <select
110
-                  class="form-control form-control-lg form-control-a"
113
+                  class="form-control"
111
                   name="propertyType"
114
                   name="propertyType"
112
                   id="suburbselector"
115
                   id="suburbselector"
113
                   v-model="property.suburbId"
116
                   v-model="property.suburbId"
114
                 >
117
                 >
115
-                  <option value="0">Please Select</option>
118
+                  <option value="0">Please select Suburb</option>
116
                   <option v-for="suburb in suburbs" :value="suburb.id">{{ suburb.description }}</option>
119
                   <option v-for="suburb in suburbs" :value="suburb.id">{{ suburb.description }}</option>
117
                 </select>
120
                 </select>
118
               </div>
121
               </div>
119
             </div>
122
             </div>
120
             <div class="form-group row">
123
             <div class="form-group row">
121
               <div class="col-md-4">
124
               <div class="col-md-4">
122
-                <label v-if="salesType === 'Rental'">Rental</label>
123
-                <label v-if="salesType !== 'Rental'">Sale Price</label>
125
+                <label v-if="salesType === 'Rental'">Rental Price</label>
126
+                <label v-if="salesType !== 'Rental'">Sales Price</label>
124
                 <input
127
                 <input
125
-                  class="form-control form-control-lg form-control-a"
128
+                  class="form-control"
126
                   type="number"
129
                   type="number"
127
                   name="price"
130
                   name="price"
128
                   id="price"
131
                   id="price"
132
+                  placeholder="R"
129
                   v-model="property.price"
133
                   v-model="property.price"
130
                 />
134
                 />
131
               </div>
135
               </div>
132
               <div class="col-md-4" v-if="salesType === 'Rental'">
136
               <div class="col-md-4" v-if="salesType === 'Rental'">
133
                 <label>Per</label>
137
                 <label>Per</label>
134
                 <select
138
                 <select
135
-                  class="form-control form-control-lg form-control-a"
139
+                  class="form-control"
136
                   name="propertyType"
140
                   name="propertyType"
137
                   id="propertyType"
141
                   id="propertyType"
138
                   v-model="property.per"
142
                   v-model="property.per"
139
                 >
143
                 >
140
-                  <option value>Please Select</option>
144
+                  <option value>Please select</option>
141
                   <option value="month">Month</option>
145
                   <option value="month">Month</option>
142
                   <option value="day">Day</option>
146
                   <option value="day">Day</option>
143
                 </select>
147
                 </select>
145
             </div>
149
             </div>
146
             <div class="form-group row">
150
             <div class="form-group row">
147
               <div class="col-md-12">
151
               <div class="col-md-12">
148
-                <label>Property Description</label>
152
+                <label for="Property Description"></label>
149
                 <textarea
153
                 <textarea
150
-                  class="form-control editor form-control-lg form-control-a"
154
+                  class="form-control editor"
155
+                  placeholder="Property Description"
151
                   name="description"
156
                   name="description"
152
                   v-model="property.description"
157
                   v-model="property.description"
153
                 ></textarea>
158
                 ></textarea>
159
+                <br />
154
                 <p>* A listing fee of R380 including VAT is payable to list your Property on the Uni-Vate website</p>
160
                 <p>* A listing fee of R380 including VAT is payable to list your Property on the Uni-Vate website</p>
155
               </div>
161
               </div>
156
             </div>
162
             </div>
176
               </div>
182
               </div>
177
             </div>
183
             </div>
178
             <ImageLoad />
184
             <ImageLoad />
179
-            <button type="submit" class="btn btn-a">Save</button>
185
+            <button type="submit" class="btn btn-b-n" style="width: 85px; height:40px;">Save</button>
180
           </form>
186
           </form>
181
         </div>
187
         </div>
182
       </div>
188
       </div>
185
 </template>
191
 </template>
186
 
192
 
187
 <script>
193
 <script>
188
-import UserField from './propertyUserField.vue';
189
-import ImageLoad from './propertyImage.vue';
194
+import UserField from "./propertyUserField.vue";
195
+import ImageLoad from "./propertyImage.vue";
190
 
196
 
191
 export default {
197
 export default {
192
-  name: 'PropertyEdit',
198
+  name: "PropertyEdit",
193
   components: {
199
   components: {
194
     UserField,
200
     UserField,
195
-    ImageLoad,
201
+    ImageLoad
196
   },
202
   },
197
   data() {
203
   data() {
198
     return {
204
     return {
199
       ApiRunning: false,
205
       ApiRunning: false,
200
-      propertyType: 'Residential',
201
-      salesType: 'Rental',
202
-      imageFile: '',
206
+      propertyType: "Residential",
207
+      salesType: "Rental",
208
+      imageFile: "",
203
       provinces: [],
209
       provinces: [],
204
       cities: [],
210
       cities: [],
205
       suburbs: [],
211
       suburbs: [],
206
       propertyValues: [],
212
       propertyValues: [],
207
       propValuesProp: [],
213
       propValuesProp: [],
208
       propertyTypes: [],
214
       propertyTypes: [],
209
-      selectedProvince: '',
210
-      selectedCity: '',
215
+      selectedProvince: "",
216
+      selectedCity: "",
211
       property: {
217
       property: {
212
         propertyTypeId: 0,
218
         propertyTypeId: 0,
213
-        addressLine1: '',
214
-        addressLine2: '',
215
-        addressLine3: '',
219
+        addressLine1: "",
220
+        addressLine2: "",
221
+        addressLine3: "",
216
         suburbId: 0,
222
         suburbId: 0,
217
         cityId: 0,
223
         cityId: 0,
218
         provinceId: 0,
224
         provinceId: 0,
219
-        price: '',
220
-        per: '',
221
-        description: '',
222
-        isSale: false,
223
-      },
225
+        price: "",
226
+        per: "",
227
+        description: "",
228
+        isSale: false
229
+      }
224
     };
230
     };
225
   },
231
   },
226
   methods: {
232
   methods: {
227
     SubmitData() {
233
     SubmitData() {
228
-      const axios = require('axios');
234
+      const axios = require("axios");
229
       axios
235
       axios
230
-        .post('http://localhost:57260/Property/Property', this.property, {
236
+        .post("http://localhost:57260/Property/Property", this.property, {
231
           headers: {
237
           headers: {
232
-            'Content-type': 'application/json',
233
-          },
238
+            "Content-type": "application/json"
239
+          }
234
         })
240
         })
235
-        .then((response) => {})
236
-        .catch((e) => {
241
+        .then(response => {})
242
+        .catch(e => {
237
           alert(e);
243
           alert(e);
238
         });
244
         });
239
 
245
 
244
         this.selectedProvince = this.provinces[
250
         this.selectedProvince = this.provinces[
245
           item.target.options.selectedIndex - 1
251
           item.target.options.selectedIndex - 1
246
         ].description;
252
         ].description;
247
-        const axios = require('axios');
253
+        const axios = require("axios");
248
         axios
254
         axios
249
           .get(
255
           .get(
250
-            `http://localhost:57260/region/city/getby/${this.selectedProvince}`,
256
+            `http://localhost:57260/region/city/getby/${this.selectedProvince}`
251
           )
257
           )
252
           .then(response => (this.cities = response.data));
258
           .then(response => (this.cities = response.data));
253
       }
259
       }
257
         this.selectedCity = this.cities[
263
         this.selectedCity = this.cities[
258
           item.target.options.selectedIndex - 1
264
           item.target.options.selectedIndex - 1
259
         ].description;
265
         ].description;
260
-        const axios = require('axios');
266
+        const axios = require("axios");
261
         axios
267
         axios
262
           .get(
268
           .get(
263
-            `http://localhost:57260/region/Suburb/${this.selectedProvince}/${this.selectedCity}`,
269
+            `http://localhost:57260/region/Suburb/${this.selectedProvince}/${this.selectedCity}`
264
           )
270
           )
265
           .then(response => (this.suburbs = response.data));
271
           .then(response => (this.suburbs = response.data));
266
       }
272
       }
267
-    },
273
+    }
268
   },
274
   },
269
   mounted() {
275
   mounted() {
270
     this.propertyType = this.$route.params.propType;
276
     this.propertyType = this.$route.params.propType;
271
     this.salesType = this.$route.params.saleType;
277
     this.salesType = this.$route.params.saleType;
272
 
278
 
273
-    const axios = require('axios');
279
+    const axios = require("axios");
274
     axios
280
     axios
275
-      .get('http://localhost:57260/Property/PropertyFields/Property Overview')
281
+      .get("http://localhost:57260/Property/PropertyFields/Property Overview")
276
       .then(response => (this.propValuesProp = response.data));
282
       .then(response => (this.propValuesProp = response.data));
277
 
283
 
278
     axios
284
     axios
279
-      .get('http://localhost:57260/Property/PropertyFields')
285
+      .get("http://localhost:57260/Property/PropertyFields")
280
       .then(response => (this.propertyValues = response.data));
286
       .then(response => (this.propertyValues = response.data));
281
 
287
 
282
     axios
288
     axios
283
       .get(
289
       .get(
284
-        `http://localhost:57260/Property/PropertyType/type/${this.propertyType}`,
290
+        `http://localhost:57260/Property/PropertyType/type/${this.propertyType}`
285
       )
291
       )
286
       .then(response => (this.propertyTypes = response.data));
292
       .then(response => (this.propertyTypes = response.data));
287
 
293
 
288
     axios
294
     axios
289
-      .get('http://localhost:57260/region/province')
295
+      .get("http://localhost:57260/region/province")
290
       .then(response => (this.provinces = response.data));
296
       .then(response => (this.provinces = response.data));
291
   },
297
   },
292
   computed: {
298
   computed: {
294
       this.propertyType = this.$route.params.propType;
300
       this.propertyType = this.$route.params.propType;
295
       this.salesType = this.$route.params.saleType;
301
       this.salesType = this.$route.params.saleType;
296
 
302
 
297
-      const axios = require('axios');
303
+      const axios = require("axios");
298
       axios
304
       axios
299
         .get(
305
         .get(
300
-          `http://localhost:57260/Property/PropertyType/type/${this.propertyType}`,
306
+          `http://localhost:57260/Property/PropertyType/type/${this.propertyType}`
301
         )
307
         )
302
         .then(response => (this.propertyTypes = response.data));
308
         .then(response => (this.propertyTypes = response.data));
303
-    },
309
+    }
304
   },
310
   },
305
   watch: {
311
   watch: {
306
     SalesTypeChanged() {
312
     SalesTypeChanged() {
307
       console.log(this.salesType);
313
       console.log(this.salesType);
308
-    },
309
-  },
314
+    }
315
+  }
310
 };
316
 };
311
-</script>
317
+</script>

+ 6
- 4
src/components/shared/footerSection.vue 파일 보기

22
               <div class="w-footer-a">
22
               <div class="w-footer-a">
23
                 <ul class="list-unstyled">
23
                 <ul class="list-unstyled">
24
                   <li class="color-a">
24
                   <li class="color-a">
25
-                    <span class="color-text-a">Phone .</span> +27 (0)12 492 1238
25
+                    <eva-icon name="phone-call-outline" fill="#60CBEB"></eva-icon>
26
+                    <span class="color-text-a"></span> +27 (0)12 492 1238
26
                   </li>
27
                   </li>
27
                   <li class="color-a">
28
                   <li class="color-a">
28
-                    <span class="color-text-a">Email .</span> info@univateproperties.co.za
29
+                    <eva-icon name="email-outline" fill="#60CBEB"></eva-icon>
30
+                    <span class="color-text-a"></span> info@univateproperties.co.za
29
                   </li>
31
                   </li>
30
                 </ul>
32
                 </ul>
31
               </div>
33
               </div>
56
                     </li>
58
                     </li>
57
                     <br />
59
                     <br />
58
                     <li class="list-inline-item">
60
                     <li class="list-inline-item">
59
-                      <a href="www.https://www.facebook.com/univateproperties/">
60
-                        <i class="fa fa-facebook color-b font-weight-bold" aria-hidden="true"></i>
61
+                      <a href="https://www.facebook.com/univateproperties/">
62
+                        <eva-icon name="facebook-outline" fill="#60CBEB"></eva-icon>
61
                       </a>
63
                       </a>
62
                     </li>
64
                     </li>
63
                   </ul>
65
                   </ul>

+ 41
- 17
src/components/shared/navBar.vue 파일 보기

64
             <div class="dropdown-menu" aria-labelledby="navbarDropdown">
64
             <div class="dropdown-menu" aria-labelledby="navbarDropdown">
65
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/timeshare/buy')">To Buy</a>
65
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/timeshare/buy')">To Buy</a>
66
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/timeshare/sell')">To Sell</a>
66
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/timeshare/sell')">To Sell</a>
67
+              <a
68
+                class="dropdown-item cursor-pointer"
69
+                @click="routerGoTo('/timeshare/sell')"
70
+              >My Timeshare Weeks</a>
67
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/timeshare/faq')">FAQ</a>
71
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/timeshare/faq')">FAQ</a>
68
             </div>
72
             </div>
69
           </li>
73
           </li>
90
                 class="dropdown-item cursor-pointer"
94
                 class="dropdown-item cursor-pointer"
91
                 @click="routerGoTo('/property/Residential/Sale')"
95
                 @click="routerGoTo('/property/Residential/Sale')"
92
               >To Sell</div>
96
               >To Sell</div>
97
+              <div
98
+                class="dropdown-item cursor-pointer"
99
+                @click="routerGoTo('/property/Residential/Sale')"
100
+              >My Residential Properties</div>
101
+              <div
102
+                class="dropdown-item cursor-pointer"
103
+                @click="routerGoTo('/property/Residential/Sale')"
104
+              >Admin Residential Properties</div>
93
             </div>
105
             </div>
94
           </li>
106
           </li>
95
           <li class="nav-item dropdown">
107
           <li class="nav-item dropdown">
115
                 class="dropdown-item cursor-pointer"
127
                 class="dropdown-item cursor-pointer"
116
                 @click="routerGoTo('/property/Commercial/Sale')"
128
                 @click="routerGoTo('/property/Commercial/Sale')"
117
               >To Sell</a>
129
               >To Sell</a>
130
+              <a
131
+                class="dropdown-item cursor-pointer"
132
+                @click="routerGoTo('/property/Commercial/Sale')"
133
+              >My Commercial Properties</a>
134
+              <a
135
+                class="dropdown-item cursor-pointer"
136
+                @click="routerGoTo('/property/Commercial/Sale')"
137
+              >Admin Commercial Properties</a>
118
             </div>
138
             </div>
119
           </li>
139
           </li>
120
           <li class="nav-item dropdown">
140
           <li class="nav-item dropdown">
129
             >Admin</a>
149
             >Admin</a>
130
             <div class="dropdown-menu" aria-labelledby="navbarDropdown">
150
             <div class="dropdown-menu" aria-labelledby="navbarDropdown">
131
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/status/list')">Status</a>
151
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/status/list')">Status</a>
152
+              <a
153
+                class="dropdown-item cursor-pointer"
154
+                @click="routerGoTo('/status/list')"
155
+              >Timeshare Week Admin</a>
156
+              <a
157
+                class="dropdown-item cursor-pointer"
158
+                @click="routerGoTo('/status/list')"
159
+              >Changes Logs</a>
160
+              <a
161
+                class="dropdown-item cursor-pointer"
162
+                @click="routerGoTo('/status/list')"
163
+              >User Management & Access</a>
164
+              <a
165
+                class="dropdown-item cursor-pointer"
166
+                @click="routerGoTo('/status/list')"
167
+              >Tender Week Management</a>
168
+              <a
169
+                class="dropdown-item cursor-pointer"
170
+                @click="routerGoTo('/status/list')"
171
+              >Timeshare Week Approval</a>
132
               <a
172
               <a
133
                 class="dropdown-item cursor-pointer"
173
                 class="dropdown-item cursor-pointer"
134
                 @click="routerGoTo('/unitConfiguration/list')"
174
                 @click="routerGoTo('/unitConfiguration/list')"
151
             <div class="dropdown-menu" aria-labelledby="navbarDropdown">
191
             <div class="dropdown-menu" aria-labelledby="navbarDropdown">
152
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/user/login')">Login</a>
192
               <a class="dropdown-item cursor-pointer" @click="routerGoTo('/user/login')">Login</a>
153
               <a class="dropdown-item cursor-pointer">Logout</a>
193
               <a class="dropdown-item cursor-pointer">Logout</a>
154
-            </div>
155
-          </li>
156
-          <li class="nav-item dropdown">
157
-            <a
158
-              class="nav-link dropdown-toggle"
159
-              href="#"
160
-              id="navbarDropdown"
161
-              role="button"
162
-              data-toggle="dropdown"
163
-              aria-haspopup="true"
164
-              aria-expanded="false"
165
-            >Register</a>
166
-            <div class="dropdown-menu" aria-labelledby="navbarDropdown">
167
-              <a
168
-                class="dropdown-item cursor-pointer"
169
-                @click="routerGoTo('/user/register')"
170
-              >Private Individual</a>
194
+              <a class="dropdown-item cursor-pointer" @click="routerGoTo('/user/register')">Register</a>
171
               <a
195
               <a
172
                 class="dropdown-item cursor-pointer"
196
                 class="dropdown-item cursor-pointer"
173
                 @click="routerGoTo('/user/registeragency')"
197
                 @click="routerGoTo('/user/registeragency')"

+ 3
- 3
src/components/timeshare/buy/buyPage.vue 파일 보기

40
               <div class="accordion" id="accordionExample">
40
               <div class="accordion" id="accordionExample">
41
                 <div class="card" v-for="(region, r) in detailedRegion" :key="r">
41
                 <div class="card" v-for="(region, r) in detailedRegion" :key="r">
42
                   <a
42
                   <a
43
-                    class="btn-link"
43
+                    class="btn btn-b-n"
44
                     type="button"
44
                     type="button"
45
                     data-toggle="collapse"
45
                     data-toggle="collapse"
46
                     :data-target="'#collapse' + region.id"
46
                     :data-target="'#collapse' + region.id"
47
                     aria-expanded="false"
47
                     aria-expanded="false"
48
                     :aria-controls="'collapse' + region.id"
48
                     :aria-controls="'collapse' + region.id"
49
                   >
49
                   >
50
-                    <div class="card-header" :id="'header' + region.id">
51
-                      <h4 class="mb-0">{{ region.regionName }}</h4>
50
+                    <div :id="'header' + region.id">
51
+                      <h5 class="mb-0">{{ region.regionName }}</h5>
52
                     </div>
52
                     </div>
53
                   </a>
53
                   </a>
54
                   <div
54
                   <div

+ 2
- 6
src/components/timeshare/faqPage.vue 파일 보기

3
   <section class="collapse-items">
3
   <section class="collapse-items">
4
     <section class="intro-single">
4
     <section class="intro-single">
5
       <div class="container">
5
       <div class="container">
6
-        <div class="row">
7
-          <div class="col-md-12 col-lg-8">
8
-            <div class="title-single-box">
9
-              <h1 class="title-single" style="text-align:left;">Frequently Asked Questions</h1>
10
-            </div>
11
-          </div>
6
+        <div class="title-single-box">
7
+          <h3 class="title-single" style="text-align:left;">Frequently Asked Questions</h3>
12
         </div>
8
         </div>
13
       </div>
9
       </div>
14
     </section>
10
     </section>

+ 53
- 53
src/components/user/loginPage.vue 파일 보기

1
 <template>
1
 <template>
2
   <!-- eslint-disable max-len -->
2
   <!-- eslint-disable max-len -->
3
-  <div class="container">
4
-    <div class="goDown"></div>
5
-    <form id="mainForm">
6
-      <div class="form-group row"></div>
7
-      <h4>Login</h4>
8
-      <div class="form-group row"></div>
9
-      <div class="form-group row">
10
-        <div class="offset-md-1 col-md-5">
11
-          <div class="row">
12
-            <div class="col-md-1">
13
-              <eva-icon name="lock-outline" fill="#60CBEB"></eva-icon>
14
-            </div>
15
-            <div class="col-md-11">
16
-              <input
17
-                class="form-control"
18
-                v-model="username"
19
-                placeholder="Username"
20
-                type="text"
21
-                name="username"
22
-                value
23
-              />
24
-            </div>
25
-          </div>
3
+  <div class="login-page">
4
+    <form id="signIn">
5
+      <div class="form">
6
+        <div>
7
+          <h4>Login</h4>
26
         </div>
8
         </div>
27
-        <div class="col-md-5">
28
-          <div class="row">
29
-            <div class="col-md-11">
30
-              <input
31
-                class="form-control"
32
-                :type="isPasswordShown"
33
-                v-model="password"
34
-                id="password"
35
-                placeholder="Password"
36
-                name="password"
37
-                value
38
-              />
39
-            </div>
9
+        <div class="row">
10
+          <div>
11
+            <eva-icon name="lock-outline" fill="#60CBEB"></eva-icon>
12
+          </div>
13
+          <div class="col-md-11">
14
+            <input
15
+              class="form-control"
16
+              v-model="username"
17
+              placeholder="Username"
18
+              type="text"
19
+              name="username"
20
+              value
21
+            />
22
+          </div>
23
+          <div>
40
             <eva-icon v-if="!showPassword" name="eye-off" fill="#60CBEB" @click="togglePassword()"></eva-icon>
24
             <eva-icon v-if="!showPassword" name="eye-off" fill="#60CBEB" @click="togglePassword()"></eva-icon>
41
             <eva-icon v-else name="eye" fill="#60CBEB" @click="passwordToggled()"></eva-icon>
25
             <eva-icon v-else name="eye" fill="#60CBEB" @click="passwordToggled()"></eva-icon>
42
           </div>
26
           </div>
27
+          <div class="col-md-11">
28
+            <input
29
+              class="form-control"
30
+              :type="isPasswordShown"
31
+              v-model="password"
32
+              id="password"
33
+              placeholder="Password"
34
+              name="password"
35
+              value
36
+            />
37
+          </div>
43
         </div>
38
         </div>
39
+        <div class="form-group row"></div>
40
+        <button @click="Login" class="btn btn-b-n" type="submit">Sign In</button>
41
+        <p v-if="user !== null">{{ user }}</p>
44
       </div>
42
       </div>
45
-      <div class="form-group row"></div>
46
-      <eva-icon name="log-in-outline" fill="#60CBEB"></eva-icon>
47
-      <button @click="Login" class="btn btn-b-n">Sign In</button>
48
-      <p v-if="user !== null">{{ user }}</p>
49
     </form>
43
     </form>
50
-    <br />
51
-    <br />
52
-    <br />
53
-    <form>
54
-      <h5>Trouble signing in?</h5>
55
-      <div class="form-group row"></div>
56
-      <div class="from-group row">
57
-        <div class="col-md-12">
58
-          <input class="form-control" placeholder="Your Email" type="text" name="email" value />
44
+
45
+    <form id="forgot">
46
+      <div class="form">
47
+        <h5>Trouble signing in?</h5>
48
+        <div>
49
+          <div class="row">
50
+            <eva-icon name="email" fill="#60CBEB"></eva-icon>
51
+
52
+            <div class="col-md-11">
53
+              <input class="form-control" placeholder="Your Email" type="text" name="email" value />
54
+            </div>
55
+          </div>
56
+        </div>
57
+        <div class="form-group row"></div>
58
+        <div class="offset-md-3 col-md-5">
59
+          <button class="btn btn-b-n" type="submit">Get Help</button>
59
         </div>
60
         </div>
60
       </div>
61
       </div>
61
-      <div class="form-group row"></div>
62
-      <eva-icon name="question-mark-circle-outline" fill="#60CBEB"></eva-icon>
63
-      <button class="btn btn-b-n">Get Help</button>
64
     </form>
62
     </form>
65
   </div>
63
   </div>
66
 </template>
64
 </template>
81
       textErrors: 'Some error with the field',
79
       textErrors: 'Some error with the field',
82
       text: '',
80
       text: '',
83
       showPassword: false,
81
       showPassword: false,
82
+      password: '',
84
     };
83
     };
85
   },
84
   },
86
   methods: {
85
   methods: {
87
     Login() {
86
     Login() {
88
       console.log(this.username + this.password);
87
       console.log(this.username + this.password);
89
       axios
88
       axios
90
-        .post('http://localhost:57260/api/user', {
89
+        .post('http://localhost:57260/api/register/authenticate', {
91
           username: this.username,
90
           username: this.username,
92
           password: this.password,
91
           password: this.password,
93
         })
92
         })
94
         .then(response => console.log(response.data));
93
         .then(response => console.log(response.data));
94
+      this.$router.push('/about/us');
95
     },
95
     },
96
     togglePassword() {
96
     togglePassword() {
97
       this.showPassword = true;
97
       this.showPassword = true;

+ 86
- 25
src/components/user/registerAgencySection.vue 파일 보기

1
 <template>
1
 <template>
2
   <!-- eslint-disable max-len -->
2
   <!-- eslint-disable max-len -->
3
-  <div class="container">
4
-    <div class="goDown"></div>
5
-    <form>
6
-      <div class="from-group row">
7
-        <div class="col-md-12">
8
-          <div class="form-group row"></div>
9
-          <div class="form-group row"></div>
10
-          <h3>Agency Details</h3>
11
-          <div class="form-group row"></div>
12
-          <div class="form-group row">
13
-            <div class="col-md-4">
14
-              <label>Agency Name</label>
15
-              <eva-icon name="people" fill="lightgrey"></eva-icon>
16
-              <input class="form-control" type="text" name="agencyname" value />
3
+  <form method="POST">
4
+    <div class="container" style="text-align:left">
5
+      <div class="reg-page">
6
+        <div class="regform" style="text-align:left">
7
+          <h4>Agency Details</h4>
8
+          <div class="col-md-8" style="margin-bottom: 1em">
9
+            <eva-icon name="people" fill="#60CBEB"></eva-icon>
10
+            <input class="form-control" type="text" name="agencyname" placeholder="Agency Name" />
11
+          </div>
12
+          <div class="col-md-8" style="margin-bottom: 1em">
13
+            <eva-icon name="book" fill="lightgrey"></eva-icon>
14
+            <input
15
+              class="form-control"
16
+              type="text"
17
+              name="eaabffcnumber"
18
+              placeholder="EAAB FFC Number"
19
+            />
20
+          </div>
21
+          <div class="col-md-8">
22
+            <eva-icon name="clipboard" fill="lightgrey"></eva-icon>
23
+            <input
24
+              class="form-control"
25
+              type="text"
26
+              name="companyregnumber"
27
+              placeholder="Company Registration Number"
28
+            />
29
+          </div>
30
+          <hr />
31
+          <div class="col-md-10" style="text-align:left">
32
+            <h5 style="margin-bottom: 1em">Agency Administrator</h5>
33
+            <div class="row" style="text-align:left">
34
+              <div class="col-md-6" style="margin-bottom: 1em">
35
+                <eva-icon name="person" fill="#60CBEB"></eva-icon>
36
+                <input class="form-control" type="text" name="name" placeholder="Name" />
37
+              </div>
38
+              <div class="col-md-6" style="margin-bottom: 1em">
39
+                <eva-icon name="person" fill="#60CBEB"></eva-icon>
40
+                <input class="form-control" type="text" name="surname" placeholder="Surname" />
41
+              </div>
17
             </div>
42
             </div>
18
-            <div class="col-md-4">
19
-              <label>EAAB FFC Number</label>
20
-              <eva-icon name="book" fill="lightgrey"></eva-icon>
21
-              <input class="form-control" type="text" name="eaabffcnumber" value />
43
+
44
+            <div class="row" style="text-align:left">
45
+              <div class="col-md-8">
46
+                <eva-icon name="email" fill="lightgrey"></eva-icon>
47
+                <input class="form-control" type="text" name="email" placeholder="Email Address" />
48
+                <div class="form-group row"></div>
49
+              </div>
50
+
51
+              <div class="col-md-6" style="text-align:left">
52
+                <eva-icon name="smartphone" fill="lightgrey"></eva-icon>
53
+                <input
54
+                  class="form-control"
55
+                  type="text"
56
+                  name="cellnumber"
57
+                  placeholder="Contact Number"
58
+                />
59
+              </div>
60
+            </div>
61
+            <hr />
62
+            <div class="row">
63
+              <div class="col-md-7" style="margin-bottom: 1em">
64
+                <eva-icon name="person" fill="#60CBEB"></eva-icon>
65
+                <input class="form-control" type="text" name="username" placeholder="Username" />
66
+              </div>
67
+              <div class="col-md-7" style="margin-bottom: 1em">
68
+                <eva-icon name="lock" fill="#60CBEB"></eva-icon>
69
+                <input class="form-control" type="text" name="password" placeholder="Password" />
70
+              </div>
71
+              <div class="col-md-7" style="margin-bottom: 1em">
72
+                <eva-icon name="lock" fill="#60CBEB"></eva-icon>
73
+                <input
74
+                  class="form-control"
75
+                  type="text"
76
+                  name="confirmpassword"
77
+                  placeholder="Confirm Password"
78
+                />
79
+              </div>
80
+            </div>
81
+          </div>
82
+          <div class="form-group row"></div>
83
+          <div class="row offset-md-1">
84
+            <div class="col-md-2">
85
+              <button class="btn btn-b-n" type="submit">Submit</button>
22
             </div>
86
             </div>
23
-            <div class="col-md-4">
24
-              <label>Company Registration Number</label>
25
-              <eva-icon name="clipboard" fill="lightgrey"></eva-icon>
26
-              <input class="form-control" type="text" name="companyregnumber" value />
87
+            <div class="col-md-2 offset-md-1">
88
+              <button class="btn btn-b-n" type="submit">Cancel</button>
27
             </div>
89
             </div>
28
-            <RegisterPage :RegisterHeader="111" />
29
           </div>
90
           </div>
30
         </div>
91
         </div>
31
       </div>
92
       </div>
32
-    </form>
33
-  </div>
93
+    </div>
94
+  </form>
34
 </template>
95
 </template>
35
 
96
 
36
 <script>
97
 <script>

+ 59
- 58
src/components/user/registerPage.vue 파일 보기

1
 <template>
1
 <template>
2
-  <!-- eslint-disable max-len -->
3
-  <div class="container">
4
-    <div class="goDown"></div>
5
-    <form>
6
-      <div class="col-md-12">
7
-        <h3>{{ Header }}</h3>
8
-        <div class="form-group row"></div>
9
-        <div class="form-group row">
10
-          <div class="col-md-6">
11
-            <label>Name</label>
12
-            <eva-icon name="person" fill="#60CBEB"></eva-icon>
13
-            <input class="form-control" type="text" name="name" value />
14
-            <div class="form-group row"></div>
15
-          </div>
16
-          <div class="col-md-6">
17
-            <label>Surname</label>
18
-            <eva-icon name="person" fill="#60CBEB"></eva-icon>
19
-            <input class="form-control" type="text" name="surname" value />
20
-          </div>
21
-        </div>
22
-        <div class="form-group row">
23
-          <div class="col-md-4">
24
-            <label>Email</label>
25
-            <eva-icon name="email" fill="lightgrey"></eva-icon>
26
-            <input class="form-control" type="text" name="email" value />
27
-            <div class="form-group row"></div>
2
+  <form method="POST">
3
+    <!-- eslint-disable max-len -->
4
+    <div class="reg-page">
5
+      <div class="regform">
6
+        <div class="col-md-10" style="text-align:left">
7
+          <h5 style="margin-bottom: 1em">{{ Header }}</h5>
8
+          <div class="row" style="text-align:left">
9
+            <div class="col-md-6" style="margin-bottom: 1em">
10
+              <eva-icon name="person" fill="#60CBEB"></eva-icon>
11
+              <input class="form-control" type="text" name="name" placeholder="Name" />
12
+            </div>
13
+            <div class="col-md-6" style="margin-bottom: 1em">
14
+              <eva-icon name="person" fill="#60CBEB"></eva-icon>
15
+              <input class="form-control" type="text" name="surname" placeholder="Surname" />
16
+            </div>
28
           </div>
17
           </div>
29
-          <div class="col-md-4">
30
-            <label>Telephone Number</label>
31
-            <eva-icon name="phone" fill="lightgrey"></eva-icon>
32
-            <input class="form-control" type="text" name="telephonenumber" value />
18
+
19
+          <div class="row" style="text-align:left">
20
+            <div class="col-md-8">
21
+              <eva-icon name="email" fill="lightgrey"></eva-icon>
22
+              <input class="form-control" type="text" name="email" placeholder="Email Address" />
23
+              <div class="form-group row"></div>
24
+            </div>
25
+
26
+            <div class="col-md-6" style="text-align:left">
27
+              <eva-icon name="smartphone" fill="lightgrey"></eva-icon>
28
+              <input
29
+                class="form-control"
30
+                type="text"
31
+                name="cellnumber"
32
+                placeholder="Contact Number"
33
+              />
34
+            </div>
33
           </div>
35
           </div>
34
-          <div class="col-md-4">
35
-            <label>Cell Number</label>
36
-            <eva-icon name="smartphone" fill="lightgrey"></eva-icon>
37
-            <input class="form-control" type="text" name="cellnumber" value />
36
+          <hr />
37
+          <div class="row">
38
+            <div class="col-md-7" style="margin-bottom: 1em">
39
+              <eva-icon name="person" fill="#60CBEB"></eva-icon>
40
+              <input class="form-control" type="text" name="username" placeholder="Username" />
41
+            </div>
42
+            <div class="col-md-7" style="margin-bottom: 1em">
43
+              <eva-icon name="lock" fill="#60CBEB"></eva-icon>
44
+              <input class="form-control" type="text" name="password" placeholder="Password" />
45
+            </div>
46
+            <div class="col-md-7" style="margin-bottom: 1em">
47
+              <eva-icon name="lock" fill="#60CBEB"></eva-icon>
48
+              <input
49
+                class="form-control"
50
+                type="text"
51
+                name="confirmpassword"
52
+                placeholder="Confirm Password"
53
+              />
54
+            </div>
38
           </div>
55
           </div>
39
         </div>
56
         </div>
40
-        <div class="form-group row">
41
-          <div class="col-md-4">
42
-            <label>Username</label>
43
-            <eva-icon name="person" fill="#60CBEB"></eva-icon>
44
-            <input class="form-control" type="text" name="username" value />
45
-          </div>
46
-          <div class="col-md-4">
47
-            <label>Password</label>
48
-            <eva-icon name="lock" fill="#60CBEB"></eva-icon>
49
-            <input class="form-control" type="text" name="password" value />
57
+        <div class="form-group row"></div>
58
+        <div class="row offset-md-1">
59
+          <div class="col-md-2">
60
+            <button class="btn btn-b-n" type="submit">Submit</button>
50
           </div>
61
           </div>
51
-          <div class="col-md-4">
52
-            <label>Confirm Password</label>
53
-            <eva-icon name="lock" fill="#60CBEB"></eva-icon>
54
-            <input class="form-control" type="text" name="confirmpassword" value />
62
+          <div class="col-md-2 offset-md-1">
63
+            <button class="btn btn-b-n" type="submit">Cancel</button>
55
           </div>
64
           </div>
56
         </div>
65
         </div>
57
       </div>
66
       </div>
58
-      <div class="form-group row">
59
-        <div class="col-md-4">
60
-          <button class="btn btn-b-n">Cancel</button>
61
-        </div>
62
-        <div class="col-md-4">
63
-          <button class="btn btn-b-n">Submit</button>
64
-        </div>
65
-      </div>
66
-    </form>
67
-  </div>
67
+    </div>
68
+  </form>
68
 </template>
69
 </template>
69
 
70
 
70
 <script>
71
 <script>

Loading…
취소
저장