|
| 1 | +{% load i18n admin_static adminlte_options %}<!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 %}> |
| 4 | +<head> |
| 5 | + <!-- Current language: {{ LANGUAGE_CODE }} --> |
| 6 | + <meta charset="utf-8"> |
| 7 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 8 | + <title> |
| 9 | + {% get_adminlte_option 'site_title' as adminlte_site_title %} |
| 10 | + {% if adminlte_site_title.valid %} |
| 11 | + {{ adminlte_site_title.site_title }} |
| 12 | + {% else %} |
| 13 | + {{ site_title|default:_('Django site admin') }} |
| 14 | + {% endif %} |
| 15 | + | {% trans 'Log in again' %} |
| 16 | + </title> |
| 17 | + <!-- Tell the browser to be responsive to screen width --> |
| 18 | + <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> |
| 19 | + <!-- Bootstrap 3.3.6 --> |
| 20 | + <link rel="stylesheet" href={% static "admin/bootstrap/css/bootstrap.min.css" %}> |
| 21 | + <!-- Font Awesome --> |
| 22 | + <link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.5.0/css/font-awesome.min.css"> |
| 23 | + <!-- Ionicons --> |
| 24 | + <link rel="stylesheet" href="//cdn.bootcss.com/ionicons/2.0.1/css/ionicons.min.css"> |
| 25 | + <!-- Theme style --> |
| 26 | + <link rel="stylesheet" href={% static "admin/dist/css/AdminLTE.min.css" %}> |
| 27 | + |
| 28 | + <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> |
| 29 | + <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> |
| 30 | + <!--[if lt IE 9]> |
| 31 | + <script src="//oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> |
| 32 | + <script src="//oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> |
| 33 | + <![endif]--> |
| 34 | +</head> |
| 35 | +<body class="hold-transition login-page"> |
| 36 | + |
| 37 | +<div class="login-box"> |
| 38 | + <div class="login-logo"> |
| 39 | + <a href="/"> |
| 40 | + <b> |
| 41 | + {% get_adminlte_option 'site_header' as adminlte_site_header %} |
| 42 | + {% if adminlte_site_header.valid %} |
| 43 | + {{ adminlte_site_header.site_header }} |
| 44 | + {% else %} |
| 45 | + {{ site_header }} |
| 46 | + {% endif %} |
| 47 | + </b> |
| 48 | + </a> |
| 49 | + </div> |
| 50 | + |
| 51 | + <!-- /.login-logo --> |
| 52 | + <div class="login-box-body"> |
| 53 | + <p class="login-box-msg"> |
| 54 | + {% get_adminlte_option 'welcome_sign' as adminlte_welcome_sign %} |
| 55 | + {% if adminlte_welcome_sign.valid %} |
| 56 | + {{ adminlte_welcome_sign.welcome_sign }} |
| 57 | + {% else %} |
| 58 | + {% trans 'Login and Enjoy' %} |
| 59 | + {% endif %} |
| 60 | + </p> |
| 61 | + <p class="text-center">{% trans "Thanks for spending some quality time with the Web site today." %}</p> |
| 62 | + |
| 63 | + <p class="text-center"><a class="btn btn-primary" href="{% url 'admin:index' %}">{% trans 'Log in again' %}</a></p> |
| 64 | + </div> |
| 65 | + <!-- /.login-box-body --> |
| 66 | +</div> |
| 67 | +<!-- /.login-box --> |
| 68 | + |
| 69 | +</body> |
| 70 | +</html> |
0 commit comments