summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSh-Ac2019-09-07 18:05:34 +0530
committerSh-Ac2019-09-07 18:05:34 +0530
commite175b147cf38a7963b2fbb11dec4638d7b512d92 (patch)
treee6199f0ae3fb0703c9141e3fad92c225de65f765
parent990bb60728b1d8ea8bb1c61fa43e749e7e8be670 (diff)
downloadFOSSEE_animations-e175b147cf38a7963b2fbb11dec4638d7b512d92.tar.gz
FOSSEE_animations-e175b147cf38a7963b2fbb11dec4638d7b512d92.tar.bz2
FOSSEE_animations-e175b147cf38a7963b2fbb11dec4638d7b512d92.zip
Add library of topics pages
-rw-r--r--fossee_manim/static/css/custom_base.css3
-rw-r--r--fossee_manim/templates/fossee_manim/about.html2
-rw-r--r--fossee_manim/templates/fossee_manim/base.html31
-rw-r--r--fossee_manim/templates/fossee_manim/library.html2
-rw-r--r--fossee_manim/templates/fossee_manim/libraryCS.html16
-rw-r--r--fossee_manim/templates/fossee_manim/libraryMath.html2
-rw-r--r--fossee_manim/templates/fossee_manim/libraryPhys.html2
7 files changed, 38 insertions, 20 deletions
diff --git a/fossee_manim/static/css/custom_base.css b/fossee_manim/static/css/custom_base.css
index e2623b1..5c2fd14 100644
--- a/fossee_manim/static/css/custom_base.css
+++ b/fossee_manim/static/css/custom_base.css
@@ -1,6 +1,3 @@
-#basefooter{
- font-family: 'Lato', sans-serif;
-}
.navbar{
font-family: 'Montserrat', sans-serif;
font-size: 15px;
diff --git a/fossee_manim/templates/fossee_manim/about.html b/fossee_manim/templates/fossee_manim/about.html
index 9bed61d..13b5a01 100644
--- a/fossee_manim/templates/fossee_manim/about.html
+++ b/fossee_manim/templates/fossee_manim/about.html
@@ -16,4 +16,4 @@
<hr>
</div>
</div>
- {% endblock %}
+ {% endblock content %}
diff --git a/fossee_manim/templates/fossee_manim/base.html b/fossee_manim/templates/fossee_manim/base.html
index d09fad5..76a3615 100644
--- a/fossee_manim/templates/fossee_manim/base.html
+++ b/fossee_manim/templates/fossee_manim/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html style="height: 100%;">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
@@ -8,11 +8,13 @@
{% endblock %}
</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.bundle.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/css/sticky-footer.css" type="text/css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Wruczek/Bootstrap-Cookie-Alert@gh-pages/cookiealert.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
@@ -107,29 +109,28 @@
</div>
</div>
{% endblock %}
- <!-- <main role="main" class="container"> -->
+
{% block content %}
<br><br>
<h1>Base Template Content. Please override me</h1>
-
+ </div>
{% endblock %}
<!-- </main> -->
{% block footer %}
- <div class="jumbotron" id="basefooter" style="background-color: #222222; margin-bottom: 0px; padding: 40px;border-radius: 0 !important;">
-
+<footer class= "footer" style="background-color: #222222; font-family: 'Lato', sans-serif; padding:30px;">
<div class="container">
<div class="row">
- <div class="col-md text-center">
+ <div class="col-md-4 text-center">
<img src="{{ URL_ROOT }}/static/img/fossee_logo_iitb.png" style="">
</div>
- <div class="col-md text" style="color:#dddddd;">
+ <div class="col-md-4 text" style="color:#dddddd;">
FOSSEE | IIT-Bombay <br>
Mumbai, India - 400-076 <br>
Phone: (+91) 22-2576-4133<br>
Email: animations@fossee.in
</div>
- <div class="col-md text-center" style="color:#dddddd; margin-top: 15px">
+ <div class="col-md-4 text-center" style="color:#dddddd; margin-top: 15px">
Follow us on:<br/>
<a href="https://twitter.com/fosseenmeict" class="fa fa-twitter"></a>
&nbsp; &nbsp; &nbsp;
@@ -141,24 +142,28 @@
</div>
</div>
<hr>
- <div class="text-center row" style="color: #dddddd; color:white; padding:10px;margin-left: 10px; text-align:center">
+ <div class="text-center row" style="color: #dddddd; color:white; padding:10px;margin-left: 10px; text-align:center; margin-bottom:0px;">
The FOSSEE project is funded by the National Mission on Education through ICT, MHRD, Government of India.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
</div>
</div>
- </div>
- {% endblock footer%}
+</footer>
+
+ {% endblock footer %}
+
<!-- START Bootstrap-Alert -->
<div class="alert text-center cookiealert" role="alert" style="background: #d1ff3c; color: black;">
- The website is currently undergoing some developmental changes. If you encounter any glitches / malfunctioning, write to us at animations@fossee.in ; we value your feedback and suggestions !
+ The website is currently undergoing some developmental changes. If you encounter any glitches, write to us at animations@fossee.in ; we value your feedback and suggestions !
<button type="button" class="close" data-dismiss="alert" aria-label="Close" >
<span aria-hidden="true">&times;</span>
</button>
</div>
<!-- END Bootstrap-Alert -->
+
<!-- JS for alert -->
<script src="https://cdn.jsdelivr.net/gh/Wruczek/Bootstrap-Cookie-Alert@gh-pages/cookiealert.js"></script>
+
</body>
</html>
diff --git a/fossee_manim/templates/fossee_manim/library.html b/fossee_manim/templates/fossee_manim/library.html
index 7cfc95c..259eec4 100644
--- a/fossee_manim/templates/fossee_manim/library.html
+++ b/fossee_manim/templates/fossee_manim/library.html
@@ -10,7 +10,7 @@
<div class="container" style= "font-family: 'Lato', sans-serif; background-color: transparent;">
<center style= "color: #555555;">
Muddled about what you could possibly animate? <br>
- Feel free to pick up topics from the lists below! <br>
+ You can pick up topics from the lists below! <br>
<!-- We like to call it "<i>low-hanging fruit</i>". -->
</center>
<hr>
diff --git a/fossee_manim/templates/fossee_manim/libraryCS.html b/fossee_manim/templates/fossee_manim/libraryCS.html
new file mode 100644
index 0000000..a40408d
--- /dev/null
+++ b/fossee_manim/templates/fossee_manim/libraryCS.html
@@ -0,0 +1,16 @@
+{% extends 'fossee_manim/base.html' %}
+
+ {% block title %}
+ FOSSEE Animations | Library of Computer Science Topics
+ {% endblock %}
+
+ {% block content %}
+ <div class="container-fluid jumbotron" align = "justify" style="background-color: transparent">
+ <center><h2>CS Topics</h2></center>
+ <div class="container" style= "font-family: 'Lato', sans-serif; background-color: transparent;">
+ <hr>
+ <script src="https://gist.github.com/Sh-Ac/59779adf6cd8ff74e451567a1868a36d.js"></script>
+ </div>
+ </div>
+
+ {% endblock %}
diff --git a/fossee_manim/templates/fossee_manim/libraryMath.html b/fossee_manim/templates/fossee_manim/libraryMath.html
index 8e781f3..cbdd765 100644
--- a/fossee_manim/templates/fossee_manim/libraryMath.html
+++ b/fossee_manim/templates/fossee_manim/libraryMath.html
@@ -1,7 +1,7 @@
{% extends 'fossee_manim/base.html' %}
{% block title %}
- FOSSEE Animations | Library of Mathhematics Topics
+ FOSSEE Animations | Library of Mathematics Topics
{% endblock %}
{% block content %}
diff --git a/fossee_manim/templates/fossee_manim/libraryPhys.html b/fossee_manim/templates/fossee_manim/libraryPhys.html
index 74ce6c7..883a59b 100644
--- a/fossee_manim/templates/fossee_manim/libraryPhys.html
+++ b/fossee_manim/templates/fossee_manim/libraryPhys.html
@@ -1,7 +1,7 @@
{% extends 'fossee_manim/base.html' %}
{% block title %}
- FOSSEE Animations | Library of Mathhematics Topics
+ FOSSEE Animations | Library of Physics Topics
{% endblock %}
{% block content %}