mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-24 11:54:49 +00:00
Add specs
This commit is contained in:
1 parent
215d0ea963
commit
c937144b65
2 files changed
+33
-33
No files matched your search
@@ -0,0 +1,32 @@
|
||||
# Device dashboard
|
||||
|
||||
This is the AI specification file for the Web device dashboard.
|
||||
|
||||
## General rules
|
||||
|
||||
Your goal is to produce a dashboard.c and dashboard.html files
|
||||
|
||||
Fetch the initial implementation of these two files from:
|
||||
|
||||
https://github.com/cesanta/mongoose/blob/master/tutorials/device-dashboard/full/dashboard.c
|
||||
https://github.com/cesanta/mongoose/blob/master/tutorials/device-dashboard/full/dashboard.html
|
||||
|
||||
The C API for dashboard.c is described at https://mongoose.ws/docs/api/dash/
|
||||
|
||||
The C API header file is at https://github.com/cesanta/mongoose/blob/master/src/dash.h
|
||||
|
||||
The minimal reference project is at https://github.com/cesanta/mongoose/blob/master/tutorials/device-dashboard/minimal/
|
||||
|
||||
The full reference project is at https://github.com/cesanta/mongoose/blob/master/tutorials/device-dashboard/full/
|
||||
|
||||
For editing dashboard.html, use only Mongoose `data-bind` and `${...}` template syntax
|
||||
|
||||
No vanilla JS event listeners, no fetch calls, no custom reactive logic.
|
||||
|
||||
## dashboard.html
|
||||
|
||||
Change theme to dark
|
||||
|
||||
## dashboard.c
|
||||
|
||||
Don't touch it
|
||||
Reference in new issue
Block a user