-
Notifications
You must be signed in to change notification settings - Fork 0
/
Feedbackshow.php
96 lines (86 loc) · 4.11 KB
/
Feedbackshow.php
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
<!doctype html>
<html lang="en" data-ng-app="FileManagerApp">
<head>
<!--
* Angular FileManager v1.5.1 (https://github.com/joni2back/angular-filemanager)
* Jonas Sciangula Street <[email protected]>
* 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">
<meta name="robots" content="noindex, nofollow" />
<title>000webhost File Manager</title>
<!-- third party -->
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-translate/angular-translate.min.js"></script>
<script src="bower_components/ng-file-upload/ng-file-upload.min.js"></script>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/utf8/utf8.js"></script>
<link rel="stylesheet" href="bower_components/bootswatch/paper/bootstrap.min.css" />
<script type="text/javascript" src="bower_components/ace-builds/src-min-noconflict/ace.js"></script>
<script type="text/javascript" src="bower_components/angular-ui-ace/ui-ace.js"></script>
<script type="text/javascript" src="bower_components/ace-builds/src-min-noconflict/ext-language_tools.js"></script>
<script type="text/javascript" src="bower_components/ace-builds/src-min-noconflict/ext-modelist.js"></script>
<!-- /third party -->
<!-- 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: 'File Manager',
theme: ('000webhost').toLocaleLowerCase(),
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">
<div class="user-container container-fluid" ng-controller="UserController as user">
<angular-filemanager ng-if="user.status && user.loading == 0"></angular-filemanager>
<div class="row login-page" ng-hide="user.status">
<div class="col-md-4 col-md-offset-4">
<h3><img src="assets/logo-colored.svg" class="logo" alt="logo" ng-show="'000webhost' == user.config.theme">File Manager</h3>
<div class="alert alert-warning" ng-show="user.login.error">{{user.errorMessage}}</div>
<div ng-show="user.loading > 0" ng-include="user.config.tplPath + '/spinner.html'"></div>
<form ng-submit="user.login.attempt()" ng-show="user.loading==0">
<div class="form-group">
<label for="input-username">Username:</label>
<input id="input-username" type="text" ng-model="user.login.input.username" required class="form-control">
</div>
<div class="form-group">
<label for="input-password">Password:</label>
<input id="input-password" type="password" ng-model="user.login.input.password" required class="form-control">
</div>
<p class="text-center">
<button type="submit" class="btn btn-primary btn-lg btn-login">Log In</button>
</p>
</form>
</div>
</div>
</div>
<script>
$(document).on('click', '#header-menu-button', function () {
$('#left-sidebar-container').toggleClass('toggle-left-sidebar');
});
$(window).on('resize', function () {
if ($(this).width() >= 768) {
$('#left-sidebar-container').removeClass('toggle-left-sidebar');
}
});
</script>
</body>
</html>