From 0dac6f6f2abe0a2c7085a671ad616d778ccca848 Mon Sep 17 00:00:00 2001 From: Akshen Date: Tue, 28 May 2019 12:33:25 +0530 Subject: Guidelines page added --- .../templates/fossee_manim/guidelines.html | 105 +++++++++++++++++++++ fossee_manim/templates/fossee_manim/how_to.html | 21 ----- fossee_manim/urls.py | 3 +- fossee_manim/views.py | 9 +- 4 files changed, 113 insertions(+), 25 deletions(-) create mode 100644 fossee_manim/templates/fossee_manim/guidelines.html delete mode 100644 fossee_manim/templates/fossee_manim/how_to.html (limited to 'fossee_manim') diff --git a/fossee_manim/templates/fossee_manim/guidelines.html b/fossee_manim/templates/fossee_manim/guidelines.html new file mode 100644 index 0000000..2d034a2 --- /dev/null +++ b/fossee_manim/templates/fossee_manim/guidelines.html @@ -0,0 +1,105 @@ +{% extends 'fossee_manim/base.html' %} + + {% block title %} + FOSSEE Animation + {% endblock %} + +{% block content %} + +
+
+

Guidelines for Submitting Video Proposal

+
+
    +
  1. Creating an account

  2. + +
    +
  3. Submitting a proposal

  4. +

    Before you start creating the animation videos, you need to send a proposal. The proposal is divided into two parts, stage 1 and stage 2. The details for both the stages are given below.

    + + + +
    +

    + Please note that the second form is completed and sent after the contributor has worked out the more precise details of their proposed animation. + It is sent so that the moderators get a fair idea of what your animation video will consist of, such as the approach to visualising a concept, + the tools used, the books used for reference and so on. +

    + +
  5. Creating your animation / visualisation:
  6. + +
    +
  7. Uploading the final video
  8. + After submitting the proposal - form 2 and after the moderator has approved, you will receive a link on your proposals page for uploading the required video. The notification for the same will again be sent via email. + +
+
+{% endblock %} \ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/how_to.html b/fossee_manim/templates/fossee_manim/how_to.html deleted file mode 100644 index 830bdff..0000000 --- a/fossee_manim/templates/fossee_manim/how_to.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends 'fossee_manim/base.html' %} - - {% block title %} - FOSSEE Animation - {% endblock %} - -{% block content %} -
-
-

How to contribute

- -
-{% endblock %} \ No newline at end of file diff --git a/fossee_manim/urls.py b/fossee_manim/urls.py index 6181b67..f3c65b6 100644 --- a/fossee_manim/urls.py +++ b/fossee_manim/urls.py @@ -18,10 +18,11 @@ urlpatterns = [ name='upload_animation'), url(r'^proposal_status/$', views.proposal_status, name='proposal_status'), url(r'^search/$', views.search, name='search'), - url(r'^how_to/$', views.how_to, name='how_to'), + url(r'^guidelines/$', views.guidelines, name='guidelines'), url(r'^view_profile/$', views.view_profile, name='view_profile'), url(r'^edit_profile/$', views.edit_profile, name='edit_profile'), url(r'^video/([1-9][0-9]*)$', views.video, name='video'), + url(r'^honorarium/([1-9][0-9]*)$', views.honorarium, name='honorarium'), url(r'^search_category/(?P.+)$', views.search_category, name='search_category') ] diff --git a/fossee_manim/views.py b/fossee_manim/views.py index 265e8ee..f2e9a84 100644 --- a/fossee_manim/views.py +++ b/fossee_manim/views.py @@ -529,10 +529,13 @@ def search_category(request, cat=None): }) -def how_to(request): +def guidelines(request): user = request.user categories = Category.objects.all() if is_email_checked(user) and user.is_authenticated(): - return render(request, 'fossee_manim/how_to.html', {'categories': categories}) + return render(request, 'fossee_manim/guidelines.html', {'categories': categories}) else: - return redirect('/register/') \ No newline at end of file + return redirect('/register/') + +def honorarium(request): + pass \ No newline at end of file -- cgit