2015-01-22 15:56:23 +00:00
|
|
|
{% extends "security/panel.html" %}
|
Improvement in the look and feel of the whole application
Changed the SCSS/CSS for the below third party libraries to adopt the
new look 'n' feel:
- wcDocker
- Alertify dialogs, and notifications
- AciTree
- Bootstrap Navbar
- Bootstrap Tabs
- Bootstrap Drop-Down menu
- Backgrid
- Select2
Adopated the new the look 'n' feel for the dialogs, wizard, properties,
tab panels, tabs, fieldset, subnode control, spinner control, HTML
table, and other form controls.
- Font is changed to Roboto
- Using SCSS variables to define the look 'n' feel
- Designer background images for the Login, and Forget password pages in
'web' mode
- Improved the look 'n' feel for the key selection in the preferences
dialog
- Table classes consistency changes across the application
- File Open and Save dialog list view changes
Author(s): Aditya Toshniwal & Khushboo Vashi
2018-12-21 17:14:55 +05:30
|
|
|
{% block panel_image %}
|
|
|
|
|
<div class="pr-4">
|
|
|
|
|
<img src="{{ url_for('static', filename='img/login.svg') }}" alt="{{ _('Login') }}">
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block panel_title %}{{ _('Login') }}{% endblock %}
|
2015-01-22 15:56:23 +00:00
|
|
|
{% block panel_body %}
|
2017-12-18 09:15:36 +00:00
|
|
|
{% if config.SERVER_MODE %}
|
2015-01-22 15:56:23 +00:00
|
|
|
<form action="{{ url_for_security('login') }}" method="POST" name="login_user_form">
|
2016-06-21 14:21:06 +01:00
|
|
|
{{ login_user_form.hidden_tag() }}
|
2017-03-24 14:20:10 +00:00
|
|
|
{% set user_language = request.cookies.get('PGADMIN_LANGUAGE') or 'en' %}
|
2018-10-10 12:43:26 +01:00
|
|
|
{{ render_field_with_errors(login_user_form.email, "text") }}
|
|
|
|
|
{{ render_field_with_errors(login_user_form.password, "password") }}
|
Improvement in the look and feel of the whole application
Changed the SCSS/CSS for the below third party libraries to adopt the
new look 'n' feel:
- wcDocker
- Alertify dialogs, and notifications
- AciTree
- Bootstrap Navbar
- Bootstrap Tabs
- Bootstrap Drop-Down menu
- Backgrid
- Select2
Adopated the new the look 'n' feel for the dialogs, wizard, properties,
tab panels, tabs, fieldset, subnode control, spinner control, HTML
table, and other form controls.
- Font is changed to Roboto
- Using SCSS variables to define the look 'n' feel
- Designer background images for the Login, and Forget password pages in
'web' mode
- Improved the look 'n' feel for the key selection in the preferences
dialog
- Table classes consistency changes across the application
- File Open and Save dialog list view changes
Author(s): Aditya Toshniwal & Khushboo Vashi
2018-12-21 17:14:55 +05:30
|
|
|
<button class="btn btn-primary btn-block btn-login" type="submit" value="{{ _('Login') }}">{{ _('Login') }}</button>
|
2018-10-10 12:43:26 +01:00
|
|
|
<div class="form-group row mb-3 c user-language">
|
Improvement in the look and feel of the whole application
Changed the SCSS/CSS for the below third party libraries to adopt the
new look 'n' feel:
- wcDocker
- Alertify dialogs, and notifications
- AciTree
- Bootstrap Navbar
- Bootstrap Tabs
- Bootstrap Drop-Down menu
- Backgrid
- Select2
Adopated the new the look 'n' feel for the dialogs, wizard, properties,
tab panels, tabs, fieldset, subnode control, spinner control, HTML
table, and other form controls.
- Font is changed to Roboto
- Using SCSS variables to define the look 'n' feel
- Designer background images for the Login, and Forget password pages in
'web' mode
- Improved the look 'n' feel for the key selection in the preferences
dialog
- Table classes consistency changes across the application
- File Open and Save dialog list view changes
Author(s): Aditya Toshniwal & Khushboo Vashi
2018-12-21 17:14:55 +05:30
|
|
|
<div class="col-8"><span class="help-block">{{ _('<a href="%(url)s" class="text-white">Forgotten your password</a>?', url=url_for('browser.forgot_password')) }}</span></div>
|
|
|
|
|
<div class="col-4">
|
2018-10-10 12:43:26 +01:00
|
|
|
<select class="form-control" name="language" value="{{user_language}}">
|
|
|
|
|
{% for key, lang in config.LANGUAGES.items() %}
|
|
|
|
|
<option value="{{key}}" {% if user_language == key %}selected{% endif %}>{{lang}}</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
2017-03-24 14:20:10 +00:00
|
|
|
</div>
|
2018-10-10 12:43:26 +01:00
|
|
|
</div>
|
2015-01-22 15:56:23 +00:00
|
|
|
</form>
|
2017-12-18 09:15:36 +00:00
|
|
|
{% endif %}
|
2015-01-22 15:56:23 +00:00
|
|
|
{% endblock %}
|