Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-066
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
2022-066
2022-066
Commits
3ee5a299
Commit
3ee5a299
authored
Oct 09, 2022
by
chaveenagit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uis
parent
5970aae1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
652 additions
and
0 deletions
+652
-0
TopicIndexing/templates/index.html
TopicIndexing/templates/index.html
+195
-0
TopicIndexing/templates/short_notes.html
TopicIndexing/templates/short_notes.html
+144
-0
TopicIndexing/templates/topics.html
TopicIndexing/templates/topics.html
+160
-0
TopicIndexing/templates/upload.html
TopicIndexing/templates/upload.html
+153
-0
No files found.
TopicIndexing/templates/index.html
0 → 100644
View file @
3ee5a299
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
Index
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"
></script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
></script>
</head>
<style>
html
{
height
:
100%
;
}
*
{
box-sizing
:
border-box
;}
body
{
margin
:
0
;
height
:
100%
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
background-image
:
url({{ url_for('static', filename='images/bg.jpg')
}
}
)
}
.header
{
overflow
:
hidden
;
background-color
:
#970103
;
padding
:
5px
10px
;
}
.header
a
{
float
:
left
;
color
:
White
;
text-align
:
center
;
padding
:
12px
;
text-decoration
:
none
;
font-size
:
18px
;
line-height
:
25px
;
border-radius
:
4px
;
}
.header
a
.logo
{
font-size
:
25px
;
font-weight
:
bold
;
}
.header
a
:hover
{
background-color
:
#8a8a8a
;
color
:
black
;
}
.header
a
.active
{
background-color
:
#0b0b0b
;
color
:
white
;
}
.header-right
{
float
:
right
;
}
@media
screen
and
(
max-width
:
500px
)
{
.header
a
{
float
:
none
;
display
:
block
;
text-align
:
left
;
}
.header-right
{
float
:
none
;
}
}
.global-container
{
margin-top
:
20px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
float
:
left
;
width
:
100%
;
}
form
{
padding-top
:
10px
;
font-size
:
14px
;
margin-top
:
30px
;
margin-left
:
50px
;
margin-right
:
50px
;
}
.card-title
{
font-weight
:
300
;
}
.card
{
opacity
:
0.95
;}
.effect7
{
position
:
relative
;
-webkit-box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
-moz-box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
}
.login-form
{
width
:
1175px
;
margin
:
20px
;
}
.drop-zone
{
max-width
:
300px
;
height
:
300px
;
padding
:
25px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
text-align
:
center
;
font-family
:
"Quicksand"
,
sans-serif
;
font-weight
:
500
;
font-size
:
20px
;
cursor
:
pointer
;
color
:
#cccccc
;
border
:
4px
dashed
#345BDE
;
border-radius
:
10px
;
}
.drop-zone--over
{
border-style
:
solid
;
}
.drop-zone__input
{
display
:
none
;
}
.drop-zone__thumb
{
width
:
100%
;
height
:
100%
;
border-radius
:
10px
;
overflow
:
hidden
;
background-color
:
#cccccc
;
background-size
:
cover
;
position
:
relative
;
}
.drop-zone__thumb
::after
{
content
:
attr
(
data-label
);
position
:
absolute
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
padding
:
5px
0
;
color
:
#ffffff
;
background
:
rgba
(
0
,
0
,
0
,
0.75
);
font-size
:
14px
;
text-align
:
center
;
}
</style>
<body>
<div
class=
"global-container"
>
<br>
<br>
<br>
<div
class=
"card login-form effect7"
>
<div
class=
"card-body"
>
<center>
<h3>
Please Upload Lecture and Slides
</h3>
</center>
<form
action=
"upload_action"
method=
"post"
enctype=
"multipart/form-data"
>
<div
class=
"form-group"
>
<h5>
Please Select Lecture
</h5>
<input
type=
"file"
name=
"lecture_video"
class=
"form"
accept=
"video/mp4,video/x-m4v,video/*"
required
>
</div>
<div
class=
"form-group"
>
<h5>
Please Select Slides
</h5>
<input
type=
"file"
name=
"lecture_ppt"
class=
"form"
accept=
".ppt, .pptx"
required
>
</div>
<div
class=
"form-group"
>
<button
type=
"submit"
class=
"btn btn-primary btn-block"
>
upload
</button>
</div>
</form>
</div>
</div>
</div>
</body>
</html>
TopicIndexing/templates/short_notes.html
0 → 100644
View file @
3ee5a299
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
Short Note
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"
></script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
></script>
</head>
<style>
html
{
height
:
100%
;
}
*
{
box-sizing
:
border-box
;}
body
{
margin
:
0
;
height
:
100%
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
background-image
:
url({{ url_for('static', filename='images/bg.jpg')
}
}
)
}
.header
{
overflow
:
hidden
;
background-color
:
#970103
;
padding
:
5px
10px
;
}
.header
a
{
float
:
left
;
color
:
White
;
text-align
:
center
;
padding
:
12px
;
text-decoration
:
none
;
font-size
:
18px
;
line-height
:
25px
;
border-radius
:
4px
;
}
.header
a
.logo
{
font-size
:
25px
;
font-weight
:
bold
;
}
.header
a
:hover
{
background-color
:
#8a8a8a
;
color
:
black
;
}
.header
a
.active
{
background-color
:
#0b0b0b
;
color
:
white
;
}
.header-right
{
float
:
right
;
}
@media
screen
and
(
max-width
:
500px
)
{
.header
a
{
float
:
none
;
display
:
block
;
text-align
:
left
;
}
.header-right
{
float
:
none
;
}
}
.global-container
{
margin-top
:
20px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
float
:
left
;
width
:
100%
;
}
form
{
padding-top
:
10px
;
font-size
:
14px
;
margin-top
:
50px
;
margin-left
:
50px
;
margin-right
:
50px
;
}
.card-title
{
font-weight
:
300
;
}
.card
{
opacity
:
0.95
;
}
.card-body
{
margin-top
:
100px
;
}
.effect7
{
position
:
relative
;
-webkit-box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
-moz-box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
}
.login-form
{
width
:
1175px
;
margin
:
20px
;
}
</style>
<body>
<div
class=
"global-container"
>
<br>
<br>
<br>
<div
class=
"card login-form effect7"
>
<div
class=
"card-body"
>
<center>
<h2>
Short Note Ready
</h2>
<a
href=
"/short_note/{{filename}}"
style=
"color:red;"
>
Download as doc file
</a>
</center>
</div>
</div>
</div>
</body>
</html>
TopicIndexing/templates/topics.html
0 → 100644
View file @
3ee5a299
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
Topics
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"
></script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
></script>
</head>
<style>
html
{
height
:
100%
;
}
*
{
box-sizing
:
border-box
;}
body
{
margin
:
0
;
height
:
100%
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
background-image
:
url({{ url_for('static', filename='images/bg.jpg')
}
}
)
}
.header
{
overflow
:
hidden
;
background-color
:
#970103
;
padding
:
5px
10px
;
}
.header
a
{
float
:
left
;
color
:
White
;
text-align
:
center
;
padding
:
12px
;
text-decoration
:
none
;
font-size
:
18px
;
line-height
:
25px
;
border-radius
:
4px
;
}
.header
a
.logo
{
font-size
:
25px
;
font-weight
:
bold
;
}
.header
a
:hover
{
background-color
:
#8a8a8a
;
color
:
black
;
}
.header
a
.active
{
background-color
:
#0b0b0b
;
color
:
white
;
}
.header-right
{
float
:
right
;
}
@media
screen
and
(
max-width
:
500px
)
{
.header
a
{
float
:
none
;
display
:
block
;
text-align
:
left
;
}
.header-right
{
float
:
none
;
}
}
.global-container
{
margin-top
:
20px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
float
:
left
;
width
:
100%
;
}
form
{
padding-top
:
10px
;
font-size
:
14px
;
margin-top
:
50px
;
margin-left
:
50px
;
margin-right
:
50px
;
}
.card-title
{
font-weight
:
300
;
}
.card
{
opacity
:
0.95
;
}
.card-body
{
margin-top
:
100px
;
}
.effect7
{
position
:
relative
;
-webkit-box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
-moz-box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
}
.login-form
{
width
:
1175px
;
margin
:
20px
;
}
</style>
<body>
<div
class=
"global-container"
>
<br>
<br>
<br>
<div
class=
"card login-form effect7"
>
<div
class=
"card-body"
>
<center>
<h2>
Topics Ready
</h2>
</center>
<table
class=
"table"
id=
"table"
>
<thead>
<tr>
<th>
Index
</th>
<th>
Key Points ( Topics )
</th>
</tr>
</thead>
<tbody>
{% for row in topic_list %}
<tr>
<td>
{{row[0]}}
</td>
<td>
{{row[2]}}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>
TopicIndexing/templates/upload.html
0 → 100644
View file @
3ee5a299
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
Upload
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"
></script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
></script>
</head>
<style>
html
{
height
:
100%
;
}
*
{
box-sizing
:
border-box
;}
body
{
margin
:
0
;
height
:
100%
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
background-image
:
url({{ url_for('static', filename='images/bg.jpg')
}
}
)
}
.header
{
overflow
:
hidden
;
background-color
:
#970103
;
padding
:
5px
10px
;
}
.header
a
{
float
:
left
;
color
:
White
;
text-align
:
center
;
padding
:
12px
;
text-decoration
:
none
;
font-size
:
18px
;
line-height
:
25px
;
border-radius
:
4px
;
}
.header
a
.logo
{
font-size
:
25px
;
font-weight
:
bold
;
}
.header
a
:hover
{
background-color
:
#8a8a8a
;
color
:
black
;
}
.header
a
.active
{
background-color
:
#0b0b0b
;
color
:
white
;
}
.header-right
{
float
:
right
;
}
@media
screen
and
(
max-width
:
500px
)
{
.header
a
{
float
:
none
;
display
:
block
;
text-align
:
left
;
}
.header-right
{
float
:
none
;
}
}
.global-container
{
margin-top
:
20px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
float
:
left
;
width
:
100%
;
}
form
{
padding-top
:
10px
;
font-size
:
14px
;
margin-top
:
50px
;
margin-left
:
50px
;
margin-right
:
50px
;
}
.card-title
{
font-weight
:
300
;
}
.card
{
opacity
:
0.95
;
}
.card-body
{
margin-top
:
100px
;
}
.effect7
{
position
:
relative
;
-webkit-box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
-moz-box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
box-shadow
:
0
1px
20px
rgba
(
0
,
0
,
0
,
0.3
),
0
0
40px
rgba
(
0
,
0
,
0
,
0.1
)
inset
;
}
.login-form
{
width
:
1175px
;
margin
:
20px
;
}
</style>
<body>
<div
class=
"global-container"
>
<br>
<br>
<br>
<div
class=
"card login-form effect7"
>
<div
class=
"card-body"
>
<center>
<h2>
File uploaded successfully
</h2>
<h4
style=
"color:red;"
>
Note generation and topic analysing will take some time
</h4>
</center>
<form>
<h4>
Lecture Video File : {{video_file_name}}
</h4>
<h4>
Lecture Slide File (pptx) : {{pptx_file_name}}
</h4>
<div
class=
"form-group"
>
<a
href=
"/generate_short_note"
class=
"btn btn-primary btn-block"
>
Generate Short Note
</a>
</div>
<div
class=
"form-group"
>
<a
href=
"/generate_topics"
class=
"btn btn-primary btn-block"
>
Analyse Topics
</a>
</div>
</form>
</div>
</div>
</div>
</body>
</html>
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