Mercurial > sat_legacy_website
comparison sat_website/screenshots.py @ 29:b45621706d83
use Bootstrap carousels to display images and videos galeries:
- one carousel for a 3x3 thumbnails grid
- a second one in a modal window to view bigger pictures when a thumbnail is clicked
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 21 Jan 2015 20:13:19 +0100 |
parents | 8cfc33e4d435 |
children | a18800261cf6 |
comparison
equal
deleted
inserted
replaced
28:30a1edf90fae | 29:b45621706d83 |
---|---|
21 """ | 21 """ |
22 from django.utils.translation import ugettext_lazy as _ | 22 from django.utils.translation import ugettext_lazy as _ |
23 from collections import namedtuple | 23 from collections import namedtuple |
24 | 24 |
25 ImageDesc = namedtuple("ImageDesc","path description") | 25 ImageDesc = namedtuple("ImageDesc","path description") |
26 VideoDesc = namedtuple("VideoDesc","path description poster") | 26 VideoDesc = namedtuple("VideoDesc", "path description poster lang subtitles") |
27 | 27 |
28 #list the pictures | 28 #list the pictures |
29 | 29 |
30 screenshots = [ | 30 screenshots = [ |
31 ImageDesc("images/screenshots/libervia/libervia_login.png", _(u"Libervia's login page")), | 31 ImageDesc("images/screenshots/libervia/libervia_login.png", _(u"Libervia's login page")), |
32 ImageDesc("images/screenshots/libervia/libervia_discussions.png", _(u"Libervia's main view")), | 32 ImageDesc("images/screenshots/libervia/libervia_discussions.png", _(u"Libervia's main view")), |
33 ImageDesc("images/screenshots/primitivus/primitivus_tarot.png", _(u"Primitivus showing a french Tarot play")), | 33 ImageDesc("images/screenshots/primitivus/primitivus_tarot.png", _(u"Primitivus showing a french Tarot play")), |
34 ImageDesc("images/screenshots/jp/jp.png", _(u"cowsay sent in conversation through jp")), | 34 ImageDesc("images/screenshots/jp/jp.png", _(u"cowsay sent in conversation through jp")), |
35 ImageDesc("images/screenshots/wix/wix_tarot.png", _(u"Wix showing a french Tarot play")), | 35 ImageDesc("images/screenshots/wix/wix_tarot.png", _(u"Wix showing a french Tarot play")), |
36 VideoDesc("videos/screencasts/présentation_SàT.webm", _(u"The first video show wix, primitivus and jp"), "videos/screencasts/posters/présentation_SàT.jpg", 'fr', ''), | |
37 VideoDesc("videos/screencasts/présentation_SàT_2.webm", _(u"This video show french Tarot game, and how to use Thunderbird with SàT"), "videos/screencasts/posters/présentation_SàT_2.jpg", 'fr', ''), | |
38 VideoDesc("videos/screencasts/présentation_SàT_3.webm", _(u"This video focuses on Libervia. The UI is really outdated, but we can see some features"), "videos/screencasts/posters/présentation_SàT_3.jpg", 'fr', ''), | |
39 VideoDesc("videos/screencasts/présentation_SàT_5_radio_collective.webm", _(u"Demo of the new Libervia UI, and of the collective radio feature"), "videos/screencasts/posters/radiocol.jpg", 'fr', ''), | |
36 ] | 40 ] |
37 | 41 |
38 screencasts = [ | 42 screenshots_tech = [ |
39 VideoDesc("videos/screencasts/présentation_SàT.webm", _(u"The first video show wix, primitivus and jp"), "videos/screencasts/posters/présentation_SàT.jpg"), | 43 VideoDesc("videos/screencasts/présentation_SàT_7_télécommande_universelle.webm", _(u"Use ad-hoc commands to control a VLC player from Libervia"), "videos/screencasts/posters/présentation_SàT_7_télécommande_universelle.png", 'fr', ''), |
40 VideoDesc("videos/screencasts/présentation_SàT_2.webm", _(u"This video show french Tarot game, and how to use Thunderbird with SàT"), "videos/screencasts/posters/présentation_SàT_2.jpg"), | 44 VideoDesc("videos/screencasts/présentation_SàT_6_export_commande.webm", _(u"Exporting a command: an FTP client is exported to a Gajim contact"), "videos/screencasts/posters/présentation_SàT_6_export_commande.jpg", 'fr', ''), |
41 VideoDesc("videos/screencasts/présentation_SàT_3.webm", _(u"This video focuses on Libervia. The UI is really outdated, but we can see some features"), "videos/screencasts/posters/présentation_SàT_3.jpg"), | 45 VideoDesc("videos/screencasts/présentation_SàT_4_copie_et_pipe.webm", _(u"How to copy and pipe streams over XMPP"), "videos/screencasts/posters/présentation_SàT_4.jpg", 'fr', ''), |
42 VideoDesc("videos/screencasts/présentation_SàT_4_copie_et_pipe.webm", _(u"How to copy and pipe streams over XMPP"), "videos/screencasts/posters/présentation_SàT_4.jpg"), | |
43 VideoDesc("videos/screencasts/présentation_SàT_5_radio_collective.webm", _(u"Demo of the new Libervia UI, and of the collective radio feature"), "videos/screencasts/posters/radiocol.jpg"), | |
44 VideoDesc("videos/screencasts/présentation_SàT_6_export_commande.webm", _(u"Exporting a command: an FTP client is exported to a Gajim contact"), "videos/screencasts/posters/présentation_SàT_6_export_commande.jpg"), | |
45 VideoDesc("videos/screencasts/présentation_SàT_7_télécommande_universelle.webm", _(u"Use ad-hoc commands to control a VLC player from Libervia"), "videos/screencasts/posters/présentation_SàT_7_télécommande_universelle.png"), | |
46 ] | 46 ] |
47 | 47 |
48 | 48 |
49 | 49 |
50 | 50 |