Loading index.html 0 → 100644 +29 −0 Original line number Diff line number Diff line <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>MCU movies</title> <link href="./public/main.css" rel="stylesheet"> <script type="module" src="public/mcuD3.js"></script> </head> <body> <div id="tabs"> <button onclick="selectPhase(1)">Phase 1</button> <button onclick="selectPhase(2)">Phase 2</button> <button onclick="selectPhase(3)">Phase 3</button> <button onclick="selectPhase(4)">Phase 4</button> </div> <div id="side_by_side_flex"> <div id="list_div"></div> <div id="info_div"></div> </div> <div id="selection_div"></div> <div id="network_div"></div> </body> No newline at end of file index.js 0 → 100644 +11 −0 Original line number Diff line number Diff line const express = require('express') const app = express() const port = 3069 app.use(express.static('public')) app.use('/public', express.static(__dirname + '/public')); app.get('/', (req, res) => res.sendFile(__dirname + "/index.html")) app.listen(port, () => console.log(`Example app listening on port ${port}!`)) No newline at end of file Loading
index.html 0 → 100644 +29 −0 Original line number Diff line number Diff line <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>MCU movies</title> <link href="./public/main.css" rel="stylesheet"> <script type="module" src="public/mcuD3.js"></script> </head> <body> <div id="tabs"> <button onclick="selectPhase(1)">Phase 1</button> <button onclick="selectPhase(2)">Phase 2</button> <button onclick="selectPhase(3)">Phase 3</button> <button onclick="selectPhase(4)">Phase 4</button> </div> <div id="side_by_side_flex"> <div id="list_div"></div> <div id="info_div"></div> </div> <div id="selection_div"></div> <div id="network_div"></div> </body> No newline at end of file
index.js 0 → 100644 +11 −0 Original line number Diff line number Diff line const express = require('express') const app = express() const port = 3069 app.use(express.static('public')) app.use('/public', express.static(__dirname + '/public')); app.get('/', (req, res) => res.sendFile(__dirname + "/index.html")) app.listen(port, () => console.log(`Example app listening on port ${port}!`)) No newline at end of file