[FFmpeg-devel] [PATCH 01/16] web: Modernize with Bower, Bootstrap, LESS

James Darnley james.darnley at gmail.com
Sun Jul 20 12:59:58 CEST 2014


On 2014-07-14 12:34, db0 company wrote:
> On Mon, Jul 14, 2014 at 12:32 PM, James Darnley <james.darnley at gmail.com> wrote:
>> On 2014-07-14 12:23, db0 company wrote:
>>> On Mon, Jul 14, 2014 at 12:15 PM, James Darnley <james.darnley at gmail.com> wrote:
>>>> Why are there so many empty files?
>>>
>>> All the *_js files are included to add extra javascript code at the
>>> end of the page.
>>>
>>> For instance, the download page requires a bit of javascript to work,
>>> so it contains:
>>
>> What?!  What does it *require* javascript to do?
> 
> Just a few pretty animations and resizing. It works well without
> javascript, on w3m for instance.
> 

Apparently you designers no longer know the meaning of "required".
Javascript is required for unhiding Windows and Mac links on the
download page.

Attached patch fixes that.

If you want to do pointless animations, make javascript hide things when
the page loads and then unhide on command.
-------------- next part --------------
From 01465b66cdad9f8f8fd1049599e2c29803da75a3 Mon Sep 17 00:00:00 2001
From: James Darnley <james.darnley at gmail.com>
Date: Sun, 20 Jul 2014 12:55:06 +0200
Subject: [PATCH] do not hide content (Windows and Mac links) by default

---
 src/download |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/download b/src/download
index 21eb0f2..5eb0b0c 100644
--- a/src/download
+++ b/src/download
@@ -77,7 +77,7 @@
             </div> <!-- list-group -->
 
           </div> <!-- build -->
-          <div id="build-windows" class="tab-pane fade">
+          <div id="build-windows" class="tab-pane active">
 
             <h3>Windows Packages</h3>
 
@@ -88,7 +88,7 @@
             </div> <!-- list-group -->
 
           </div> <!-- build -->
-          <div id="build-mac" class="tab-pane fade">
+          <div id="build-mac" class="tab-pane active">
 
             <h3>Mac OS X Packages</h3>
 
-- 
1.7.9

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 683 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140720/f2a4e704/attachment.asc>


More information about the ffmpeg-devel mailing list