Improve and condense related controls

This commit is contained in:
2026-02-15 22:11:17 +00:00
parent ae3365e165
commit 981ee56de7
18 changed files with 1340 additions and 209 deletions

View File

@@ -70,6 +70,7 @@
onclick="return false;">
<span class="icon is-small"><i class="fa-solid fa-check"></i></span>
<span>{{ column.label }}</span>
<span class="is-size-7 has-text-grey ml-2">({{ column.field_name }})</span>
</a>
{% endfor %}
</div>
@@ -284,11 +285,18 @@
<script>
(function () {
const tableId = "{{ osint_table_id|escapejs }}";
const scopeKey = "{{ osint_scope|default:'global'|escapejs }}";
const columnSignature = "{{ osint_columns|length }}:{% for column in osint_columns %}{{ column.key|escapejs }}|{% endfor %}";
const shell = document.getElementById(tableId);
if (!shell) {
return;
}
const storageKey = "gia_osint_hidden_cols_v1:" + tableId;
const storageKey = [
"gia_osint_hidden_cols_v2",
tableId,
scopeKey,
columnSignature,
].join(":");
let hidden = [];
try {
hidden = JSON.parse(localStorage.getItem(storageKey) || "[]");