juniper-config-to-set/index.html

31 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel=stylesheet href="style.css" />
<title>Juniper Parser</title>
</head>
<body>
<h1>Juniper Parser</h1>
<p>Put your Juniper configuration in the first textarea, then click on the button. It'll convert the configuration to a series of set commands. </p>
<form style="display: flex; flex-direction: column; justify-content: space-around;">
<textarea id="input" name="inputConf" cols="80" rows="16"></textarea>
<input type="button" onClick="letsParse()" value="Parse !">
<textarea id="output" name="outputConf" cols="80" rows="16" disabled></textarea>
</form>
<h2>Informations</h2>
<h3>Authors</h3>
<p>Tim Price wrote a PHP script to convert Juniper conf to a series of set commands. You can find it on <a href="https://github.com/pgnuta/juniper-config-to-set">this github</a>. I just rewrote it in JS and add an interface. You can find the source code on <a href="https://github.com/rick-gnous/juniper-config-to-set/">this github</a>.</p>
<h3>Contact</h3>
<p>My email address : <code>rick@gnous.eu</code></p>
<p>My Github page : <a href="https://github.com/rick-gnous">here we go</a></p>
<h3>About the code</h3>
<p>All the code is under <a href="https://www.gnu.org/licenses/gpl-3.0.fr.html">GPL3 licence</a>.</p>
<p>It can be used offline, the parsing is done locally, on your PC.</p>
<script src="parser.js"></script>
<script src="changeDom.js"></script>
</body>
</html>