• This project
    • Loading...
  • Sign in

이혜인 / Multiplex_Ticketing_Platform

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Multiplex_Ticketing_Platform
  • MapAPI
  • template.js
  • 임승현's avatar
    Add Template Module · 33b291c2
    33b291c2 Browse Files
    임승현 authored 2022-05-16 21:47:01 +0900
template.js 455 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
module.exports= {
    html: function(title,style,list,body,control){
        return `
        <!doctype html>
        <html>
        <head>
          <title>WEB - ${title}</title>
          <meta charset="utf-8">
        </head>
        <body>
          <h1><a href="/">WEB</a></h1>
          <div id="map" style=${style}></div>
          ${list}
          ${control} 
          ${body}
          <p></p>
        </body>
        </html>
        `;
    }
}