Hi

I have such a code (chatting site kiset.org).
Site: https://kiset.org/
Code: https://bitbucket.org/starius/tete-a-tete
All code is in one C++ file (about 1000 lines). Almost all widgets are
members of Application class. This is poor practice, but still used.

Bootstrap grid is used inside WTemplate:
https://bitbucket.org/starius/tete-a-tete/src/f3b96e83260782ff963a7c612fdd64db4bfbe2ea/approot/text.xml?at=default#cl-30

I detect mobile devices by inspecting User Agent and change layout
manually. This affects buttons captions and location, body margin and
other style. Example:
https://bitbucket.org/starius/tete-a-tete/src/f3b96e83260782ff963a7c612fdd64db4bfbe2ea/main.cpp?at=default#cl-551

BTW, WebSocket now works in nginx, no haproxy is needed!
Nginx responds for SSL, GZip and WebSocket.
I even use it for soft application restart (old sessions remains in
old application, new are proxied to new one). This is done by
inspecting "wtd" GET parameter with "map" nginx command. Nginx is
perfect Web Server to run Wt site.

-
Best regards,
Boris Nagaev


On Wed, Jun 18, 2014 at 11:02 PM, Joe VanAndel <vanan...@ucar.edu> wrote:
> Hey Koen,
> Any progress on creating an example using Twitter's Bootstrap Grid?
>
> Does anyone have any sample Wt code using Twitter's Bootstrap?
>
>
> On Mon, Jun 2, 2014 at 3:28 AM, Koen Deforche <k...@emweb.be> wrote:
>>
>> Hey Boris,
>>
>> 2014-06-01 22:19 GMT+02:00 Nagaev Boris <bnag...@gmail.com>:
>>>
>>> Hello,
>>>
>>> I also do not know how to use Twitter Bootstrap Grids in Wt.
>>> I created site with chat in Wt: http://tete-a-tete.tk
>>> Bootstrap was used for this site.
>>> Here is how it looks in iPod:
>>> https://pp.vk.me/c616217/v616217318/f5bf/oxYEAzkqS9Y.jpg
>>> Obviously buttons should go to next lines. WVBoxLayout was used.
>>
>>
>> WBoxLayout is not mobile-friendly since it will not make the decision to
>> rearrange the layout based on available space. This is actually one (or the
>> only?) reason to use Twiter's Bootstrap Grid. We'll add an example for this.
>>
>> Regards,
>> koen
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>
>
>
> --
> Joe VanAndel
> NCAR/EOL
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to