mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
@@ -28,12 +28,6 @@
|
||||
<body>
|
||||
<h2>SiYuan</h2>
|
||||
<div class="fn__clear">
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconCheck2"></use>
|
||||
</svg>
|
||||
iconCheck2
|
||||
</div>
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconCirclePlay"></use>
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
document.body.insertAdjacentHTML('afterbegin', `<svg id="iconsLitheness" style="position: absolute; width: 0; height: 0; overflow: hidden;">
|
||||
<defs>
|
||||
<symbol id="iconCheck2" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M20 6 9 17l-5-5"/>
|
||||
</symbol>
|
||||
<symbol id="iconCirclePlay" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z"/><circle cx="12" cy="12" r="10"/>
|
||||
</symbol>
|
||||
|
||||
@@ -239,7 +239,7 @@ export class AgentChat extends Model {
|
||||
const isSelected = o.id === this.selectedModel;
|
||||
html += '<div class="agent-chat__model-item b3-menu__item' + (isSelected ? " b3-menu__item--current" : "") + '" data-i="' + i + '" data-id="' + o.id + '">' +
|
||||
'<span class="b3-menu__label">' + escapeHtml(o.name) + "</span>" +
|
||||
'<svg class="agent-chat__model-check"><use xlink:href="#iconCheck2"></use></svg>' +
|
||||
'<svg class="agent-chat__model-check"><use xlink:href="#iconSelect"></use></svg>' +
|
||||
"</div>";
|
||||
}
|
||||
html += "</div>";
|
||||
|
||||
Reference in New Issue
Block a user