임승현

Add Template Module

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