aboutsummaryrefslogtreecommitdiff
path: root/src/views/panes/admin/files.ecr
blob: f0fe602c71eec57c9e287d7395501ff396482737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<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='#'
            class='btn btn-primary'
            title='Upload file(s) to current directory.'
            data-toggle='dropdown'
          >
            <i class='fa fa-upload'></i>
            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='#'
            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 -->