Commit 3c393992d6272d394665dbc3782a1ef1ea6b8b0e
1 parent
3c57c89981
Exists in
master
Going back because google maps code got removed for some reason. Something stran…
…ge with git right now that I don't understand
Showing 2 changed files with 46 additions and 9 deletions Inline Diff
.gitignore
View file @
3c39399
1 | # Logs | |||
2 | logs | |||
3 | *.log | |||
4 | npm-debug.log* | |||
1 | 5 | |||
# Node build artifacts | 2 | 6 | # Runtime data | |
node_modules | 3 | 7 | pids | |
npm-debug.log | 4 | 8 | *.pid | |
9 | *.seed | |||
10 | *.pid.lock | |||
5 | 11 | |||
# Local development | 6 | 12 | # Directory for instrumented libs generated by jscoverage/JSCover | |
*.env | 7 | 13 | lib-cov | |
*.dev | 8 | 14 | ||
15 | # Coverage directory used by tools like istanbul | |||
16 | coverage | |||
17 | ||||
18 | # nyc test coverage | |||
19 | .nyc_output | |||
20 | ||||
21 | #mac | |||
.DS_Store | 9 | 22 | .DS_Store | |
10 | 23 | |||
# Docker | 11 | 24 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | |
Dockerfile | 12 | 25 | .grunt | |
docker-compose.yml | 13 | 26 | ||
27 | # node-waf configuration | |||
28 | .lock-wscript | |||
29 | ||||
30 | # Compiled binary addons (http://nodejs.org/api/addons.html) | |||
31 | build/Release | |||
32 | ||||
33 | # Dependency directories | |||
34 | node_modules | |||
35 | jspm_packages | |||
36 | ||||
37 | # Optional npm cache directory | |||
38 | .npm | |||
39 | ||||
40 | # Optional eslint cache | |||
41 | .eslintcache | |||
42 | ||||
43 | # Optional REPL history | |||
44 | .node_repl_history | |||
45 | ||||
46 | # Output of 'npm pack' | |||
47 | *.tgz | |||
14 | ||||
views/pages/index.ejs
View file @
3c39399
<!DOCTYPE html> | 1 | 1 | <!DOCTYPE html> | |
<html lang="en"> | 2 | 2 | <html lang="en"> | |
<head> | 3 | 3 | <head> | |
<!-- <% include ../partials/header %> --> | 4 | 4 | <!-- <% include ../partials/header %> --> | |
</head> | 5 | 5 | </head> | |
6 | 6 | |||
<!-- Homepage --> | 7 | 7 | <!-- Homepage --> | |
8 | 8 | |||
<body> | 9 | 9 | <body> | |
<div class="container-fluid"> | 10 | 10 | <div class="container-fluid"> | |
<div class="jumbotron text-center"> | 11 | 11 | <div class="jumbotron text-center"> | |
<h1>Safe Routes</h1> | 12 | 12 | <h1>Safe Routes</h1> | |
<p>The best way to find the safest routes.</p> | 13 | 13 | <p>The best way to find the safest routes.</p> | |
</div> | 14 | 14 | </div> | |
15 | 15 | |||
<!--What are for and type for?--> | 16 | 16 | <!--What are for and type for?--> | |
<!-- current submit button takes you to the landing page --> | 17 | 17 | <!-- current submit button takes you to the landing page --> | |
<form action="/landing"> | 18 | 18 | <form action="/landing"> | |
<!-- First text field and label above the text field for current location --> | 19 | 19 | <!-- First text field and label above the text field for current location --> | |
<div class="form-group text-center"> | 20 | 20 | <div class="form-group text-center"> | |
<label for="currentLocation">From</label> | 21 | 21 | <label for="currentLocation">From</label> | |
<input type="currentLocation" class="form-control" placeholder="Enter Current Location"> | 22 | 22 | <input type="currentLocation" class="form-control" placeholder="Enter Current Location"> | |
</div> | 23 | 23 | </div> | |
24 | ||||
<!-- Second text field and label above the text field for destination --> | 24 | 25 | <!-- Second text field and label above the text field for destination --> | |
<div class="form-group text-center"> | 25 | 26 | <div class="form-group text-center"> | |
<label for="destination">To</label> | 26 | 27 | <label for="destination">To</label> | |
<input type="destination" class="form-control" placeholder="Enter Destination"> | 27 | 28 | <input type="destination" class="form-control" placeholder="Enter Destination"> | |
</div> | 28 | 29 | </div> | |
30 | ||||
<!-- First travel option button, walking | 29 | 31 | <!-- First travel option button, walking | |
This contains a row that holds buttons of type button. Buttons are highlighted upon selection. | 30 | 32 | This contains a row that holds buttons of type button. Buttons are highlighted upon selection. | |
--> | 31 | 33 | --> | |
<div class="row"> | 32 | 34 | <div class="row"> | |
<button type="button" class="btn-default img-thumbnail col-xs-4"> | 33 | 35 | <button type="button" class="btn-default img-thumbnail col-xs-4"> | |
<img class="img-responsive" src="images/pedestrian-walking.svg" alt="Walking Option" width="40" height="40"> | 34 | 36 | <img class="img-responsive" src="images/pedestrian-walking.svg" alt="Walking Option" width="40" height="40"> | |
</button> | 35 | 37 | </button> | |
36 | 38 | |||
<!-- Second travel button, driving --> | 37 | 39 | <!-- Second travel button, driving --> | |
<button type="button" class="btn-default img-thumbnail col-xs-4"> | 38 | 40 | <button type="button" class="btn-default img-thumbnail col-xs-4"> | |
<img class="img-responsive" src="images/car-compact.svg" alt="Walking Option" width="40" height="40"> | 39 | 41 | <img class="img-responsive" src="images/car-compact.svg" alt="Walking Option" width="40" height="40"> | |
</button> | 40 | 42 | </button> | |
41 | 43 | |||
<!-- Third travel button, bus --> | 42 | 44 | <!-- Third travel button, bus --> | |
<button type="button" class="btn-default img-thumbnail col-xs-4" onclick="javascript:autofill();"> | 43 | 45 | <button type="button" class="btn-default img-thumbnail col-xs-4" onclick="javascript:autofill();"> | |
<img class="img-responsive" src="images/bus.svg" alt="Walking Option" width="40" height="40"> | 44 | 46 | <img class="img-responsive" src="images/bus.svg" alt="Walking Option" width="40" height="40"> | |
</button> | 45 | 47 | </button> | |
</div> | 46 | 48 | </div> | |
<div class="text-center"> | 47 | 49 | <div class="text-center"> | |
<button type="submit" class="btn btn-primary btn-space">Go</button> | 48 | 50 | <button type="submit" class="btn btn-primary btn-space">Go</button> | |
49 | 51 |
-
mentioned in commit 37562b