|
53 | 53 | let datalist = document.getElementById("addressOptions"); |
54 | 54 | datalist.hidden = true; |
55 | 55 |
|
| 56 | + // Spinner |
| 57 | + const spinner = document.getElementById("spinner"); |
| 58 | + spinner.hidden = false; |
56 | 59 | // TODO: Get the list of service providers here. |
57 | 60 | console.log(address); |
58 | 61 | const getCoordinatesService = `https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=${address}&maxSuggestions=5&countryCode=USA,CAN&f=pjson`; |
|
122 | 125 |
|
123 | 126 | let resultsTable = document.getElementById("resultstablebody"); |
124 | 127 | resultsTable.innerHTML = options; |
125 | | - resultsTable.hidden = false; |
| 128 | + resultsTable.hidden = false; |
| 129 | + spinner.hidden = true; |
| 130 | +
|
126 | 131 | } |
127 | 132 | }); |
128 | 133 | } |
|
176 | 181 | <p>🤝 Whatever technology you choose, rest assured that Accelerate Networks will handle all the details with our Seattle-based support and installation teams.</p> |
177 | 182 | </div> |
178 | 183 | <div class="col-md-6"> |
179 | | - <h1 class="display-4">Accelerate Your Business</h2> |
180 | | - <ul style="list-style: none; padding: 0px;"> |
181 | | - <li>🌾 Fiber to the Premises</li> |
182 | | - <li>⛷️ Cable</li> |
183 | | - <li>💨 Copper</li> |
184 | | - <li>📶 Licensed Fixed Wireless</li> |
185 | | - <li>🛜 Unlicensed Fixed Wireless</li> |
186 | | - <li>🔮 LBR Fixed Wireless</li> |
187 | | - </ul> |
| 184 | + <h1 class="display-4"> |
| 185 | + Accelerate Your Business</h2> |
| 186 | + <ul style="list-style: none; padding: 0px;"> |
| 187 | + <li>🌾 Fiber to the Premises</li> |
| 188 | + <li>⛷️ Cable</li> |
| 189 | + <li>💨 Copper</li> |
| 190 | + <li>📶 Licensed Fixed Wireless</li> |
| 191 | + <li>🛜 Unlicensed Fixed Wireless</li> |
| 192 | + <li>🔮 LBR Fixed Wireless</li> |
| 193 | + </ul> |
188 | 194 | </div> |
189 | 195 | </div> |
190 | 196 | </div> |
|
214 | 220 | </div> |
215 | 221 | } |
216 | 222 |
|
217 | | - |
218 | 223 | @if (Model?.Cart?.Order?.OrderId != Guid.Empty && Model?.Cart?.Order?.DateSubmitted > DateTime.MinValue) |
219 | 224 | { |
220 | 225 | <div class="mb-3" id="searchForm"> |
|
252 | 257 | </tbody> |
253 | 258 | </table> |
254 | 259 | </div> |
| 260 | + <div class="row" id="spinner" hidden> |
| 261 | + <div class="col"> |
| 262 | + <div class="d-flex justify-content-center m-5"> |
| 263 | + <div class="spinner-border text-primary" style="width: 3rem; height: 3rem;" role="status"> |
| 264 | + </div> |
| 265 | + </div> |
| 266 | + </div> |
| 267 | + </div> |
255 | 268 | </div> |
256 | 269 | </div> |
257 | 270 | <div class="mt-auto fixed-bottom bg-white pt-1 pb-1 shadow"> |
|
0 commit comments