#!/bin/bash source "templates/head.sh" echo "" if [[ "${get_data[type]}" == "bars" ]]; then echo "Graphs" else echo "Bars" fi IFS=$'\n' for i in $(jq -r '.[]' < storage/appconfig/graphs.json); do echo "
" if [[ "${get_data[type]}" != "bars" ]]; then source "${cfg[namespace]}/webroot/uwu.shs" "$(shasum <<< $i | cut -c 1-16)" else source "${cfg[namespace]}/webroot/owo.shs" "$(shasum <<< $i | cut -c 1-16)" fi echo "
" done