aboutsummaryrefslogtreecommitdiff
path: root/src/views/project.ecr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-16 03:44:30 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-16 03:44:30 -0400
commitf2159db19a5aeeb4b4b7a53d065480adf1df47fc (patch)
treee25ec715377d7db94b85f58a01bb9b8fee3962bb /src/views/project.ecr
parenta5ca317ae0d2169a70d224ff65ad12f6e9aaa5e0 (diff)
downloadguff-f2159db19a5aeeb4b4b7a53d065480adf1df47fc.tar.bz2
guff-f2159db19a5aeeb4b4b7a53d065480adf1df47fc.zip
first crack at project rendering
Diffstat (limited to 'src/views/project.ecr')
-rw-r--r--src/views/project.ecr31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/views/project.ecr b/src/views/project.ecr
new file mode 100644
index 0000000..9b1d21b
--- /dev/null
+++ b/src/views/project.ecr
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang='en-US'>
+ <head>
+ <meta charset="utf-8"/>
+ <title>Project: <%=
+ h(@item["name"])
+ %></title>
+
+ <%
+ # TODO: add theme styles
+ %>
+ </head>
+
+ <body>
+ <div class='post'>
+ <b>Project: <%= h(@item["name"]) %></b><br/>
+ <%= @item["body"] %>
+
+ <p>
+ Repo URL: <a
+ href='<%= h(@item["repo_url"]) %>'
+ title='View <%= h(@item["name"]) %> Git repository.'
+ ><%= h(@item["repo_url"]) %></a>
+ </p>
+ </div>
+ </body>
+
+ <%
+ # TODO: add theme scripts
+ %>
+</html>