aboutsummaryrefslogtreecommitdiffstats
path: root/static/modules/sbbuilder.js
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-09 20:53:17 +0100
committerDanilo M. <danix@danix.xyz>2026-11-09 20:53:17 +0100
commit2c7cef2024c201fa9c7c406954121de337071689 (patch)
tree5806185505f7fdf82ce7f6820bd97047ce974b79 /static/modules/sbbuilder.js
parent82622100135bc7a53b632603fb7f398a49637a69 (diff)
downloaddeck-it-2c7cef2024c201fa9c7c406954121de337071689.tar.gz
deck-it-2c7cef2024c201fa9c7c406954121de337071689.zip
chore: GPLv2-only license, docs and source headers
Diffstat (limited to 'static/modules/sbbuilder.js')
-rw-r--r--static/modules/sbbuilder.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/static/modules/sbbuilder.js b/static/modules/sbbuilder.js
index 751ffdd..9e49d90 100644
--- a/static/modules/sbbuilder.js
+++ b/static/modules/sbbuilder.js
@@ -1,3 +1,19 @@
+// deck-it - sbbuilder panel
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this program; if not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
const gib = (b) => (b == null ? "?" : (b / 1073741824).toFixed(1));
const pct = (n) => (n == null ? "?" : `${Math.round(n)}%`);
const ago = (ts) => {