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:
@@ -15,7 +15,10 @@ module.exports = function(sequelize, DataTypes) {
|
||||
type: DataTypes.STRING
|
||||
},
|
||||
password: {
|
||||
type: DataTypes.STRING
|
||||
type: DataTypes.STRING,
|
||||
set: function(val) {
|
||||
this.setDataValue('password', sequelize.models.User.generateHash(val));
|
||||
}
|
||||
},
|
||||
admin: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
|
||||
Reference in New Issue
Block a user