diff --git a/getbootstrapicons.sh b/getbootstrapicons.sh new file mode 100755 index 0000000..082513f --- /dev/null +++ b/getbootstrapicons.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +cd $( dirname $0 ) + +set -e +tmpfile=/tmp/icons.zip.$$ +trap "rm -f $tmpfile. exit" EXIT + +curl --fail-with-body -L https://github.com/twbs/icons/releases/download/v1.11.3/bootstrap-icons-1.11.3.zip > $tmpfile + +rm -rf static/icons +mkdir -p static/icons + +cd static/icons +jar xvf "$tmpfile" +mv bootstrap-icons*/* . + diff --git a/pkg/server/templates/usage.templ b/pkg/server/templates/usage.templ index 37ae488..9cc3298 100644 --- a/pkg/server/templates/usage.templ +++ b/pkg/server/templates/usage.templ @@ -90,32 +90,41 @@ templ AgentUsage(access models.ConvergeAccess, usageInputs UsageInputs) {