Skip to content

Commit

Permalink
Removed autocomplete from password fields
Browse files Browse the repository at this point in the history
  • Loading branch information
t-book committed Aug 27, 2019
1 parent aff64cf commit af48a63
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 76 deletions.
2 changes: 1 addition & 1 deletion geonode/monitoring/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ <h4 class="modal-title" id="myModalLabel">{% trans "Sign in" %}</h4>
</div>
<div class="form-group">
<label for="id_password" class="sr-only">{% trans "Password" %}:</label>
<input id="id_password" class="form-control" name="password" placeholder="Password" type="password" />
<input id="id_password" class="form-control" name="password" placeholder="Password" type="password" autocomplete="off" />
</div>
<label class="checkbox">
<input type="checkbox" /> {% trans "Remember Me" %}
Expand Down
148 changes: 74 additions & 74 deletions geonode/templates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,79 +143,79 @@ <h3>{% trans "There was a problem loading this page" %}</h3>
{% endblock middle %}
</div>

{% block footer %}
<footer>
<div class="container">
<div class="row">
<div class="col-md-2">
<ul class="list-unstyled">
<li>{% trans "Data" %}</li>
<li><a href="{% url "layer_browse" %}?limit={{ CLIENT_RESULTS_LIMIT }}">{% trans "Layers" %}</a></li>
<li><a href="{% url "document_browse" %}?limit={{ CLIENT_RESULTS_LIMIT }}">{% trans "Documents" %}</a></li>
<li><a href="{% url "services" %}?limit={{ CLIENT_RESULTS_LIMIT }}">{% trans "Remote Services" %}</a></li>
{% if user.is_authenticated %}
<li role="separator" class="divider"></li>
<li><a href="{% url "layer_upload" %}">{% trans "Upload Layer" %}</a></li>
{% if USE_GEOSERVER and CREATE_LAYER %}
<li><a href="{% url "layer_create" %}">{% trans "Create a new layer" %}</a></li>
{% endif %}
<li><a href="{% url "document_upload" %}">{% trans "Upload Document" %}</a></li>
{% endif %}
{% if user.is_superuser or user.is_staff %}
<li><a href="{% url "register_service" %}">{% trans "Add Remote Service" %}</a></li>
{% endif %}
</ul>
</div>
<div class="col-md-2">
<ul class="list-unstyled">
<li>{% trans "Maps" %}</li>
<li><a href="{% url "maps_browse" %}?limit={{ CLIENT_RESULTS_LIMIT }}">{% trans "Explore Maps" %}</a></li>
{% if user.is_authenticated %}
<li> <a href="{% url "new_map" %}">{% trans "Create Map" %}</a></li>
{% endif %}
</ul>
</div>
<div class="col-md-2">
<ul class="list-unstyled">
<li>{% trans "About" %}</li>
<li><a href="{% url "profile_browse" %}">{% trans "People" %}</a></li>
<li><a href="{% url "group_list" %}">{% trans "Groups" %}</a></li>
{% if perms.announcements.can_manage %}
<li><a href="{% url "announcements_list" %}">{% trans "Announcements" %}</a></li>
{% endif %}
<li><a href="{% url "geonode.invitations:geonode-send-invite" %}">{% trans "Invite Users" %}</a></li>
{% if user.is_superuser %}
<li><a href="/admin/people/profile/add/">{% trans "Add User" %}</a></li>
<li><a href="{% url "group_create" %}">{% trans "Create Group" %}</a></li>
{% endif %}
</ul>
</div>

<div class="col-md-6 text-right">
{% block contactus %}
{% endblock contactus %}
<ul class="list-unstyled">
<li>{% trans "Powered by" %} <a href="http://geonode.org">{% trans "GeoNode" %}</a> <em>{% trans "version" %} {{ VERSION }}</em></li>
<li><a href="{% url "developer" %}">{% trans "Developers" %}</a> | <a href="{% url "about" %}">{% trans "About" %}</a><li>
</ul>
<label class="hidden">{% trans "Language" %}</label>
{% if csrf_token != "NOTPROVIDED" %}
{% get_current_language as LANGUAGE %}
<form class="form-inline" action="/i18n/setlang/" method="post">
{% csrf_token %}
<select class="col-md-6 pull-right" name="language" onchange="javascript:form.submit()">
{% for lang in LANGUAGES %}
<option value="{{ lang.0 }}" {% ifequal LANGUAGE_CODE lang.0 %} selected="selected"{% endifequal %}>
{{ lang.1 }}
</option>
{% endfor %}
</select>
</form>
{% endif %}
</div>
</div>
</div>
</footer>
{% block footer %}
<footer>
<div class="container">
<div class="row">
<div class="col-md-2">
<ul class="list-unstyled">
<li>{% trans "Data" %}</li>
<li><a href="{% url "layer_browse" %}?limit={{ CLIENT_RESULTS_LIMIT }}">{% trans "Layers" %}</a></li>
<li><a href="{% url "document_browse" %}?limit={{ CLIENT_RESULTS_LIMIT }}">{% trans "Documents" %}</a></li>
<li><a href="{% url "services" %}?limit={{ CLIENT_RESULTS_LIMIT }}">{% trans "Remote Services" %}</a></li>
{% if user.is_authenticated %}
<li role="separator" class="divider"></li>
<li><a href="{% url "layer_upload" %}">{% trans "Upload Layer" %}</a></li>
{% if USE_GEOSERVER and CREATE_LAYER %}
<li><a href="{% url "layer_create" %}">{% trans "Create a new layer" %}</a></li>
{% endif %}
<li><a href="{% url "document_upload" %}">{% trans "Upload Document" %}</a></li>
{% endif %}
{% if user.is_superuser or user.is_staff %}
<li><a href="{% url "register_service" %}">{% trans "Add Remote Service" %}</a></li>
{% endif %}
</ul>
</div>
<div class="col-md-2">
<ul class="list-unstyled">
<li>{% trans "Maps" %}</li>
<li><a href="{% url "maps_browse" %}?limit={{ CLIENT_RESULTS_LIMIT }}">{% trans "Explore Maps" %}</a></li>
{% if user.is_authenticated %}
<li> <a href="{% url "new_map" %}">{% trans "Create Map" %}</a></li>
{% endif %}
</ul>
</div>
<div class="col-md-2">
<ul class="list-unstyled">
<li>{% trans "About" %}</li>
<li><a href="{% url "profile_browse" %}">{% trans "People" %}</a></li>
<li><a href="{% url "group_list" %}">{% trans "Groups" %}</a></li>
{% if perms.announcements.can_manage %}
<li><a href="{% url "announcements_list" %}">{% trans "Announcements" %}</a></li>
{% endif %}
<li><a href="{% url "geonode.invitations:geonode-send-invite" %}">{% trans "Invite Users" %}</a></li>
{% if user.is_superuser %}
<li><a href="/admin/people/profile/add/">{% trans "Add User" %}</a></li>
<li><a href="{% url "group_create" %}">{% trans "Create Group" %}</a></li>
{% endif %}
</ul>
</div>

<div class="col-md-6 text-right">
{% block contactus %}
{% endblock contactus %}
<ul class="list-unstyled">
<li>{% trans "Powered by" %} <a href="http://geonode.org">{% trans "GeoNode" %}</a> <em>{% trans "version" %} {{ VERSION }}</em></li>
<li><a href="{% url "developer" %}">{% trans "Developers" %}</a> | <a href="{% url "about" %}">{% trans "About" %}</a><li>
</ul>
<label class="hidden">{% trans "Language" %}</label>
{% if csrf_token != "NOTPROVIDED" %}
{% get_current_language as LANGUAGE %}
<form class="form-inline" action="/i18n/setlang/" method="post">
{% csrf_token %}
<select class="col-md-6 pull-right" name="language" onchange="javascript:form.submit()">
{% for lang in LANGUAGES %}
<option value="{{ lang.0 }}" {% ifequal LANGUAGE_CODE lang.0 %} selected="selected"{% endifequal %}>
{{ lang.1 }}
</option>
{% endfor %}
</select>
</form>
{% endif %}
</div>
</div>
</div>
</footer>
{% endblock footer %}


Expand All @@ -237,7 +237,7 @@ <h4 class="modal-title" id="myModalLabel">{% trans "Sign in" %}</h4>
</div>
<div class="form-group">
<label for="id_password" class="sr-only">{% trans "Password" %}:</label>
<input id="id_password" class="form-control" name="password" placeholder="Password" type="password" />
<input id="id_password" class="form-control" name="password" placeholder="Password" type="password" autocomplete="off" />
</div>
<label class="checkbox">
<input type="checkbox" /> {% trans "Remember Me" %}
Expand Down
2 changes: 1 addition & 1 deletion geonode/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ <h4 class="modal-title" id="myModalLabel">{% trans "Sign in" %}</h4>
</div>
<div class="form-group">
<label for="id_password" class="sr-only">{% trans "Password" %}:</label>
<input id="id_password" class="form-control" name="password" placeholder="{% trans "Password" %}" type="password" />
<input id="id_password" class="form-control" name="password" placeholder="{% trans "Password" %}" type="password" autocomplete="off" />
</div>
<label class="checkbox">
<input type="checkbox" /> {% trans "Remember Me" %}
Expand Down

0 comments on commit af48a63

Please sign in to comment.