Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education in INDIA
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Manas
Education in INDIA
Commits
7ffee017
Commit
7ffee017
authored
Nov 21, 2022
by
Manas Gabani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trend routes added for teachers page
parent
18e6a00e
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
100 additions
and
24 deletions
+100
-24
app.py
app.py
+58
-8
static/.png
static/.png
+0
-0
static/img/trend_teachers_by_category_27.jpeg
static/img/trend_teachers_by_category_27.jpeg
+0
-0
static/img/trend_teachers_by_qualification_13.jpeg
static/img/trend_teachers_by_qualification_13.jpeg
+0
-0
templates/teachers.html
templates/teachers.html
+42
-16
No files found.
app.py
View file @
7ffee017
This diff is collapsed.
Click to expand it.
static/.png
0 → 100644
View file @
7ffee017
File added
static/img/trend_teachers_by_category_27.jpeg
0 → 100644
View file @
7ffee017
28.6 KB
static/img/trend_teachers_by_qualification_13.jpeg
0 → 100644
View file @
7ffee017
44.4 KB
templates/teachers.html
View file @
7ffee017
...
...
@@ -78,30 +78,56 @@
<div
class=
"title"
>
Trend by state
</div>
<form
method=
"POST"
action=
"/get_trend_f
rom
_teachers"
>
<form
method=
"POST"
action=
"/get_trend_f
or
_teachers"
>
Select state:
<select
name=
"state"
class=
"state"
>
<option
value=
"Maharashtra"
>
Maharashtra
</option>
<option
value=
"Gujarat"
>
Gujarat
</option>
<option
value=
"Karnataka"
>
Karnataka
</option>
<option
value=
"Kerela"
>
Kerela
</option>
<select
name=
"state_code"
class=
"state_code"
>
<option
value=
"1"
>
JAMMU
&
KASHMIR
</option>
<option
value=
"2"
>
HIMACHAL PRADESH
</option>
<option
value=
"3"
>
PUNJAB
</option>
<option
value=
"4"
>
CHANDIGARH
</option>
<option
value=
"5"
>
UTTARAKHAND
</option>
<option
value=
"6"
>
HARYANA
</option>
<option
value=
"7"
>
DELHI
</option>
<option
value=
"8"
>
RAJASTHAN
</option>
<option
value=
"9"
>
UTTAR PRADESH
</option>
<option
value=
"10"
>
BIHAR
</option>
<option
value=
"11"
>
SIKKIM
</option>
<option
value=
"12"
>
ARUNACHAL PRADESH
</option>
<option
value=
"13"
>
NAGALAND
</option>
<option
value=
"14"
>
MANIPUR
</option>
<option
value=
"15"
>
MIZORAM
</option>
<option
value=
"16"
>
TRIPURA
</option>
<option
value=
"17"
>
MEGHALAYA
</option>
<option
value=
"18"
>
ASSAM
</option>
<option
value=
"19"
>
WEST BENGAL
</option>
<option
value=
"20"
>
JHARKHAND
</option>
<option
value=
"21"
>
ODISHA
</option>
<option
value=
"22"
>
CHHATTISGARH
</option>
<option
value=
"23"
>
MADHYA PRADESH
</option>
<option
value=
"24"
>
GUJARAT
</option>
<option
value=
"25"
>
DAMAN
&
DIU
</option>
<option
value=
"26"
>
DADRA
&
NAGAR HAVELI
</option>
<option
value=
"27"
>
MAHARASHTRA
</option>
<option
value=
"28"
>
ANDHRA PRADESH
</option>
<option
value=
"29"
>
KARNATAKA
</option>
<option
value=
"30"
>
GOA
</option>
<option
value=
"31"
>
LAKSHADWEEP
</option>
<option
value=
"32"
>
KERALA
</option>
<option
value=
"33"
>
TAMIL NADU
</option>
<option
value=
"34"
>
PUDUCHERRY
</option>
<option
value=
"35"
>
ANDAMAN
&
NICOBAR ISLANDS
</option>
<option
value=
"36"
>
TELANGANA
</option>
</select>
Select type:
<select
name=
"type"
class=
"type"
>
<option
value=
"category"
>
By Category
</option>
<option
value=
"
rural"
>
By Rural Enrolments
</option>
<option
value=
"
teachers_by_
category"
>
By Category
</option>
<option
value=
"
teachers_by_qualification"
>
By Educational Qualification
</option>
</select>
<input
name=
"get_trend_f
rom
_teachers"
type=
"submit"
value=
"Submit"
>
<input
name=
"get_trend_f
or
_teachers"
type=
"submit"
value=
"Submit"
>
</form>
{% if trend_from_teachers %}
<div>
<img
src=
"{{ url_for('static', filename=trend_
from_
teachers) }}"
>
<img
src=
"{{ url_for('static', filename=trend_teachers) }}"
>
</div>
{% else %}
<div>
<img
src=
"{{ url_for('static', filename='img/sample_trend_teachers.jpeg') }}"
>
</div>
{% endif %}
</div>
</div>
<div
class=
"content-2"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment