mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 15:26:46 -06:00
10515431c7
A user authentication module based on flask-security is added, which allows users to login and change/recover passwords etc. Custom templates are included for the user/password UIs. A new setup script will initialise the user (and later settings) DB, adding the first user and granting them an Administrator role. A redirects blueprint module is added to handle simple URL redirects. A browser module is added and currently renders a skeleton page with a menu bar, gravatar and jumbotron. NOTE FOR LATER: Currently this code might make the nice basis for any web app that needs user management and plugins. Hmmm....
22 lines
606 B
HTML
22 lines
606 B
HTML
{% extends "base.html" %}
|
|
{% from "security/fields.html" import render_field_with_errors %}
|
|
{% block body %}
|
|
<div class="container">
|
|
{% include "security/messages.html" %}
|
|
<div class="row">
|
|
<div class="col-md-4 col-md-offset-4">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{% block panel_title %}{% endblock %}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
{% block panel_body %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% include 'security/watermark.html' %}
|
|
{% endblock %}
|