[fix] connected indictor
This commit is contained in:
parent
566831c73d
commit
7d0414a43f
4 changed files with 43 additions and 76 deletions
|
|
@ -37,14 +37,11 @@
|
|||
|
||||
<div>
|
||||
<span class="h4">XQuery 4.0 LSP client</span>
|
||||
<quiet-toggle-icon id="tConnect" label="Connection status" size="lg"
|
||||
style="--checked-color: green;--unchecked-color: red;">
|
||||
<wa-icon slot="unchecked" library="tabler" name="network-off" family="outline"></wa-icon>
|
||||
<wa-icon slot="checked" library="tabler" name="network" family="outline"></wa-icon>
|
||||
</quiet-toggle-icon>
|
||||
<wa-tooltip id="tipConnect" for="tConnect">I'm a tooltip</wa-tooltip>
|
||||
|
||||
|
||||
|
||||
<wa-button id="bConnect" variant="danger">
|
||||
<wa-icon library="tabler" name="network-off"></wa-icon>
|
||||
</wa-button>
|
||||
<wa-tooltip id="tipConnect" for="bConnect">Not connected</wa-tooltip>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -99,7 +96,7 @@
|
|||
<wa-icon library="codicon" name="record-keys"></wa-icon>
|
||||
</wa-button>
|
||||
|
||||
<wa-button id="popover__settings" title="Settings">
|
||||
<wa-button id="popover__settings" title="Settings">
|
||||
<wa-icon library="codicon" name="settings"></wa-icon>
|
||||
</wa-button>
|
||||
|
||||
|
|
@ -137,9 +134,11 @@
|
|||
<summary class='bg-info'>WORKSPACE
|
||||
<wa-icon library="codicon" name="kebab-vertical" style="float:right"></wa-icon>
|
||||
</summary>
|
||||
<wa-tree id="workspace" selection="single">
|
||||
<wa-tree-item >file:///some/file.xqm</wa-tree-item>
|
||||
</wa-tree>
|
||||
<div style="overflow: scroll;">
|
||||
<wa-tree id="workspace" selection="single">
|
||||
<wa-tree-item>file:///some/file.xqm</wa-tree-item>
|
||||
</wa-tree>
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -187,12 +186,7 @@
|
|||
<option value="xquery">xquery</option>
|
||||
<option value="xml">xml</option>
|
||||
</select>
|
||||
<wa-button>
|
||||
aaaaa
|
||||
</wa-button>
|
||||
<button>
|
||||
ddddd
|
||||
</button>
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
|
@ -202,16 +196,16 @@
|
|||
<div style="display:flex;background: #ffecb3;">
|
||||
<div style="flex: 1 1 auto;">Load a document from the web</div>
|
||||
<wa-button icon-label="Close" appearance="text" data-popover="close">
|
||||
<wa-icon name="circle-xmark" library="system" ></wa-icon>
|
||||
<wa-icon name="circle-xmark" library="system"></wa-icon>
|
||||
</wa-button>
|
||||
</div>
|
||||
|
||||
<form id="popUrl">
|
||||
<wa-input type="url" name="url" label="URL to fetch" placeholder="http://..." with-clear required
|
||||
style="width: 20em;">
|
||||
|
||||
|
||||
<datalist>
|
||||
|
||||
|
||||
<option
|
||||
value="https://raw.githubusercontent.com/Quodatum/xqdoca/refs/heads/master/src/main/lib/model.xqm">
|
||||
model.xqm (Quodatum/xqdoca)</option>
|
||||
|
|
@ -227,15 +221,15 @@
|
|||
generator.xquery</option>
|
||||
</datalist>
|
||||
</wa-input>
|
||||
<wa-button type="submit" variant="primary">Fetch</wa-button>
|
||||
<hr/>
|
||||
<wa-button type="submit" variant="primary">Fetch</wa-button>
|
||||
<hr />
|
||||
<wa-tree id="samples" selection="leaf">
|
||||
<wa-tree-item>
|
||||
XQuery 3.1
|
||||
<wa-tree-item
|
||||
data-href="https://raw.githubusercontent.com/expkg-zone58/pdfbox/refs/heads/main/src/Pdfbox3.xqm"
|
||||
>Pdfbox3.xqm (expkg-zone58/pdfbox)</wa-tree-item>
|
||||
<wa-tree-item
|
||||
<wa-tree-item
|
||||
data-href="https://raw.githubusercontent.com/expkg-zone58/pdfbox/refs/heads/main/src/Pdfbox3.xqm">Pdfbox3.xqm
|
||||
(expkg-zone58/pdfbox)</wa-tree-item>
|
||||
<wa-tree-item
|
||||
data-href="https://raw.githubusercontent.com/Quodatum/xqdoca/refs/heads/master/src/main/lib/model.xqm">
|
||||
model.xqm (Quodatum/xqdoca)</option></wa-tree-item>
|
||||
<wa-tree-item>Item X</wa-tree-item>
|
||||
|
|
@ -249,7 +243,7 @@
|
|||
<wa-tree-item>Item 3</wa-tree-item>
|
||||
</wa-tree>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
</wa-popover>
|
||||
|
|
@ -327,11 +321,11 @@
|
|||
<button type="submit" class="btn btn-primary">Apply</button>
|
||||
</div>
|
||||
</form>
|
||||
</wa-popover>
|
||||
<!-- CodeMirror 6 -->
|
||||
<script src="./lsp.bundle.js"></script>
|
||||
<script src="./script.js"></script>
|
||||
<script src="./wc-qd-list.js"></script>
|
||||
</wa-popover>
|
||||
<!-- CodeMirror 6 -->
|
||||
<script src="./lsp.bundle.js"></script>
|
||||
<script src="./script.js"></script>
|
||||
<script src="./wc-qd-list.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue