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>
@ -1037,33 +1037,33 @@ is where the current server got started.
<code>https://img.shields.io/website/http/www.website.com/path/to/page.html.svg</code>. <code>https://img.shields.io/website/http/www.website.com/path/to/page.html.svg</code>.
</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>
<li>Nothing: <li>Nothing:
<code>…/website/…</code></li> <code>…/website/…</code></li>
<li>Online and offline text: <li>Online and offline text:
<code>…/website-up-down/…</code></li> <code>…/website-up-down/…</code></li>
<li>Online and offline text, then online and offline colors: <li>Online and offline text, then online and offline colors:
<code>…/website-up-down-green-orange/…</code></li> <code>…/website-up-down-green-orange/…</code></li>
</ul> </ul>
<table class=centered><tbody> <table class=centered><tbody>
<tr><td> Dashes <code>--</code> <tr><td> Dashes <code>--</code>
</td><td> </td><td>
</td><td> <code>-</code> Dash </td><td> <code>-</code> Dash
</td></tr> </td></tr>
<tr><td> Underscores <code>__</code> <tr><td> Underscores <code>__</code>
</td><td> </td><td>
</td><td> <code>_</code> Underscore <br/> </td><td> <code>_</code> Underscore <br/>
</td></tr> </td></tr>
<tr><td> <code>_</code> or Space <code>&nbsp;</code> <tr><td> <code>_</code> or Space <code>&nbsp;</code>
</td><td> </td><td>
</td><td> <code>&nbsp;</code> Space </td><td> <code>&nbsp;</code> Space
</td></tr> </td></tr>
</tbody></table> </tbody></table>
</p> </p>
</div> </div>
</div> </div>