-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.html
58 lines (51 loc) · 1.88 KB
/
index2.html
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
<!DOCTYPE html>
<html lang="en" data-ng-app="FileManagerApp">
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>EasyExplorer</title>
<script src="static/angular/angular.min.js"></script>
<script src="static/goog_woff/angular-route.min.js"></script>
<script src="static/ng-file-upload/ng-file-upload.min.js"></script>
<script src="static/angular-translate/angular-translate.min.js"></script>
<script src="static/jquery/dist/jquery.min.js"></script>
<script src="static/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="https://at.alicdn.com/t/font_1108981_zg7zb5m574.js"></script>
<link rel="stylesheet" href="static/bootswatch/paper/bootstrap.min.css">
<link href="static/angular-filemanager.min.css" rel="stylesheet">
<script src="static/angular-filemanager.min.js"></script>
<!-- https://github.com/joni2back/angular-filemanager/blob/1.4.0/src/js/providers/config.js -->
<script type="text/javascript">
angular.module('FileManagerApp').config(['fileManagerConfigProvider', function (config) {
var defaults = config.$get();
config.set({
appName: 'User: root',
uploadUrl: "/api/upload",
downloadFileUrl: "/files",
allowedActions: angular.extend(defaults.allowedActions, {
upload: true,
rename: true,
move: true,
copy: true,
edit: true,
changePermissions: true,
compress: true,
compressChooseName: true,
extract: true,
download: true,
downloadMultiple: false,
preview: true,
remove: true,
createFolder: true,
pickFiles: false,
pickFolders: false
}),
tplPath: "static/templates"
});
}]);
</script>
</head>
<body class="ng-cloak">
<angular-filemanager></angular-filemanager>
</body>
</html>