Skip to content

Commit 4a26d0d

Browse files
committed
update login.html disable forgot password
1 parent d74a803 commit 4a26d0d

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% extends "admin/base_site.html" %}
2+
{% load i18n %}
3+
4+
{% block breadcrumbs %}
5+
<ol class="breadcrumb">
6+
<li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a></li>
7+
<li class="active">{{ title }}</li>
8+
</ol>
9+
{% endblock %}
10+
11+
{% block content_title %} {{ title }} {% endblock %}
12+
13+
{% block content %}
14+
<p>{% trans "Something's wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user." %}</p>
15+
{% endblock %}

adminlteui/templates/admin/login.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
{% load i18n admin_static %}<!DOCTYPE html>{% get_current_language as LANGUAGE_CODE %}
2-
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}">
1+
{% load i18n admin_static %}<!DOCTYPE html>
2+
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
3+
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
34
<head>
45
<!-- Current language: {{ LANGUAGE_CODE }} -->
56
<meta charset="utf-8">
@@ -16,7 +17,7 @@
1617
<!-- Theme style -->
1718
<link rel="stylesheet" href={% static "admin/dist/css/AdminLTE.min.css" %}>
1819
<!-- iCheck -->
19-
<link rel="stylesheet" href={% static "admin//plugins/iCheck/square/blue.css" %}>
20+
<link rel="stylesheet" href={% static "admin/plugins/iCheck/square/blue.css" %}>
2021

2122
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
2223
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
@@ -75,7 +76,7 @@
7576
<!--</div>-->
7677
<!-- /.social-auth-links -->
7778
<div class="row">
78-
<div class="col-xs-8"><a href="#">{% trans 'Forgot password ?' %}</a></div>
79+
{# <div class="col-xs-8"><a href="#">{% trans 'Forgot password ?' %}</a></div> #}
7980
{# <div class="col-xs-4 text-right"><a href="{% url 'admin:register' %}" class="text-center">{% trans "Register" %}</a></div> #}
8081
</div>
8182
</div>

0 commit comments

Comments
 (0)