feat: add headers to template files
This commit is contained in:
parent
5d4b107a00
commit
9a18f9ce11
@ -6,8 +6,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Leohl !dworl</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<%- include('partials/header.ejs') %>
|
||||
<h1>Naisu</h1>
|
||||
<h2>
|
||||
<%= message %>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<%- include('partials/header.ejs') %>
|
||||
<h1>
|
||||
<%= member.name %>
|
||||
</h1>
|
||||
|
@ -8,6 +8,8 @@
|
||||
</title>
|
||||
</head>
|
||||
<body>
|
||||
<%- include('partials/header.ejs') %>
|
||||
|
||||
<h1>
|
||||
Liste des membres
|
||||
</h1>
|
||||
|
18
back-end/src/templates/partials/header.ejs
Normal file
18
back-end/src/templates/partials/header.ejs
Normal file
@ -0,0 +1,18 @@
|
||||
<style>
|
||||
.header nav ul {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
}
|
||||
</style>
|
||||
<header class="header">
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/membres">
|
||||
Membres
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
Loading…
x
Reference in New Issue
Block a user