diff options
-rw-r--r-- | fossee_manim/templates/fossee_manim/base.html | 11 | ||||
-rw-r--r-- | fossee_manim/templates/fossee_manim/workshops.html | 29 | ||||
-rw-r--r-- | fossee_manim/urls.py | 1 | ||||
-rw-r--r-- | fossee_manim/views.py | 4 |
4 files changed, 41 insertions, 4 deletions
diff --git a/fossee_manim/templates/fossee_manim/base.html b/fossee_manim/templates/fossee_manim/base.html index 0c600db..f9c17dc 100644 --- a/fossee_manim/templates/fossee_manim/base.html +++ b/fossee_manim/templates/fossee_manim/base.html @@ -30,7 +30,7 @@ <body> {% block header %} - <nav class="navbar navbar-expand-lg row fixed-top" style="background-color:#222222; padding-top: 20px; padding-bottom: 20px;"> + <nav class="navbar navbar-expand-md row fixed-top" style="background-color:#222222; padding-top: 20px; padding-bottom: 20px;"> <a class="navbar-brand" href="{% url 'index' %}"> <img src="{{ URL_ROOT }}/static/img/logo_main.png" width="150" height="33.75" alt="" style="margin-right: 50px; margin-left: 20px"> </a> @@ -93,13 +93,16 @@ </ul> </div> </nav> - <div class="jumbotron sticky-top" style="padding-top: 90px; padding-bottom: 0.2%; margin-bottom: 0px; background-color: #dddddd"> + <!-- <nav class="navbar navbar-expand-md navbar-dark bg-dark"> --> + + <div class="jumbotron sticky-top" style="padding-top: 90px; padding-bottom: 0.2%; margin-bottom: 0px; background-color: #dddddd;width:auto"> <div class="btn-group btn-group-lg" role="group"> - <button class="btn btn-link perma_link" type="button"><a href="{% url 'about' %}" style="color:#157b80">Why FOSSEE Animations?</a></button> + <button class="btn btn-link perma_link" type="button"><a href="{% url 'about' %}" style="color:#157b80">About</a></button> <button class="btn btn-link perma_link" type="button"><a href="{% url 'guidelines' %}" style="color:#222222">Guidelines</a></button> <button class="btn btn-link perma_link" type="button"><a href="{% url 'faqs' %}" style="color:#222222">FAQ</a></button> <button class="btn btn-link perma_link" type="button"><a href="{% url 'honorarium' %}" style="color:#222222">Honorarium</a></button> - <button class="btn btn-link perma_link" type="button"><a href="{% url 'send_proposal' %}" style="color:#dd1100">Submit Proposal</a></button> + <button class="btn btn-link perma_link" type="button"><a href="{% url 'send_proposal' %}" style="color:#dd1100"><b>Submit Proposal</b></a></button> + <button class="btn btn-link perma_link" type="button"><a href="{% url 'workshops' %}" style="color:#157b80">Workshops</a></button> </div> </div> {% endblock %} diff --git a/fossee_manim/templates/fossee_manim/workshops.html b/fossee_manim/templates/fossee_manim/workshops.html new file mode 100644 index 0000000..2e949dc --- /dev/null +++ b/fossee_manim/templates/fossee_manim/workshops.html @@ -0,0 +1,29 @@ +{% extends 'fossee_manim/base.html' %} + + {% block title %} + Workshops + {% endblock %} + +{% block content %} + <div class="container-fluid jumbotron" align = "justify" style="margin-top:20px; background-color: transparent"> + <center><h1>Workshops</h1></center> + <!-- <div class="container" style= "font-family: 'Lato', sans-serif; background-color: transparent;"> --> + <hr> + <center style= "color: #555555;"> + Muddled about what you could possibly animate? <br> + Feel free to pick up topics from the lists below! <br> + We like to call it "<i>low-hanging fruit</i>". + </center> + <br> + <div class="container-fluid row"> + <div class="col lg-5"> + <script src="https://gist.github.com/Jar-win/b8207bb59110a459ab7a9089144d1621.js"></script> + </div> + <div class="col-lg-6"> + <br> + <script src="https://gist.github.com/Jar-win/e7601528c911fe35250d19b86b652a02.js"></script> + </div> + </div> + </div> + + {% endblock %} diff --git a/fossee_manim/urls.py b/fossee_manim/urls.py index e22df91..d9f9bc2 100644 --- a/fossee_manim/urls.py +++ b/fossee_manim/urls.py @@ -27,6 +27,7 @@ urlpatterns = [ url(r'^search_category/(?P<cat>.+)$', views.search_category, name='search_category'), url(r'^about/$',views.about, name='about'), + url(r'^workshops/$',views.workshops, name='workshops'), url(r'^explore/(?P<category>.+)$', views.explore, name='explore'), ] diff --git a/fossee_manim/views.py b/fossee_manim/views.py index 3ba5e91..f547db2 100644 --- a/fossee_manim/views.py +++ b/fossee_manim/views.py @@ -540,3 +540,7 @@ def honorarium(request): def faqs(request): categories = Category.objects.all() return render(request, 'fossee_manim/faqs.html', {'categories': categories}) + +def workshops(request): + categories = Category.objects.all() + return render(request, 'fossee_manim/workshops.html', {'categories': categories}) |