diff --git a/appname/assets.py b/appname/assets.py
index 9a83b343..bab331cd 100755
--- a/appname/assets.py
+++ b/appname/assets.py
@@ -1,7 +1,7 @@
from flask_assets import Bundle
common_css = Bundle(
- 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css',
+ 'https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css',
'css/vendor/helper.css',
'css/main.css',
'css/overrides.css',
@@ -10,9 +10,8 @@
)
common_js = Bundle(
- 'https://code.jquery.com/jquery-3.2.1.slim.min.js',
- 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js',
- 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js',
+ 'https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js',
+ 'https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js',
Bundle(
'js/main.js',
filters='jsmin'
@@ -33,19 +32,15 @@
)
tabler_css = Bundle(
- 'https://rawcdn.githack.com/Sumukh/Ignite/70bf953851a356e785528b56ca105042074a3d5a/appname/static/tabler/css/dashboard.css',
+ 'https://cdn.jsdelivr.net/npm/@tabler/core@latest/dist/css/tabler.min.css',
+ 'https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/dist/css/tabler-vendors.min.css',
'css/overrides.css',
filters='cssmin',
output='public/css/tabler.css'
)
tabler_js = Bundle(
- 'tabler/js/vendors/jquery-3.2.1.min.js',
- 'tabler/js/vendors/bootstrap.bundle.min.js',
- 'tabler/js/vendors/circle-progress.min.js',
- 'tabler/js/vendors/selectize.min.js',
- 'tabler/js/vendors/jquery.tablesorter.min.js',
- 'tabler/js/core.js',
+ 'https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/dist/js/tabler.min.js',
output='public/js/tabler.js'
)
@@ -55,14 +50,10 @@
)
tabler_plugins_js = Bundle(
- 'tabler/js/vendors/chart.bundle.min.js',
- 'tabler/js/vendors/jquery.sparkline.min.js',
- 'tabler/js/vendors/jquery-jvectormap-2.0.3.min.js',
- 'tabler/js/vendors/jquery-jvectormap-de-merc.js',
- 'tabler/js/vendors/jquery-jvectormap-world-mill.js',
- 'tabler/js/plugins/charts-c3/js/d3.v3.min.js',
- 'tabler/js/plugins/charts-c3/js/c3.min.js',
- 'tabler/js/plugins/input-mask/js/jquery.mask.min.js',
+ 'https://cdn.jsdelivr.net/npm/apexcharts',
+ 'https://cdn.jsdelivr.net/npm/choices.js@9.0.1/public/assets/scripts/choices.min.js',
+ 'https://cdn.jsdelivr.net/npm/litepicker/dist/litepicker.js',
+ 'https://cdn.jsdelivr.net/npm/tom-select@2.3.1/dist/js/tom-select.complete.min.js',
# Other Plugins as needed.
output='public/js/tabler-plugins.js'
)
diff --git a/appname/templates/auth/invite.html b/appname/templates/auth/invite.html
index f71acefc..70a10fc0 100644
--- a/appname/templates/auth/invite.html
+++ b/appname/templates/auth/invite.html
@@ -4,34 +4,36 @@
{% block title %}appname Signup{% endblock %}
{% block body %}
-
-
-
-
-
-
-
appname
-
-
+
+
{% include 'tabler/_footer.html' with context %}
{% endblock %}
diff --git a/appname/templates/auth/login.html b/appname/templates/auth/login.html
index d5eeb5c7..5b545f78 100644
--- a/appname/templates/auth/login.html
+++ b/appname/templates/auth/login.html
@@ -5,45 +5,43 @@
{% block title %}appname Login Example{% endblock %}
{% block body %}
-
-
-
-
-
- {{ render_flashes() }}
-
+
+
+
+
+
+
Login to your account
+
+ {{ form.hidden_tag() }}
+ {{ render_field(form.email, placeholder='test@example.com') }}
+ {{ render_field(form.password, placeholder='Password') }}
+
+ Help! I forgot my password
+
+
-
-
-
-
Login to your account
- {{ form.hidden_tag() }}
- {{ render_field(form.email, placeholder='test@example.com') }}
- {{ render_field(form.password, placeholder='Password') }}
-
- Help! I forgot my password
-
-
-
-
-
-
- {% if features.oauth %}
-
- {% endif %}
-
- Don't have an account yet?
Sign Up
-
-
+
+ {% if features.oauth %}
+
or
+
+ {% endif %}
+
+
+ Don't have an account yet?
Sign Up
-
+
+
{% include 'tabler/_footer.html' with context %}
diff --git a/appname/templates/auth/oauth_only_login.html b/appname/templates/auth/oauth_only_login.html
index 42f1a6f8..737f487d 100644
--- a/appname/templates/auth/oauth_only_login.html
+++ b/appname/templates/auth/oauth_only_login.html
@@ -15,25 +15,44 @@
- {% if features.oauth %}
-
- Login with Google
-
- {% else %}
- It is not possible to login to appname right now because OAuth Login has not been configured.
- {% endif %}
- {% if constants.ALLOW_SIGNUPS %}
-
- Don't have an account yet?
Sign Up
-
- {% endif %}
+
+
+
+
+
+
+
Log in to appname
+
+ {% if features.oauth %}
+
+ Login with Google
+
+ {% else %}
+ It is not possible to login to appname right now because OAuth Login has not been configured.
+ {% endif %}
+ {% if constants.ALLOW_SIGNUPS %}
+
+ Don't have an account yet?
Sign Up
+
+ {% endif %}
+
+
+
+
+
+
{% include 'tabler/_footer.html' with context %}
{% endblock %}
diff --git a/appname/templates/auth/reauth.html b/appname/templates/auth/reauth.html
index 6a2b2c8e..e3b73c96 100644
--- a/appname/templates/auth/reauth.html
+++ b/appname/templates/auth/reauth.html
@@ -4,17 +4,25 @@
{% block title %}appname Login Example{% endblock %}
{% block body %}
-
-
-
-
-
-
Confirm your login in order to procceed
-
- {{ form.hidden_tag() }} {{ render_field(form.email) }} {{ render_field(form.password) }}
- Submit
-
-
+
+
+
+
+
+
Login to your account
+
+ {{ form.hidden_tag() }}
+ {{ render_field(form.email) }}
+ {{ render_field(form.password) }}
+
+
diff --git a/appname/templates/auth/request_password_reset.html b/appname/templates/auth/request_password_reset.html
index a4cb0d55..3e28e729 100644
--- a/appname/templates/auth/request_password_reset.html
+++ b/appname/templates/auth/request_password_reset.html
@@ -1,38 +1,39 @@
{% extends "tabler/minimal_base.html" %}
{% from "helpers/_formhelpers.html" import render_field %}
-{% block title %}appname Login Example{% endblock %}
+{% block title %}appname Reset Password{% endblock %}
{% block body %}
-
-
-
-
-
- {{ render_flashes() }}
-
-
-
-
-
-
-
Reset your password
- {{ form.hidden_tag() }}
- {{ render_field(form.email, placeholder='test@example.com') }}
-
-
- Actually, I remember my password now
-
-
-
-
-
+
+
+
+
+
+
Reset your password
+
+
+ {{ form.hidden_tag() }}
+ {{ render_field(form.email, placeholder='test@example.com') }}
+
+
-
+
+
+
+
+
+ Actually, I remember my password now?
Log in
+
+
+
{% include 'tabler/_footer.html' with context %}
{% endblock %}
diff --git a/appname/templates/auth/reset_password.html b/appname/templates/auth/reset_password.html
index d2a2793a..bb1e1b87 100644
--- a/appname/templates/auth/reset_password.html
+++ b/appname/templates/auth/reset_password.html
@@ -4,31 +4,33 @@
{% block title %}appname Reset Password{% endblock %}
{% block body %}
-
-
-
-
-
- {{ render_flashes() }}
-
-
-
-
-
-
-
Reset your password
- {{ form.hidden_tag() }}
- {{ render_field(form.password) }}
- {{ render_field(form.confirm) }}
-
-
-
-
+
+
+
+
+
+
Login to your account
+
+ {{ form.hidden_tag() }}
+ {{ render_field(form.password) }}
+ {{ render_field(form.confirm) }}
+
+
+
+
+ Need to create a new account?
Sign Up
+
+
{% include 'tabler/_footer.html' with context %}
diff --git a/appname/templates/auth/signup.html b/appname/templates/auth/signup.html
index e6852187..fbb5074d 100644
--- a/appname/templates/auth/signup.html
+++ b/appname/templates/auth/signup.html
@@ -4,53 +4,51 @@
{% block title %}appname Signup{% endblock %}
{% block body %}
-
-
-
-
-
-
-
-
-
- {% if constants.ALLOW_PASSWORD_LOGIN %}
-
- Sign up for appname
- {{ form.hidden_tag() }}
- {{ render_field(form.email) }}
- {{ render_field(form.password) }}
- {{ render_field(form.confirm) }}
-
-
-
-
-
-
- {% endif %}
-
- {% if features.oauth %}
-
- {% elif not features.oauth and not constants.ALLOW_PASSWORD_LOGIN %}
-
- OAuth Signup is not configured
-
- {% endif %}
-
-
-
-
+
+
+
+
+
+
+
Sign up for appname
+ {% if constants.ALLOW_PASSWORD_LOGIN %}
+
+ {{ form.hidden_tag() }}
+ {{ render_field(form.email, placeholder="yourname@example.com") }}
+ {{ render_field(form.password, placeholder="at least six digits") }}
+ {{ render_field(form.confirm) }}
+
+
+
+ {% endif %}
+ {% if features.oauth %}
+
+ {% elif not features.oauth and not constants.ALLOW_PASSWORD_LOGIN %}
+
+ OAuth Signup is not configured
+ {% endif %}
+
+
+ Already have account?
Sign in
+
+
+
+
{% include 'tabler/_footer.html' with context %}
{% endblock %}
\ No newline at end of file
diff --git a/appname/templates/helpers/_formhelpers.html b/appname/templates/helpers/_formhelpers.html
index ece3d975..7cf10b3e 100644
--- a/appname/templates/helpers/_formhelpers.html
+++ b/appname/templates/helpers/_formhelpers.html
@@ -1,7 +1,7 @@
{% macro render_field(field, class="form-control", label_hidden=false) %}
-