~alcinnz/bureaucromancy

e85207d29881a9d0e3c268cf5b9b0eac0a47088d — Adrian Cochrane 1 year, 2 months ago 93aa9f5
Don't display passwords onscreen
M tpl/base.html => tpl/base.html +4 -1
@@ 34,10 34,13 @@
  <aside><dl>{% for input in inputs %}
    <dt class="{% if input.checked %}checked{% endif %} {% if input.index == selected %}selected{% endif %}">
      {% if input.checked %}&check;{% endif %}
      {% if input.type == 'password' && input.value != '' %}&check;{% endif %}
      {% if input.disabled %}{{ input.label }}
      {% else %}<a href="/{{input.index}}/{{Q}}" title="{{input.title}}">{{ input.label }}</a>
      {% endif %}</dt>
    <dd class="{% if input.readonly %}readonly{% endif %}">{{ input.value }}</dd>
    {% if input.type != 'password' %}
      <dd class="{% if input.readonly %}readonly{% endif %}">{{ input.value }}</dd>
    {% endif %}
  {% endfor %}</dl></aside>

  {% block main %}

M tpl/keyboards/latin1.html => tpl/keyboards/latin1.html +2 -0
@@ 1,9 1,11 @@
{% extends "/base.html" %}

{%- block control -%}<section>
  {% if input.type != 'password' %}
  <p><span style="white-space: pre">{{ input.value }}</span>
    {% if input.multiple %}<a href=":%0A{{Q}}">↲</a>{% endif %}</p>
  <hr />
  {% endif %}
  <p><strong>abc</strong> | <a href="latin1-upper/{{Q}}">ABC</a> |
      <a href="latin1-symbol/{{Q}}">!@#</a> |
      <a href="latin1-accent-lower/{{Q}}">àêï</a> |

M tpl/keyboards/latin1/latin1-accent-lower.html => tpl/keyboards/latin1/latin1-accent-lower.html +2 -0
@@ 1,9 1,11 @@
{% extends "/base.html" %}

{%- block control -%}<section>
  {% if input.type != 'password' %}
  <p><span style="white-space: pre">{{ input.value }}</span>
    {% if input.multiple %}<a href=":%0A{{Q}}">↲</a>{% endif %}</p>
  <hr />
  {% endif %}
  <p><a href="..">abc</a> | <a href="../latin1-upper/{{Q}}">ABC</a> |
      <a href="../latin1-symbol/{{Q}}">!@#</a> | <strong>àêï</strong> |
      <a href="../latin1-accent/{{Q}}">ÀÊÏ</a></p>

M tpl/keyboards/latin1/latin1-accent.html => tpl/keyboards/latin1/latin1-accent.html +2 -0
@@ 1,9 1,11 @@
{% extends "/base.html" %}

{%- block control -%}<section>
  {% if input.type != 'password' %}
  <p><span style="white-space: pre">{{ input.value }}</span>
    {% if input.multiple %}<a href=":%0A{{Q}}">↲</a>{% endif %}</p>
  <hr />
  {% endif %}
  <p><a href="..">abc</a> | <a href="../latin1-upper/{{Q}}">ABC</a> |
      <a href="../latin1-symbol/{{Q}}">!@#</a> |
      <a href="../latin1-accent-lower/{{Q}}">àêï</a> |

M tpl/keyboards/latin1/latin1-symbol.html => tpl/keyboards/latin1/latin1-symbol.html +2 -0
@@ 1,9 1,11 @@
{% extends "/base.html" %}

{%- block control -%}<section>
  {% if input.type != 'password' %}
  <p><span style="white-space: pre">{{ input.value }}</span>
    {% if input.multiple %}<a href=":%0A{{Q}}">↲</a>{% endif %}</p>
  <hr />
  {% endif %}
  <p><a href="..{{Q}}">abc</a> | <a href="../latin1-upper/{{Q}}">ABC</a> |
      <strong>!@#</strong> | <a href="../latin1-accent-lower/{{Q}}">àêï</a> |
      <a href="../latin1-accent/{{Q}}">ÀÊÏ</a></p>

M tpl/keyboards/latin1/latin1-upper.html => tpl/keyboards/latin1/latin1-upper.html +2 -0
@@ 1,9 1,11 @@
{% extends "/base.html" %}

{%- block control -%}<section>
  {% if input.type != 'password' %}
  <p><span style="white-space: pre">{{ input.value }}</span>
    {% if input.multiple %}<a href=":%0A{{Q}}">↲</a>{% endif %}</p>
  <hr />
  {% endif %}
  <p><a href="..{{Q}}">abc</a> | <strong>ABC</strong> |
      <a href="../latin1-symbol/{{Q}}">!@#</a> |
      <a href="../latin1-accent-lower/{{Q}}">àêï</a> |