[QRB Calcuilator] Removed javascript embedded in view

This commit is contained in:
Andreas 2022-02-16 16:36:32 +01:00
parent d8efed4db6
commit 0f70c722f2

View File

@ -1,26 +1,25 @@
<script src="https://cdn.jsdelivr.net/npm/leaflet.geodesic@2.5.5-0/dist/leaflet.geodesic.umd.min.js"></script>
<form class="form col-md-12" enctype="multipart/form-data">
<div class="form-group row">
<div class="col-md-2 control-label" for="input">Locator 1</div>
<div class="col-md-4">
<input class="form-control input-group-sm" id="locator1" type="text" name="locator1" placeholder="" value="<?php if ($station_locator != "0") echo $station_locator; ?>" aria-label="locator1">
</div>
</div>
<div class="form-group row">
<div class="col-md-2 control-label" for="input">Locator 1</div>
<div class="col-md-4">
<input class="form-control input-group-sm" id="locator1" type="text" name="locator1" placeholder="" value="<?php if ($station_locator != "0") echo $station_locator; ?>" aria-label="locator1">
</div>
</div>
<div class="form-group row">
<div class="col-md-2 control-label" for="input">Locator 2</div>
<div class="col-md-4">
<input class="form-control input-group-sm" id="locator2" type="text" name="locator2" placeholder="" aria-label="locator2">
</div>
</div>
<div class="form-group row">
<div class="col-md-2 control-label" for="input">Locator 2</div>
<div class="col-md-4">
<input class="form-control input-group-sm" id="locator2" type="text" name="locator2" placeholder="" aria-label="locator2">
</div>
</div>
<div class="form-group row">
<label class="col-md-2 control-label" for="button1id"></label>
<div class="col-md-4">
<button id="button2id" type="reset" name="button2id" class="btn-sm btn-warning">Reset</button>
<button id="button1id" type="button" onclick="calculateQrb(this.form);" name="button1id" class="btn-sm btn-primary">Calculate</button>
</div>
</div>
</form>
<div class="qrbResult"></div>
<div id="mapqrb" style="Height: 500px"></div>
<div class="form-group row">
<label class="col-md-2 control-label" for="button1id"></label>
<div class="col-md-4">
<button id="button2id" type="reset" name="button2id" class="btn-sm btn-warning">Reset</button>
<button id="button1id" type="button" onclick="calculateQrb(this.form);" name="button1id" class="btn-sm btn-primary">Calculate</button>
</div>
</div>
</form>
<div class="qrbResult"></div>
<div id="mapqrb" style="Height: 500px"></div>