• Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    HTML
  • License
    MIT License
  • Created almost 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Nice looking templates for django-allauth

AllAuth UI

UI templates for django-allauth built with Tailwind.

django-allauth is a great library, but the templates it provides out of the box are minimal html. I usually end up re-designing the login / logout / signup pages for each new Django project. This library aims at providing decent defaults for new projects.

Features

  • Responsive design suitable for device sizes from mobile to desktop
  • Styled social login themes
  • Additional error information when social logins fail

Installation

pip install django-allauth-ui
pip install django-widget-tweaks

django-allauth-ui depends on django-widget-tweaks to render form fields. Make sure to install django-widget-tweaks and add it to the INSTALLED_APPS.

Add django-allauth-ui before django-allauth in your INSTALLED_APPS. See ./tests/settings.py for an example.

INSTALLED_APPS = [
    "allauth_ui",
    "allauth",
    "allauth.account",
    "allauth.socialaccount",
    "allauth.socialaccount.providers.github",
    "widget_tweaks",
]

Note:

When going to production you should run python manage.py collectstatic

Screenshots

Log In Sign Up Password Reset

Generating screenshots

convert "$1" -crop 1072x901+436+200 crop_signin.png

Hacking on the project

# Clone the repo
git clone [email protected]:danihodovic/django-allauth-ui.git
cd django-allauth-ui.git

# Create the virtual env
python -m venv .venv
# Activate the virtual env. This has to be done every time you enter the directory.
source .venv/bin/activate

# Install the dependencies
pip install --upgrade pip poetry
poetry install

# Install tailwind
npm install

# Run the migrations
./manage.py migrate

# Add sample social providers
./manage.py create_test_providers

# Start the server
./manage.py runserver_plus

# Start the tailwind compilation process in another terminal
npm run-script build:watch

Make changes in allauth_ui/templates and open the browser at http://localhost:8000/accounts/login/.

Once you're done compile tailwind with npm run-script build and submit a pull-request 🃏

More Repositories

1

celery-exporter

A Prometheus exporter for Celery metrics
Jsonnet
386
star
2

generate-ssh-configs

Automatically generate ssh config files for your cloud servers
Go
135
star
3

mjml-server

MJML wrapped in Express for use over HTTP
JavaScript
39
star
4

django_admin_chart_js

An example repo showing how to add Chart.js to Django admin
Python
37
star
5

django-postgres-fulltext-search

How to optimize Postgres full text search in Django
Python
20
star
6

borg-exporter

Prometheus exporter for Borg backups.
Python
16
star
7

testing-cloudflare-workers

Examples on how to test Cloudflare workers with Mocha.js and Chai.js
JavaScript
15
star
8

vim-ansible-vault

Manage vault secrets in vim
Python
11
star
9

.dotfiles

My dotfiles
Shell
9
star
10

docker-sopcast

Sopcast containerized
Shell
8
star
11

drone-promote

A Drone plugin which triggers promotions (deployments).
Python
5
star
12

django-disable-cache-headers

Middleware that disables caching headers during development in Django.
Python
4
star
13

docker-ansible

Dockerfile
4
star
14

ansible-role-borgbackup

Installs borgbackup and borgmatic and configures automated backups.
Python
4
star
15

steeef

Zsh steeef theme as a standalone repository
4
star
16

django.wtf

Django Package Index
Python
4
star
17

ansible-samson

Ansible modules for Samson
Python
3
star
18

scdl-docker

3
star
19

django-toolshed

Python
3
star
20

ansible-role-django

Python
3
star
21

ansible-role-openproject

An opinionated role that installs OpenProject as a single Docker container.
3
star
22

vim-snippets

Vim Snippet
2
star
23

ansible-role-redis

Python
2
star
24

cheats

2
star
25

superrequests

Python
2
star
26

dht

Python
2
star
27

nodejs-require.vim

Go to the file for the require() statement under the cursor.
Python
2
star
28

docker-s3rver

Dockerfile
2
star
29

ansible-role-consul

An Ansible role that deploys a consul cluster as containers.
Python
2
star
30

ansible-role-openresty

A role to deploy Openresty in a Docker container with useful plugins and libraries
Python
2
star
31

pgcli-docker

Pgcli dockerized
2
star
32

cookiecutter-django-app

Python
2
star
33

borgmatic-binary

Python
2
star
34

ansible-role-jobber

An Ansible role that installs Jobber on debian based architecture. https://dshearer.github.io/jobber
2
star
35

ansible-role-drone

Python
2
star
36

ansible-role-monitoring

Python
2
star
37

docker-vegeta

1
star
38

docker-gitlab-runner

Dockerfile
1
star
39

hn-comment-parser

Go
1
star
40

go-websocket-example

Go
1
star
41

dockerfiles

Dockerfile
1
star
42

action-ansible

Python
1
star
43

seo_friendly_urls_django

Example app with SEO optimized urls in Django
Python
1
star
44

DIT165

C
1
star
45

erl-chat-otp

Erlang
1
star
46

ansible-role-gitlab

Ruby
1
star
47

samson-docker

Dockerfile
1
star