Update preset button styles

This commit is contained in:
Cohee 2024-10-14 20:56:31 +03:00
parent 17ff324e9c
commit 8986cb0039
1 changed files with 42 additions and 14 deletions

View File

@ -114,10 +114,18 @@
</select> </select>
<div class="flex-container marginLeft5 gap3px"> <div class="flex-container marginLeft5 gap3px">
<input type="file" hidden data-preset-manager-file="kobold" accept=".json, .settings"> <input type="file" hidden data-preset-manager-file="kobold" accept=".json, .settings">
<i data-preset-manager-update="kobold" class="menu_button fa-fw fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i> <div data-preset-manager-update="kobold" class="menu_button menu_button_icon" title="Update current preset" data-i18n="[title]Update current preset">
<i data-preset-manager-rename="kobold" class="menu_button fa-fw fa-pencil fa-solid" title="Rename current preset" data-i18n="[title]Rename current preset"></i> <i class="fa-fw fa-solid fa-save"></i>
<i data-preset-manager-new="kobold" class="menu_button fa-fw fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i> </div>
<i data-preset-manager-restore="kobold" class="menu_button fa-fw fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i> <div data-preset-manager-rename="kobold" class="menu_button menu_button_icon" title="Rename current preset" data-i18n="[title]Rename current preset">
<i class="fa-fw fa-solid fa-pencil"></i>
</div>
<div data-preset-manager-new="kobold" class="menu_button menu_button_icon" title="Save preset as" data-i18n="[title]Save preset as">
<i class="fa-fw fa-solid fa-file-circle-plus"></i>
</div>
<div data-preset-manager-restore="kobold" class="menu_button menu_button_icon" title="Restore current preset" data-i18n="[title]Restore current preset">
<i class="fa-fw fa-solid fa-recycle"></i>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -148,10 +156,18 @@
</select> </select>
<div class="flex-container marginLeft5 gap3px"> <div class="flex-container marginLeft5 gap3px">
<input type="file" hidden data-preset-manager-file="novel" accept=".json, .settings, .preset"> <input type="file" hidden data-preset-manager-file="novel" accept=".json, .settings, .preset">
<i data-preset-manager-update="novel" class="menu_button fa-fw fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i> <div data-preset-manager-update="novel" class="menu_button menu_button_icon" title="Update current preset" data-i18n="[title]Update current preset">
<i data-preset-manager-rename="novel" class="menu_button fa-fw fa-pencil fa-solid" title="Rename current preset" data-i18n="[title]Rename current preset"></i> <i class="fa-fw fa-solid fa-save"></i>
<i data-preset-manager-new="novel" class="menu_button fa-fw fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i> </div>
<i data-preset-manager-restore="novel" class="menu_button fa-fw fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i> <div data-preset-manager-rename="novel" class="menu_button menu_button_icon" title="Rename current preset" data-i18n="[title]Rename current preset">
<i class="fa-fw fa-solid fa-pencil"></i>
</div>
<div data-preset-manager-new="novel" class="menu_button menu_button_icon" title="Save preset as" data-i18n="[title]Save preset as">
<i class="fa-fw fa-solid fa-file-circle-plus"></i>
</div>
<div data-preset-manager-restore="novel" class="menu_button menu_button_icon" title="Restore current preset" data-i18n="[title]Restore current preset">
<i class="fa-fw fa-solid fa-recycle"></i>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -181,8 +197,12 @@
</select> </select>
<div class="flex-container marginLeft5 gap3px"> <div class="flex-container marginLeft5 gap3px">
<input id="openai_preset_import_file" type="file" accept=".json,.settings" hidden /> <input id="openai_preset_import_file" type="file" accept=".json,.settings" hidden />
<i id="update_oai_preset" class="menu_button fa-fw fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i> <div id="update_oai_preset" class="menu_button menu_button_icon" title="Update current preset" data-i18n="[title]Update current preset">
<i id="new_oai_preset" class="menu_button fa-fw fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i> <i class="fa-fw fa-solid fa-save"></i>
</div>
<div id="new_oai_preset" class="menu_button menu_button_icon" title="Save preset as" data-i18n="[title]Save preset as">
<i class="fa-fw fa-solid fa-file-circle-plus"></i>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -210,10 +230,18 @@
</select> </select>
<div class="flex-container marginLeft5 gap3px"> <div class="flex-container marginLeft5 gap3px">
<input type="file" hidden data-preset-manager-file="textgenerationwebui" accept=".json, .settings"> <input type="file" hidden data-preset-manager-file="textgenerationwebui" accept=".json, .settings">
<i data-preset-manager-update="textgenerationwebui" class="menu_button fa-fw fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i> <div data-preset-manager-update="textgenerationwebui" class="menu_button menu_button_icon" title="Update current preset" data-i18n="[title]Update current preset">
<i data-preset-manager-rename="textgenerationwebui" class="menu_button fa-fw fa-pencil fa-solid" title="Rename current preset" data-i18n="[title]Rename current preset"></i> <i class="fa-fw fa-solid fa-save"></i>
<i data-preset-manager-new="textgenerationwebui" class="menu_button fa-fw fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i> </div>
<i data-preset-manager-restore="textgenerationwebui" class="menu_button fa-fw fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i> <div data-preset-manager-rename="textgenerationwebui" class="menu_button menu_button_icon" title="Rename current preset" data-i18n="[title]Rename current preset">
<i class="fa-fw fa-solid fa-pencil"></i>
</div>
<div data-preset-manager-new="textgenerationwebui" class="menu_button menu_button_icon" title="Save preset as" data-i18n="[title]Save preset as">
<i class="fa-fw fa-solid fa-file-circle-plus"></i>
</div>
<div data-preset-manager-restore="textgenerationwebui" class="menu_button menu_button_icon" title="Restore current preset" data-i18n="[title]Restore current preset">
<i class="fa-fw fa-solid fa-recycle"></i>
</div>
</div> </div>
</div> </div>
</div> </div>