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.ecr53
1 files changed, 45 insertions, 8 deletions
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr
index ab882ce..39b4de3 100644
--- a/src/views/admin-page.ecr
+++ b/src/views/admin-page.ecr
@@ -83,13 +83,52 @@
<div class='btn-group btn-group-sm'><%=
new_post_button
%></div><!-- btn-group -->
+
+ <div class='btn-group btn-group-sm pull-right'>
+ <a
+ href='#'
+ class='btn btn-default search-toggle'
+ title='Toggle search field.'
+ >
+ <i class='fa fa-search'></i>
+ </a><!-- btn-->
+ </div><!-- btn-group -->
+
+ <div class='btn-group btn-group-sm pull-right'>
+ <a
+ href='#'
+ id='posts-reload'
+ class='btn btn-default'
+ title='Reload posts'
+ >
+ <span class='loading'>
+ <i class='fa fa-refresh'></i>
+ </span>
+
+ <span class='loading hidden'>
+ <i class='fa fa-spinner fa-spin'></i>
+ </span>
+ </a><!-- btn -->
+ </div><!-- btn-group -->
</div><!-- btn-toolbar -->
</div><!-- panel-heading -->
- <div class='panel-body'>
- <p>
- TODO: posts
- </p>
+ <div class='panel-heading hidden search-toggle'>
+ <div class='input-group input-group-sm'>
+ <span class='input-group-addon'>
+ <i class='fa fa-search'></i>
+ </span>
+
+ <input
+ type='text'
+ id='posts-q'
+ class='form-control'
+ title='Enter search terms'
+ />
+ </div><!-- input-group -->
+ </div><!-- panel-heading -->
+
+ <div id='posts' class='list-group'>
</div><!-- panel-body -->
</div><!-- panel -->
</div><!-- tab-pane -->
@@ -103,10 +142,8 @@
<div class='panel-heading'>
</div><!-- panel-heading -->
- <div class='panel-body'>
- <p>
- TODO: files
- </p>
+ <div id='files' class='list-group'>
+ TODO: files
</div><!-- panel-body -->
</div><!-- panel -->
</div><!-- tab-pane -->