Significant progress
This commit is contained in:
29
index.html
29
index.html
@@ -27,15 +27,12 @@
|
||||
</a>
|
||||
<div class="nav-container">
|
||||
<label class="nav-align" for="newBackendUrlInput">Change Backend Url</label>
|
||||
<input type="text" class="form-control nav-align" id="newBackendUrlInput" name="newBackendUrlInput">
|
||||
<input type="text" class="form-control nav-align" id="newBackendUrlInput" name="newBackendUrlInput" onfocus="this.value=''" value="127.0.0.1:8090">
|
||||
<button class="btn btn-primary nav-align" id="changeBackendButton">Change Backend Url</button>
|
||||
</div>
|
||||
<div class="nav-container">
|
||||
<p class="nav-align">Backend Status</p>
|
||||
<svg class="nav-align connected" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle r="1" cx="1" cy="1" />
|
||||
</svg>
|
||||
<!--<span class="connected nav-align backend-status-indicator">●</span>-->
|
||||
<div class="connected nav-align circle" id="statusCircle"> </div>
|
||||
<button class="btn btn-primary nav-align" id="checkBackendButton">Reload</button>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -43,7 +40,7 @@
|
||||
<main class="page contact-page">
|
||||
<section class="portfolio-block contact">
|
||||
<div class="container">
|
||||
<h2 class="text-center mt-5 h2">Current Backend Url: 127.0.0.1:8090</h2>
|
||||
<h2 id="displayedUrl" class="text-center mt-5 h2">Current Backend Url: </h2>
|
||||
<h1 class="text-center mt-5 h1">** DEV ENV** - VCard Creator - ** DEV ENV **</h1>
|
||||
<form method="post" class="form-group mt-5">
|
||||
<div class="form-group">
|
||||
@@ -62,22 +59,12 @@
|
||||
<label for="location">Location:</label>
|
||||
<select class="form-control" id="location" name="location">
|
||||
|
||||
<option value="Capital Area Early Learning Center">Capital Area Early Learning Center</option>
|
||||
|
||||
<option value="Capital Area Intermediate Unit">Capital Area Intermediate Unit</option>
|
||||
|
||||
<option value="Capital Area Early Learning Center">Capital Area Early Learning Center</option>
|
||||
|
||||
<option value="Hill Top Academy">Hill Top Academy</option>
|
||||
|
||||
<option value="Hershey Elementary/Derry PS">Hershey Elementary/Derry PS</option>
|
||||
|
||||
<option value="Londonderry Elementary">Londonderry Elementary</option>
|
||||
|
||||
<option value="Upper Dauphin Elementary School">Upper Dauphin Elementary School</option>
|
||||
|
||||
<option value="PA STEAM">PA STEAM</option>
|
||||
|
||||
<option value="Conewago Elementary">Conewago Elementary</option>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -88,7 +75,7 @@
|
||||
<label for="directLine">Direct Line:</label>
|
||||
<input type="text" class="form-control" id="directLine" name="directLine" maxlength="15" required="">
|
||||
</div>
|
||||
<div class="form-group" ,="" id="extensioninput">
|
||||
<div class="form-group" id="extensionInput">
|
||||
<label for="extension">Extension</label>
|
||||
<input type="tel" class="form-control" id="extension" name="extension" required="">
|
||||
</div>
|
||||
@@ -96,7 +83,7 @@
|
||||
<label for="cellNumber">Cell Number</label>
|
||||
<input type="tel" class="form-control" id="cellNumber" name="cellNumber" maxlength="15" required="">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
<button type="submit" class="btn btn-primary" id="formSubmit">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
@@ -105,9 +92,11 @@
|
||||
<script src="script.js"></script>
|
||||
<script>
|
||||
loadBackendUrl();
|
||||
checkBackend();
|
||||
|
||||
document.getElementById("changeBackendButton").addEventListener("click", saveBackendUrl, false);
|
||||
document.getElementById("checkBackendButton").addEventListener("click", checkBackend, false);
|
||||
document.getElementById("formSubmit").addEventListener("click", submitForm, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user