Skip to content

Distribute and run LLMs with a single file.

Add button icon for the menu-trigger

corebonts50cd8f1eb71a
diff --git a/llamafile/server/www/index.html b/llamafile/server/www/index.html
index 76c2e544..abd0a1f7 100644
--- a/llamafile/server/www/index.html
+++ b/llamafile/server/www/index.html
@@ -16,7 +16,7 @@
<span id="model">loading...</span>
</h1>
<div class="menu-dropdown">
- <button class="menu-trigger">▼</button>
+ <button class="menu-trigger"><img src="menu.svg" alt="[menu]"></button>
<div class="menu">
<button class="menu-item" id="chat-mode-switch">Switch to Completions Mode</button>
</div>
diff --git a/llamafile/server/www/menu.svg b/llamafile/server/www/menu.svg
new file mode 100644
index 00000000..7059fa57
--- /dev/null
+++ b/llamafile/server/www/menu.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z" fill="white"/></svg>
\ No newline at end of file