From 903b73b033c9b80db36da755e05185d4f266101c Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Fri, 6 Mar 2020 14:39:16 +0530 Subject: Add view abstracts, comment abstract --- .../arduino_blog/templates/abstract-details.html | 30 ++++++ .../arduino_blog/templates/comment-abstract.html | 39 ++++++++ .../static/arduino_blog/templates/dashboard.html | 5 +- .../static/arduino_blog/templates/home.html | 6 +- .../static/arduino_blog/templates/submit-cfp.html | 8 ++ .../arduino_blog/templates/user-register.html | 14 +-- .../arduino_blog/templates/view-proposals.html | 107 +++++++++++++++++++++ 7 files changed, 192 insertions(+), 17 deletions(-) create mode 100644 arduino_blog/static/arduino_blog/templates/abstract-details.html create mode 100755 arduino_blog/static/arduino_blog/templates/comment-abstract.html create mode 100644 arduino_blog/static/arduino_blog/templates/view-proposals.html (limited to 'arduino_blog/static') diff --git a/arduino_blog/static/arduino_blog/templates/abstract-details.html b/arduino_blog/static/arduino_blog/templates/abstract-details.html new file mode 100644 index 0000000..153979d --- /dev/null +++ b/arduino_blog/static/arduino_blog/templates/abstract-details.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% load static %} + {% block content %} +
+
+

+

+

Abstract Details

+
+

+

{{ proposal.user.first_name }} {{ proposal.user.last_name }}

+
+

Title:  {{ proposal.title_of_the_project }}

+

Name of the author: {{proposal.name_of_author}} +

+

About the authors:  {{ proposal.about_the_author | linebreaks }}

+

Abstract:  {{ proposal.abstract | linebreaks }}

+

Date Created:  {{ proposal.date_created }}

+

Comments

+ {% for comment in comments %} +
+ Comment By: + {{ user.first_name }} {{ user.last_name }} +

{{ comment.body| linebreaks }}

+
+
+ {% endfor %} +
+
+ {% endblock %} diff --git a/arduino_blog/static/arduino_blog/templates/comment-abstract.html b/arduino_blog/static/arduino_blog/templates/comment-abstract.html new file mode 100755 index 0000000..e3d7677 --- /dev/null +++ b/arduino_blog/static/arduino_blog/templates/comment-abstract.html @@ -0,0 +1,39 @@ +{% extends "base.html" %} +{% load static %} +{% load widget_tweaks %} +{% block content %} + +
+
+

{{ proposal.user.first_name }} {{ proposal.user.last_name }}

+

Title:  {{ proposal.title_of_the_project }}

+

Name of the author: {{proposal.name_of_author}} +

+

About the authors:  {{ proposal.about_the_author |linebreaks }}

+ +

Abstract:  + + {{ proposal.abstract | linebreaks }} +

+

Date Created:  {{ proposal.date_created }}

+

Comments

+ {% for comment in comments %} +
+ Comment By: + {{ user.first_name }} {{ user.last_name }} +

{{ comment.body| linebreaks }}

+
+
+ + {% endfor %} +
+ {% csrf_token %} +
+ + Back +
+
+
+ {% endblock %} + + diff --git a/arduino_blog/static/arduino_blog/templates/dashboard.html b/arduino_blog/static/arduino_blog/templates/dashboard.html index a4528a8..5a5fab6 100644 --- a/arduino_blog/static/arduino_blog/templates/dashboard.html +++ b/arduino_blog/static/arduino_blog/templates/dashboard.html @@ -8,14 +8,17 @@
- + + View Abstracts
{% else %} {% if msg %}
{% endif %} {% endif %} diff --git a/arduino_blog/static/arduino_blog/templates/home.html b/arduino_blog/static/arduino_blog/templates/home.html index af83742..a1feb61 100644 --- a/arduino_blog/static/arduino_blog/templates/home.html +++ b/arduino_blog/static/arduino_blog/templates/home.html @@ -10,13 +10,13 @@

Open Source Hardware Project

- Back in 2005, a group of students envisaged a world where they have affordable access to digital devices, that they can interact with the environment using sensors and microcontrollers. Fast forward 15 years and Arduino has become a household name in the community of not just students, but also novices, professionals and DIY makers. The formidable headway that was brought about has given courage and vision to all the opensource hardware projects henceforth. We at FOSSEE also became a part by adopting the platform, and using it to teach Electronics across India. The learning resources, both hardware and lectures, put together by the Opensource-hardware team of FOSSEE and Spoken-tutorial has already demonstrated effective learning. + Back in 2005, a group of students envisaged a world where they have affordable access to digital devices, that they can interact with the environment using sensors and microcontrollers. Fast forward 15 years and Arduino has become a household name amongst not just students, but also novices, professionals and DIY makers. The formidable headway that was brought about has shown the way to many opensource hardware projects henceforth. We at FOSSEE also became a part by adopting the platform, and using it to teach Electronics across India. The learning resources, both hardware and lectures, put together by the Opensource-hardware team of FOSSEE and Spoken Tutorial has already demonstrated effective learning.

- Here, we are here providing you a platform for showcasing your ambitious projects, forming a community around the users and become part of our opensource-hardware activities. We are inviting proposals from you, those who have implemented projects using Arduino or are in the process, to contribute the documentation/DIY instructions of their projects. We promise to put together a well presented, shareable documentation of your project in our website. Every contributor can thus build an online portfolio which they can take pride in and may also land them a job one day! + Here, we are providing you a platform for showcasing your ambitious projects, forming a community around the users and becoming part of our open-source hardware activities. We are inviting proposals from you, those who have implemented projects using Arduino or are in the process, to contribute the documentation/DIY instructions of their projects. We promise to put together a well presented, shareable documentation of your project on our website. Every contributor can thus build an online portfolio, which they can take pride in and which might also land them a job one day!

- Please signup and make a profile for proposal submission right away and become one of the first contributors! + Please sign up and make a profile for proposal submission right away and become one of the first contributors!

Contribute first diff --git a/arduino_blog/static/arduino_blog/templates/submit-cfp.html b/arduino_blog/static/arduino_blog/templates/submit-cfp.html index 6e20b5c..4da6237 100644 --- a/arduino_blog/static/arduino_blog/templates/submit-cfp.html +++ b/arduino_blog/static/arduino_blog/templates/submit-cfp.html @@ -43,6 +43,14 @@

+ +
+ + {% render_field proposal_form.references %} + +
+ +
+ + {% endblock %} \ No newline at end of file -- cgit