HumanityOnline / MyRefuge

http://myrefuge.world/
4 stars 1 forks source link

All sign up forms styled except for photo fields #3

Closed nelsyeung closed 9 years ago

nelsyeung commented 9 years ago

Basically all the sign up forms are styled. I think you might have to check the HTML files I've changed. Don't know whether I've made any big blunder with Django template you know. I've added Bootstrap and removed Susy. I haven't styled the photo & date fields yet since both require a bit of JavaScript, I will do it later.

cazgp commented 9 years ago

Sweeeeet. Looking much better now.

There are quite a few unstyled pages that I'm not sure you're aware of?

Basically it's using a plugin userena which has the following urls (regex):

# Signup, signin and signout
url(r'^signup/$',
url(r'^signin/$',
url(r'^signout/$',

# Reset password
url(r'^password/reset/$',
url(r'^password/reset/done/$',
url(r'^password/reset/confirm/(?P<%s>[0-9A-Za-z]+)-(?P<token>.+)/$' % password_reset_uid_kwarg,
url(r'^password/reset/confirm/complete/$',

# Signup
url(r'^(?P<username>[\@\.\w-]+)/signup/complete/$',

# Activate
url(r'^activate/(?P<activation_key>\w+)/$',

# Retry activation
url(r'^activate/retry/(?P<activation_key>\w+)/$',

# Change email and confirm it
url(r'^(?P<username>[\@\.\w-]+)/email/$',
url(r'^(?P<username>[\@\.\w-]+)/email/complete/$',
url(r'^(?P<username>[\@\.\w-]+)/confirm-email/complete/$',
url(r'^confirm-email/(?P<confirmation_key>\w+)/$',

# Disabled account
url(r'^(?P<username>[\@\.\w-]+)/disabled/$',

# Change password
url(r'^(?P<username>[\@\.\w-]+)/password/$',
url(r'^(?P<username>[\@\.\w-]+)/password/complete/$',

# Edit profile
url(r'^(?P<username>[\@\.\w-]+)/edit/$',

# View profiles
url(r'^(?P<username>(?!signout|signup|signin)[\@\.\w-]+)/$',
url(r'^page/(?P<page>[0-9]+)/$',

For example, http://127.0.0.1:8000/account/refugee1/ for a new refugee, or http://127.0.0.1:8000/account/username/. In order to make those easier for you, I've copied them into the repo (#4) for you to edit away!