Files
panda b9137204a0 fix: FilePreview fileType case + Tailwind v4 gradient transparent bug
- FilePreview.vue: add normalizedFileType computed to handle backend
  returning uppercase HTML/MD/PPTX (fixes preview/download buttons)
- FilePreview.vue: bg-gradient-to-r from-orange-500 -> bg-orange-500
  (Tailwind v4 gradient + CSS variable = transparent)
- ReportCard.vue: bg-gradient-to-r -> bg-orange-600 for selected state
- Add .opencode/, node_modules/, dist/ to .gitignore
- Initial git setup for publish project
2026-05-24 20:09:42 +08:00

11 lines
388 B
Python

import urllib.request
import json
# Get all projects
req = urllib.request.Request('http://localhost:37821/api/projects')
resp = urllib.request.urlopen(req)
projects = json.loads(resp.read().decode())
print('Total projects:', len(projects))
for p in projects:
print(' id={} name={} coverImage={} reportCount={}'.format(
p['id'], p['name'], p['coverImage'], p['reportCount']))