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">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Leohl !dworl</title>
|
<title>Leohl !dworl</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<%- include('partials/header.ejs') %>
|
||||||
<h1>Naisu</h1>
|
<h1>Naisu</h1>
|
||||||
<h2>
|
<h2>
|
||||||
<%= message %>
|
<%= message %>
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<%- include('partials/header.ejs') %>
|
||||||
<h1>
|
<h1>
|
||||||
<%= member.name %>
|
<%= member.name %>
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
</title>
|
</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<%- include('partials/header.ejs') %>
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
Liste des membres
|
Liste des membres
|
||||||
</h1>
|
</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