Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Codigos_AEG
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ADITYA ANIL JAIN
Codigos_AEG
Commits
25fb4d3d
Commit
25fb4d3d
authored
Nov 27, 2019
by
KARTAVYA PRAVIN KOTHARI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small UI bugs
parent
10c7f92f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
main.py
main.py
+1
-1
templates/contribute.html
templates/contribute.html
+1
-1
templates/thanks.html
templates/thanks.html
+2
-2
No files found.
main.py
View file @
25fb4d3d
...
...
@@ -118,7 +118,7 @@ async def evaluate(request):
"essay"
:
essay
,
"score"
:
score
}
message
=
"Success, Thanks for your
e
nvaluable contribution!"
message
=
"Success, Thanks for your
i
nvaluable contribution!"
response
=
authed_session
.
post
(
"https://softlab-ba722.firebaseio.com/"
+
prompt
+
"/.json"
,
None
,
json
)
if
response
.
status_code
!=
200
:
...
...
templates/contribute.html
View file @
25fb4d3d
...
...
@@ -59,7 +59,7 @@
<div
class=
"input-group mb-3"
>
<input
type=
"text"
class=
"form-control"
form=
"contribute"
name=
"score"
placeholder=
"Essay Score"
aria-label=
"Recipient's username"
aria-describedby=
"basic-addon2"
>
<div
class=
"input-group-append"
>
<span
class=
"input-group-text"
id=
"basic-addon2"
>
/
6
0
</span>
<span
class=
"input-group-text"
id=
"basic-addon2"
>
/
10
0
</span>
</div>
</div>
<div
class=
"text-center"
>
...
...
templates/thanks.html
View file @
25fb4d3d
...
...
@@ -39,9 +39,9 @@
<!-- <br /> -->
<p
class=
"lead"
>
{{message}}
</p>
<hr
class=
"my-4"
>
<p
class=
"
display-4 text-center"
>
{{essay}}
</p>
<p
class=
"
text-center"
>
Essay:
{{essay}}
</p>
<hr
class=
"my-4"
>
<p
class=
"
display-4 text-center"
>
{{score}}
</p>
<p
class=
"
text-center"
>
Score:
{{score}}
</p>
<!-- <p class="lead">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptates architecto ipsam laborum accusantium soluta earum facere neque! Qui tempora totam sit, corrupti, harum esse natus, deserunt consequatur quidem perferendis magni.
</p>
...
...
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