-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGET.html
More file actions
135 lines (124 loc) · 5.82 KB
/
GET.html
File metadata and controls
135 lines (124 loc) · 5.82 KB
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
<!-- *** RESPONSIVE HTML *** -->
<as400>top *** SECTION "TOP"
Content-type: text/html
Expires: 0
X-XSS-Protection: 1;
<!doctype html>
<HTML>
<HEAD><TITLE>HTTP server functionality for CGIs was just tested</TITLE>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="DOCUMENTCOUNTRYCODE" value="it"/>
<meta name="DOCUMENTLANGUAGECODE" value="EN"/>
<link href="/cgidev/rishab/css/custom.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="//cdn.datatables.net/1.11.0/css/jquery.dataTables.min.css">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="//cdn.datatables.net/1.11.0/js/jquery.dataTables.min.js" ></script>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/cr-1.5.4/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs4/cr-1.5.4/datatables.min.js"></script>
<style>
#footer {
position:absolute !important;
bottom:50 !important;
width:100% !important;
/* height:60px !important; */
margin-top: 48%; /*Height of the footer */
}
</style>
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow fixed-top">
<div class="container">
<a href="/" class="custom-logo-link" rel="home" itemprop="url"> <img src="https://programmers.io//wp-content/themes/programmers.io/assets/images/programmers-io.svg" class="custom-logo" alt="Programmers.io" title="Programmers.io" itemprop="logo" width="250" data-pin-nopin="true"> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto">
<li class="nav-item active">
<a class="nav-link" href="#"> Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"> About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"> Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"> Contact</a>
</li>
<li class="nav-item">
<a class="nav-link" onclick="signOut();"> Logout</a>
</li>
</ul>
</div>
</div>
</nav>
<BODY>
<!-- <b>/%OSRLS%/</b> -->
<div class="myDiv">
<as400>thead *** SECTION "THEAD"
<table id="myTable" class="table table-striped table-bordered" style="width:100%" cellspacing="0" >
<thead class="thead-dark">
<tr>
<th>Roll No.</th>
<th>Name</th>
<th>Marks</th>
<th>City</th>
</tr>
</thead>
<tbody>
<as400>details *** SECTION "DETAILS"
<tr>
<td>/%sroll%/</td>
<td>/%sname%/</td>
<td>/%smarks%/</td>
<td>/%scity%/</td>
</tr>
<as400>detailsend *** SECTION "DEND"
<as400>tclose *** SECTION "tclose"
</tbody>
</table>
</div>
<div id="greet" class="lottieDog" ><lottie-player src="https://assets7.lottiefiles.com/packages/lf20_l4fgppor.json" background="transparent" speed="1" style="width: 300px; height: 300px;" loop autoplay></lottie-player>
<label id="lblGreetings"></label>
<br>Let's practice some mindfulness
</div>
<div id ="footer" class="d-flex flex-column flex-md-row text-center text-md-start justify-content-between py-4 px-4 px-xl-5 bg-primary">
<!-- Copyright -->
<div class="text-white mb-3 mb-md-0">
Copyright © 2020. All rights reserved.
</div>
</div>
<script>
$(document).ready( function () {
$('#myTable').DataTable({
"pagingType": "numbers",
colReorder: true
});
} );
function signOut () {
var form = document.createElement('form');
form.setAttribute('method', 'get');
form.setAttribute('action', '/nature/main.cgi');
form.style.display = 'hidden';
document.body.appendChild(form)
form.submit();
}
</script>
<script>
var myDate = new Date();
var hrs = myDate.getHours();
var greet;
if (hrs < 12)
greet = 'Good Morning ';
else if (hrs >= 12 && hrs <= 17)
greet = 'Good Afternoon ';
else if (hrs >= 17 && hrs <= 24)
greet = 'Good Evening ';
document.getElementById('lblGreetings').innerHTML =
'<b>' + greet + '</b>';
</script>
</BODY></HTML>