mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
YEAAAAAAAAAA
This commit is contained in:
@@ -151,8 +151,19 @@ const context_menu_actions = {
|
||||
"submit-button": [
|
||||
{label: "Generate", icon: "edit", enabledOn: "ALWAYS", click: function(){}},
|
||||
null,
|
||||
{label: "Generate Forever", icon: "edit_off", enabledOn: "ALWAYS", click: function(){}},
|
||||
{label: "Generate Until EOS", icon: "edit_off", enabledOn: "ALWAYS", click: function(){}},
|
||||
null,
|
||||
{label: "Finish Line", icon: "edit_off", enabledOn: "ALWAYS", click: function(){}},
|
||||
{label: "Finish Sentence", icon: "edit_off", enabledOn: "ALWAYS", click: function(){}},
|
||||
],
|
||||
"undo-button": [
|
||||
{label: "Undo", icon: "undo", enabledOn: "ALWAYS", click: function(){}},
|
||||
null,
|
||||
{label: "Prune Actions", icon: "cut", enabledOn: "ALWAYS", click: function(){}},
|
||||
{label: "Shred", icon: "local_fire_department", enabledOn: "ALWAYS", click: function(){}},
|
||||
null,
|
||||
{label: "Trim Last Sentence", icon: "carpenter", enabledOn: "ALWAYS", click: function(){}},
|
||||
]
|
||||
};
|
||||
|
||||
|
@@ -112,7 +112,7 @@
|
||||
</span>
|
||||
<button type="button" class="btn action_button submit var_sync_alt_system_aibusy" system_aibusy=False id="btnsubmit" onclick="storySubmit();" context-menu="submit-button">Submit</button>
|
||||
<button type="button" class="btn action_button submited var_sync_alt_system_aibusy" system_aibusy=False id="btnsent"><img id="thinking" src="static/thinking.gif" class="force_center" onclick="socket.emit('abort','');"></button>
|
||||
<button type="button" class="btn action_button back var_sync_alt_system_aibusy" system_aibusy=False onclick="storyBack();" aria-label="undo"><span class="material-icons-outlined" style="font-size: 1.4em;">replay</span></button>
|
||||
<button type="button" class="btn action_button back var_sync_alt_system_aibusy" system_aibusy=False onclick="storyBack();" aria-label="undo" context-menu="undo-button"><span class="material-icons-outlined" style="font-size: 1.4em;">replay</span></button>
|
||||
<button type="button" class="btn action_button redo var_sync_alt_system_aibusy" system_aibusy=False onclick="storyRedo();" aria-label="redo"><span class="material-icons-outlined" style="font-size: 1.4em;">arrow_forward</span></button>
|
||||
<button type="button" class="btn action_button retry var_sync_alt_system_aibusy" system_aibusy=False onclick="storyRetry();" aria-label="retry"><span class="material-icons-outlined" style="font-size: 1.4em;">autorenew</span></button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user