add reportList

This commit is contained in:
hjd
2015-11-24 22:57:40 +08:00
parent fa59d60195
commit 5ff5b951e7
20 changed files with 215 additions and 43 deletions

45
WebRoot/html/report.html Normal file
View File

@@ -0,0 +1,45 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<html ng-app="LoginApp">
<head>
<link rel="stylesheet"
href="http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="http://apps.bdimg.com/libs/angular.js/1.3.9/angular.min.js"></script>
</head>
<body ng-controller="LoginController">
<div align="center">
<div>
<img src="/img/logo.png" width="196" height="46">
</div>
<div class="input-group">
<input type="text" class="form-control" placeholder="Username"
ng-model="user_name">
</div>
<br>
<div class="input-group">
<input type="password" class="form-control" placeholder="password"
ng-model="password">
</div>
<br>
<div>
<input type="checkbox"> Remember me
<button class="btn btn-success" ng-disabled="incomplete"
type="submit" ng-click="login()">
<span class="glyphicon glyphicon-hand-right"></span> SIGN-IN
</button>
</div>
</div>
<script src="/js/app/LoginApp.js"></script>
<script src="/js/controller/LoginController.js"></script>
</body>
</html>

View File

@@ -0,0 +1,31 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<html ng-app="ReportListApp">
<head>
<link rel="stylesheet"
href="http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="http://apps.bdimg.com/libs/angular.js/1.3.9/angular.min.js"></script>
</head>
<body ng-controller="ReportListController">
<br>
<h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>б<EFBFBD></h3>
<hr>
<ul>
<div ng-repeat="report in reportList">
<a
href="http://localhost/report/query?report_id={{report.report_id}}"><ui>{{report.report_name}}</ui></a>
</div>
</ul>
<hr>
<script src="/js/app/ReportListApp.js"></script>
<script src="/js/controller/ReportListController.js"></script>
</body>
</html>