Commit Graph
14 Commits
Author SHA1 Message Date
Filippos Karapetis e0bd009832 WEB: Use a single selector when creating the striping effect 2014-01-01 18:35:43 +02:00
Filippos Karapetis 187ab97bd3 WEB: Use a single selector when changing cell contents 2014-01-01 18:34:11 +02:00
Filippos Karapetis 1ac041f348 WEB: Group demos by game description instead of the game target 2013-12-31 17:35:49 +02:00
Filippos Karapetis bc54ad44c0 WEB: Stop checking subitems when the item ID changes
This fixes a bug in the Coktel Vision section, where different games
have the same target ID (gob). Thanks to Raziel^ for spotting this
2013-12-30 21:05:13 +02:00
Filippos Karapetis 9e79f0b213 WEB: Hide demos with the same target IDs by default (can be toggled)
Now, only the first demo will be shown from a group of demos with the
same target ID. Icons are shown next to each grouped download, which
allow the users to open/close the groups (forming virtual "folders").
This simplifies the demos page a lot, without any changes to the
existing data. This feature is a progressive enhancement: the demos
page will still look the same when Javascript is disabled
2013-12-30 20:40:29 +02:00
Filippos Karapetis a6b133059b WEB: Don't use undefined variables when the user-agent can't be matched 2013-11-13 13:06:44 +02:00
Filippos Karapetis 5d372e6411 WEB: Only show the recommended d/l button if a user agent match is found
Also, the creation of the button itself has been pushed to Javascript.
The recommended d/l section is now only shown if JS is enabled and an
appropriate user-agent has been matched
2013-11-08 11:13:02 +02:00
Filippos Karapetis 3bbb230b3d WEB: Generate the list of recommended downloads from the XML data
Add a new XML field, "user_agent", used to find the user agent string
where the download item in question will be suggested to the user. Only
items with the "user_agent" field can be provided as recommended
downloads
2013-11-08 02:49:25 +02:00
Filippos Karapetis 21b8849eaf WEB: Cleanup download paths for the recommended download 2013-11-05 04:24:50 +02:00
Filippos Karapetis c2724c75ea WEB: Bugfix for the default value of the recommended download 2013-11-05 03:45:27 +02:00
Filippos Karapetis 83631f7eb0 WEB: Add a "Recommended download" button to the downloads page
The idea has been taken and adapted from the VideoLAN web site
(http://www.videolan.org). A big 'download' button is shown,
which links to the most appropriate version for the user, depending
on the OS reported by the user's browser. Only OSes with a browser
have been added. Known browser user-agent strings have been taken
from http://user-agent-string.info/list-of-ua/os
2013-11-05 02:23:13 +02:00
Pat Hawks dd171aa14c Compress images
Compress images using
[ImageOptim](https://github.com/pornel/ImageOptim) version 1.4.4
2013-09-17 11:56:42 -05:00
Fredrik Wendel 392568ddc5 Opera didn't support baseURI so when the javascript loaded the image would be replaced by the first.
Opera also differented in how the attributes are returned as it returns "url('data/screenshots/...')" while the other browsers return "url(data/screenshots/...)".

svn path=/web/trunk/; revision=40854
2009-05-24 08:53:46 +00:00
Eugene Sandulenko d429c48de0 Website rewrite from Fredrik Wendel
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00