summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSh-Ac2019-09-01 15:27:33 +0530
committerSh-Ac2019-09-01 15:27:33 +0530
commit27696f4b291f18bd71a17218c57e782e577dfb8c (patch)
tree6f328ae618f8ee239565632dfa4b8fb2daa8fda7
parent4a0f98098483577a3855fba08776a799f7403718 (diff)
downloadFOSSEE_animations-27696f4b291f18bd71a17218c57e782e577dfb8c.tar.gz
FOSSEE_animations-27696f4b291f18bd71a17218c57e782e577dfb8c.tar.bz2
FOSSEE_animations-27696f4b291f18bd71a17218c57e782e577dfb8c.zip
create absic template for workshop content
-rw-r--r--fossee_manim/templates/fossee_manim/base.html11
-rw-r--r--fossee_manim/templates/fossee_manim/workshops.html29
-rw-r--r--fossee_manim/urls.py1
-rw-r--r--fossee_manim/views.py4
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})