diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-05-23 14:45:58 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-05-23 14:45:58 -0400 |
commit | d54f952db59093b4a08bedae10258badbe915283 (patch) | |
tree | 45c4edbf404aa48667999c50cd1bd4d912bbfe74 /src | |
parent | d9c6f7474cef71fd3b05442bf881d0a258b1e64c (diff) | |
download | guff-d54f952db59093b4a08bedae10258badbe915283.tar.bz2 guff-d54f952db59093b4a08bedae10258badbe915283.zip |
add tags and visibility state to blog edit dialog
Diffstat (limited to 'src')
-rw-r--r-- | src/views/admin-page.ecr | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index 7614453..f1b8b01 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -500,6 +500,69 @@ Body of this blog entry. </p> </div><!-- form-group --> + + <div class='row'> + <div class='col-md-6'> + <div class='form-group'> + <label for='blog-edit-tags'> + Tags + </label> + + <input + type='text' + id='blog-edit-tags' + class='form-control' + title='Enter tags for this blog entry.' + placeholder='Blog Entry Tags' + aria-describedby='blog-edit-tags-help' + /> + + <p id='blog-edit-tags-help' class='help-block'> + Space-delimited list of tags. + </p> + </div><!-- form-group --> + </div><!-- col-md-6 --> + + <div class='col-md-6'> + <label> + State + </label> + + <div class='btn-group btn-group-justified'> + <a + href='#' + class='btn btn-primary post-state' + title='Mark this page as a draft.' + > + <i class='fa fa-wrench'></i> + Draft + </a> + + <a + href='#' + class='btn btn-default post-state' + title='Mark this page as published.' + > + <i class='fa fa-bullhorn'></i> + Published + </a> + + <a + href='#' + class='btn btn-default post-state' + title='Mark this page as deleted.' + > + <i class='fa fa-trash'></i> + Deleted + </a> + </div><!-- btn-group --> + + <p class='help-block'> + Visibility state of this page. + </p> + </div><!-- col-md-6 --> + </div><!-- row --> + </div><!-- modal-body --> <div class='modal-footer'> |