This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
site/src/utilities/dipole.php

42 lines
1.1 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<?php include '../common/include.php' ?>
<title>Tyler Perkins - Home</title>
<link rel="stylesheet" href="./dipole.css">
<script src="dipole.js"></script>
</head>
<body>
<?php include '../common/header.php' ?>
<div class="dipole-title">
<h1>Dipole Calculator</h1>
<noscript style="color:red;">This requires javascript</noscript>
</div>
<div class="dipole-body">
<div class="title-block">
<h3 style="display:inline; vertical-align: center;">Frequency (Mhz)</h3>
<input type="text" id="freq" placeholder="137" value="137">
</div>
<div class="results-block">
<p>Total length of dipole</p>
<p id="total_len_cm"></p>
<p id="total_len_ft"></p>
<p>Length of leg</p>
<p id="leg_len_cm"></p>
<p id="leg_len_ft"></p>
<p>Length of monopole</p>
<p id="mono_len_cm"></p>
<p id="mono_len_ft"></p>
</div>
</div>
<?php include '../common/footer.php' ?>
</body>
</html>