forked from AgarwalPragy/GATE2016_MarksEvaluator
-
Notifications
You must be signed in to change notification settings - Fork 14
/
ScoreToColleges.php
145 lines (124 loc) · 5.83 KB
/
ScoreToColleges.php
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" name="viewport" content="IE=edge, width=device-width, initial-scale=1">
<title>Which College can I get? | GATE 2016 | Gateoverflow.in</title>
<link rel="stylesheet" href="bootstrap-custom-theme/dark/dark-min.css">
<link rel="stylesheet" type="text/css" href="bootstrap-custom-theme/ring.css">
<link rel="stylesheet" href="ScoreToColleges/ScoreToColleges-dark.css">
</head>
<body>
<div class="container" id="loading">
<div class='uil-ring-css' style='transform:scale(0.6);'><div></div></div>
</div>
<div id="page" class="container hidden">
<div id="header" class="row">
<form class="form-inline" onsubmit="populate_contents(true); return false;">
<div class="form-group col-md-4 col-sm-12">
<input type="text" placeholder="Enter score here.." class="form-control" oninput="populate_contents()" tabindex="0" id="my-score" value="<?php if(isset($_GET["score"])){echo $_GET["score"];} ?>">
<div id="popover-title" style="display: none">
<h2 class='text-danger'>Invalid Score!</h2>
</div>
<div id="popover-content" style="display: none">
<p class='text-info'>GATE Scores are out of 1000.</p>
<a href="VisualizeMarks.php">(Click here to know your Score estimate)</a>
</div>
<span class="help-block">
<a href="VisualizeMarks.php">(Click here to know your Score estimate)</a>
</span>
</div>
<div class="form-group col-md-8 col-sm-12">
<div class="btn-toolbar">
<div class="btn-group btn-group-lg" data-toggle="buttons">
<label class="btn btn-primary"><input name="category-ph" type="checkbox" id="cat-ph"><span class="glyphicon glyphicon-ok-sign hidden" id="glyph-ph-checked"></span> PH</label>
</div>
<div class="btn-group-vertical btn-group-lg" data-toggle="buttons" id="category-btn-group">
<label class="btn btn-primary"><input name="category" type="radio" id="cat-gen" checked><span class="glyphicon glyphicon-ok-sign" id="glyph-gen-checked"></span> Gen/OBC Creamy</label>
<label class="btn btn-primary"><input name="category" type="radio" id="cat-obc"><span class="glyphicon glyphicon-ok-sign hidden" id="glyph-obc-checked"></span> OBC Non-Creamy</label>
<label class="btn btn-primary"><input name="category" type="radio" id="cat-sc"><span class="glyphicon glyphicon-ok-sign hidden" id="glyph-sc-checked"></span> SC</label>
<label class="btn btn-primary"><input name="category" type="radio" id="cat-st"><span class="glyphicon glyphicon-ok-sign hidden" id="glyph-st-checked"></span> ST</label>
</div>
</div>
</div>
</form>
</div>
<hr />
<div id="main-content" class="row">
<div class="col-md-12">
<div class="well" id="notices-container">
<ul id="notices" class="list-group"></ul>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="panel panel-danger">
<div class="panel-heading">
<h2>What I won't get</h2>
<h3 class="panel-title">Chances are pretty slim.</h3>
<div class="text-warning hidden" id="ph-warning">
<hr/>
<h3 class="panel-title"><strong><span class="glyphicon glyphicon-exclamation-sign"></span> Due to unavailability of data, this list might be innacurate for the PH category</strong></h3>
</div>
</div>
<div class="panel-body">
<ul id="colleges-red" class="list-group"></ul>
</div>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="panel panel-info">
<div class="panel-heading">
<h2>What I might get</h2>
<h3 class="panel-title">Definitely apply to all these.</h3>
</div>
<div class="panel-body">
<div id="colleges-blue"></div>
</div>
<div id="remarks-container" class="panel-footer hidden">
<ul id="remarks" class="list-group"></ul>
</div>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="panel panel-success">
<div class="panel-heading">
<h2>What I can get</h2>
<h3 class="panel-title">You're very likely to get any of these.</h3>
<h3 class="panel-title"><b>Also consider the <span style="color:#31708f;">blue list</span>, as it lists better colleges.</b></h3>
</div>
<div class="panel-body panel-success">
<div id="colleges-green"></div>
</div>
</div>
</div>
</div>
<hr />
<div id="footer" class="row">
<div id="credits-section" class="text-muted">
<div class="col-sm-4 col-xs-12">
<div><strong>Code</strong></div>
<a href="https://github.com/AgarwalPragy/GATE2016_MarksEvaluator">[Github]</a>
</div>
<div class="col-sm-4 col-xs-12">
<div><strong>Author: Pragy Agarwal</strong></div>
<a href="https://www.facebook.com/profile.php?id=1644835049">[Facebook]</a>
<a href="mailto:[email protected]">[Email]</a>
</div>
<div class="col-sm-4 col-xs-12">
<div><strong>Special Thanks:</strong></div>
<div><strong>Arjun Suresh, Shyam Singh</strong></div>
</div>
</div>
</div>
</div>
<!-- For offline coding -->
<!-- <script src="offline_coding/jquery.min.js"></script>
<script src="offline_coding/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> -->
<!-- ################## -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<!-- https://github.com/mholt/PapaParse -->
<script src="ScoreToColleges/papaparse.min.js"></script>
<script src="ScoreToColleges/ScoreToColleges.js"></script>
</body>
</html>