Commit Graph

33 Commits

Author SHA1 Message Date
Darks 920724718f
homepage: good enough for preview release 2023-07-04 21:30:16 +02:00
Darks f6aefffc3c
homepage: still WIP, but better 2023-06-27 23:28:32 +02:00
Eragon 43381bf493
homepage: Fix grid style 2023-06-25 01:57:39 +02:00
Darks 62341cf9d9
landing page: WIP 2023-06-23 23:41:46 +02:00
Darks 1a63544183
moderation: added some css on locked message 2023-06-06 21:38:50 +02:00
Eragon 57644c4378
editor: fix modal not closing when openning an other one 2023-06-06 20:57:05 +02:00
Eragon be0d531b00
style: Add blockquote style 2023-06-06 20:14:07 +02:00
Eragon 44609f2f96
editor: Toggle automatic preview and add manual preview button 2023-05-16 13:50:47 +02:00
Eragon 546b32c22b
editor: Multiples bugfixes from Lephe's review
Refresh preview 3 sec after last keypress
Refresh preview on button usage
Move cursor after the --- line when using the button
Replace margin for padding in the preview css
Add a slight background shade on the preview
2022-12-15 12:05:58 +01:00
Eragon 2da20720bb
editor: Dirty CSS hack for small screen devices 2022-12-14 11:22:14 +01:00
Eragon e2283b7675
editor: CSS and JS cleaning 2022-12-14 11:22:14 +01:00
Eragon 95166b2da3
editor: WIP: Add modal to add links 2022-12-14 11:22:14 +01:00
Eragon 46106d69c9
Editor: Add border to preview 2022-12-14 11:22:12 +01:00
Lephe 07bd7075d6
editor: add placeholder help link 2022-12-14 11:22:12 +01:00
Lephe 786f940f21
editor: adjust button spacing for small screens 2022-12-14 11:22:12 +01:00
Lephe 896e799b97
editor: smaller icons 2022-12-14 11:22:12 +01:00
Lephe 02520f6b2d
editor: improve layout and style of buttons 2022-12-14 11:22:11 +01:00
Eragon 8bec7120c5
editor: Set textarea minimum height 2022-12-14 11:22:11 +01:00
Eragon 490ab2714c
Start to add editor script 2022-12-14 11:22:09 +01:00
Eragon a01b74f3e8
Change themes for better contrast on buttons 2022-12-14 11:21:17 +01:00
Eragon 5fb06732ff
Remove old & add buttons for new editor 2022-12-14 11:21:14 +01:00
Lephe 760c2f20b2
programs: a reasonable start for the program page (#93) 2022-06-16 17:37:39 +01:00
Lephe db0e42d285
programs: add tag input and display (#114)
* Add a TagListField which automatically validates its input against the
  TagInformation database, and has a richer .selected_tags() method
* Add a dynamic tag input widget, available through a macro (*import
  with context*), that supports both JS and non-JS input
* Add a TagInformation.all_tags() function
* Add colored tag display to all themes
* Fix a bug causing programs to have no names
* Add tags: games.action, games.narrative, courses.informatics

[MASTER] Run the 'update-tags' command of master.py.
2022-06-14 23:19:41 +01:00
Lephe 84066eaca3
css: fix antibot field being visible 2022-05-26 20:07:50 +01:00
Darks f64e3a2c39
debugger: add some style to enhance it 2022-05-12 20:07:28 +02:00
Darks 3e399fb4c4
gallery: second prototype, evolving into a beta 2022-04-26 01:38:33 +02:00
Darks 7b66e1ec20
gallery: rebase from dev 2022-04-26 00:29:07 +02:00
Darks fe8e2f0265
gallery: second prototype
Don't look for the first one, it's trapped in a parallel universe.
2022-04-26 00:27:43 +02:00
Darks 2119329997
widgets: add '[[f: 123]]' pclink widget 2022-04-24 17:24:47 +02:00
Lephe 610fe6f1fd
markdown: allow videos with size and positioning
Same options as for images, except for [pixelated]. Supported sources
are standard videos and YouTube, and there is basic auto-detection which
avoids the need to set the [video] attribute.
2022-04-21 20:43:50 +01:00
Lephe 48d6c1c03c
markdown: allow positioning attributes on images
New attributes
  * left, center, right: Exactly what you expect
  * float-left, float-right: Also just what you expect

Currently there is no way to force a clear.
2022-04-21 20:03:22 +01:00
Lephe e9c1f04f42
markdown: add a MediaExtension that allows attributes on images
Supported attributes:
  * size=<WIDTH>x<HEIGHT>, both being optional
  * pixelated

In the near future it will also support audio files and videos.
2022-04-21 19:31:18 +01:00
Darks 87d795959f
less (#97): first shot to Less
Quick switch, still may need some refacto and delete unused code
2021-07-14 16:30:45 +02:00