Showing
1 changed file
with
21 additions
and
0 deletions
MapAPI/template.js
0 → 100644
| 1 | +module.exports= { | ||
| 2 | + html: function(title,style,list,body,control){ | ||
| 3 | + return ` | ||
| 4 | + <!doctype html> | ||
| 5 | + <html> | ||
| 6 | + <head> | ||
| 7 | + <title>WEB - ${title}</title> | ||
| 8 | + <meta charset="utf-8"> | ||
| 9 | + </head> | ||
| 10 | + <body> | ||
| 11 | + <h1><a href="/">WEB</a></h1> | ||
| 12 | + <div id="map" style=${style}></div> | ||
| 13 | + ${list} | ||
| 14 | + ${control} | ||
| 15 | + ${body} | ||
| 16 | + <p></p> | ||
| 17 | + </body> | ||
| 18 | + </html> | ||
| 19 | + `; | ||
| 20 | + } | ||
| 21 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment