2017-11-17 16:58:24 -05:00
|
|
|
<!DOCTYPE html>
|
2017-11-15 12:31:02 -05:00
|
|
|
|
|
|
|
<html lang="en">
|
2017-11-17 09:53:06 -05:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
|
|
<title>OpenVPN to ONC</title>
|
|
|
|
<meta name="description" content="Convert OpenVPN config files to ONC files">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="style.css">
|
|
|
|
<script type="module" src="js/main.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div>
|
|
|
|
<h1>ovpn2onc</h1>
|
|
|
|
<ul>
|
|
|
|
<li>Name for connection: <input type="text" id="connname"></li>
|
|
|
|
<li>OpenVPN config file (*.ovpn): <input type="file" id="inputopenvpn"></li>
|
2017-11-17 16:58:24 -05:00
|
|
|
<li><label for="inputcertificates">Certificates (can be multiple files):</label> <input type="file" id="inputcertificates" multiple></li>
|
2017-11-17 09:53:06 -05:00
|
|
|
</ul>
|
|
|
|
<button id="clickbutton" type="button">Convert</button>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<p>Output</p>
|
|
|
|
<textarea readonly id="output" wrap="off" rows="10" cols="50"></textarea>
|
|
|
|
</div>
|
|
|
|
</body>
|
2017-11-15 12:31:02 -05:00
|
|
|
</html>
|