95 lines
4.3 KiB
HTML
95 lines
4.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<title>WebOas.is - Unit Converter</title>
|
||
|
<link rel="stylesheet" type="text/css" href="unit.min.css" />
|
||
|
<script src="unit.min.js"></script>
|
||
|
<style>
|
||
|
.logo{padding:6px;display:block;text-align:center}
|
||
|
@font-face {
|
||
|
font-family: 'Open Sans';
|
||
|
font-style: normal;
|
||
|
font-weight: 400;
|
||
|
src: url('fonts/open-sans-v16-latin-regular.eot'); /* IE9 Compat Modes */
|
||
|
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
||
|
url('fonts/open-sans-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||
|
url('fonts/open-sans-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||
|
url('fonts/open-sans-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||
|
url('fonts/open-sans-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||
|
url('fonts/open-sans-v16-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: 'Open Sans';
|
||
|
font-style: normal;
|
||
|
font-weight: 800;
|
||
|
src: url('fonts/open-sans-v16-latin-800.eot'); /* IE9 Compat Modes */
|
||
|
src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
|
||
|
url('fonts/open-sans-v16-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||
|
url('fonts/open-sans-v16-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
||
|
url('fonts/open-sans-v16-latin-800.woff') format('woff'), /* Modern Browsers */
|
||
|
url('fonts/open-sans-v16-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
|
||
|
url('fonts/open-sans-v16-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: 'Poppins';
|
||
|
font-style: normal;
|
||
|
font-weight: 400;
|
||
|
src: url('fonts/poppins-v6-latin-regular.eot'); /* IE9 Compat Modes */
|
||
|
src: local('Poppins Regular'), local('Poppins-Regular'),
|
||
|
url('fonts/poppins-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||
|
url('fonts/poppins-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||
|
url('fonts/poppins-v6-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||
|
url('fonts/poppins-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||
|
url('fonts/poppins-v6-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: 'Poppins';
|
||
|
font-style: normal;
|
||
|
font-weight: 700;
|
||
|
src: url('fonts/poppins-v6-latin-700.eot'); /* IE9 Compat Modes */
|
||
|
src: local('Poppins Bold'), local('Poppins-Bold'),
|
||
|
url('fonts/poppins-v6-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||
|
url('fonts/poppins-v6-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
||
|
url('fonts/poppins-v6-latin-700.woff') format('woff'), /* Modern Browsers */
|
||
|
url('fonts/poppins-v6-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
|
||
|
url('fonts/poppins-v6-latin-700.svg#Poppins') format('svg'); /* Legacy iOS */
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="logo"><a href="../"><img src="media/logo.png" id="logo" alt="Weboas.is logo" /></a></div>
|
||
|
<div class="converter-wrapper">
|
||
|
<h1>Unit Converter</h1>
|
||
|
<form name="property_form">
|
||
|
<span>
|
||
|
<select class="select-property" name="the_menu" size=1 onChange="UpdateUnitMenu(this, document.form_A.unit_menu); UpdateUnitMenu(this, document.form_B.unit_menu)">
|
||
|
</select>
|
||
|
</span>
|
||
|
</form>
|
||
|
<div class="converter-side-a">
|
||
|
<form name="form_A" onSubmit="return false">
|
||
|
<input type="text" class="numbersonly" name="unit_input" maxlength="20" value="0" onKeyUp="CalculateUnit(document.form_A, document.form_B)">
|
||
|
<span>
|
||
|
<select name="unit_menu" onChange="CalculateUnit(document.form_B, document.form_A)">
|
||
|
</select>
|
||
|
</span>
|
||
|
</form>
|
||
|
</div>
|
||
|
<div class="converter-equals">
|
||
|
<p>=</p>
|
||
|
</div>
|
||
|
<div class="converter-side-b">
|
||
|
<form name="form_B" onSubmit="return false">
|
||
|
<input type="text" class="numbersonly" name="unit_input" maxlength="20" value="0" onkeyup="CalculateUnit(document.form_B, document.form_A)">
|
||
|
<span>
|
||
|
<select name="unit_menu" onChange="CalculateUnit(document.form_A, document.form_B)">
|
||
|
</select>
|
||
|
</span>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|