Commit c7d1eece authored by Mark Stenglein's avatar Mark Stenglein
Browse files

Add headers to more of the files for easy onboarding of people.

parent dcbfae95
......@@ -15,6 +15,9 @@ config.siteDescription = "A simple application to add your class schedule to cal
config.mongoDBURL = 'mongodb://localhost/schedules';
config.ReloadDB = false;
// Object given to the front end to populate the semester and school selection
// dropdown lists.
// TODO: Make this dynamic instead of hard coding it into the system.
config.schoolSlugs = {
'schools': [
'GMU',
......@@ -44,6 +47,10 @@ config.schoolSlugs = {
}
// Data files to load:
// TODO: Make this dynamic instead of hard coding it into the system. This is
// neccessary in order to make it so that the system can be updated from
// the site itself instead of relying on @patriot_down to upload the files
// from the backend.
config.dataFiles = [
'GMU2016F.min.json',
'GMU2016S.min.json',
......
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Docs Page
// - This is the page that contains the docs site for the schedules app.
// - This file extends the non-app template and simply adds in content.
////////////////////////////////////////////////////////////////////////////////
extends non-app
// TODO: add actual content here.
block docs-content
center
h1 Test
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Error Page
// - For any given error, this page will render, showing a stacktrace.
// - When not in dev mode, this will not render.
////////////////////////////////////////////////////////////////////////////////
extends layout
block content
......
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Global Head File
// - This contains the global header for the entire site.
// - Take care to remember that these resources load on all pages, so look into
// other options before using this.
////////////////////////////////////////////////////////////////////////////////
head
// Metadata
......@@ -13,6 +19,6 @@ head
// Datatables
link(rel="stylesheet" type="text/css" href="/stylesheets/datatables.min.css")
script(type="text/javascript" src="/javascripts/datatables.min.js")
// Favicon
link(rel='shortcut icon', href='/favicon.ico?', type='image/x-icon')
// This file extends the layout.jade file
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Main Page
// - This page is the main application page.
// - Extends the layout.jade file
////////////////////////////////////////////////////////////////////////////////
extends layout
block content
......
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Master Layout
// - This is the master layout for the entire site, with any placeholders needed
// for furthur customization.
////////////////////////////////////////////////////////////////////////////////
doctype html
html
include head
......@@ -5,4 +10,3 @@ html
div.container-fluid
include nav
block content
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Main Title Mixin
// - This is an include file that can be brought into any other jade file.
////////////////////////////////////////////////////////////////////////////////
// Site branding row
div.row.center-text
// Font Awesome stack of circle and calendar for logo
......
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Navbar
// - This include file is for the nav bar
////////////////////////////////////////////////////////////////////////////////
nav.navbar.navbar-default.navbar-fixed-top
div.container-fluid
div.navbar-header
......
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules Non-app Layout
// - Any non-app page will extend this layout file.
////////////////////////////////////////////////////////////////////////////////
extends layout
block content
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment