diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-04-02 23:29:36 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-04-02 23:29:36 -0400 |
commit | 61a67bed2f05c274cd28e29617770af262f3be2e (patch) | |
tree | bc792789792ff56a98531ea88d6de880701005fa /src | |
parent | d8bc1820893d343359a5a8d973cac1db761cffde (diff) | |
download | old-guff-61a67bed2f05c274cd28e29617770af262f3be2e.tar.bz2 old-guff-61a67bed2f05c274cd28e29617770af262f3be2e.zip |
add new post link to home and posts tabs
Diffstat (limited to 'src')
-rw-r--r-- | src/guff/models/tab.cr | 2 | ||||
-rw-r--r-- | src/guff/views/ecrs/test/auth.ecr | 34 |
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 |