first commit
This commit is contained in:
26
admin/templates/llm/text-dropdown.tpl
Normal file
26
admin/templates/llm/text-dropdown.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
<div class="dropdown">
|
||||
<button class="badge badge-info dropdown-toggle" type="button" id="button-llm-{$target}" data-toggle="dropdown">
|
||||
<span class="bi bi-stars m-r-1"></span>AI
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-offset dropdown-menu-right" role="menu" aria-labelledby="menu1">
|
||||
{foreach $actions as $action}
|
||||
<li role="presentation">
|
||||
<a onclick="wpj.llmModal.applyAction({$action.json|@json_encode}, 'button-llm-{$target}')">
|
||||
{$action.title}
|
||||
</a>
|
||||
<a onclick="wpj.llmModal.initModal({$action.json|@json_encode})">
|
||||
<span class="bi bi-gear"></span>
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{if $actions}
|
||||
<li role="separator" class="divider"></li>
|
||||
{/if}
|
||||
<li role="presentation">
|
||||
<a href="?s=main.php&l=s:menu.php|type:LlmPrompt&r=s:list.php|type:LlmPrompt" target="_blank">
|
||||
<span class="bi bi-stars m-r-1"></span>Nastavení promptů
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user