add informations and change textarea sized

This commit is contained in:
rick 2024-02-06 00:16:34 +01:00
parent 24956dae55
commit 6ca3c7b3df
Signed by: Rick
GPG key ID: 5CBE8779CD27BCBA

View file

@ -6,20 +6,24 @@
<title>Juniper Parser</title> <title>Juniper Parser</title>
</head> </head>
<body> <body>
<form style="display: flex;"> <h1>Juniper Parser</h1>
<textarea id="input" name="inputConf" cols="90" rows="50"></textarea> <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 !"> <input type="button" onClick="letsParse()" value="Parse !">
<textarea id="output" name="outputConf" cols="90" rows="50" disabled></textarea> <textarea id="output" name="outputConf" cols="80" rows="16" disabled></textarea>
</form> </form>
<h2>Informations</h2> <h2>Informations</h2>
<h3>Authors</h3> <h3>Authors</h3>
<p>Tim Price writed 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 rewrite 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/tree/implWeb">this github</a>.</p> <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> <h3>Contact</h3>
<p>My email address : <code>rick@gnous.eu</code></p> <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> <p>My Github page : <a href="https://github.com/rick-gnous">here we go</a></p>
<h3>About the code</h3> <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>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="parser.js"></script>
<script src="changeDom.js"></script> <script src="changeDom.js"></script>
</body> </body>