diff --git a/views/admin_panel.hbs b/views/admin_panel.hbs new file mode 100644 index 0000000..f44f1a4 --- /dev/null +++ b/views/admin_panel.hbs @@ -0,0 +1,108 @@ +{{> navbar }} + +
+
+
+
+
+
+
+ All articles: + 123456 +
+
+
+
+
+
+ +
+
+ +
+ +
+
+
+
+ +
+
+
+ + + + + + + + + + + {{#each articles as |article|}} + {{> article_row article=article }} + {{/each}} + +
TitleBrief contentCreated/Update
+
+ +
+
+
+ + + + + + + +
diff --git a/views/article_row.hbs b/views/article_row.hbs new file mode 100644 index 0000000..220be4a --- /dev/null +++ b/views/article_row.hbs @@ -0,0 +1 @@ +{{> article_row article=article }} diff --git a/views/partials/article_row.hbs b/views/partials/article_row.hbs new file mode 100644 index 0000000..8c7ab2a --- /dev/null +++ b/views/partials/article_row.hbs @@ -0,0 +1,35 @@ + + +
+ {{ article.title }} +
+ + + {{ article.content }} + + {{ article.created }} + +
+ + + +
+ +