]>
Commit | Line | Data |
---|---|---|
947f0963 TL |
1 | Ext.define('Neptune.store.FileSystem', { |
2 | extend: 'Ext.data.TreeStore', | |
3 | fields: ['text', 'modified', 'size', 'permissions'], | |
4 | root: { | |
5 | text: 'File System', | |
6 | expanded: true, | |
7 | children: [ | |
8 | { | |
9 | text: 'Applications', | |
10 | expanded: true, | |
11 | modified: '1/15/2012', | |
12 | size: 0, | |
13 | permissions: 'drwxrwxr-x+', | |
14 | children: [ | |
15 | { text: 'Adobe Fireworks CS6', modified: '7/25/2011', size: 34052, permissions: 'drwxrwxr-x@', leaf: true }, | |
16 | { text: 'Ext Js', modified: '12/13/2012', size: 3592, permissions: 'drwxr-xr-x', leaf: true }, | |
17 | { text: 'Mail.app', modified: '9/27/2012', size: 1024, permissions: 'drwxr-xr-x', leaf: true } | |
18 | ] | |
19 | }, | |
20 | { | |
21 | text: 'usr', | |
22 | expanded: true, | |
23 | modified: '9/21/2012', | |
24 | size: 0, | |
25 | permissions: 'drwxrwxr-x+', | |
26 | children: [ | |
27 | { | |
28 | text: 'bin', | |
29 | modified: '9/27/2012', | |
30 | size: 0, | |
31 | permissions: 'drwxr-xr-x@', | |
32 | children: [ | |
33 | { text: 'java', modified: '10/23/2012', size: 8, permissions: 'lrwxr-xr-x', leaf: true }, | |
34 | { text: 'python', modified: '1/8/2012', size: 32, permissions: '-rwxr-xr-x', leaf: true }, | |
35 | { text: 'unzip', modified: '1/8/2012', size: 232, permissions: '-rwxr-xr-x', leaf: true } | |
36 | ] | |
37 | }, | |
38 | { | |
39 | text: 'etc', | |
40 | expanded: true, | |
41 | modified: '1/8/2012', | |
42 | size: 8, | |
43 | permissions: 'lrwxr-xr-x@', | |
44 | children: [ | |
45 | { text: 'apache2', modified: '1/8/2012', size: 32, permissions: 'drwxr-xr-x', leaf: true }, | |
46 | { text: 'bashrc', modified: '11/18/2012', size: 0, permissions: '-r--r--r--', leaf: true }, | |
47 | { text: 'hosts', modified: '3/23/2012', size: 8, permissions: '-rw-r--r--', leaf: true } | |
48 | ] | |
49 | } | |
50 | ] | |
51 | }, | |
52 | { | |
53 | text: 'var', | |
54 | modified: '12/17/2012', | |
55 | size: 0, | |
56 | permissions: 'drwxr-xr-x', | |
57 | children: [ | |
58 | { | |
59 | text: 'www', | |
60 | modified: '8/3/2012', | |
61 | size: 420, | |
62 | permissions: '-rw-r--r--', | |
63 | children: [ | |
64 | { text: 'index.html', modified: '3/14/2012', size: 8, permissions: '-rw-r--r--', leaf: true }, | |
65 | { text: 'extjs', modified: '5/9/2012', size: 2352, permissions: '-rw-r--r--', leaf: true }, | |
66 | { text: 'sencha touch', modified: '6/29/2012', size: 1523, permissions: '-rw-r--r--', leaf: true } | |
67 | ] | |
68 | } | |
69 | ] | |
70 | } | |
71 | ] | |
72 | } | |
73 | }); |