server : add themes + favicon (#6848)
* Added themes support with two sample themes and a favicon. * Newline * Newline * Newline * Trailing whitespace * Increased opacity for contrast * Increase opacity. Check actions cancelled for some other priority job and I can't seem to manually re-run them, so MOAR OPACITY * Opacity action trigger. Trying to re-trigger the cancelled action. * One more opacity adjustment This Actions pipeline is failing for random issues. * Delete examples/server/themes/buttons_top/completion.js This will be served from the static string built-in to server. * Delete examples/server/themes/buttons_top/index.js This will be served from the static string built-in to server. * Delete examples/server/themes/wild/completion.js This will be served from the static string built-in to server. * Delete examples/server/themes/buttons_top/json-schema-to-grammar.mjs This will be served from the static string built-in to server. * Delete examples/server/themes/wild/index.js This will be served from the static string built-in to server. * Delete examples/server/themes/wild/json-schema-to-grammar.mjs This will be served from the static string built-in to server. * Replaced underscore.
BIN
examples/server/public/favicon.ico
Normal file
After Width: | Height: | Size: 4.0 KiB |
5
examples/server/themes/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# LLaMA.cpp Server Wild Theme
|
||||||
|
|
||||||
|
Simple themes directory of sample "public" directories. To try any of these add --path to your run like `server --path=wild`.
|
||||||
|
|
||||||
|
![image](wild/wild.png)
|
7
examples/server/themes/buttons-top/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# LLaMA.cpp Server Buttons Top Theme
|
||||||
|
|
||||||
|
Simple tweaks to the UI. Chat buttons at the top of the page instead of bottom so you can hit Stop instead of chasing it down the page.
|
||||||
|
|
||||||
|
To use simply run server with `--path=themes/buttons_top`
|
||||||
|
|
||||||
|
![image](buttons_top.png)
|
BIN
examples/server/themes/buttons-top/buttons_top.png
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
examples/server/themes/buttons-top/favicon.ico
Normal file
After Width: | Height: | Size: 4.0 KiB |
1057
examples/server/themes/buttons-top/index.html
Normal file
5
examples/server/themes/wild/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# LLaMA.cpp Server Wild Theme
|
||||||
|
|
||||||
|
Simple tweaks to the UI. To use simply run server with `--path=themes/wild`
|
||||||
|
|
||||||
|
![image](wild.png)
|
BIN
examples/server/themes/wild/favicon.ico
Normal file
After Width: | Height: | Size: 4.0 KiB |
1061
examples/server/themes/wild/index.html
Normal file
BIN
examples/server/themes/wild/llama_cpp.png
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
examples/server/themes/wild/llamapattern.png
Normal file
After Width: | Height: | Size: 254 KiB |
BIN
examples/server/themes/wild/wild.png
Normal file
After Width: | Height: | Size: 485 KiB |