Add more fields to table
This commit is contained in:
parent
0d58a3b082
commit
0fc5943c8e
|
@ -58,6 +58,9 @@ $(document).ready(function(){
|
||||||
"mtype": "off",
|
"mtype": "off",
|
||||||
"hidden": "off",
|
"hidden": "off",
|
||||||
"filename": "off",
|
"filename": "off",
|
||||||
|
"file_md5": "off",
|
||||||
|
"file_ext": "off",
|
||||||
|
"file_size": "off",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
<a
|
<a
|
||||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||||
hx-post="{% url 'modal_drilldown' %}"
|
hx-post="{% url 'modal_drilldown' %}"
|
||||||
hx-vals='{"net": "{{ item.net }}", "nick": "{{ item.nick }}", "channel": "{{ item.channel }}"}'
|
hx-vals='{"net": "{{ item.net|escapejs }}", "nick": "{{ item.nick|escapejs }}", "channel": "{{ item.channel|escapejs }}"}'
|
||||||
hx-target="#modals-here"
|
hx-target="#modals-here"
|
||||||
hx-trigger="click"
|
hx-trigger="click"
|
||||||
class="has-text-black">
|
class="has-text-black">
|
||||||
|
|
|
@ -68,6 +68,9 @@ class DrilldownTable(Table):
|
||||||
tokens = Column()
|
tokens = Column()
|
||||||
hidden = Column()
|
hidden = Column()
|
||||||
filename = Column()
|
filename = Column()
|
||||||
|
file_md5 = Column()
|
||||||
|
file_ext = Column()
|
||||||
|
file_size = Column()
|
||||||
|
|
||||||
template_name = "ui/drilldown/table_results.html"
|
template_name = "ui/drilldown/table_results.html"
|
||||||
paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE
|
paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE
|
||||||
|
|
Loading…
Reference in New Issue