Re: [xwiki-users] Flamingo skin in action (table style)

2014-10-02 Thread Pascal BASTIEN
Hello,
Here, my way to use the old table presentation on flamingo:

Add an StyleSheetExtension object in a page 
http:///bin/view/Personnalisation/CssTableau (and select apply it on all 
the wiki)


http://x/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 christophe.domas+xw...@gmail.com
À : valdis.vitol...@odo.lv; XWiki Users users@xwiki.org 
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ņš valdis.vitol...@odo.lv:

 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Flamingo skin in action (table style)

2014-10-02 Thread Christophe Domas
That's work.
Thanks.

2014-10-02 9:58 GMT+02:00 Pascal BASTIEN pbasnews-xw...@yahoo.fr:

 Hello,
 Here, my way to use the old table presentation on flamingo:

 Add an StyleSheetExtension object in a page
 http:///bin/view/Personnalisation/CssTableau (and select apply it on
 all the wiki)


 http://x/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 christophe.domas+xw...@gmail.com
 À : valdis.vitol...@odo.lv; XWiki Users users@xwiki.org
 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ņš valdis.vitol...@odo.lv:

  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
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Flamingo skin in action

2014-09-30 Thread Christophe Domas
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ņš valdis.vitol...@odo.lv:

 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Flamingo skin in action

2014-09-28 Thread Valdis Vītoliņš
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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users