move js to js/, fix code duplication, make post prettier on babillard

too
This commit is contained in:
Swrup 2022-02-14 17:09:29 +01:00
parent 07de8eb30e
commit bb416d1e47
13 changed files with 221 additions and 349 deletions

View file

@ -6,7 +6,8 @@ let f ~board request =
Login to make a new thread.
% | Some _nick ->
<script type="text/javascript" src="/assets/js/js_newthread.js" defer="defer"></script>
<div id="board" data-board=<%s board %> >Click the map to make a new thread:</div>
<div id="newthread">Click the map to make a new thread:</div>
<div id="board" data-board=<%s board %> ></div>
<div class="row mb-3">
<div class="col-md-6">
<div id="map"></div>