template.js 1.07 KB
module.exports = {
    HTML:function(title,ch,line, body,logout,con){
      return `
      <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>${title}</title>
    <script src="jquery.js"></script>
    <script>


    </script>
    <style >

    #banner {
            position: absolute;
            top: 0;
            width: 100%;
            margin-top: ${ch};
            color: white;
        }

    #footer {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 50px;
            text-align: center;
            color: white;
        }
        ${logout}

    </style>
    ${line}
</head>
<body>
    <img src = "main_background.jpg" alt="" style="z-index:-1; min-width: 100%; height: 700px;"></img>
    <div id="banner">
       ${body}
       ${con}
    </div>

    <div id="footer">오픈소스SW Project 2019-1 고다경 김용재 김태희</div>
</body>
</html>
      `;
    }
  }