moksha/widgets/expander.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
New commits: commit 1588163937b5d73f690751338c6a55171a3b486c Author: Luke Macken lmacken@redhat.com Date: Sun May 31 18:38:54 2009 -0400
Add a jQuery expander widget
diff --git a/moksha/widgets/expander.py b/moksha/widgets/expander.py new file mode 100644 index 0000000..b283216 --- /dev/null +++ b/moksha/widgets/expander.py @@ -0,0 +1,26 @@ +# This file is part of Moksha +# Copyright (C) 2008-2009 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. + +""" +:mod:`fedoracommunity.widgets.expander` -- An Expander Widget +============================================================= + +http://plugins.learningjquery.com/expander +""" + +from tw.api import JSLink + +expander_js = JSLink(link='/javascript/jquery.expander.js')
moksha-commits@lists.fedorahosted.org