-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
230 lines (219 loc) · 8.46 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
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
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>VTU Calculator | N.B.Patil</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="keywords" content="sgpa Calculator, Calculator, cgpa Calculator, VTU, cbcs,non cbcs" />
<script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
<!-- Bootstrap Core CSS -->
<link href="static/css/bootstrap.css" rel='stylesheet' type='text/css' />
<!-- Custom CSS -->
<link href="static/css/style.css" rel='stylesheet' type='text/css' />
<!-- font-awesome icons -->
<link href="static/css/fontawesome-all.min.css" rel="stylesheet">
<!-- pop up box -->
<link href="static/css/popup-box.css" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" href="static/css/owl.carousel.css" type="text/css" media="all">
<link rel="stylesheet" href="static/css/owl.theme.css" type="text/css" media="all">
<!-- Carousel (for News section) -->
<!-- //Custom Theme files -->
<!-- online fonts -->
<!-- <link href="//fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"
rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Gentium+Book+Basic:400,400i,700i" rel="stylesheet"> -->
<!--//online fonts -->
</head>
<body>
<!-- header -->
<header>
<div class="header-bottom">
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light p-0">
<h1><a class="navbar-brand" href="index.html">
VTU Calc
</a></h1>
<button class="navbar-toggler ml-lg-auto ml-sm-5" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav text-center ml-auto">
<li class="nav-item mr-lg-3 mt-lg-0 mt-4">
<a class="hover-fill" aria-pressed="false" href="index.html" data-txthover="PERCENTAGE CALCULATOR">PERCENTAGE CALCULATOR</a>
</li>
<li class="nav-item mr-lg-3 mt-lg-0 mt-4">
<a class="hover-fill" aria-pressed="false" href="sgpa.html" data-txthover="SGPA CALCULATOR">SGPA CALCULATOR</a>
</li>
<li class="nav-item">
<a class="hover-fill" aria-pressed="false" href="cgpa.html" data-txthover="CGPA CALCULATOR">CGPA CALCULATOR</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
<!-- //header -->
<!-- banner -->
<div class="screenview_bg bg-theme px-3">
<div class="container">
<section class="wthree-row w3-gallery py-5">
<div class="container py-xl-5">
<div class="w3l_header pb-3">
<h3 class="text-center">VTU PERCENTAGE Calculator</h3>
</div>
</div>
<!-- //gallery container -->
<div class="container">
<div class="login mb-sm-5 px-4 mx-auto mw-100">
<form id="cgpac" action="#" method="post">
<fieldset>
<div class="row justify-content-md-center">
<div class="col-5">
<div class="form-row">
<div class="form-group col-md-6 mb-4">
<label class="col-form-label">CGPA/SGPA</label>
</div>
<div class="col-md-6 mb-4">
<input type="text" class="form-control" id="gpa" name="gpa" placeholder="CGPA/SGPA" required>
</div>
</div>
</div>
</div>
</fieldset>
<br>
<div class='text-center' style="margin-top: 10px">
<button type="submit" class="get-started-btn">Calculate Percentage</button>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col">
<fieldset disabled>
<div class="container" style="margin:0 auto; width: 50%;">
<legend>Result</legend>
<div class="form-row">
<div class="form-group col-md-6 mb-4">
<label class="col-form-label">Percentage</label>
</div>
<div class="col-md-6 mb-4">
<input type="text" id="percentage" class="form-control" placeholder="Percentage">
</div>
</div>
</div>
</fieldset>
</div>
</div>
</section>
</div>
</div>
<!-- //banner -->
<!-- //footer -->
<div class="cpy-right">
<p class="text-white">© <script>document.write(new Date().getFullYear())</script> Design by
<a href="http://nbpatil.ml"> nbpatil.</a>
</p>
</div>
<!-- js -->
<script src="static/js/jquery-2.2.3.min.js"></script>
<!--pop-up-box -->
<script src="static/js/jquery.magnific-popup.js"></script>
<script type="text/javascript">
document.getElementById('cgpac').onsubmit = function() {
var percentage;
var g = document.getElementById('gpa').value;
percentage = (g-0.75)*10;
document.getElementById('percentage').value = percentage.toFixed(2);
return false;
};
</script>
<script>
$(document).ready(function () {
$('.popup-with-zoom-anim').magnificPopup({
type: 'inline',
fixedContentPos: false,
fixedBgPos: true,
overflowY: 'auto',
closeBtnInside: true,
preloader: false,
midClick: true,
removalDelay: 300,
mainClass: 'my-mfp-zoom-in'
});
});
</script>
<!-- //pop-up-box -->
<!-- start-smooth-scrolling -->
<script src="static/js/move-top.js" ></script>
<script src="static/js/easing.js"></script>
<script>
jQuery(document).ready(function ($) {
$(".scroll").click(function (event) {
event.preventDefault();
$('html,body').animate({
scrollTop: $(this.hash).offset().top
}, 1000);
});
});
</script>
<!-- //end-smooth-scrolling -->
<!-- carousel -->
<script src="static/js/owl.carousel.js"></script>
<script>
$(document).ready(function() {
$('.owl-carousel').owlCarousel({
loop: true,
margin: 10,
responsiveClass: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 1,
nav: false
},
900: {
items: 1,
nav: false
},
1000: {
items: 3,
nav: true,
loop: false,
margin: 20
}
}
})
})
</script>
<!-- //carousel -->
<!-- smooth-scrolling-of-move-up -->
<script>
$(document).ready(function () {
/*
var defaults = {
containerID: 'toTop', // fading element id
containerHoverID: 'toTopHover', // fading element hover id
scrollSpeed: 1200,
easingType: 'linear'
};
*/
$().UItoTop({
easingType: 'easeOutQuart'
});
});
</script>
<script src="static/js/SmoothScroll.min.js"></script>
<script src="static/js/bootstrap.js"></script>
</body>
</html>