greblys / emoncms-pills-module Goto Github PK
View Code? Open in Web Editor NEWA module for EmonCMS which displays a form where you can set up a schedule for your pill reminder system.
A module for EmonCMS which displays a form where you can set up a schedule for your pill reminder system.
Step 1: press on red X to remove pill
Step 2: try to copy from one to all cells
Result: All entered data gets deleted.
Last focused item becomes that red X button, but since it is removed it doesn't have td element as a parent anymore, so need to save td before button removal.
Take out all the database insertions from form_submitted.php and put them to model.php
Need to use Mosquito MQTT PHP library for contacting broker. Not sure will it work with non-Mosquitto brokers. Common sense says it should. Also it doesn't work on Windows, so I will need to move from my laptop setup to Linux server. http://emon.cairnsolutions.com for example.
Add additional fields: Pill importance, pill names
"state": 0
"snoozes": number of snoozes made
Button to copy settings from one day to all is needed
Tidy up all the code to make it more maintainable. Separate Javascript/PHP/CSS into separate files.
Can't use built-in emonCMS database methods. emoncms/emoncms#225 Need to implement my own script which creates database tables when module is installed.
user_id column in Cells table should be foreign key of EmonCMS Users table.
Validate all the entered data
There should be a separate topic for each user.
This button doesn't properly copy the data form one cell to all the cells yet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.