Changeset 7deb3e2 for src/main/resources
- Timestamp:
- 04/12/25 20:03:33 (8 weeks ago)
- Branches:
- master
- Parents:
- 8ae59d6
- Location:
- src/main/resources/static
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/static/FlightSearch.html
r8ae59d6 r7deb3e2 356 356 <ul> 357 357 <li v-for="notification in notifications" :key="notification.message"> 358 {{ notification.message }} 358 {{ notification.message }} - {{ "RESOLVED" }} 359 359 </li> 360 360 </ul> … … 402 402 this.notifications = response.data; 403 403 this.unreadNotifications = this.notifications.filter(n => !n.read).length; 404 console.log(response.data); 404 405 }) 405 406 .catch(error => { -
src/main/resources/static/ReviewPage.html
r8ae59d6 r7deb3e2 12 12 <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet"> 13 13 <style> 14 .review-container { 15 max-width: 800px; 16 margin: 0 auto; 17 padding: 20px; 18 } 19 20 .review-list { 21 display: flex; 22 flex-direction: column; 23 gap: 20px; 24 margin-top: 20px; 25 } 26 27 .review-item { 28 background-color: #fff; 29 border: 1px solid #ccc; 30 border-radius: 12px; 31 padding: 15px 20px; 32 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 33 transition: box-shadow 0.3s ease; 34 } 35 36 .review-item:hover { 37 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 38 } 39 40 .review-item p { 41 margin: 5px 0; 42 } 43 44 .review-item span { 45 font-weight: bold; 46 color: #673ab7; 47 } 48 14 49 .popup-overlay { 15 50 position: fixed; … … 85 120 <div class="review-list"> 86 121 <div v-for="review in reviews" :key="review.reviewid" class="review-item"> 122 <p><strong>Flight Number:</strong> {{ review.flightNumber }}</p> 87 123 <h3>{{ review.date }}</h3> 88 124 <p>{{ review.reviewComment }}</p> 89 <span> {{ review.rating }}</span>125 <span><i class="fas fa-star" style="color:gold;"></i> {{ review.rating }}</span> 90 126 </div> 91 127 </div> … … 139 175 const response = await axios.get("api/reviews"); 140 176 this.reviews = response.data; 177 console.log(response.data); 141 178 } catch (error) { 142 179 console.error(error);
Note:
See TracChangeset
for help on using the changeset viewer.