website: use real buttons for website up

This commit is contained in:
Thaddee Tyl 2016-05-19 08:33:11 +02:00
parent f69be9b2c0
commit 4f20b2ede3

View File

@ -984,7 +984,7 @@ is where the current server got started.
</main> </main>
<dialog id='copyDialog'> <dialog id='copyDialog'>
<form id='copyForm'> <form id='copyForm' action='javascript:void 0'>
<p><img id='copyImg'> <p><img id='copyImg'>
</p><p><label> Link <input type='url' name='url'/></label> </p><p><label> Link <input type='url' name='url'/></label>
</p><p><label> Image <input type='url' name='img'/></label> </p><p><label> Image <input type='url' name='img'/></label>
@ -1038,8 +1038,8 @@ is where the current server got started.
</p> </p>
<p>The URLREST should be URLEncoded:<br> <p>The URLREST should be URLEncoded:<br>
<input type="text" id="websiteDocUrlField" placeholder="Paste your URL (without the protocol) here" /><br> <input type="text" id="websiteDocUrlField" placeholder="Paste your URL (without the protocol) here" /><br>
<input type="button" onclick="(function(el) { el.value = encodeURIComponent(el.value); })(document.getElementById('websiteDocUrlField'))" value="Encode" /> <button onclick="(function(el) { el.value = encodeURIComponent(el.value); })(document.getElementById('websiteDocUrlField'))">Encode</button>
<input type="button" onclick="(function(el) { el.value = decodeURIComponent(el.value); })(document.getElementById('websiteDocUrlField'))" value="Decode" /> <button onclick="(function(el) { el.value = decodeURIComponent(el.value); })(document.getElementById('websiteDocUrlField'))">Decode</button>
</p> </p>
<p><code>[OPTIONS]</code> can be: <p><code>[OPTIONS]</code> can be:
<ul> <ul>