diff --git a/views/project.ejs b/views/project.ejs new file mode 100644 index 0000000..c04e1e2 --- /dev/null +++ b/views/project.ejs @@ -0,0 +1,71 @@ +<%- include('partials/header') %> + +
+

<%= projekt.name %>

+

<%= projekt.kurzbeschreibung %>

+

<%= projekt.beschreibung %>

+

+ Repository Link +

+ Zurück zur Projektliste + + <% if (session && session.role === 'admin') { %> + + <% } %> +
+ +<% if (session && session.role === 'admin') { %> +
+
+ + + + + + + + + + +
+ + +
+<% } %> + + + +<%- include('partials/footer') %> diff --git a/views/projects.ejs b/views/projects.ejs new file mode 100644 index 0000000..1c4da33 --- /dev/null +++ b/views/projects.ejs @@ -0,0 +1,68 @@ +<%- include('partials/header') %> + +

Meine Projekte

+ + +<% if (session && session.role === 'admin') { %> + + + + + +<% } %> <%- include('partials/footer') %>