| padding-right: 8px; | padding-right: 8px; | ||||
| } | } | ||||
| .text-align-right{ | |||||
| text-align: right; | |||||
| } | |||||
| div.NES-palette{ | div.NES-palette{ | ||||
| font-size:0.55em; | font-size:0.55em; | ||||
| } | } |
| app.set('view engine', 'html'); | app.set('view engine', 'html'); | ||||
| app.use("/app", express.static(path.join(__dirname, "/app"))); | app.use("/app", express.static(path.join(__dirname, "/app"))); | ||||
| app.get('/', function(req, res){ | app.get('/', function(req, res){ | ||||
| res.render('index.html', {version:version}); | |||||
| res.render('index.html', {version:version, author:package.author}); | |||||
| }); | }); | ||||
| app.listen(port, () => { | app.listen(port, () => { |
| <div class="pure-g"> | |||||
| <div class="pure-u-1-3"> | |||||
| <span class="simple-padding"> | |||||
| Version: <%= version %> | |||||
| </span> | |||||
| </div> | |||||
| <div class="pure-u-2-3 text-align-right"> | |||||
| <span class="simple-padding"> | |||||
| Author: <%= author %> | |||||
| </span> | |||||
| </div> | |||||
| </div> | |||||
| <%- include('workspace.html'); %> | <%- include('workspace.html'); %> | ||||
| </div> | </div> | ||||
| <%- include('footer.html', {version:version, author:author}); %> | |||||
| </div> | </div> | ||||
| <%- include('tail.html'); %> | <%- include('tail.html'); %> |