~alcinnz/bureaucromancy

540319cf4a5069ad529fcc11016527527232dc02 — Adrian Cochrane 1 year, 1 month ago 043b1cd
Add support for url inputs!
M form.html => form.html +1 -0
@@ 14,6 14,7 @@
    <label><input type="file" name="file" />Upload a file!</label>
    <label><input type="email" name="email" />eMail</label>
    <label><input type="tel" name="tel" />Telephone</label>
    <label><input type="url" name="site" />Homepage</label>
  </form>
</body>
</html>

M tpl/keyboards/latin1.html => tpl/keyboards/latin1.html +6 -2
@@ 59,8 59,12 @@
      <td><a href=":9{{Q}}">9</a></td>
      <td><a href=":0{{Q}}">0</a></td>
    </tr>
    {% if input.inputType == "email" %}<tr>
      <td><a href=":@{{Q}}">@</a></td>
    {% if input.inputType == "email" || input.inputType == "url" %}<tr>
      {% if input.inputType == "email" %}
        <td><a href=":@{{Q}}">@</a></td>
      {% else %}
        <td><a href=":{{ '/'|xURI }}{{Q}}">/</a></td>
      {% endif %}
      <td><a href=":.{{Q}}">.</a></td>
      <td colspan="2"><a href=":.com{{Q}}">.com</a>
      <td colspan="2"><a href=":.org{{Q}}">.org</a>

M tpl/keyboards/latin1/latin1-accent-lower.html => tpl/keyboards/latin1/latin1-accent-lower.html +6 -2
@@ 50,8 50,12 @@
      <td><a href=":{{'ý'|xURI}}{{Q}}">ý</a></td>
      <td><a href=":{{'ÿ'|xURI}}{{Q}}">ÿ</a></td>
    </tr>
    {% if input.inputType == "email" %}<tr>
      <td><a href=":@{{Q}}">@</a></td>
    {% if input.inputType == "email" || input.inputType == "url" %}<tr>
      {% if input.inputType == "email" %}
        <td><a href=":@{{Q}}">@</a></td>
      {% else %}
        <td><a href=":{{ '/'|xURI }}{{Q}}">/</a></td>
      {% endif %}
      <td><a href=":.{{Q}}">.</a></td>
      <td colspan="2"><a href=":.com{{Q}}">.com</a>
      <td colspan="2"><a href=":.org{{Q}}">.org</a>

M tpl/keyboards/latin1/latin1-accent.html => tpl/keyboards/latin1/latin1-accent.html +6 -2
@@ 51,8 51,12 @@
      <td><a href=":{{'Ý'|xURI}}{{Q}}">Ý</a></td>
      <td><a href=":{{'ß'|xURI}}{{Q}}">ß</a></td>
    </tr>
    {% if input.inputType == "email" %}<tr>
      <td><a href=":@{{Q}}">@</a></td>
    {% if input.inputType == "email" || input.inputType == "url" %}<tr>
      {% if input.inputType == "email" %}
        <td><a href=":@{{Q}}">@</a></td>
      {% else %}
        <td><a href=":{{ '/'|xURI }}{{Q}}">/</a></td>
      {% endif %}
      <td><a href=":.{{Q}}">.</a></td>
      <td colspan="2"><a href=":.com{{Q}}">.com</a>
      <td colspan="2"><a href=":.org{{Q}}">.org</a>

M tpl/keyboards/latin1/latin1-symbol.html => tpl/keyboards/latin1/latin1-symbol.html +6 -2
@@ 91,8 91,12 @@
      <td><a href=":{{'½'|xURI}}{{Q}}">½</a></td>
      <td><a href=":{{'¾'|xURI}}{{Q}}">¾</a></td>
    </tr>
    {% if input.inputType == "email" %}<tr>
      <td><a href=":@{{Q}}">@</a></td>
    {% if input.inputType == "email" || input.inputType == "url" %}<tr>
      {% if input.inputType == "email" %}
        <td><a href=":@{{Q}}">@</a></td>
      {% else %}
        <td><a href=":{{ '/'|xURI }}{{Q}}">/</a></td>
      {% endif %}
      <td><a href=":.{{Q}}">.</a></td>
      <td colspan="2"><a href=":.com{{Q}}">.com</a>
      <td colspan="2"><a href=":.org{{Q}}">.org</a>

M tpl/keyboards/latin1/latin1-upper.html => tpl/keyboards/latin1/latin1-upper.html +6 -2
@@ 59,8 59,12 @@
      <td><a href=":9{{Q}}">9</a></td>
      <td><a href=":0{{Q}}">0</a></td>
    </tr>
    {% if input.inputType == "email" %}<tr>
      <td><a href=":@{{Q}}">@</a></td>
    {% if input.inputType == "email" || input.inputType == "url" %}<tr>
      {% if input.inputType == "email" %}
        <td><a href=":@{{Q}}">@</a></td>
      {% else %}
        <td><a href=":{{ '/'|xURI }}{{Q}}">/</a></td>
      {% endif %}
      <td><a href=":.{{Q}}">.</a></td>
      <td colspan="2"><a href=":.com{{Q}}">.com</a>
      <td colspan="2"><a href=":.org{{Q}}">.org</a>