You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/05/29 18:58:34 UTC

svn commit: r1343847 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

Author: gjm
Date: Tue May 29 16:58:33 2012
New Revision: 1343847

URL: http://svn.apache.org/viewvc?rev=1343847&view=rev
Log:
theme: generic bootstrap classes for tables - towards #88 (from olemis)

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1343847&r1=1343846&r2=1343847&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Tue May 29 16:58:33 2012
@@ -98,6 +98,8 @@ class BloodhoundTheme(ThemeBase):
     }
     BOOTSTRAP_CSS_DEFAULTS = (
         # ('XPath expression', ['default', 'bootstrap', 'css', 'classes'])
+        ("body//table[not(contains(@class, 'table'))]", # TODO: Accurate ?
+                ['table', 'table-condensed']),
     )
 
     implements(IRequestFilter, ITemplateProvider, ITemplateStreamFilter)