summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--fossee_manim/send_mails.py3
-rw-r--r--fossee_manim/static/css/index.css16
-rw-r--r--fossee_manim/templates/fossee_manim/index.html20
-rw-r--r--static/css/index.css8
5 files changed, 30 insertions, 18 deletions
diff --git a/.gitignore b/.gitignore
index c28bed8..ec6dd19 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,6 +38,7 @@ migrations/
*.swp
#images/gif
+*.png
*.gif
#VS code
diff --git a/fossee_manim/send_mails.py b/fossee_manim/send_mails.py
index a35f6f4..c1c43a9 100644
--- a/fossee_manim/send_mails.py
+++ b/fossee_manim/send_mails.py
@@ -122,10 +122,11 @@ def send_email(request, call_on, contributor=None, key=None, proposal=None):
Please check your proposal {1}
for comments by our reviewers
+ Follow this link to login {2}/login
In case of queries, please revert to this
email.""".format(contributor.profile.user.username,
- proposal.title))
+ proposal.title, PRODUCTION_URL))
logging.info("Comment by Reviewer: %s", request.user.email)
send_mail(
diff --git a/fossee_manim/static/css/index.css b/fossee_manim/static/css/index.css
index 8cceca6..f1b32bc 100644
--- a/fossee_manim/static/css/index.css
+++ b/fossee_manim/static/css/index.css
@@ -15,6 +15,18 @@
padding-top: 3.5%;
}
+#center_row {
+ background-color: #A5C9FF;
+ height: 420px;
+ padding: 5%;
+ text-align: center;
+}
+
+#container_img {
+ margin: auto;
+
+}
+
form.example input[type=text] {
padding: 10px;
font-size: 17px;
@@ -25,8 +37,8 @@ form.example input[type=text] {
}
form.example button {
- height: 6.6%;
- width: 18%;
+ padding: 6px;
+ width: 30%;
background:#F5404C;
color: white;
font-size: 150%;
diff --git a/fossee_manim/templates/fossee_manim/index.html b/fossee_manim/templates/fossee_manim/index.html
index 40c355b..993a9a7 100644
--- a/fossee_manim/templates/fossee_manim/index.html
+++ b/fossee_manim/templates/fossee_manim/index.html
@@ -28,12 +28,12 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <title>Welcome</title>
+ <title>Welcome</title>
</head>
<style>
#circle:hover {
- color: orange;
+ color: rgb(13, 108, 233);
}
</style>
<body>
@@ -44,7 +44,7 @@
</center>
</div>
<div class="col-md-6">
- <form class="example" id="search_bar" method="POST" action="/search/" style="margin-bottom: 5%; margin-right: 5%; margin-left: 3%;">
+ <form class="example" id="search_bar" method="POST" action="/search/" >
{% csrf_token %}
<input type="text" id="sbox" name="sbox" type="search" placeholder="Search" id="search_tab">
<button type="submit"><i class="fa fa-search"></i></button>
@@ -63,13 +63,17 @@
</a>
</div>
</div>
- <div class="row">
- <div class="col-md-12" style="background-color: #A5C9FF;">
- <center>
- <img src="{{ URL_ROOT }}/static/img/logo_center.png" style="width: 20%; margin: 10% 0% 20% 0%; background-color: #A5C9FF;">
- </center>
+
+ <div class="row" id="center_row">
+ <div class="col-md-12">
+ <img id="container_img" class="img-responsive" src="{{ URL_ROOT }}/static/img/logo_center.png">
+ <p></p>
+ <p> Lorem ipsum dolor, sit amet consectetur adipisicing elit. <br> Quae debitis porro incidunt quis,
+ consequuntur reprehenderit temporibus nam quisquam distinctio doloribus consequatur at ut, <br> libero et corrupti eaque odio assumenda ab.
+ </p>
</div>
</div>
+
<div class="row" style="background-color: white;">
<div class="col-md-4">
<center>
diff --git a/static/css/index.css b/static/css/index.css
index 61b5a80..0c3c6e7 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -11,24 +11,18 @@
}
-#search_bar {
- padding-top: 1.5%;
-}
form.example input[type=text] {
- padding: 10px;
+ padding: 5px;
font-size: 17px;
border: 1px solid grey;
float: left;
- width: 80%;
background: #f1f1f1;
}
form.example button {
float: left;
margin-left: 1%;
- height: 10%;
- width: 25%;
background:#F5404C;
color: white;
font-size: 150%;