Further improve detail display and work on inline latency display
This commit is contained in:
@@ -63,29 +63,6 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="tabs is-small is-toggle is-toggle-rounded" style="margin-bottom: 0.55rem;">
|
||||
<ul>
|
||||
<li id="mitigation-tab-btn-{{ person.id }}-plan_board" class="is-active">
|
||||
<a onclick="giaMitigationShowTab('{{ person.id }}', 'plan_board'); return false;">Rules & Games</a>
|
||||
</li>
|
||||
<li id="mitigation-tab-btn-{{ person.id }}-corrections">
|
||||
<a onclick="giaMitigationShowTab('{{ person.id }}', 'corrections'); return false;">Corrections</a>
|
||||
</li>
|
||||
<li id="mitigation-tab-btn-{{ person.id }}-engage">
|
||||
<a onclick="giaMitigationShowTab('{{ person.id }}', 'engage'); return false;">Engage</a>
|
||||
</li>
|
||||
<li id="mitigation-tab-btn-{{ person.id }}-fundamentals">
|
||||
<a onclick="giaMitigationShowTab('{{ person.id }}', 'fundamentals'); return false;">Fundamentals</a>
|
||||
</li>
|
||||
<li id="mitigation-tab-btn-{{ person.id }}-auto">
|
||||
<a onclick="giaMitigationShowTab('{{ person.id }}', 'auto'); return false;">Auto</a>
|
||||
</li>
|
||||
<li id="mitigation-tab-btn-{{ person.id }}-ask_ai">
|
||||
<a onclick="giaMitigationShowTab('{{ person.id }}', 'ask_ai'); return false;">Ask AI</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="mitigation-tab-{{ person.id }}-plan_board" class="mitigation-tab-pane">
|
||||
<div class="is-flex is-justify-content-space-between is-align-items-center" style="gap: 0.5rem; margin-bottom: 0.45rem; flex-wrap: wrap;">
|
||||
<p class="is-size-7">Two lanes by type: rules on the left, games on the right.</p>
|
||||
@@ -685,10 +662,12 @@
|
||||
["plan_board", "corrections", "engage", "fundamentals", "auto", "ask_ai"].forEach(function(name) {
|
||||
const pane = document.getElementById("mitigation-tab-" + personId + "-" + name);
|
||||
const tab = document.getElementById("mitigation-tab-btn-" + personId + "-" + name);
|
||||
if (!pane || !tab) return;
|
||||
if (!pane) return;
|
||||
const active = name === tabName;
|
||||
pane.style.display = active ? "block" : "none";
|
||||
tab.classList.toggle("is-active", active);
|
||||
if (tab) {
|
||||
tab.classList.toggle("is-active", active);
|
||||
}
|
||||
});
|
||||
setActiveTabHiddenFields(tabName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user