diff options
-rw-r--r-- | src/guff/views/ecrs/test/auth.ecr | 22 | ||||
-rw-r--r-- | src/guff/views/html/test/auth.cr | 15 |
2 files changed, 32 insertions, 5 deletions
diff --git a/src/guff/views/ecrs/test/auth.ecr b/src/guff/views/ecrs/test/auth.ecr index 228c0a5..9c2353b 100644 --- a/src/guff/views/ecrs/test/auth.ecr +++ b/src/guff/views/ecrs/test/auth.ecr @@ -746,6 +746,28 @@ rows='15' ></textarea> </div><!-- form-group --> + + <div class='form-group'> + <div class='checkbox'> + <label for='project-edit-published'> + <input + type='checkbox' + id='project-edit-published' + title='Toggle visibility of this project.' + aria-describedby='project-edit-published-help' + /> + + Published + </label><!-- published --> + </div><!-- checkbox --> + + <p + id='project-edit-published-help' + class='help-block' + > + Is this project visible? + </p> + </div><!-- form-group --> </div><!-- modal-body --> <div class='modal-footer'> diff --git a/src/guff/views/html/test/auth.cr b/src/guff/views/html/test/auth.cr index 59e151f..429bdba 100644 --- a/src/guff/views/html/test/auth.cr +++ b/src/guff/views/html/test/auth.cr @@ -57,19 +57,24 @@ class Guff::TestAuthHTMLView title='Choose post type.' data-toggle='dropdown' > + <span class='hidden'> + <i class='fa fa-plus-circle'></i> + New + </span> + <i class='fa fa-caret-down'></i> </a> <ul class='dropdown-menu'> - <li> + <li class='hidden'> <a href='#' title='Create new blog post.' data-toggle='modal' data-target='#blog-edit-dialog' > - <i class='fa fa-bullhorn'></i> - New Blog Post + <i class='fa fa-fw fa-bullhorn'></i> + New Post </a> </li> @@ -80,7 +85,7 @@ class Guff::TestAuthHTMLView data-toggle='modal' data-target='#page-edit-dialog' > - <i class='fa fa-bookmark-o'></i> + <i class='fa fa-fw fa-bookmark-o'></i> New Page </a> </li> @@ -92,7 +97,7 @@ class Guff::TestAuthHTMLView data-toggle='modal' data-target='#project-edit-dialog' > - <i class='fa fa-cube'></i> + <i class='fa fa-fw fa-cube'></i> New Project </a> </li> |