aboutsummaryrefslogtreecommitdiff
path: root/src/views/admin-page.ecr
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/admin-page.ecr')
-rw-r--r--src/views/admin-page.ecr72
1 files changed, 63 insertions, 9 deletions
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr
index 71beb6f..33beb24 100644
--- a/src/views/admin-page.ecr
+++ b/src/views/admin-page.ecr
@@ -226,7 +226,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'>
+ <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-add-name'>
Name
@@ -341,7 +355,7 @@
</div><!-- modal-body -->
<div class='modal-body loading-error'>
- <div class='well well'>
+ <div class='well'>
<i class='fa fa-exclamation-triangle'></i>
Error: <span class='error-text'></span>
</div><!-- well -->
@@ -441,7 +455,7 @@
</h4><!-- modal-title -->
</div><!-- modal-header -->
- <div class='modal-body'>
+ <div class='modal-body loading-done'>
<div class='row'>
<div class='col-md-6'>
<div class='form-group'>
@@ -542,7 +556,10 @@
State
</label>
- <div class='btn-group btn-group-justified state-buttons'><%=
+ <div
+ id='blog-edit-state'
+ class='btn-group btn-group-justified state-buttons'
+ ><%=
state_buttons
%></div><!-- btn-group -->
@@ -604,7 +621,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'>
+ <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='row'>
<div class='col-md-6'>
<div class='form-group'>
@@ -683,7 +714,10 @@
Layout
</label>
- <div class='btn-group btn-group-justified state-buttons'>
+ <div
+ id='page-edit-layout'
+ class='btn-group btn-group-justified state-buttons'
+ >
<a
href='#'
class='btn btn-default'
@@ -715,7 +749,10 @@
State
</label>
- <div class='btn-group btn-group-justified state-buttons'><%=
+ <div
+ id='page-edit-state'
+ class='btn-group btn-group-justified state-buttons'
+ ><%=
state_buttons
%></div><!-- btn-group -->
@@ -776,7 +813,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='row'>
<div class='col-md-6'>
<div class='form-group'>
@@ -877,7 +928,10 @@
State
</label>
- <div class='btn-group btn-group-justified state-buttons'><%=
+ <div
+ id='project-edit-state'
+ class='btn-group btn-group-justified state-buttons'
+ ><%=
state_buttons
%></div><!-- btn-group -->