django-cards 0.10.0__tar.gz → 0.10.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {django-cards-0.10.0/django_cards.egg-info → django-cards-0.10.2}/PKG-INFO +1 -1
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/base.py +0 -1
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/standard.py +8 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/message.html +7 -1
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/table.html +5 -4
- {django-cards-0.10.0 → django-cards-0.10.2/django_cards.egg-info}/PKG-INFO +1 -1
- {django-cards-0.10.0 → django-cards-0.10.2}/setup.py +1 -1
- {django-cards-0.10.0 → django-cards-0.10.2}/LICENSE +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/MANIFEST.in +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/README.md +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/__init__.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/apps.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/card_list/__init__.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/card_list/base.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/card_list/main.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/card_list/tree.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/includes.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default/32px.png +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default/40px.png +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default/style.css +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default/style.min.css +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default/throbber.gif +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default-dark/32px.png +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default-dark/40px.png +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default-dark/style.css +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default-dark/style.min.css +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default-dark/throbber.gif +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/30px.png +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/32px.png +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-bold-webfont.eot +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-bold-webfont.svg +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-bold-webfont.ttf +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-bold-webfont.woff +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-extralight-webfont.eot +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-extralight-webfont.svg +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-extralight-webfont.ttf +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-extralight-webfont.woff +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-regular-webfont.eot +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-regular-webfont.svg +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-regular-webfont.ttf +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/fonts/titillium/titilliumweb-regular-webfont.woff +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/style.css +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/style.min.css +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/throbber.gif +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/js/jstree.js +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/js/jstree.min.js +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/groups/groups.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/blank.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/card_group.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/datatable.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/default.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/default_body.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/html.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/list_selection.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/table_body.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/tree_selection.html +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templatetags/__init__.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/templatetags/django_cards_tags.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/cards/url_converters.py +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/django_cards.egg-info/SOURCES.txt +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/django_cards.egg-info/dependency_links.txt +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/django_cards.egg-info/top_level.txt +0 -0
- {django-cards-0.10.0 → django-cards-0.10.2}/setup.cfg +0 -0
@@ -140,3 +140,11 @@ class CardMixin:
|
|
140
140
|
getattr(self, field_setup_table_field)(table=table, details_object=self.cards[table_id].details_object)
|
141
141
|
table.columns[kwargs['changed'][0]].alter_object(row_object, row_data[kwargs['changed'][0]])
|
142
142
|
return table.refresh_row(self.request, kwargs['row_no'])
|
143
|
+
|
144
|
+
|
145
|
+
def datatable_sort(self, **kwargs):
|
146
|
+
self.setup_datatable_cards()
|
147
|
+
card = self.cards.get(kwargs.get('table_id', ''))
|
148
|
+
card.datatable_sort(**kwargs)
|
149
|
+
|
150
|
+
return self.command_response('null')
|
@@ -6,10 +6,16 @@
|
|
6
6
|
<div class="d-flex align-items-center">
|
7
7
|
<h5 class="mr-auto">{{ card.title|safe }}</h5>
|
8
8
|
{{ card.menu.render }}
|
9
|
+
{% if card.enable_collapse %}
|
10
|
+
<div class="section-header-right {% if card.collapsed %} collapsed{% endif %}"
|
11
|
+
data-target="#{{ card.code }}_body" data-toggle="collapse">
|
12
|
+
<i class="expandicon"></i>
|
13
|
+
</div>
|
14
|
+
{% endif %}
|
9
15
|
</div>
|
10
16
|
</div>
|
11
17
|
{% endif %}
|
12
|
-
<div class="card-body jms-list {{ card_body_css_class }}">
|
18
|
+
<div class="card-body jms-list {{ card_body_css_class }}{% if card.enable_collapse %} collapse{% if not card.collapsed %} show{% endif %}{% endif %}" id="{{ card.code }}_body">
|
13
19
|
<div class="alert {{ alert_css_class }} mb-0 small">{{ message|safe }}</div>
|
14
20
|
</div>
|
15
21
|
</div>
|
@@ -5,10 +5,11 @@
|
|
5
5
|
<h5 class="mr-auto">{{ card.title }}</h5>
|
6
6
|
{{ card.menu.render }}
|
7
7
|
{% if card.enable_collapse %}
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
<div class="section-header-right {% if card.collapsed %} collapsed{% endif %}"
|
9
|
+
data-target="#{{ card.code }}_body" data-toggle="collapse">
|
10
|
+
<i class="expandicon"></i>
|
11
|
+
</div>
|
12
|
+
{% endif %}
|
12
13
|
</div>
|
13
14
|
</div>
|
14
15
|
|
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.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default/32px.png
RENAMED
File without changes
|
{django-cards-0.10.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/default/40px.png
RENAMED
File without changes
|
{django-cards-0.10.0 → django-cards-0.10.2}/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.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/30px.png
RENAMED
File without changes
|
{django-cards-0.10.0 → django-cards-0.10.2}/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.0 → django-cards-0.10.2}/cards/static/cards/jstree/css/themes/proton/style.css
RENAMED
File without changes
|
File without changes
|
{django-cards-0.10.0 → django-cards-0.10.2}/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.0 → django-cards-0.10.2}/cards/templates/cards/standard/default_body.html
RENAMED
File without changes
|
File without changes
|
{django-cards-0.10.0 → django-cards-0.10.2}/cards/templates/cards/standard/list_selection.html
RENAMED
File without changes
|
File without changes
|
{django-cards-0.10.0 → django-cards-0.10.2}/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
|