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,8 +1,10 @@
#!/usr/bin/env node
var http = require("http");
var express = require('express');
var app = express();
var port = process.env.PORT || 8088;
var app = module.exports.app = express();
var server = http.createServer(app);
var port = process.env.PORT || 8089;
var passport = require('passport');
var flash = require('connect-flash');
var path = require('path');
@@ -73,7 +75,7 @@ var models = require("./models");
require('./app/initialData.js')(models.sequelize);
//Setup the brainstorm communications system.
require('./brainstorm.js')(app, models.sequelize);
//require('./brainstorm.js')(server, models.sequelize);
//Ensure we have an endsWith method in String.
String.prototype.endsWith = function(suffix) {
@@ -81,7 +83,7 @@ var models = require("./models");
};
//Launch
app.listen(port);
server.listen(port);
console.log('The magic happens on port ' + port);
console.log("Root Path: " + rootPath);
console.log("Time now is: " + moment(new Date()).format("MMM Do YYYY, h:mm:ss a"));