first commit

This commit is contained in:
nxxy335top
2026-05-18 17:29:18 +08:00
parent e85fbd62f4
commit a0c64736eb
119 changed files with 13527 additions and 1228 deletions
+14
View File
@@ -0,0 +1,14 @@
(function(){
return fetch('/apis/api.console.halo.run/v1alpha1/themes?sort=creationTimestamp%2Cdesc')
.then(r => r.json())
.then(data => {
var items = data.items || [];
var result = items.map(t => ({
name: t.metadata.name,
displayName: t.spec.displayName,
active: t.spec.activationTime,
allKeys: Object.keys(t.spec)
}));
return JSON.stringify(result);
});
})()