199 Commits

Author SHA1 Message Date
Laurent Peuch
acccb41ff0 [mod] update sections templates for new behavior 2016-02-09 07:36:08 +01:00
Laurent Peuch
1866d6279e [mod] merge images and templates class into one, go full OO 2016-02-09 07:36:08 +01:00
Laurent Peuch
a2d04eb3ce [fix] very strange behavior of python interpretor 2016-02-09 07:36:08 +01:00
Laurent Peuch
3ee90704bc [fix] save CACHE version in cache, otherwise don't make sens 2016-02-09 07:36:08 +01:00
Laurent Peuch
cfba36bd6c [mod] don't try to work without gm anymore 2016-02-09 07:36:08 +01:00
Laurent Peuch
a1c5e75aa3 [mod] start refactoring to a simplification of capslock patch 2016-02-09 07:36:08 +01:00
Laurent Peuch
b890b103ea [mod] autopep8 2016-02-09 07:36:08 +01:00
Laurent Peuch
bd9d8f0cfd [enh] handle cache version to avoid conflicts 2016-02-09 07:36:08 +01:00
CapsLock
0ab845eada Now one can choose to override picture quality for thumbnails
To use it, change this :

  - type: pictures-group
    images:
      -
        - image1.jpg
        - image2.jpg
      -
        - image3.jpg
        - image4.jpg

To this :
  - type: pictures-group
    images:
      -
        - name: image1.jpg
          quality: 80
        - image2.jpg
      -
        - image3.jpg
        - name: image4.jpg
          quality: 100

Next step would be to compress pictures instead of just copying them to reduce their size

Signed-off-by: CapsLock <faimaison@legeox.net>
2016-02-09 07:36:08 +01:00
CapsLock
dca0f3623a footer type : s/generate/generated/
Signed-off-by: CapsLock <faimaison@legeox.net>
2016-02-09 07:36:08 +01:00
CapsLock
799b816413 Quality of thumbnails can be changed in templates
Signed-off-by: CapsLock <faimaison@legeox.net>
2016-02-09 07:36:08 +01:00
Adrien Beudin
2dc2888a07 Fix home 2016-02-08 15:19:55 +01:00
Adrien Beudin
17c0fdbaab Add support of menu 2016-02-08 11:28:11 +01:00
Laurent Peuch
66f045183f [fix] typo in footer 2016-01-24 13:36:15 +01:00
Laurent Peuch
5ae3ca88e2 [mod] make error message more explicite 2016-01-24 12:57:19 +01:00
opi
4597700511 [fix] Vertical and horizontal spacing for pictures-line. 2016-01-17 16:11:58 +01:00
Laurent Peuch
945714c225 [mod] debug infos 2016-01-17 10:26:12 +01:00
Laurent Peuch
674958551a [enh] implement caching for thumbnails 2016-01-17 10:26:12 +01:00
Laurent Peuch
719b2c5128 [fix] bugs in new index style 2016-01-17 10:26:12 +01:00
Laurent Peuch
2f0757e2a4 [mod] self note on optimisation 2016-01-17 10:26:12 +01:00
Laurent Peuch
8175ed4de7 [enh] fun display of galleries, take less space for the first instead of the last, putting the first more in sight :) 2016-01-17 10:26:12 +01:00
kload
898a2a7c93 [fix] text section line-height 2016-01-12 18:23:25 +01:00
kload
73faba80f2 [enh] Add 'paragraph' section
+ regular monserrat font
+ margin fixes
2016-01-12 18:18:35 +01:00
kload
69871d435f [enh] Correct miscalculation 2016-01-12 17:21:19 +01:00
kload
e0146fb214 [enh] Increase size difference between image columns and text columns 2016-01-12 15:43:03 +01:00
kload
f0a091d60b [enh] Reduce the margin between stacked element
And the overall size of the main column (80% -> 76%)
2016-01-12 15:31:07 +01:00
kload
aaa6f3a4e5 [enh] Use 2 open fonts instead of default ones
Crimson to replace the default serif:
http://www.fontsquirrel.com/fonts/crimson

Montserrat to replace the sans-serif title font:
http://www.fontsquirrel.com/fonts/montserrat
2016-01-12 14:33:15 +01:00
Laurent Peuch
bee509c80f [fix] js.onload stuff 2015-12-10 08:05:07 +01:00
Laurent Peuch
d58fec9c1d [enh] remove nasty white line between galleries lines 2015-12-10 08:03:39 +01:00
Laurent Peuch
ca2db908ec [mod] blank is ugly, don't put that on the home 2015-12-10 07:22:29 +01:00
Laurent Peuch
713a6a5314 [enh] add raw html section 2015-12-10 06:37:49 +01:00
Laurent Peuch
b07a8eafe0 [mod] increase sections pictures height, 400 was too small 2015-12-10 06:19:19 +01:00
Laurent Peuch
4c32a80659 [mod] max panorama height 2015-12-10 06:19:01 +01:00
Laurent Peuch
d4172c09da [mod] tune a bit the panorama 2015-12-10 06:18:37 +01:00
Laurent Peuch
d010da94f4 [enh] add panorama section 2015-12-10 05:49:39 +01:00
Laurent Peuch
c10cdf7914 [mod] urgh 2015-12-10 02:02:06 +01:00
Laurent Peuch
6be72f51ea [mod] really annoying 2015-12-10 01:59:27 +01:00
Laurent Peuch
1417bd263b [mod] em is freacking annoying 2015-12-10 01:57:46 +01:00
Laurent Peuch
f298e77d39 [mod] stylise a bit the a tag 2015-12-10 01:54:19 +01:00
Laurent Peuch
0b157c2c2f [enh] allow to set if a gallery is listed on home 2015-12-10 01:45:42 +01:00
Laurent Peuch
005234ad2a [fix] reverse order for dates 2015-12-10 00:51:21 +01:00
Laurent Peuch
4935f6bddf [fix] correct link cc-by-sa 2015-12-10 00:32:02 +01:00
Laurent Peuch
74b35e2131 [mod] include credit to atom logo in footer 2015-12-10 00:31:20 +01:00
Laurent Peuch
f54aa3c6fb [mod] let's use a thumbnail for the cover finally 2015-12-09 09:58:37 +01:00
Laurent Peuch
28bc05bed1 [enh] also copy image for cover 2015-12-09 09:57:34 +01:00
Laurent Peuch
c6e419b6cd [mod] remove index.html link since it's defaulted in webservers 2015-12-09 09:57:21 +01:00
Laurent Peuch
dae6852fb0 [fix] won't work if dir doesn't exists 2015-12-09 09:03:18 +01:00
Laurent Peuch
6ee2d9406b [fix] make this damn setup.py accept my static files. 2015-12-09 08:45:41 +01:00
Laurent Peuch
9ae0f7ca72 [fix] typo in bin name 2015-12-09 08:21:10 +01:00