Main page. Just simple HTML, CSS and JS.
https://asxp.io
- Ruby 66.9%
- HTML 23.5%
- CSS 5.9%
- JavaScript 2.7%
- Nix 0.4%
- Other 0.6%
Give each user independent read, write and delete flags per area (invoices, bingo, users), so someone can e.g. review and remove bingo incidents without being able to add any. The request method and path decide the flag needed: GET is read except the new/duplicate forms, POST to .../delete is delete, any other POST is write. Unmapped admin paths are superuser-only, and a test enumerates every registered admin route so a new one cannot ship without a rule. Pages follow the same flags: nav and dashboard tiles show readable areas only, write forms and delete buttons are hidden, and the datacenter form is shown read-only. Assisted-by: Claude:opus-5 |
||
|---|---|---|
| .forgejo/workflows | ||
| bin | ||
| db | ||
| lib | ||
| public | ||
| test | ||
| views | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| asxpio.rb | ||
| bingo_web.rb | ||
| CLAUDE.md | ||
| config.ru | ||
| docker-compose.yml | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| Gemfile | ||
| Gemfile.lock | ||
| Rakefile | ||