aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/guff/models/tab.cr2
-rw-r--r--src/guff/views/ecrs/test/auth.ecr34
2 files changed, 35 insertions, 1 deletions
diff --git a/src/guff/models/tab.cr b/src/guff/models/tab.cr
index 20dc478..8d6428b 100644
--- a/src/guff/models/tab.cr
+++ b/src/guff/models/tab.cr
@@ -50,7 +50,7 @@ class Guff::TabModel < Guff::Model
"id": "posts",
"icon": "fa-cubes",
"name": "Posts",
- "text": "Manage blog posts, pages, and projects.",
+ "text": "Manage blog, pages, and projects.",
}, {
"id": "files",
"icon": "fa-files-o",
diff --git a/src/guff/views/ecrs/test/auth.ecr b/src/guff/views/ecrs/test/auth.ecr
index ca91e99..c6ee27f 100644
--- a/src/guff/views/ecrs/test/auth.ecr
+++ b/src/guff/views/ecrs/test/auth.ecr
@@ -24,6 +24,23 @@
<div class='tab-content'>
<div id='tab-pane-home' class='tab-pane active' role='tabpanel'>
<div class='panel panel-default'>
+ <div class='panel-heading'>
+ <div class='btn-toolbar'>
+ <div class='btn-group btn-group-sm'>
+ <a
+ href='#'
+ class='btn btn-primary'
+ title='Create new post.'
+ data-toggle='modal'
+ data-target='#add-dialog'
+ >
+ <i class='fa fa-plus-circle'></i>
+ New Post
+ </a><!-- btn -->
+ </div><!-- btn-group -->
+ </div><!-- btn-toolbar -->
+ </div><!-- panel-heading -->
+
<div class='panel-body'>
<p>
TODO: home
@@ -34,6 +51,23 @@
<div id='tab-pane-posts' class='tab-pane' role='tabpanel'>
<div class='panel panel-default'>
+ <div class='panel-heading'>
+ <div class='btn-toolbar'>
+ <div class='btn-group btn-group-sm'>
+ <a
+ href='#'
+ class='btn btn-primary'
+ title='Create new post.'
+ data-toggle='modal'
+ data-target='#add-dialog'
+ >
+ <i class='fa fa-plus-circle'></i>
+ New Post
+ </a><!-- btn -->
+ </div><!-- btn-group -->
+ </div><!-- btn-toolbar -->
+ </div><!-- panel-heading -->
+
<div class='panel-body'>
<p>
TODO: posts