Commit graph

49 commits

Author SHA1 Message Date
Théophile Bastian
9c78ecb895 A few more CSS rules: lists, margins… 2017-11-02 13:57:27 +01:00
Théophile Bastian
d719dde279 A few CSS enhancements for markdown-displayed text 2017-11-02 13:32:43 +01:00
Théophile Bastian
aa3f2aa240 Trust PublicationYears description texts with HTML
This is necessary for, eg., centering part of the text…
2017-11-02 09:46:56 +01:00
Théophile Bastian
5f45aaa77b Use orange as background colour 2017-10-27 11:30:30 +02:00
Evarin
7e385f63cb Les goûts et les couleurs 2017-10-23 09:58:10 +02:00
Evarin
e485307eea Fix little details 2017-10-21 18:08:42 +02:00
Evarin
d750ad6ae0 Fix responsive + plus de contraste 2017-10-19 23:14:07 +02:00
Théophile Bastian
adcf615e5b Clean up swap files and trailing whitespaces 2017-10-19 21:43:31 +02:00
Evarin
6b51c7bd42 Responsive un peu hackish mais fonctionnel 2017-10-19 16:12:57 +02:00
Evarin
6bc6b8c315 Site plus joli pas responsive 2017-10-19 15:36:19 +02:00
Evarin
ce694f617b Merge branch 'master' into Evarin/apparence 2017-10-19 10:47:31 +02:00
Théophile Bastian
e6cdf40fdc Add possibility to have an unknown publication date 2017-10-17 16:29:42 +02:00
Evarin
ec78ec28f2 Début d'un autre design 2017-10-15 21:56:03 +02:00
Théophile Bastian
46a03b3805 Make BOcal's logo responsive (navbar) 2017-10-14 22:23:21 +02:00
Théophile Bastian
654d87101d Add custom error pages for 403, 404, 500
Close #6.
2017-10-14 19:52:46 +02:00
Théophile Bastian
e699fc617e Move authentication-related modules to app bocal_auth 2017-10-14 17:59:42 +02:00
Théophile Bastian
b1727f7e07 Clean a CAS-returned username
cas.eleves.ens.fr allows users such as '  FooBAr ' or 'foobar' in
indifferently
2017-10-14 16:57:59 +02:00
Théophile Bastian
17e71451fe Make login through CAS and local auth available
So far, CAS-created users don't get any privilege based on rhosts
2017-10-14 16:22:23 +02:00
Théophile Bastian
a62272d82e Add a link to latest publication on homepage
Note: the CSS is utterly horrible. Please change this asap.
Close #5
2017-09-24 19:31:42 +02:00
Théophile Bastian
dd95ce4c3c Add url for the latest publication 2017-09-24 19:11:08 +02:00
Théophile Bastian
23466d3717 Fix PublicationYear.publis returning special publications 2017-09-24 19:10:20 +02:00
Théophile Bastian
673ce754f6 Create PublicationYear on API request
Closes #3
2017-09-24 18:41:31 +02:00
Théophile Bastian
6d2ab4c0ca Update URLs to include api 2017-09-24 18:25:41 +02:00
Théophile Bastian
acb4430c02 Change publis list style 2017-09-23 19:19:59 +02:00
Théophile Bastian
5fccab444e Add description text and page header to publi views 2017-09-23 19:07:13 +02:00
Théophile Bastian
3fbd7b5859 Use Markdown for presentation texts all around 2017-09-23 18:48:29 +02:00
Théophile Bastian
c9b1ccc5c9 Separate cleanly special publications in side bar 2017-09-23 16:34:47 +02:00
Théophile Bastian
6935179748 Fix publication name for specials 2017-09-23 16:34:37 +02:00
Théophile Bastian
f0282eb9da Order PublicationYears in descending order 2017-09-22 19:16:41 +02:00
Théophile Bastian
7023cac661 Change margins for the main block 2017-09-22 19:15:58 +02:00
Théophile Bastian
72202a4630 Handle special publications differently 2017-09-22 19:03:43 +02:00
Théophile Bastian
3f43ccdc4e Use SiteConfiguration's text for quasi-static pages 2017-09-22 18:12:53 +02:00
Théophile Bastian
db0f7fa5b2 Introduce django-solo for site configuration 2017-09-22 18:07:38 +02:00
Théophile Bastian
a7180f1425 Fix url destination of logo 2017-09-22 17:18:31 +02:00
Théophile Bastian
89c1bb63cd Add PublicationYear, add years to sidebar 2017-09-22 15:15:05 +02:00
Théophile Bastian
31c4b046fc Introduce placeholder pages for home and write_article 2017-09-22 13:44:36 +02:00
Théophile Bastian
32d4bd061c Adapt link hover in the sidebar with rounded corner 2017-09-22 10:14:58 +02:00
Théophile Bastian
3960b16242 Round top-left corner of main area 2017-09-22 09:43:14 +02:00
Théophile Bastian
13beb922ea Introduce a decent enough base template
Lacks features in the {side,nav}bar
Design to be perfected
2017-09-22 00:57:32 +02:00
Théophile Bastian
4426a52505 Order Publications by date by default 2017-09-21 20:21:53 +02:00
Théophile Bastian
a5e73d284b Enhance year_view.html a little 2017-09-21 20:21:53 +02:00
Théophile Bastian
edbd2fabca Use fontawesome 2017-09-21 20:09:46 +02:00
Théophile Bastian
c9a032236e Fix Publication's fields 2017-09-21 19:58:42 +02:00
Théophile Bastian
0c34bc8f3e Fix YearView filters and types 2017-09-21 19:43:28 +02:00
Théophile Bastian
b2c5d5c3c6 Add tentative first templates [WIP] 2017-09-21 19:12:15 +02:00
Théophile Bastian
f8d6be1c25 Include mainsite's urlpatterns 2017-09-21 19:11:51 +02:00
Théophile Bastian
10f29d8264 Add a simple view for a year 2017-09-21 14:00:10 +02:00
Théophile Bastian
aa4812e337 Add tentative model for a publication 2017-09-21 11:34:40 +02:00
Théophile Bastian
9f4ed6432e Start app mainsite 2017-09-21 11:01:17 +02:00