mirror of
https://github.com/ArcticFoxes-net/ONC-Converter
synced 2024-11-09 22:01:33 -05:00
Give button a better name
This commit is contained in:
parent
5195af0d83
commit
552770e79b
@ -19,8 +19,8 @@
|
|||||||
* pressed.
|
* pressed.
|
||||||
*/
|
*/
|
||||||
function setHandler () {
|
function setHandler () {
|
||||||
let clickButton = document.getElementById('clickbutton')
|
let convertButton = document.getElementById('convertbutton')
|
||||||
clickButton.addEventListener('click', handler, false)
|
convertButton.addEventListener('click', handler, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -363,11 +363,20 @@
|
|||||||
<div>
|
<div>
|
||||||
<h1>ovpn2onc</h1>
|
<h1>ovpn2onc</h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li><label for="connname">Name for connection (can be chosen freely):</label> <input type="text" id="connname"></li>
|
<li>
|
||||||
<li><label for="inputopenvpn">OpenVPN config file (*.ovpn):</label> <input type="file" id="inputopenvpn"></li>
|
<label for="connname">Name for connection (can be chosen freely):</label>
|
||||||
<li><label for="inputcertificates">Certificates and keys (can be multiple files):</label> <input type="file" id="inputcertificates" multiple></li>
|
<input type="text" id="connname">
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="inputopenvpn">OpenVPN config file (*.ovpn):</label>
|
||||||
|
<input type="file" id="inputopenvpn">
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="inputcertificates">Certificates and keys (can be multiple files):</label>
|
||||||
|
<input type="file" id="inputcertificates" multiple>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<button id="clickbutton" type="button">Convert</button>
|
<button id="convertbutton" type="button">Convert</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>Output (copy this into a new file and load it in ChromeOS)</p>
|
<p>Output (copy this into a new file and load it in ChromeOS)</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user