merge: remove '+ Type' button from sidebar legend

Per m: cable-type creation lives in the admin modal; the sidebar
button was prominent for a rare action.
This commit is contained in:
mAi
2026-05-16 13:52:08 +02:00
2 changed files with 0 additions and 2 deletions

View File

@@ -36,7 +36,6 @@
<section class="legend">
<h2 class="sidebar-heading">Cable types</h2>
<ul id="legend-list" class="legend-list"></ul>
<button type="button" id="btn-add-type" class="btn btn-tiny">+ Type</button>
</section>
<section class="tools">
<h2 class="sidebar-heading">Tools</h2>

View File

@@ -3224,7 +3224,6 @@ async function boot() {
bindCloseButtons($("#modal-admin"));
$("#btn-new-project").addEventListener("click", openNewProjectModal);
$("#btn-add-type").addEventListener("click", () => openCableTypeModal(null));
$("#btn-delete-project").addEventListener("click", openDeleteProjectModal);
$("#btn-admin").addEventListener("click", openAdminModal);
$("#btn-solve").addEventListener("click", openSolveModal);