django-cards 0.10.2__tar.gz → 0.10.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {django-cards-0.10.2/django_cards.egg-info → django-cards-0.10.3}/PKG-INFO +1 -1
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/standard.py +9 -1
- {django-cards-0.10.2 → django-cards-0.10.3/django_cards.egg-info}/PKG-INFO +1 -1
- {django-cards-0.10.2 → django-cards-0.10.3}/setup.py +1 -1
- {django-cards-0.10.2 → django-cards-0.10.3}/LICENSE +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/MANIFEST.in +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/README.md +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/__init__.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/apps.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/base.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/card_list/__init__.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/card_list/base.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/card_list/main.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/card_list/tree.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/includes.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default/32px.png +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default/40px.png +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default/style.css +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default/style.min.css +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default/throbber.gif +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default-dark/32px.png +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default-dark/40px.png +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default-dark/style.css +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default-dark/style.min.css +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default-dark/throbber.gif +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/30px.png +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/32px.png +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-bold-webfont.eot +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-bold-webfont.svg +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-bold-webfont.ttf +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-bold-webfont.woff +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-extralight-webfont.eot +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-extralight-webfont.svg +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-extralight-webfont.ttf +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-extralight-webfont.woff +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-regular-webfont.eot +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-regular-webfont.svg +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-regular-webfont.ttf +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-regular-webfont.woff +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/style.css +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/style.min.css +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/throbber.gif +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/js/jstree.js +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/js/jstree.min.js +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/groups/groups.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/blank.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/card_group.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/datatable.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/default.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/default_body.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/html.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/list_selection.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/message.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/table.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/table_body.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/tree_selection.html +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templatetags/__init__.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/templatetags/django_cards_tags.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/cards/url_converters.py +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/django_cards.egg-info/SOURCES.txt +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/django_cards.egg-info/dependency_links.txt +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/django_cards.egg-info/top_level.txt +0 -0
- {django-cards-0.10.2 → django-cards-0.10.3}/setup.cfg +0 -0
@@ -129,6 +129,15 @@ class CardMixin:
|
|
129
129
|
|
130
130
|
return self.add_card(group_type=CARD_TYPE_HTML, html=html, is_empty=is_empty, **kwargs)
|
131
131
|
|
132
|
+
def add_html_data_card(self, html, is_empty=False, **kwargs):
|
133
|
+
if not is_empty and html is not None:
|
134
|
+
if not isinstance(html, str) and hasattr(html, 'render'):
|
135
|
+
html = html.render()
|
136
|
+
else:
|
137
|
+
html = ''
|
138
|
+
return self.add_card(group_type=CARD_TYPE_HTML, html=html, is_empty=is_empty, **kwargs)
|
139
|
+
|
140
|
+
|
132
141
|
def row_edit(self, **kwargs):
|
133
142
|
row_data = json.loads(kwargs.pop('row_data'))
|
134
143
|
self.setup_datatable_cards()
|
@@ -141,7 +150,6 @@ class CardMixin:
|
|
141
150
|
table.columns[kwargs['changed'][0]].alter_object(row_object, row_data[kwargs['changed'][0]])
|
142
151
|
return table.refresh_row(self.request, kwargs['row_no'])
|
143
152
|
|
144
|
-
|
145
153
|
def datatable_sort(self, **kwargs):
|
146
154
|
self.setup_datatable_cards()
|
147
155
|
card = self.cards.get(kwargs.get('table_id', ''))
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default/32px.png
RENAMED
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default/40px.png
RENAMED
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/default/style.css
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/30px.png
RENAMED
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/32px.png
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/style.css
RENAMED
File without changes
|
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/static/cards/jstree/css/themes/proton/throbber.gif
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/default_body.html
RENAMED
File without changes
|
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/list_selection.html
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{django-cards-0.10.2 → django-cards-0.10.3}/cards/templates/cards/standard/tree_selection.html
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|