Added a disclaimer when downloading models, replaced the library icon for a download icon

This commit is contained in:
jeffser 2024-07-07 14:58:29 -06:00
parent 4dd67f9d71
commit d81596b8e4
3 changed files with 22 additions and 10 deletions

View File

@ -2,7 +2,6 @@
<gresources> <gresources>
<gresource prefix="/com/jeffser/Alpaca"> <gresource prefix="/com/jeffser/Alpaca">
<file>style.css</file> <file>style.css</file>
<file alias="icons/scalable/status/library-symbolic.svg">icons/library-symbolic.svg</file>
<file alias="icons/scalable/status/paper-plane-symbolic.svg">icons/paper-plane-symbolic.svg</file> <file alias="icons/scalable/status/paper-plane-symbolic.svg">icons/paper-plane-symbolic.svg</file>
<file alias="icons/scalable/status/globe-symbolic.svg">icons/globe-symbolic.svg</file> <file alias="icons/scalable/status/globe-symbolic.svg">icons/globe-symbolic.svg</file>
<file alias="icons/scalable/status/chat-message-new-symbolic.svg">icons/chat-message-new-symbolic.svg</file> <file alias="icons/scalable/status/chat-message-new-symbolic.svg">icons/chat-message-new-symbolic.svg</file>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><g fill="#222222"><path d="m 1.5 2 h 2 c 0.277344 0 0.5 0.222656 0.5 0.5 v 12 c 0 0.277344 -0.222656 0.5 -0.5 0.5 h -2 c -0.277344 0 -0.5 -0.222656 -0.5 -0.5 v -12 c 0 -0.277344 0.222656 -0.5 0.5 -0.5 z m 0 0"/><path d="m 5.5 4 h 1 c 0.277344 0 0.5 0.222656 0.5 0.5 v 10 c 0 0.277344 -0.222656 0.5 -0.5 0.5 h -1 c -0.277344 0 -0.5 -0.222656 -0.5 -0.5 v -10 c 0 -0.277344 0.222656 -0.5 0.5 -0.5 z m 0 0"/><path d="m 8.5 3 h 1 c 0.277344 0 0.5 0.222656 0.5 0.5 v 11 c 0 0.277344 -0.222656 0.5 -0.5 0.5 h -1 c -0.277344 0 -0.5 -0.222656 -0.5 -0.5 v -11 c 0 -0.277344 0.222656 -0.5 0.5 -0.5 z m 0 0"/><path d="m 10.707031 1.460938 l 0.964844 -0.261719 c 0.265625 -0.070313 0.539063 0.089843 0.613281 0.355469 l 3.363282 12.558593 c 0.070312 0.265625 -0.085938 0.539063 -0.351563 0.609375 l -0.96875 0.261719 c -0.265625 0.070313 -0.539063 -0.089844 -0.613281 -0.355469 l -3.363282 -12.554687 c -0.070312 -0.269531 0.085938 -0.542969 0.355469 -0.613281 z m 0 0"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -107,7 +107,7 @@
<property name="tooltip-text" translatable="yes">Manage Models</property> <property name="tooltip-text" translatable="yes">Manage Models</property>
<child> <child>
<object class="AdwButtonContent"> <object class="AdwButtonContent">
<property name="icon-name">library-symbolic</property> <property name="icon-name">folder-download-symbolic</property>
</object> </object>
</child> </child>
</object> </object>
@ -691,13 +691,26 @@
</child> </child>
<property name="content"> <property name="content">
<object class="GtkScrolledWindow"> <object class="GtkScrolledWindow">
<property name="vexpand">true</property>
<child> <child>
<object class="GtkListBox" id="model_tag_list_box"> <object class="GtkBox">
<property name="valign">1</property> <property name="orientation">1</property>
<property name="spacing">12</property>
<property name="margin-start">12</property> <property name="margin-start">12</property>
<property name="margin-end">12</property> <property name="margin-end">12</property>
<property name="margin-top">12</property> <property name="margin-top">12</property>
<property name="margin-bottom">12</property> <property name="margin-bottom">12</property>
<child>
<object class="GtkLabel">
<property name="justify">2</property>
<property name="wrap">true</property>
<property name="wrap-mode">0</property>
<property name="label" translatable="yes">By downloading this model you accept the license agreement available on the model's website.</property>
</object>
</child>
<child>
<object class="GtkListBox" id="model_tag_list_box">
<property name="valign">1</property>
<property name="selection-mode">single</property> <property name="selection-mode">single</property>
<style> <style>
<class name="boxed-list"/> <class name="boxed-list"/>
@ -705,6 +718,8 @@
</object> </object>
</child> </child>
</object> </object>
</child>
</object>
</property> </property>
</object> </object>
</property> </property>