| @@ -0,0 +1,34 @@ | ||
| /* | ||
| * (Dynamic Planner): | ||
| * main.js - the js code to be loaded on every page. | ||
| * | ||
| *-------------------------------------->8------------------------------------*/ | ||
| console.log('+main.js'); | ||
|
|
||
| $(document).ready(function() { | ||
| window.fbAsyncInit = function () { | ||
| console.log('async init'); | ||
| FB.init({ | ||
| appId: '103017880442508', | ||
| cookie: true, | ||
| xfbml: true, | ||
| version: 'v2.10' | ||
| }); | ||
| FB.AppEvents.logPageView(); | ||
|
|
||
| FB.getLoginStatus((status) => { | ||
| console.log(status); | ||
| }) | ||
| }; | ||
|
|
||
| (function (d, s, id) { | ||
| console.log('fb init'); | ||
| var js, fjs = d.getElementsByTagName(s)[ 0 ]; | ||
| if (d.getElementById(id)) { return; } | ||
| js = d.createElement(s); js.id = id; | ||
| js.src = "//connect.facebook.net/en_US/sdk.js"; | ||
| fjs.parentNode.insertBefore(js, fjs); | ||
| }(document, 'script', 'facebook-jssdk')); | ||
|
|
||
|
|
||
| }); |
| @@ -0,0 +1,10 @@ | ||
| /* | ||
| * (Dynamic Planner): | ||
| * server.js - Starting point for the express server | ||
| * | ||
| *-------------------------------------->8------------------------------------*/ | ||
|
|
||
| var path = require('path') | ||
| , controller = require(path.join(__dirname, '/controllers/controller-main.js')); | ||
|
|
||
|
|
| @@ -0,0 +1,45 @@ | ||
| <!-- Main jumbotron for a primary marketing message or call to action --> | ||
| <div class="jumbotron" class="jt_main"> | ||
| <div class="container"> | ||
| <h1 class="display-3"><i class="fa fa-hand-spock-o fa-5x" aria-hidden="true"></i>Lolz</h1> | ||
| <p>Much dynamic. So wow.</p> | ||
| <p><a class="btn btn-primary btn-lg" href="#" role="button" id="slut">Learn more »</a></p> | ||
| </div> | ||
| </div> | ||
|
|
||
| <div class="container" class="content_main"> | ||
| <!-- Example row of columns --> | ||
| <div class="row"> | ||
| <div class="col"> | ||
| <h2>Intuitive</h2> | ||
| <p>A new view for the tasks ahead, breaking down your goal into parts, and allowing you to update their status | ||
| in a simple way. Create a seperate planner for each project/goal you have going on, and know at-a-glance | ||
| where you stand in regards to completing it. Display your progress publicly, to your friends, or keep it | ||
| private and to yourself. | ||
| </p> | ||
| <p><a class="btn btn-secondary" href="#" role="button">View details »</a></p> | ||
| </div> | ||
| <div class="col"> | ||
| <h2>Teamwork</h2> | ||
| <p>(it makes the dream work.) Built from the ground up as a collabrative platform. Add collaborators to your project planner, assigning | ||
| tasks to people, or allowing tasks to be "picked up" as your collaborators see fit. As bullets get checked | ||
| off, progress bars will illustrate just where you stand, and which areas need attention most. | ||
| </p> | ||
| <p><a class="btn btn-secondary" href="#" role="button">View details »</a></p> | ||
| </div> | ||
| <div class="col"> | ||
| <h2>Easy on the eyes</h2> | ||
| <p>Our intuitive interface takes advantage of the newest technologies for web applications, making its use | ||
| a pleasant experience. Look forward to throwing your tasks into the done pile, and enjoy the show once | ||
| your project is officially labeled "complete". | ||
| </p> | ||
| <p><a class="btn btn-secondary" href="#" role="button">View details »</a></p> | ||
| </div> | ||
| </div> | ||
|
|
||
| <hr> | ||
|
|
||
| <footer> | ||
| <p>© Christin, Claire, and James 2017</p> | ||
| </footer> | ||
| </div> |
| @@ -0,0 +1,63 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
|
|
||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"> | ||
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" | ||
| crossorigin="anonymous"> | ||
| <link rel="stylesheet" href="css/font-awesome.css"> | ||
| <title>Dynamic Planner (working title)</title> | ||
| </head> | ||
|
|
||
| <body> | ||
| <script> | ||
| </script> | ||
| <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> | ||
| <a class="navbar-brand" href="#">Dynamic Planner</a> | ||
| <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMain" aria-controls="navbarMain" aria-expanded="false" aria-label="Toggle navigation"> | ||
| <span class="navbar-toggler-icon"></span> | ||
| </button> | ||
|
|
||
| <div class="collapse navbar-collapse" id="navbarMain"> | ||
| <ul class="navbar-nav mr-auto"> | ||
| <li class="nav-item active"> | ||
| <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a> | ||
| </li> | ||
| <li class="nav-item"> | ||
| <a class="nav-link" href="#">Link</a> | ||
| </li> | ||
| <li class="nav-item"> | ||
| <a class="nav-link disabled" href="#">Disabled</a> | ||
| </li> | ||
| <li class="nav-item dropdown"> | ||
| <a class="nav-link dropdown-toggle" href="#" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a> | ||
| <div class="dropdown-menu" aria-labelledby="dropdown01"> | ||
| <a class="dropdown-item" href="#">Action</a> | ||
| <a class="dropdown-item" href="#">Another action</a> | ||
| <a class="dropdown-item" href="#">Something else here</a> | ||
| </div> | ||
| </li> | ||
| </ul> | ||
| <form class="form-inline my-2 my-lg-0"> | ||
| <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search"> | ||
| <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> | ||
| </form> | ||
| </div> | ||
| </nav> | ||
|
|
||
| {{{body}}} | ||
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
| <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> | ||
| <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" | ||
| crossorigin="anonymous"></script> | ||
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" | ||
| crossorigin="anonymous"></script> | ||
| <script src="/js/main.js"></script> | ||
| </body> | ||
|
|
||
| </html> |