diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-01 13:29:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-05-04 19:08:35 +0200 |
commit | e1338354ed543ae89d20e1ae3c235bd205037b43 (patch) | |
tree | c88839545c016f7515ce60c4accabfcf1115102c | |
parent | b46d86c9ad10c6c5f7a8db16155f52e80999b7d3 (diff) | |
download | server-e1338354ed543ae89d20e1ae3c235bd205037b43.tar.gz |
Add scenario description info to create pages.
-rw-r--r-- | public/style.css | 2 | ||||
-rw-r--r-- | views/create.ejs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/public/style.css b/public/style.css index dfd7754..c1b25fd 100644 --- a/public/style.css +++ b/public/style.css @@ -20,7 +20,7 @@ h2 { margin-left: -1px; } .header span { margin: 0 1em; } .header a { color: black; } .main { margin: 2em; } -.main p { max-width: 50rem; } +.main p, .main dl { max-width: 50rem; } .main hr { max-width: 50rem; margin-right: auto; margin-left: 0; } .main hr { border: none; border-top: 2px dotted brown; } .main hr + p { font-style: italic; } diff --git a/views/create.ejs b/views/create.ejs index a23fab5..ed9ae9e 100644 --- a/views/create.ejs +++ b/views/create.ejs @@ -9,6 +9,7 @@ Scenario:<br> <option value="<%= scenario %>"><%= scenario %></option> <% }); %> </select> +<%- include('../public/' + title.title_id + '/create.html') %> <p> Description:<br> <input type="text" autocomplete="off" id="description" name="description" size="50"> |