-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
98 lines (81 loc) · 5.19 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="libs/css/jquery-ui.min.css" />
<link rel="stylesheet" href="libs/css/bootstrap.min.css" />
<link rel="stylesheet" href="libs/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="app.css" />
<script src="libs/js/jquery.1.11.min.js"></script>
<script src="libs/js/jquery-ui.min.js"></script>
<script src="libs/js/bootstrap.min.js"></script>
<script src="libs/js/bootbox.min.js"></script>
<script src="js/live-reload.js"></script>
<script src="libs/js/angular.js"></script>
<script src="libs/js/smart-table.js"></script>
<script src="libs/js/ngBootbox.min.js"></script>
<script src="app.js"></script>
<title>NeXplorer</title>
</head>
<body ng-app="nexplorer">
<div ng-controller="MainController" class="container-fluid">
<div class="row address-bar">
<div class="input-group">
<div class="input-group-btn">
<a class="btn btn-default" href="#" ng-click="changeToParentDir()" role="button"><span class="glyphicon glyphicon glyphicon-chevron-up" aria-hidden="true"></span></a>
<!--<a class="btn btn-default" href="#" role="button"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span></a>-->
<!--<a class="btn btn-default" href="#" role="button"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></a>-->
</div>
<input type="text" class="form-control" ng-model="addressBar" ng-change="changeDir(addressBar)">
<div class="input-group-btn">
<a class="btn btn-default" ng-click="changeViewMode('thumb')" role="button"><span class="glyphicon glyphicon glyphicon-th-large" aria-hidden="true"></span></a>
<a class="btn btn-default" ng-click="changeViewMode('list')" role="button"><span class="glyphicon glyphicon-th-list" aria-hidden="true"></span></a>
</div>
</div>
</div>
<div st-table="displayedData" st-safe-src="currentFiles">
<!-- SmartTable module scope-->
<div class="row files-box">
<div class="col-md-2">
</div>
<div class="col-md-12">
<div ng-show="fileCount==0">
<div class="jumbotron" style="text-align:center">
<h1> Nothing Here! :P</h1>
<p>...</p>
<a class="btn btn-primary btn-lg" ng-click="changeToParentDir()" role="button">
<span class="glyphicon glyphicon glyphicon-chevron-left" aria-hidden="true"></span> Go back ?
</a>
</div>
</div>
<div ng-show="fileCount>0" ng-include="itemsViewMode"></div>
</div>
</div>
<div class="row bottom-bar">
<div class="input-group">
<div class="input-group-btn">
<span class="btn btn-default"><span class="glyphicon glyphicon" ng-class="statusIcon" aria-hidden="true"></span> <strong> {{ currentDir }} </strong> </span>
<!--<a class="btn btn-default" href="#" role="button"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span></a>-->
<!--<a class="btn btn-default" href="#" role="button"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></a>-->
<span class="btn btn-default" style="padding:3px 10px;" ng-bootbox-prompt="Enter the directory name" ng-bootbox-prompt-action="mkDir(result)" >
<i class="glyphicon glyphicon-folder-open" style="font-size:21px; padding:0px"></i>
<i class="glyphicon glyphicon-plus overlay" style="color:orange" ></i>
</span>
<span class="btn btn-default " style="padding:3px 10px;" ng-bootbox-prompt="Enter the file name" ng-bootbox-prompt-action="mkFile(result)">
<i class="glyphicon glyphicon-file" style="font-size:21px; padding:0px"></i>
<i class="glyphicon glyphicon-plus overlay" style="color:orange" ></i>
</span>
</div>
<input type="search" st-search="name" ng-model="searchInput" class="form-control" placeholder="Search">
<div class="input-group-btn">
<span class="btn btn-default"> <strong> {{dirSize |bytes}} </strong> </span>
<span class="btn btn-default"> <strong> {{fileCount}} files </strong> </span>
</div>
</div>
</div>
</div>
</div>
</body>
</html>