first commit
This commit is contained in:
parent
2430371884
commit
a1c86e9cfb
13 changed files with 669 additions and 0 deletions
31
ejs/index.ejs
Normal file
31
ejs/index.ejs
Normal file
|
@ -0,0 +1,31 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<% include ./head %>
|
||||
</head>
|
||||
<body class="container">
|
||||
|
||||
<div class="jumbotron">
|
||||
<h1>Workshops</h1>
|
||||
<p>here is the list of workshop</p>
|
||||
</div>
|
||||
|
||||
<a type="button" href="/workshop" class="btn btn-success btn-lg">Create new workshop</a>
|
||||
|
||||
<ul class="list-unstyled"></ul>
|
||||
<% workshops.forEach(function(workshop) { %>
|
||||
<li class="media my-4">
|
||||
<div class="media-body">
|
||||
<h5 class="mt-0 mb-1"><%= workshop.name %></h5>
|
||||
<%= workshop.description %> </div>
|
||||
</li>
|
||||
<% }); %>
|
||||
</ul>
|
||||
|
||||
<footer>
|
||||
<% include ./footer %>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue