Commit eba5f0b3 authored by Corentin Mors's avatar Corentin Mors
Browse files

Move views to right folder

parent 1f2a56b8
var express = require('express');
exports.dashboard = function(req, res, next) {
res.render('index'); = function(req, res, next) {
\ No newline at end of file
<!doctype html>
<html lang="en">
<meta charset="UTF-8">
<title>OnMap - Location Sharing</title>
<link rel="stylesheet" href="/assets/style.css">
<!-- OpenLayer CSS -->
<link href="/assets/openlayer.min.css" rel="stylesheet">
<div class="container-main">
<div id="map" class="map"></div>
<div id="info" style="display: none;"></div>
Position accuracy : <code id="accuracy"></code>&nbsp;&nbsp;
Altitude : <code id="altitude"></code>&nbsp;&nbsp;
Altitude accuracy : <code id="altitudeAccuracy"></code>&nbsp;&nbsp;
Heading : <code id="heading"></code>&nbsp;&nbsp;
Speed : <code id="speed"></code>
<div class="container-side">
<ul class="pages">
<li class="chat page">
<div class="chatArea">
<ul class="messages"></ul>
<input class="inputMessage" placeholder="Type here..."/>
<li class="login page">
<div class="form">
<h3 class="title">What's your nickname?</h3>
<input class="usernameInput" type="text" maxlength="14" />
<script src=""></script>
<script src="/"></script>
<script src="assets/openlayer.min.js"></script>
<script src="assets/main.js"></script>
\ No newline at end of file
......@@ -3,8 +3,8 @@ var express = require('express'),
indexController = require('../controllers');
module.exports = router
\ No newline at end of file
......@@ -2,7 +2,7 @@
<html lang="en">
<meta charset="UTF-8">
<title>Socket.IO Chat Example</title>
<title>OnMap - Location Sharing</title>
<link rel="stylesheet" href="assets/style.css">
<!-- OpenLayer CSS -->
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