Commit Graph

14 Commits

Author SHA1 Message Date
08b49f5731
tmpl(users): add table zebra striping [skip ci] 2023-08-08 12:05:14 +02:00
leo
ef6ef17715
feat: don't compare pcmt.css in ci
All checks were successful
continuous-integration/drone/push Build is passing
* unstage pcmt.css, needs to be built separately
* generate the stylesheet in ci and build the app with that
* add better instructions to readme on how to build the app
* add more justfile targets for convenience
2023-05-30 20:43:19 +02:00
leo
ae5c4f1dd4
go,tmpl: add usr details listing
All checks were successful
continuous-integration/drone/push Build is passing
* add tmpl
* add handler for route /manage/user/:id
* add convenience helper func
* handle not found/invalid uuid errors
2023-05-29 22:42:18 +02:00
leo
06c2c79aa8
singin.tmpl: improve form
All checks were successful
continuous-integration/drone/push Build is passing
* add limits to inputs
* signify with CSS when the input is incorrect
* rebuild tailwind
2023-05-29 14:57:13 +02:00
leo
771dc0d55c
chore: bump npm deps
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-28 23:15:56 +02:00
leo
e2a29fa692
handlers,tmpl: render+log signin better errors
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-28 22:47:10 +02:00
leo
547f6e7b3c
add user creation
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 06:47:33 +02:00
leo
cca2b360f4
navbar: fix background
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 03:49:42 +02:00
leo
97ea29d043
add user listing
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 03:22:58 +02:00
leo
ad6bcac326
css: stage the tailwind-built file
All checks were successful
continuous-integration/drone/push Build is passing
ci: save the generated file in the tmp folder and do a diff with the
staged file
2023-05-16 12:13:49 +02:00
leo
50c3c939b6
head.tmpl: add Content Security Policy meta attr
All checks were successful
continuous-integration/drone/push Build is passing
* implement calculating integrity for script, stylesheet assets
* break out browser-sync loader script to its own file (instead of
  inline)
* implement Content Security Policy that only allows BrowserSync scripts
  and hooks to load from localhost when DevelMode is enabled (i.e. not
  in production)
2023-05-15 14:12:39 +02:00
leo
df0c280ad1
go: redo asset handling
All checks were successful
continuous-integration/drone/push Build is passing
* only embed substructure of assets
* create subfolders for css, imgs
* add .gitattributes file specifying pcmt.css as generated (by tailwind)
2023-05-08 00:13:33 +02:00
leo
f129606b8f
add bulk changes
All checks were successful
continuous-integration/drone/push Build is passing
* add handlers for signin,singup,logout...
* introduce ent ORM and add user schema
* add live mode, devel mode to selectively turn on features via
  config/flags
* add templates, handle embedding moar smarter:
  * live mode uses live folder structure, else embedded templates are
    used
* start using tailwindcss to style stuff
* add development goodies for hot-reloading (browser-sync - bs.js)
* pimp-up config.dhall with actual custom config Type (enables remote
  schema and local values only as needed)
* add justfile (alternative to makefile for process automation)
2023-04-13 00:07:08 +02:00
leo
774aa742cc
readme: add logo [skip ci] 2023-04-12 23:23:46 +02:00