From 9ff01bee922d5a4956e755041ac20401cab60ebd Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Thu, 14 Jun 2012 15:08:33 -0500 Subject: [PATCH] new grid classes bootstrap compatible, thanks Bruno --- VERSION | 2 +- gluon/sqlhtml.py | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/VERSION b/VERSION index 53be8f2f..34f43d20 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-06-14 14:45:13) dev +Version 2.00.0 (2012-06-14 15:08:29) dev diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 7c2b8c09..0a766cf1 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1517,15 +1517,15 @@ class SQLFORM(FORM): cornerall='', cornertop='', cornerbottom='', - button='button', - buttontext='buttontext button', - buttonadd='icon plus', - buttonback='icon leftarrow', - buttonexport='icon downarrow', - buttondelete='icon trash', - buttonedit='icon pen', - buttontable='icon rightarrow', - buttonview='icon magnifier', + button='button btn', + buttontext='buttontext button btn', + buttonadd='icon plus icon-plus', + buttonback='icon leftarrow icon-arrow-left', + buttonexport='icon downarrow icon-download', + buttondelete='icon trash icon-trash', + buttonedit='icon pen icon-pencil', + buttontable='icon rightarrow icon-arrow-right', + buttonview='icon magnifier icon-zoom-in', ) elif not isinstance(ui,dict): raise RuntimeError,'SQLFORM.grid ui argument must be a dictionary'