Updated site to scale better on small screens; Added clearfix css; Updated shadow feature to use css shadows instead of js/images.

Added code to the admin part of the site - still non-functional.  Need to fix JSON streaming over HTTP such that native types (boolean, Date, int) are preserved for the DB;  Need to finish the restore functionality & the hide/show of the edit, delete, and restore buttons on each editor page.
This commit is contained in:
Wynne Crisman
2016-10-26 14:48:11 -07:00
parent 33de2aa5d2
commit e82078174b
106 changed files with 29016 additions and 1971 deletions

View File

@@ -1,7 +1,7 @@
//Server side brainstorm.
module.exports = function(app, sequelize) {
var io = require('socket.io')(app);
module.exports = function(server, sequelize) {
var io = require('socket.io')(server);
io.on('connection', function(socket) {
//TODO: Handle new connections.
@@ -13,7 +13,9 @@ module.exports = function(app, sequelize) {
var model = sequelize.models[params.class];
if(model) {
model.findAll().then(function(values) {
});
}
else {