54 lines
1.1 KiB
Markdown
54 lines
1.1 KiB
Markdown
# Network Dashboard (Sinatra Edition)
|
|
|
|
## Prep for development
|
|
* Dockerize for dev
|
|
* Move over css and images
|
|
* Remove @post/template example stuff
|
|
|
|
|
|
## Models
|
|
|
|
### Network
|
|
* Has many devices
|
|
* Type (Local, Tailscale, External?)
|
|
|
|
### Device
|
|
* belongs to network
|
|
* has many applications
|
|
* Name (PC, Qnas, ect...)
|
|
* IP
|
|
|
|
### Application
|
|
* belongs to device
|
|
* Name (Jellyfin, Nginx, ect...)
|
|
* Port
|
|
* Subdomain
|
|
* Type
|
|
|
|
|
|
## Views
|
|
|
|
### Dashboard
|
|
* Replicate html/js/css apache dashboard look
|
|
* Replace html/js with erb, move over css
|
|
* Media Buttons (green), ? Buttons (purple), Admin Buttons (red) grouped by type
|
|
* Alt view where apps ordered by device
|
|
|
|
### Update
|
|
* Require login
|
|
* Choose Edit/Update/Delete/Reorder for Application (Network and Device can stay in code)
|
|
* Form to do the requested action
|
|
|
|
### Queue Radarr
|
|
* Replicate logic in shortcut to queue item to Radarr
|
|
* Put all in one form
|
|
|
|
### Status and Logs Dash (docker app to do this?)
|
|
* Each app with current status
|
|
* Logs from apps where it makes sense
|
|
|
|
|
|
## Prep for use
|
|
* Remove log4r (look up what it does first)
|
|
* Remove testing stuff
|
|
* Dockerize for production |