aboutsummaryrefslogtreecommitdiff
path: root/src/views/panes/admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/panes/admin')
-rw-r--r--src/views/panes/admin/files.ecr31
-rw-r--r--src/views/panes/admin/posts.ecr4
2 files changed, 29 insertions, 6 deletions
diff --git a/src/views/panes/admin/files.ecr b/src/views/panes/admin/files.ecr
index d5c4f0d..f0fe602 100644
--- a/src/views/panes/admin/files.ecr
+++ b/src/views/panes/admin/files.ecr
@@ -9,15 +9,40 @@
<div class='btn-group btn-group-sm'>
<a
href='#'
- id='files-upload'
class='btn btn-primary'
- title='Upload file to current directory.'
+ title='Upload file(s) to current directory.'
+ data-toggle='dropdown'
>
<i class='fa fa-upload'></i>
- Upload File...
+ Upload
+ <i class='fa fa-caret-down'></i>
</a><!-- btn -->
+
+ <ul id='files-upload' class='dropdown-menu'>
+ <li role='presentation'>
+ <a
+ href='#'
+ title='Upload file to current directory.'
+ data-id='file'
+ >
+ Upload File...
+ </a>
+ </li>
+
+ <li role='presentation'>
+ <a
+ href='#'
+ title='Upload multiple files as a zip file.'
+ data-id='zip'
+ >
+ Bulk Upload...
+ </a>
+ </li>
+ </ul><!-- dropdown-menu -->
</div><!-- btn-group -->
+ <%= divider %>
+
<div class='btn-group btn-group-sm'>
<a
href='#'
diff --git a/src/views/panes/admin/posts.ecr b/src/views/panes/admin/posts.ecr
index 5b8e669..7e5adb9 100644
--- a/src/views/panes/admin/posts.ecr
+++ b/src/views/panes/admin/posts.ecr
@@ -10,9 +10,7 @@
new_post_button
%></div><!-- btn-group -->
- <div class='btn-group btn-group-sm'>
- <span>&nbsp;&nbsp;</span>
- </div><!-- btn-group -->
+ <%= divider %>
<div class='btn-group btn-group-sm'><%=
dropdown(