diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-05-24 13:30:11 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-05-24 13:30:11 -0400 |
commit | c1c4c03d394e8701cfd4640d8571afacc83d2ba2 (patch) | |
tree | 0090f2fbc06dd3950919565057c4c57dd2aba222 /src/views | |
parent | bca20f7c94e74f0d7666700829d50efbf70d129c (diff) | |
download | guff-c1c4c03d394e8701cfd4640d8571afacc83d2ba2.tar.bz2 guff-c1c4c03d394e8701cfd4640d8571afacc83d2ba2.zip |
enable post list
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/admin-page.ecr | 53 |
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 --> |