-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·53 lines (47 loc) · 3.01 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
<!DOCTYPE html>
<html ng-app="inventoryApp">
<head>
<title>InventoryApp</title>
<link rel="shortcut icon" href="images/favicon.png">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="plugin/angular-loading-bar/loading-bar.css">
<link rel="stylesheet" href="plugin/angular-chart/angular-chart.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="angular-1.4.6/angular.js"></script>
<script type="text/javascript" src="angular-1.4.6/angular-route.min.js"></script>
<script type="text/javascript" src="angular-1.4.6/angular-animate.min.js"></script>
<script type="text/javascript" src="angular-1.4.6/angular-cookies.min.js"></script>
<script type="text/javascript" src="angular-1.4.6/angular-sanitize.min.js"></script>
<!-- Angular Module/Plugin -->
<script type="text/javascript" src="plugin/ngCart/ngCart.js"></script>
<script type="text/javascript" src="plugin/paging/dirPagination.js"></script>
<script type="text/javascript" src="plugin/angular-loading-bar/loading-bar.js"></script>
<script type="text/javascript" src="plugin/angular-chart/Chart.js"></script>
<script type="text/javascript" src="plugin/angular-chart/angular-chart.min.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<!-- <base href="/inventoryApp/"> -->
</head>
<body ng-controller='ctrlApp'>
<header class="sidebar" ng-if="$route.current.activetab !== 'login'">
<ul>
<li><a href="#/" ng-class="{active: $route.current.activetab == 'home'}"><span><i class="fa fa-home"></i> Home</span></a></li>
<li><a href="#transaksi" ng-class="{active: $route.current.activetab == 'transaksi'}"><span><i class="fa fa-cart-plus"></i> Shopping<span class="badge" ng-show="ngCart.getTotalItems() > 0">{{ ngCart.getTotalItems() }}</span></span> </a></li>
<li><a href="#transaksi-list" ng-class="{active: $route.current.activetab == 'transaksi-list'}"><span><i class="fa fa-tasks"></i> Transactions <span class="badge">{{ rowtrans }}</span></span></a></li>
<li><a href="#product" ng-class="{active: $route.current.activetab == 'product'}"><span><i class="fa fa-briefcase"></i> Products <span class="badge">{{ rowdata }}</span></span></a></li>
<li><a href="#report" ng-class="{active: $route.current.activetab == 'report'}"><span><i class="fa fa-file-text-o"></i> Report</span></a></li>
<!-- <li><a ng-click="logout()"><span><i class="fa fa-sign-out"></i> Logout</span></a></li> -->
</ul>
</header>
<div id="content" class="main-content" ng-class="{'no-sidebar': $route.current.activetab == 'login'}">
<div class="main-bars" ng-if="$route.current.activetab !== 'login'">
<div class="container">
<p class="pull-left"><b>Welcome,</b> {{ profile[0].nama_lengkap }} ({{ profile[0].email }})</p>
<a ng-click="logout()" class="pull-right">Logout <i class="fa fa-sign-out"></i></a>
</div>
</div>
<div ng-view class="cover"></div>
</div>
</body>
</html>