Add page titles

This commit is contained in:
Adam Goldsmith 2017-09-28 14:01:22 -04:00
parent 729b32e709
commit 16e553b4ff

View File

@ -95,6 +95,7 @@ function sendIndex(res) {
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="/style.css"> <link rel="stylesheet" type="text/css" href="/style.css">
<title>Index</title>
</head> </head>
<body> <body>
<ul> <ul>
@ -111,6 +112,7 @@ function sendDeckIndex(res, deckName) {
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="/style.css"> <link rel="stylesheet" type="text/css" href="/style.css">
<title>${deckName}</title>
</head> </head>
<body> <body>
<ul> <ul>
@ -129,6 +131,7 @@ function sendEditor(res, deckName) {
<head> <head>
<script src="/js/editor.js"></script> <script src="/js/editor.js"></script>
<link rel="stylesheet" type="text/css" href="/style.css"> <link rel="stylesheet" type="text/css" href="/style.css">
<title>${deckName} - Editor</title>
</head> </head>
<body> <body>
<input id="jsonUpload" type="file"><br> <input id="jsonUpload" type="file"><br>
@ -146,6 +149,7 @@ function sendPlayfield(res, deckName) {
<script src="/js/interact.js"></script> <script src="/js/interact.js"></script>
<script src="/js/playfield.js"></script> <script src="/js/playfield.js"></script>
<link rel="stylesheet" type="text/css" href="/style.css"> <link rel="stylesheet" type="text/css" href="/style.css">
<title>${deckName} - Playfield</title>
</head> </head>
<body> <body>
<div id="card-container" data-deckName="${deckName}"> <div id="card-container" data-deckName="${deckName}">