diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/guff.cr | 2 | ||||
-rw-r--r-- | src/views/admin-page.ecr | 40 |
2 files changed, 32 insertions, 10 deletions
diff --git a/src/guff.cr b/src/guff.cr index 19a3ace..b082b4e 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -1631,7 +1631,7 @@ module Guff state_button: " <a href='#' - class='btn %s post-state' + class='btn %s' title='Mark as %s.' > <i class='fa %s'></i> diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index a1a636e..71beb6f 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -333,7 +333,21 @@ </h4><!-- modal-title --> </div><!-- modal-header --> - <div class='modal-body'> + <div class='modal-body loading-text'> + <p> + <i class='fa fa-spinner fa-spin'></i> + Loading... + </p> + </div><!-- modal-body --> + + <div class='modal-body loading-error'> + <div class='well well'> + <i class='fa fa-exclamation-triangle'></i> + Error: <span class='error-text'></span> + </div><!-- well --> + </div><!-- modal-body --> + + <div class='modal-body loading-done'> <div class='form-group'> <label for='user-edit-name'> Name @@ -528,7 +542,7 @@ State </label> - <div class='btn-group btn-group-justified'><%= + <div class='btn-group btn-group-justified state-buttons'><%= state_buttons %></div><!-- btn-group --> @@ -669,11 +683,12 @@ Layout </label> - <div class='btn-group btn-group-justified'> + <div class='btn-group btn-group-justified state-buttons'> <a href='#' - class='btn btn-default post-state' + class='btn btn-default' title='Use blank layout for this page.' + data-val='blank' > <i class='fa fa-file-o'></i> Blank @@ -681,8 +696,9 @@ <a href='#' - class='btn btn-primary post-state' + class='btn btn-primary' title='Use default layout for this page.' + data-val='default' > <i class='fa fa-newspaper-o'></i> Default @@ -699,7 +715,7 @@ State </label> - <div class='btn-group btn-group-justified'><%= + <div class='btn-group btn-group-justified state-buttons'><%= state_buttons %></div><!-- btn-group --> @@ -861,7 +877,7 @@ State </label> - <div class='btn-group btn-group-justified'><%= + <div class='btn-group btn-group-justified state-buttons'><%= state_buttons %></div><!-- btn-group --> @@ -910,8 +926,14 @@ assets/bootstrap-3.3.6/js/bootstrap.min.js assets/ckeditor-4.5.8-custom/ckeditor.js assets/js/search-field.js - assets/js/admin/users.js - assets/js/admin/posts.js + assets/js/admin/tabs/users.js + assets/js/admin/tabs/posts.js + assets/js/admin/dialogs/user-add.js + assets/js/admin/dialogs/user-edit.js + assets/js/admin/dialogs/post-edit.js + assets/js/admin/dialogs/blog-edit.js + assets/js/admin/dialogs/page-edit.js + assets/js/admin/dialogs/project-edit.js } %> </html> |