-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdokumen.html
361 lines (331 loc) · 14.9 KB
/
dokumen.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>SISTEM PENGURUSAN MAKLUMAT KONTRAK - ConMan </title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<link href="datepicker/css/datepicker.css" rel="stylesheet">
<script type="text/javascript">
function queryPegawai(){
var nameValue = document.getElementById("pegawaiQS").value;
alert(nameValue);
}
</script>
<script type="text/javascript">
$(function () {
$('#datetimepicker3').datetimepicker({
format: 'LT'
});
});
</script>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">ConMan</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="desktop.html"><span class="glyphicon glyphicon-home"></span><span class="sr-only">(current)</span></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Kertas Pertimbangan <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="kertas_pertimbangan.html"><span class="glyphicon glyphicon-plus"></span> Baru</a></li>
<li><a href="semakan_kp.html"><span class="glyphicon glyphicon-refresh"></span> Semakan</a></li>
</ul>
</li>
<li class="active">
<a href="dokumen.html"></span> Penjualan Dokumen</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Jawatankuasa <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="jk_pembuka.html"><span class="glyphicon glyphicon-plus"></span> Pembuka</a></li>
<li><a href="jk_penilai.html"><span class="glyphicon glyphicon-refresh"></span> Penilai</a></li>
</ul>
</li>
<li>
<a href="melulus.html"></span> Pihak Berkuasa Melulus</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-user"></span> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#"><span class="glyphicon glyphicon-edit"></span> Profile</a></li>
<li><a href="#"><span class="glyphicon glyphicon-off"></span> Logout</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div class="container">
<form id="query1" onSubmit="queryPegawai();" method="post">
<fieldset disabled>
<div class="form-group row" style="margin-left:10px;margin-right:10px;">
<label for="noKertas" class="col-sm-2 form-control-label">No Kertas Pertimbangan</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="noKertas" placeholder="No Kertas Pertimbangan">
</div>
</div>
<div class="form-group row" style="margin-left:10px;margin-right:10px;">
<label for="Tajuk" class="col-sm-2 form-control-label">Tajuk</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="tajukKertas" placeholder="Tajuk Kertas Pertimbangan">
</div>
</div>
<div class="form-group row" style="margin-left:10px;margin-right:10px;">
<label for="Tahun" class="col-sm-2 form-control-label">Tahun</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="tahunKertas" placeholder="Tahun Kertas Pertimbangan">
</div>
</div>
</fieldset>
<hr style="border-top:2px solid #e3f2fd;">
<div class="form-group row" style="margin-left:10px;margin-right:10px;">
<label for="Pegawai" class="col-sm-2 form-control-label">Pegawai QS</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="pegawaiQS" placeholder="Masukkan Nama Pegawai QS">
</div>
<br>
</div>
<div class="form-group row">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-secondary">Query</button>
</div>
</div>
</form>
<div class="well">
<div class="input-append date" id="dp3" data-date="12-02-2012" data-date-format="dd-mm-yyyy">
<input type="text" class="span2" value="02/16/12" data-date-format="mm/dd/yy" id="dp2">
</div>
</div>
</div>
=======
<a class="navbar-brand" href="#">PENJUALAN DOKUMEN</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
<li class="active"><a href="dokumen.html">Penjualan Dokumen</a></li>
</ul>
</div>
</nav>
<table class="table table-striped">
<thead>
<tr>
<th>Bil</th>
<th colspan="1">No Kertas Pertimbangan</th>
<th colspan="3">Tajuk</th>
<th>Tarikh Kelulusan</th>
<th>Muat Turun</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td colspan="1">Mark</td>
<td colspan="3">Otto</td>
<td>@mdo</td>
<td>
<a href="download.html">
<button type="button" class="btn btn-sm btn-lg">
<span class="glyphicon glyphicon-download"></span>
</button>
<a href="preview.html">
<button type="button" class="btn btn-sm btn-lg">
<span class="glyphicon glyphicon-eye-open"></span>
</button>
</a>
</td>
</tr>
<tr>
<th scope="row">2</th>
<td colspan="1">Jacob</td>
<td colspan="3">Thornton</td>
<td>@fat</td>
<td>
<a href="download.html">
<button type="button" class="btn btn-sm btn-lg">
<span class="glyphicon glyphicon-download"></span>
</button>
<a href="preview.html">
<button type="button" class="btn btn-sm btn-lg">
<span class="glyphicon glyphicon-eye-open"></span>
</button>
</a>
</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="1">Larry</td>
<td colspan="3">the Bird</td>
<td>@twitter</td>
<td>
<a href="download.html">
<button type="button" class="btn btn-sm btn-lg">
<span class="glyphicon glyphicon-download"></span>
</button>
<a href="preview.html">
<button type="button" class="btn btn-sm btn-lg">
<span class="glyphicon glyphicon-eye-open"></span>
</button>
</a>
</td>
</tr>
</tbody>
</table>
<form id="query1" onSubmit="queryPegawai();" method="post">
<!-- <fieldset disabled>
<div class="form-group row" style="margin-left:10px;margin-right:10px;">
<label for="noKertas" class="col-sm-2 form-control-label">No Kertas Pertimbangan</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="noKertas" placeholder="No Kertas Pertimbangan">
</div>
</div>
<div class="form-group row" style="margin-left:10px;margin-right:10px;">
<label for="Tajuk" class="col-sm-2 form-control-label">Tajuk</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="tajukKertas" placeholder="Tajuk Kertas Pertimbangan">
</div>
</div>
<div class="form-group row" style="margin-left:10px;margin-right:10px;">
<label for="tarikhLulus" class="col-sm-2 form-control-label">Tarikh Kelulusan</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="tarikhLulus" placeholder="Tarikh Kelulusan Kertas Pertimbangan">
</div>
</div>
</fieldset>-->
<hr style="border-top:2px solid #e3f2fd;">
<h3>Carian Dokumen</h3>
<div class="well" style="margin-left:10px;margin-right:10px;">
<div class="form-group">
<label for="Pegawai" class="col-sm-2 form-control-label">Pegawai QS</label>
<div class="col-sm-10" style="padding:2px;">
<input type="text" class="form-control" id="pegawaiQS" placeholder="Masukkan Nama Pegawai QS">
</div>
<label for="tajukDoc" class="col-sm-2 form-control-label">Tajuk Dokumen</label>
<div class="col-sm-10" style="padding:2px;">
<input type="text" class="form-control" id="tajukDoc" placeholder="Nama Dokumen Sebut harga / Tender">
</div>
<label for="docType" class="col-sm-2 form-control-label">Jenis Dokumen</label>
<div class="col-sm-3" style="padding:2px;">
<select class="form-control">
<option>Sebut Harga</option>
<option>Tender</option>
<option>--</option>
</select>
</div>
<div class="row">
<label for="tarikhTakl" class="col-sm-2 form-control-label">Tarikh Taklimat</label>
<div class="col-sm-4" style="padding:2px;">
<input type="text" class="span2" value="02-16-2012" id="dp1">
</div>
<label for="tarikhJual" class="col-sm-2 form-control-label">Tarikh Jualan</label>
<div class="col-sm-4" style="padding:2px;">
<input type="text" class="span2" value="02-16-2012" id="dp2">
</div>
</div>
</div>
<div class="form-group row" style="padding:2px;">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-secondary">Submit</button>
</div>
</div>
</form>
>>>>>>> patch-4
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="datepicker/js/bootstrap-datepicker.js"></script>
<script>
if (top.location != location) {
top.location.href = document.location.href ;
}
$(function(){
window.prettyPrint && prettyPrint();
$('#dp1').datepicker({
format: 'dd-mm-yyyy'
});
$('#dp2').datepicker({
format: 'dd-mm-yyyy'
});
$('#dateTutup').datepicker({
format: 'dd-mm-yyyy'
});
$('#dp3').datepicker({
format: 'dd-mm-yyyy'
});
$('#dpYears').datepicker({
format: 'dd-mm-yyyy'
});
$('#dpMonths').datepicker({
format: 'dd-mm-yyyy'
});
var startDate = new Date(2012,1,20);
var endDate = new Date(2012,1,25);
$('#dp4').datepicker()
.on('changeDate', function(ev){
if (ev.date.valueOf() > endDate.valueOf()){
$('#alert').show().find('strong').text('The start date can not be greater then the end date');
} else {
$('#alert').hide();
startDate = new Date(ev.date);
$('#startDate').text($('#dp4').data('date'));
}
$('#dp4').datepicker('hide');
});
$('#dp5').datepicker()
.on('changeDate', function(ev){
if (ev.date.valueOf() < startDate.valueOf()){
$('#alert').show().find('strong').text('The end date can not be less then the start date');
} else {
$('#alert').hide();
endDate = new Date(ev.date);
$('#endDate').text($('#dp5').data('date'));
}
$('#dp5').datepicker('hide');
});
// disabling dates
var nowTemp = new Date();
var now = new Date(nowTemp.getFullYear(), nowTemp.getMonth(), nowTemp.getDate(), 0, 0, 0, 0);
var checkin = $('#dpd1').datepicker({
onRender: function(date) {
return date.valueOf() < now.valueOf() ? 'disabled' : '';
}
}).on('changeDate', function(ev) {
if (ev.date.valueOf() > checkout.date.valueOf()) {
var newDate = new Date(ev.date)
newDate.setDate(newDate.getDate() + 1);
checkout.setValue(newDate);
}
checkin.hide();
$('#dpd2')[0].focus();
}).data('datepicker');
var checkout = $('#dpd2').datepicker({
onRender: function(date) {
return date.valueOf() <= checkin.date.valueOf() ? 'disabled' : '';
}
}).on('changeDate', function(ev) {
checkout.hide();
}).data('datepicker');
});
</script>
</body>
</html>