Switch to using templates for rendering.

Review Request #7226 — Created April 17, 2015 and submitted

david
student-sonar
master
fbf1939...
student-sonar

This change switches us over to using handlebars templates for assembling the
HTML that's rendered to the client, rather than just sending a static HTML
page. This is in preparation for adding a bunch of new functionality and
additional views.

Also part of this is the addition of the errorhandler middleware, and set-up
for including images as part of the distribution and build process.

  • Ran a build and verified that the resulting templates were processed
    correctly.
  • Verified that things still loaded the same as before this change.
reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        package.json
        index.html
        server.js
        views/student-list.handlebars
        gulpfile.js
        lib/routes.js
        views/layouts/main.handlebars
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        package.json
        index.html
        server.js
        views/student-list.handlebars
        gulpfile.js
        lib/routes.js
        views/layouts/main.handlebars
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (a319c8b)
Loading...