Add collapsible inspector sections with persisted state
This commit is contained in:
1 parent
c02b14649e
commit
bf64195c45
3 files changed
+84
-8
No files matched your search
+20
-8
@@ -72,7 +72,9 @@
|
||||
<section>
|
||||
<h2>Selected</h2>
|
||||
<div id="selectedSummary" class="card">Click a component, net, or pin to inspect it.</div>
|
||||
<div id="componentEditor" class="editorCard hidden">
|
||||
<details id="componentSection" class="editorSection" open>
|
||||
<summary>Component</summary>
|
||||
<div id="componentEditor" class="editorCard hidden">
|
||||
<div class="editorGrid">
|
||||
<label>Ref <input id="instRefInput" type="text" /></label>
|
||||
<label>Value <input id="instValueInput" type="text" /></label>
|
||||
@@ -96,8 +98,11 @@
|
||||
<button id="deleteComponentBtn">Delete</button>
|
||||
<button id="isolateSelectedComponentBtn">Isolate</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="symbolEditor" class="editorCard hidden">
|
||||
</div>
|
||||
</details>
|
||||
<details id="symbolSection" class="editorSection" open>
|
||||
<summary>Symbol</summary>
|
||||
<div id="symbolEditor" class="editorCard hidden">
|
||||
<div id="symbolMeta" class="hintText"></div>
|
||||
<div class="editorGrid">
|
||||
<label>Category <input id="symbolCategoryInput" type="text" /></label>
|
||||
@@ -110,8 +115,11 @@
|
||||
</div>
|
||||
<div id="symbolValidation" class="hintText"></div>
|
||||
<div id="symbolPinsList" class="miniList"></div>
|
||||
</div>
|
||||
<div id="pinEditor" class="editorCard hidden">
|
||||
</div>
|
||||
</details>
|
||||
<details id="pinSection" class="editorSection" open>
|
||||
<summary>Pin</summary>
|
||||
<div id="pinEditor" class="editorCard hidden">
|
||||
<div id="pinMeta" class="hintText"></div>
|
||||
<div class="editorGrid">
|
||||
<label>Pin Name <input id="pinNameInput" type="text" /></label>
|
||||
@@ -166,8 +174,11 @@
|
||||
<button id="createConnectNetBtn">Create + Connect</button>
|
||||
</div>
|
||||
<div id="pinConnections" class="miniList"></div>
|
||||
</div>
|
||||
<div id="netEditor" class="editorCard hidden">
|
||||
</div>
|
||||
</details>
|
||||
<details id="netSection" class="editorSection" open>
|
||||
<summary>Net</summary>
|
||||
<div id="netEditor" class="editorCard hidden">
|
||||
<div class="editorGrid">
|
||||
<label>Name <input id="netNameInput" type="text" /></label>
|
||||
<label>Class
|
||||
@@ -194,7 +205,8 @@
|
||||
<button id="addNetNodeBtn">Add Node</button>
|
||||
</div>
|
||||
<div id="netNodesList" class="miniList"></div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
|
||||
Reference in new issue
Block a user