That's work. Thanks. 2014-10-02 9:58 GMT+02:00 Pascal BASTIEN <[email protected]>:
Hello, Here, my way to use the old table presentation on flamingo:
Add an StyleSheetExtension object in a page http://xxxx/bin/view/Personnalisation/CssTableau (and select apply it on all the wiki)
http://xxxxx/bin/edit/Personnalisation/CssTableau?editor=object
/* Modif CSS de flamingo - ver 1.1 - 23/05/2014 */ th { background-color: #F3F3F3; font-weight: 700; } .main th, .main td, .wiki-table th, .wiki-table td { border: 1px solid #E8E8E8; padding: 3px 4px; } /* écrasement de "table{width:100%" de style.css */ table { width: auto; }
Pascal BASTIEN
________________________________ De : Christophe Domas <[email protected]> À : [email protected]; XWiki Users <[email protected]> Envoyé le : Mardi 30 septembre 2014 10h19 Objet : Re: [xwiki-users] Flamingo skin in action
Hi,
I love flamingo too, except tables that are difficult to read on large screen because of the 100% width occupation (and I want vertical lines and colored background for header).
Is it possible to force all tables of xwiki to get the following default attributes:
{{velocity}}
$xwiki.ssfx.use("js/xwiki/table/table.css")
$xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
{{/velocity}}
(% class="grid"%)
(% class="sortHeader" %)
What is the best way? Do I have to create a stylesheet extension and copy the rendered result in it?
Thanks
2014-09-28 22:01 GMT+02:00 Valdis Vītoliņš <[email protected]>:
Thanks to all XWiki'ers for Flamingo skin!
You can look at it in action at http://ante.lv/ and it is much more mobile-friendly.
I used {{container}} macro for 1/2 column layout for home page.
I still had to do some adjustments in XWiki.StyleSheetExtension object to hide some unnecessary items on screen for anonymous users:
#if(!$xcontext.userReference) .xwikipanelcontents, #rightPanels { display:none; } #end
And had some weird issues with language selector http://jira.xwiki.org/browse/XE-1427
Valdis
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users