-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·143 lines (135 loc) · 6.49 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
padding-top: 50px;
padding-bottom: 20px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/jumbotron-narrow.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.2/lumen/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.14/angular.min.js"></script>
</head>
<body ng-app="app">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="container" ng-controller="searchCtrl">
<div class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="active"><a href="#">Home</a></li>
<li role="presentation"><a href="#">Contact</a></li>
</ul>
</nav>
<h3 class="text-muted">八仙傷患查詢</h3>
</div>
<div class="jumbotron">
<div><label class="lead">請輸入傷患姓名全名</label></div>
<div><input type="text" class="form-control" name="username" ng-model="username" placeholder="請輸入姓名" required></div>
<br>
<div ng-show="validate" class="validate">請輸入完整姓名</div>
<br>
<div><label class="lead">請選擇傷患性別</label></div>
<select class="form-control" name="sex" ng-model="sex" required ng-init="sex=0">
<option value="男">男性</option>
<option value="女">女性</option>
</select>
<br>
<p><a class="btn btn-lg btn-success" href="#" role="button" ng-click="handleSearch()">提交搜尋</a></p>
<br>
<hr>
<div ng-show="patientList">
<table class="table table-hover">
<tr>
<th>編號</th>
<th>姓名</th>
<th>性別</th>
<th>年齡</th>
<th>國籍</th>
<th>縣市別</th>
<th>收治單位</th>
<th>醫療檢傷</th>
<th>就護檢傷</th>
<th>即時動向</th>
<th>檢傷編號</th>
<th>轉診要求</th>
<th>刪除註記</th>
</tr>
<tr>
<td ng-bind="patient['編號']"></td>
<td ng-bind="patient['姓名']"></td>
<td ng-bind="patient['性別']"></td>
<td ng-bind="patient['年齡']"></td>
<td ng-bind="patient['國籍']"></td>
<td ng-bind="patient['縣市別']"></td>
<td ng-bind="patient['收治單位']"></td>
<td ng-bind="patient['醫療檢傷']"></td>
<td ng-bind="patient['就護檢傷']"></td>
<td ng-bind="patient['即時動向']"></td>
<td ng-bind="patient['檢傷編號']"></td>
<td ng-bind="patient['刪除註記']"></td>
</tr>
</table>
</div>
<div ng-show="notFound">
<div class="notFound">目前無患者相關資料</div>
</div>
</div>
<div class="row marketing">
<div class="social-share">
<div><h4>消防兄弟姊妹和醫護人員您們辛苦了,希望所有患者一切平安!</h4></div>
<span>
<script type="text/javascript" src="//media.line.me/js/line-button.js?v=20140411" ></script>
<script type="text/javascript">
new media_line_me.LineButton({"pc":false,"lang":"zh-hant","type":"a"});
</script>
</span>
<span class="fb-like fb-like-center" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></span>
<br>
</div>
</div>
<footer class="footer">
<p>Made by <a href="https://www.facebook.com/hackNTU" target="_blank">HackNTU</a> with <i class="fa fa-heart"></i></p>
</footer>
</div> <!-- /container -->
</div> <!-- /container --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/app.js"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X','auto');ga('send','pageview');
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/zh_TW/sdk.js#xfbml=1&appId=784846378270838&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</body>
</html>