forked from joni2back/angular-filemanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (72 loc) · 3.29 KB
/
index.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!doctype html>
<html lang="en" data-ng-app="FileManagerApp">
<head>
<!--
* Angular FileManager v1.5.1 (https://github.com/joni2back/angular-filemanager)
* Jonas Sciangula Street <joni2back@gmail.com>
* Licensed under MIT (https://github.com/joni2back/angular-filemanager/blob/master/LICENSE)
-->
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>angular-filemanager</title>
<!-- third party -->
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/angular-translate/dist/angular-translate.min.js"></script>
<script src="node_modules/ng-file-upload/dist/ng-file-upload.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="node_modules/bootswatch/paper/bootstrap.min.css" />
<!-- /third party -->
<!-- Uncomment if you need to use raw source code
<script src="src/js/app.js"></script>
<script src="src/js/directives/directives.js"></script>
<script src="src/js/filters/filters.js"></script>
<script src="src/js/providers/config.js"></script>
<script src="src/js/entities/chmod.js"></script>
<script src="src/js/entities/item.js"></script>
<script src="src/js/services/apihandler.js"></script>
<script src="src/js/services/apimiddleware.js"></script>
<script src="src/js/services/filenavigator.js"></script>
<script src="src/js/providers/translations.js"></script>
<script src="src/js/controllers/main.js"></script>
<script src="src/js/controllers/selector-controller.js"></script>
<link href="src/css/animations.css" rel="stylesheet">
<link href="src/css/dialogs.css" rel="stylesheet">
<link href="src/css/main.css" rel="stylesheet">
-->
<!-- Comment if you need to use raw source code -->
<link href="dist/angular-filemanager.min.css" rel="stylesheet">
<script src="dist/angular-filemanager.min.js"></script>
<!-- /Comment if you need to use raw source code -->
<script type="text/javascript">
//example to override angular-filemanager default config
angular.module('FileManagerApp').config(['fileManagerConfigProvider', function (config) {
var defaults = config.$get();
config.set({
appName: 'angular-filemanager',
pickCallback: function(item) {
var msg = 'Picked %s "%s" for external use'
.replace('%s', item.type)
.replace('%s', item.fullPath());
window.alert(msg);
},
allowedActions: angular.extend(defaults.allowedActions, {
pickFiles: false,
pickFolders: false,
}),
});
}]);
</script>
</head>
<body class="ng-cloak">
<angular-filemanager></angular-filemanager>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-35182652-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>