diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-07-16 03:44:30 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-07-16 03:44:30 -0400 |
commit | f2159db19a5aeeb4b4b7a53d065480adf1df47fc (patch) | |
tree | e25ec715377d7db94b85f58a01bb9b8fee3962bb /src/views/project.ecr | |
parent | a5ca317ae0d2169a70d224ff65ad12f6e9aaa5e0 (diff) | |
download | guff-f2159db19a5aeeb4b4b7a53d065480adf1df47fc.tar.bz2 guff-f2159db19a5aeeb4b4b7a53d065480adf1df47fc.zip |
first crack at project rendering
Diffstat (limited to 'src/views/project.ecr')
-rw-r--r-- | src/views/project.ecr | 31 |
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> |