diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-07-28 02:10:45 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-07-28 02:10:45 -0400 |
commit | bff93d5b6a46e6c996e43dc4d669a4514da87cc6 (patch) | |
tree | 981b5a4157643656a1f7cd2d49edae6ad76215c4 /src/views/panes/admin/files.ecr | |
parent | eaa2aa3cefdf2bc544d000048659968acc1afe2a (diff) | |
download | guff-bff93d5b6a46e6c996e43dc4d669a4514da87cc6.tar.bz2 guff-bff93d5b6a46e6c996e43dc4d669a4514da87cc6.zip |
refactor dialog and pane templates
Diffstat (limited to 'src/views/panes/admin/files.ecr')
-rw-r--r-- | src/views/panes/admin/files.ecr | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/src/views/panes/admin/files.ecr b/src/views/panes/admin/files.ecr new file mode 100644 index 0000000..d5c4f0d --- /dev/null +++ b/src/views/panes/admin/files.ecr @@ -0,0 +1,124 @@ +<div + id='admin-pane-files' + class='tab-pane' + role='tabpanel' +> + <div class='panel panel-default'> + <div class='panel-heading'> + <div class='btn-toolbar'> + <div class='btn-group btn-group-sm'> + <a + href='#' + id='files-upload' + class='btn btn-primary' + title='Upload file to current directory.' + > + <i class='fa fa-upload'></i> + Upload File... + </a><!-- btn --> + </div><!-- btn-group --> + + <div class='btn-group btn-group-sm'> + <a + href='#' + id='files-mkdir' + class='btn btn-default' + title='Create folder in current directory.' + > + <span class='loading'> + <i class='fa fa-folder'></i> + </span><!-- loading --> + + <span class='loading hidden'> + <i class='fa fa-spinner fa-spin'></i> + </span><!-- loading --> + + New Folder... + </a><!-- btn --> + </div><!-- btn-group --> + + <div class='btn-group btn-group-sm'> + <a + href='#' + class='btn btn-default' + title='View actions.' + data-toggle='dropdown' + > + <i class='fa fa-clone'></i> + File Actions + <i class='fa fa-caret-down'></i> + </a><!-- btn --> + + <ul id='file-actions' class='dropdown-menu'> + <li> + <a + href='#' + title='Download selected file.' + data-id='download' + > + <i class='fa fa-download'></i> + Download File + </a><!-- btn --> + </li> + + <li> + <a + href='#' + title='Move selected file or folder.' + data-id='move' + > + <i class='fa fa-folder-open-o'></i> + Move + </a><!-- btn --> + </li> + + <li> + <a + href='#' + title='Delete selected file or folder.' + data-id='delete' + > + <i class='fa fa-trash-o'></i> + Delete + </a><!-- btn --> + </li> + </ul><!-- dropdown-menu --> + </div><!-- btn-group --> + + <div class='btn-group btn-group-sm pull-right'> + <a + href='#' + id='files-reload' + class='btn btn-default' + title='Reload files.' + > + <span class='loading'> + <i class='fa fa-fw fa-refresh'></i> + </span> + + <span class='loading hidden'> + <i class='fa fa-fw fa-spinner fa-spin'></i> + </span> + </a><!-- btn --> + </div><!-- btn-group --> + + <div class='btn-group btn-group-sm pull-right'> + <span + class='btn' + title='Number of files in current directory.' + > + <span id='files-count'>0</span> Files + </span><!-- btn --> + </div><!-- btn-group --> + </div><!-- btn-toolbar --> + </div><!-- panel-heading --> + + <div class='panel-heading'> + <div id='files-crumbs' class='btn-toolbar'> + </div><!-- btn-toolbar --> + </div><!-- panel-heading --> + + <div id='files' class='list-group'> + </div><!-- panel-body --> + </div><!-- panel --> +</div><!-- tab-pane --> |