Commit graph

37 commits

Author SHA1 Message Date
9581ca16ab implantation CSS
navbar, footer, tile, column
couleur de Khaganat et Khanat
2019-07-18 12:47:30 +02:00
Rodolphe Breard
741d36dad6 Set a minimalist theme 2019-01-27 13:27:51 +01:00
Rodolphe Breard
1d039d2aae In debug mode, use the normal CSS file instead of the minified one
When working with Sass, the watch mode does not build the minified CSS
file. Hence, it is useful to use the normal one in development (debug
mode activated) and keep the minified one for production only (debug
mode deactivated).
2018-11-12 14:36:18 +01:00
Rodolphe Breard
52eb58f2a9 Add the KHAGANAT_INTERNAL_IPS setting 2018-11-12 14:35:37 +01:00
Rodolphe Breard
4bb0e083ae Moving the static files config to the specific app 2018-06-11 12:55:17 +02:00
Rodolphe Breard
220333fdbe Remove sass directory from static files 2018-06-11 12:42:00 +02:00
Rodolphe Breard
2f243139bf Add a burger manu to the navbar when used on mobiles 2018-06-11 12:13:07 +02:00
Rodolphe Breard
957c884f78 Use the minified css 2018-06-11 12:05:04 +02:00
Rodolphe Breard
1fa3ab9ebe Add sass for bulma 2018-06-11 12:04:31 +02:00
Rodolphe Breard
1a9f9ca23b Move the nsfw functions into a real module 2018-06-03 23:48:21 +02:00
Rodolphe Breard
b0b8f30580 Migrate to Bulma
Bulma is simple and free full-CSS framework. Unlike Bootstrap, it fits
within a single small CSS file. It is also well integrated in Django.
https://bulma.io/
2018-06-03 22:16:40 +02:00
Rodolphe Breard
2e7c42f61f Add a footer with a legal page 2018-06-03 11:02:55 +02:00
Rodolphe Breard
4bdfe2d05c Flag allowed NSFW content 2018-06-02 21:43:23 +02:00
Rodolphe Breard
aa691e7d2e Move the global static files to a dedicated subdirectory 2018-06-02 13:38:47 +02:00
Rodolphe Breard
5b6609a46f Add the NSFW mode 2018-05-27 18:45:52 +02:00
Rodolphe Breard
4da85ac991 Improve the way the login url is handled 2018-03-03 11:30:29 +01:00
Rodolphe Breard
65300d9ce8 Add Django neo-pastebin 2018-03-02 19:38:14 +01:00
Rodolphe Breard
5d367f3f49 Use the Csv helper for the KHAGANAT_HOSTNAMES config 2018-02-09 21:45:26 +01:00
Rodolphe Breard
af1a793965 Use python-decouple instead of custom hack 2018-02-09 18:52:37 +01:00
Rodolphe Breard
fdf879a6b3 Allow to set the SECURE_PROXY_SSL_HEADER django setting
Sometimes the django application is deployed behind a reverse-proxy
which manage HTTPS. In such case, django think the connection is plain
HTTP unless SECURE_PROXY_SSL_HEADER is set and the reverse-proxy sets
the appropriate header/value.
2018-02-04 17:12:22 +01:00
Rodolphe Breard
291f9f0910 Fix various problems with emails for account/password 2018-02-04 16:11:07 +01:00
Rodolphe Breard
71e7433040 Parse environment variables with boolean values
Simply using bool() on the string returns True for every non-empty
string. Hence, the only way to set a value to False is to set it the an
empty string, which is counter-intuitive.
This commit will instead compare the string to well-known values for
True and return accordingly. Every other non-empty string is evaluated
to False. Empty string are evaluated to the default value.
2018-02-04 11:15:02 +01:00
Rodolphe Breard
ab4eb7414c Add basic user functionalities
Users need to register, login, logout and reset their password.
2018-02-04 01:36:39 +01:00
Rodolphe Breard
a12014e2f1 Add the language to the admin tool 2018-01-28 15:47:39 +01:00
Rodolphe Breard
df2032ef05 Improve the log style 2018-01-28 14:27:02 +01:00
Rodolphe Breard
0b59b4b140 Enforce some pep8 code style 2018-01-27 23:12:09 +01:00
Rodolphe Breard
72c432dd18 Add the new user model 2018-01-27 21:06:40 +01:00
Rodolphe Breard
2d40a57613 Add the log app 2018-01-27 18:58:36 +01:00
Rodolphe Breard
f075438bbe Add the STATIC_ROOT env setting 2018-01-26 19:39:28 +01:00
Rodolphe Breard
89a10d3b6a Add the navbar 2018-01-21 13:44:00 +01:00
Rodolphe Breard
c9c8228e22 Adjust the opacity 2018-01-20 15:20:28 +01:00
Rodolphe Breard
adeb8a501f Add the favicon 2018-01-20 15:07:26 +01:00
Rodolphe Breard
73d0952eeb Add the base theme 2018-01-20 13:36:42 +01:00
Rodolphe Breard
ddaf8c0027 Improve the default page finding 2018-01-20 11:02:04 +01:00
Rodolphe Breard
e5fcd61105 Add the static pages module 2018-01-13 15:45:54 +01:00
Rodolphe Breard
ace88af9f9 Add bootstrap 2018-01-13 15:45:20 +01:00
Rodolphe Breard
71d6cee66d first commit 2018-01-13 12:29:33 +01:00