Old UniVate Website
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

residential-property.blade.php 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. @extends('master')
  2. @section('title', 'Residential Property' )
  3. @section('description'){{ $property->meta_Description }}@stop
  4. @section('keywords'){{ $property->meta_Keywords }}@stop
  5. @section('content')
  6. <div class="container-fluid">
  7. <div class="row">
  8. <div class="col-md-7 offset-md-1">
  9. @if($property->for=='rental')
  10. <h1 class="my-4">{{ $property->name }}@if($property->status2!=NULL)@endif</h1>
  11. @elseif($property->for=='Sale')
  12. <h1 class="my-4">{{ $property->name }}@if($property->status2!=NULL)@endif</h1>
  13. @endif
  14. </div>
  15. </div>
  16. <div class="row mb-4">
  17. <div class="col-md-7 offset-md-1">
  18. <div class="row">
  19. <div class="col-md-12">
  20. <table class="table table-bordered table-hover table-striped">
  21. <thead>
  22. <tr>
  23. <th>Size</th>
  24. <th>Price ex VAT</th>
  25. <th>Suburb</th>
  26. <th>Unit</th>
  27. <th>Status</th>
  28. <td>Ref</td>
  29. <th>Interested?</th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <tr>
  34. <td>{{ $property->size }}</td>
  35. <td>R {{ number_format($property->price, 2) }}</td>
  36. <td>{{ $property->surburb }}</td>
  37. <td>{{ $property->unit }}</td>
  38. <td>{{ $property->status2 }}</td>
  39. <td>{{ $property->ref }}</td>
  40. <td><a href="#interestedPropertyModal" data-toggle="modal" data-target="#interestedPropertyModal"><i class="fa fa-flag" aria-hidden="true"></i> Yes</a></td>
  41. </tr>
  42. </tbody>
  43. </table>
  44. </div>
  45. <div class="col-md-12 mb-4">
  46. <a class="btn btn-blue" href="javascript:history.back()">Back</a>
  47. </div>
  48. </div>
  49. <div class="row mb-4">
  50. @if($property->image1)
  51. <div class="col-md-4">
  52. <img class="img-fluid mb-3 mb-md-0" src="{{ $property->image1 }}" alt="Property Image" />
  53. </div>
  54. @endif
  55. @if($property->image1)
  56. <div class="col-md-4">
  57. <img class="img-fluid mb-3 mb-md-0" src="{{ $property->image2 }}" alt="Property Image" />
  58. </div>
  59. @endif
  60. @if($property->image1)
  61. <div class="col-md-4">
  62. <img class="img-fluid mb-3 mb-md-0" src="{{ $property->image3 }}" alt="Property Image" />
  63. </div>
  64. @endif
  65. </div>
  66. <div class="row my-4">
  67. <div class="col-md-12">
  68. <p>{!! $property->description !!}</p>
  69. </div>
  70. </div>
  71. @if($property->directions)
  72. <ul class="nav nav-tabs" id="myTab" role="tablist">
  73. <li class="nav-item">
  74. <a class="nav-link active" id="directions-tab" data-toggle="tab" href="#directions" role="tab" aria-controls="directions" aria-selected="false">Directions</a>
  75. </li>
  76. </ul>
  77. <div class="tab-content mb-4" id="myTabContent">
  78. <div class="tab-pane fade show active" id="directions" role="tabpanel" aria-labelledby="directions-tab">
  79. <iframe src="{{ $property->directions }}" width="100%" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
  80. </div>
  81. </div>
  82. @endif
  83. <div class="row">
  84. <div class="col-md-6">
  85. <a class="btn btn-blue even-width btn-lg mb-3 mb-md-0" href="#interestedPropertyModal" data-toggle="modal" data-target="#interestedPropertyModal">Interested</a>
  86. </div>
  87. <div class="col-md-6">
  88. <a class="btn btn-blue even-width btn-lg mb-3 mb-md-0" href="javascript:history.back()">Back</a>
  89. </div>
  90. </div>
  91. </div>
  92. <div class="col-md-3 pl-3 pl-md-5 sidebar">
  93. @include('partials.propertySideBar')
  94. </div>
  95. </div>
  96. <!-- interested -->
  97. @include('partials.interested-property2')
  98. </div>
  99. @stop