总览与客户端实例按 sim 在上 live 在下排序,实例表增加模式列。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
<th>Token</th>
|
||||
<th>路径</th>
|
||||
<th>状态</th>
|
||||
<th>模式</th>
|
||||
<th>版本</th>
|
||||
<th>标签</th>
|
||||
<th>操作</th>
|
||||
@@ -87,7 +88,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for inst in instances %}
|
||||
<tr class="inst-row" data-id="{{ inst.id }}" data-name="{{ inst.name }}">
|
||||
<tr class="inst-row" data-id="{{ inst.id }}" data-name="{{ inst.name }}" data-mode="">
|
||||
<td class="inst-td-name"><strong>{{ inst.name }}</strong></td>
|
||||
<td class="inst-td-url muted" title="{{ inst.base_url }}">{{ inst.base_url }}</td>
|
||||
<td class="inst-td-token">
|
||||
@@ -101,6 +102,7 @@
|
||||
<span class="inst-pill inst-pill--off">停用</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td><span class="overview-mode-tag muted" data-inst-mode>—</span></td>
|
||||
<td><span class="update-version muted" data-inst-version>—</span></td>
|
||||
<td class="inst-td-tags muted">{{ inst.tags or '—' }}</td>
|
||||
<td class="inst-td-ops">
|
||||
@@ -115,7 +117,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="inst-edit-row">
|
||||
<td colspan="8">
|
||||
<td colspan="9">
|
||||
<input type="checkbox" id="inst-edit-{{ inst.id }}" class="inst-edit-check" data-reveal-token>
|
||||
<div class="inst-edit-panel">
|
||||
<form method="post" class="settings-form inst-form" autocomplete="off">
|
||||
@@ -168,5 +170,5 @@
|
||||
</section>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ url_for('static', filename='instances_page.js') }}?v=3"></script>
|
||||
<script src="{{ url_for('static', filename='instances_page.js') }}?v=4"></script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user