diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/blog/list-item.ecr | 10 | ||||
-rw-r--r-- | src/views/blog/list.ecr | 27 | ||||
-rw-r--r-- | src/views/blog/post.ecr | 32 | ||||
-rw-r--r-- | src/views/page.ecr | 31 | ||||
-rw-r--r-- | src/views/project.ecr | 33 |
5 files changed, 0 insertions, 133 deletions
diff --git a/src/views/blog/list-item.ecr b/src/views/blog/list-item.ecr deleted file mode 100644 index 9a3bc72..0000000 --- a/src/views/blog/list-item.ecr +++ /dev/null @@ -1,10 +0,0 @@ -<% - # deprecated: replaced with theme templates -%><div class='post'> - <b><%= h(@item["name"]) %></b><br/> - <b> - by <%= h(@item["user_name"]) %> - on <%= h(@item["posted_at_text"]) %> - </b><br/><br/> - <%= @item["body"] %> -</div> diff --git a/src/views/blog/list.ecr b/src/views/blog/list.ecr deleted file mode 100644 index 240a384..0000000 --- a/src/views/blog/list.ecr +++ /dev/null @@ -1,27 +0,0 @@ -<% - # deprecated: replaced with theme templates -%><!DOCTYPE html> -<html lang='en-US'> - <head> - <meta charset="utf-8"/> - <title><%= - h(TITLE) - %></title> - - <% - # TODO: add theme styles - %> - </head> - - <body> - <b>blog list</b> - - <div class='posts'><%= - posts - %></div><!-- posts --> - </body> - - <% - # TODO: add theme scripts - %> -</html> diff --git a/src/views/blog/post.ecr b/src/views/blog/post.ecr deleted file mode 100644 index 08ac564..0000000 --- a/src/views/blog/post.ecr +++ /dev/null @@ -1,32 +0,0 @@ -<% - # deprecated: switched to theme templates -%><!DOCTYPE html> -<html lang='en-US'> - <head> - <meta charset="utf-8"/> - <title><%= - h(@item["name"]) - %></title> - - <% - # TODO: add theme styles - %> - </head> - - <body> - <b>blog post</b> - - <div class='post'> - <b><%= h(@item["name"]) %></b><br/> - <b> - by <%= h(@item["user_name"]) %> - on <%= h(@item["posted_at_text"]) %> - </b><br/><br/> - <%= @item["body"] %> - </div> - </body> - - <% - # TODO: add theme scripts - %> -</html> diff --git a/src/views/page.ecr b/src/views/page.ecr deleted file mode 100644 index a2dca05..0000000 --- a/src/views/page.ecr +++ /dev/null @@ -1,31 +0,0 @@ -<% - # deprecated: replaced with theme templates -%><!DOCTYPE html> -<html lang='en-US'> - <head> - <meta charset="utf-8"/> - <title><%= - # TODO: should call page title instead - h(@item["name"]) - %></title> - - <%= - styles - %> - </head> - - <body> - <div class='post'> - <b>page: <%= h(@item["name"]) %></b><br/> - <b> - by <%= h(@item["user_name"]) %> - on <%= h(@item["posted_at_text"]) %> - </b><br/><br/> - <%= @item["body"] %> - </div> - </body> - - <%= - scripts - %> -</html> diff --git a/src/views/project.ecr b/src/views/project.ecr deleted file mode 100644 index aba2f91..0000000 --- a/src/views/project.ecr +++ /dev/null @@ -1,33 +0,0 @@ -<% - # deprecated: replaced with theme templates -%><!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> |