diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-07-29 17:45:17 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-07-29 17:45:17 -0400 |
commit | 7d0f835f1da22ae6a0afcbae0db2bebe72ec1426 (patch) | |
tree | ed9ed63f8bba2f09c8d3be8d35dbfc1c60d212b3 /src/views/panes/admin/files.ecr | |
parent | 400a618843467ff7a2b6133711201d858451557b (diff) | |
download | guff-7d0f835f1da22ae6a0afcbae0db2bebe72ec1426.tar.bz2 guff-7d0f835f1da22ae6a0afcbae0db2bebe72ec1426.zip |
make upload a dropdown, add consistent button divider
Diffstat (limited to 'src/views/panes/admin/files.ecr')
-rw-r--r-- | src/views/panes/admin/files.ecr | 31 |
1 files changed, 28 insertions, 3 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='#' |