aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/views')
-rw-r--r--src/views/admin-page.ecr40
1 files changed, 31 insertions, 9 deletions
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>