-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.html
More file actions
235 lines (213 loc) · 6.07 KB
/
sample.html
File metadata and controls
235 lines (213 loc) · 6.07 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
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
<!DOCTYPE HTML>
<html>
<head>
<title>Alnafi Center</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='style.css') }}" />
<style>
table
{ margin: 10px 0 30px 0;}
table tr th, table tr td
{ background: #3B3B3B;
color: #FFF;
padding: 7px 4px;
text-align: left;}
table tr td
{ background: #E5E5DB;
color: #47433F;
border-top: 1px solid #FFF;}
nav {
display: block;
text-align: center;
}
nav ul {
margin: 0;
padding:0;
list-style: none;
}
.nav a {
display:block;
background: black;
color:#fff;
text-decoration: none;
padding: .8em 1.8em;
text-transform: uppercase;
font-size: 90%;letter-spacing: 2px;
text-shadow: 0 -1px 0 #000;
position: relative;
}
.nav{
vertical-align: top;
display: inline-block;
box-shadow: 1px -1px -1px 1px #000, -1px 1px -1px 1px black, 0 0 6px 3px black;
border-radius:6px;
}
.nav li{position: relative;}
.nav > li {
float:left;
border-bottom: 4px #aaa solid;
margin-right: 1px;
}
.nav > li > a {
margin-bottom:1px;
box-shadow:inset 0 2em .33em -.5em #555;
}
.nav > li:hover , .nav > li:hover >a{ border-bottom-color:#E4EC04;}
.nav li:hover > a { color:#E4EC04; }
.nav > li:first-child { border-radius: 4px 0 0 4px;}
.nav > li:first-child>a{border-radius: 4px 0 0 0;}
.nav > li:last-child {
border-radius: 0 0 4px 0;
margin-right: 0;
}
.nav > li:last-child >a{border-radius: 0 4px 0 0; }
.nav li li a { margin-top:1px}
.nav li a:first-child:nth-last-child(2):before {
content:"";
position: absolute;
height:0;
width: 0;
border: 5px solid transparent;
top: 50% ;
right:5px;
}
/* submenu positioning*/
.nav ul {
position: absolute;
white-space: nowrap;
border-bottom: 5px solid #E4EC04;
z-index: 1;
left: -99999em;
}
.nav > li:hover > ul {
left: auto;
padding-top: 5px ;
min-width: 100%;
}
.nav > li li ul { border-left:1px solid #fff;}
.nav > li li:hover > ul {
/* margin-left: 1px */
left: 100%;
top: -1px;
}
/* arrow hover styling */
.nav > li > a:first-child:nth-last-child(2):before {
border-top-color: #aaa;
}
.nav > li:hover > a:first-child:nth-last-child(2):before {
border: 5px solid transparent;
border-bottom-color: #E4EC04;
margin-top:-5px
}
.nav li li > a:first-child:nth-last-child(2):before {
border-left-color: #aaa;
margin-top: -5px
}
.nav li li:hover > a:first-child:nth-last-child(2):before {
border: 5px solid transparent;
border-right-color: #E4EC04;
right: 10px;
}
.form_settings select
{ padding: 5px;
width: 311px;
font: 100% arial;
border: 1px solid #E5E5DB;
background: #FFF;
color: #47433F;}
</style>
</head>
<body>
<div id="main">
<div id="header">
<div id="logo">
<div id="logo_text">
<!-- class="logo_colour", allows you to change the colour of the text -->
<h1><img src="{{ url_for('static',filename='alnafi.jpg')}}" width="250" height="70"></h1>
</div>
</div>
<nav>
<ul class="nav">
<li><a href="{{ url_for('index') }}"><b>Home</b></a></li>
<li><a href="">Alnafi Tsheet</a></li>
<li><a href="#">Alert</a>
<ul>
<li><a href="">Alert1</a></li>
<li><a href="">Alert2</a></li>
</ul>
</li>
<li><a href="#">Reports</a>
<ul>
<li><a href="{{ url_for('trainer_form')}}">Alnafi Report</a></li>
<li><a href="">Report1</a> </li>
<li><a href="">Report2 </a></li>
<li><a href="">Report3</a></li>
<li><a href="">Report4</a></li>
</ul>
</li>
<li><a href="#">Tools</a>
<ul>
<li><a href="">Tools1</a></li>
<li><a href="">Tools2</a></li>
<li><a href="">Tools3</a></li>
<li><a href="">Tools4</a></li>
</ul>
</li>
<li><a href="#">Automation</a>
<ul>
<li><a href="">Automation1</a></li>
<li><a href="">Automation2</a></li>
<li><a href="">Automation3</a></li>
</ul>
</li>
<li><a href="#">My profile</a>
<ul>
<li><a href="#">Welcome</a></li>
<li><a href="">Profile</a></li>
</ul>
</li>
</ul>
</nav>
</div>
<div id="content_header"></div>
<div id="site_content">
<div style="position: relative; right:-155px;" class="form_settings">
<form method="post" action="{{ url_for('trainer_filter')}}" name="trainer_form">
<h1 style = "font-family:georgia,garamond,serif;font-size:25px;">
<h2> Trainer Details </h2><b></b></h1>
<p><span>Course</span>
<select name="course" class="form-control" id="course" required>
<option value="All">All</option>
<option value="Python Flask">Python Flask</option>
<option value="PHD Holder">PHD Holder</option>
<option value="AIOPS">AIOPS</option>
<option value="High Commision">High Commision</option>
<option value="Commander and cheif">Commander and cheif</option>
<option value="Management in Media">Management in Media</option>
<option value="MBA">MBA</option>
</select></p>
<p style="padding-top: 15px"> <span> </span><input class="submit" type="submit" name="submitue" value="Search" </p>
</form>
<table id="testTable" border="2">
<thead>
<tr>
<th>Serial Number</th>
<th>First Name</th>
<th>Last Name</th>
<th>Designation</th>
<th>Course</th>
</tr>
</thead>
<tbody>
{% for i in output_data %}
<tr>
<td style="text-align: center;">{{ i[0] }}</td>
<td style="text-align: center;">{{ i[1] }}</td>
<td style="text-align: center;">{{ i[2] }}</td>
<td style="text-align: center;">{{ i[3] }}</td>
<td style="text-align: center;">{{ i[4] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>