From f2d4d20e0906c89ac655b48f242c9f0bfa8b741c Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Wed, 27 Nov 2013 12:17:06 +0530 Subject: adding list of abstracts page --- website/templates/abstract_details.html | 21 +++++++++++++++++++++ website/templates/index.html | 1 + website/templates/list_abstracts.html | 18 ++++++++++++++++++ website/templates/page.html | 1 + 4 files changed, 41 insertions(+) create mode 100644 website/templates/abstract_details.html create mode 100644 website/templates/list_abstracts.html (limited to 'website/templates') diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html new file mode 100644 index 0000000..4706d61 --- /dev/null +++ b/website/templates/abstract_details.html @@ -0,0 +1,21 @@ +{% extends 'page.html'%} +{% load static %} + +{% block breadcrumbs %} +
  • Invited Speakers
  • +
  • List of Abstracts
  • +{% endblock %} + +{% block content %} +

    {{ paper.title }}

    + +

    Speaker: {{ paper.user.first_name }} {{ paper.user.last_name }}

    +

    Speaker Bio: {{ paper.bio }}

    +
    +

    Abstract: {{ paper.abstract }}

    +
    +

    Affiliation: {{ paper.affiliation }}

    +

    Links: {{ paper.links }}

    +

    Attachment

    + +{% endblock %} diff --git a/website/templates/index.html b/website/templates/index.html index 2675c4f..b30a60e 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -51,6 +51,7 @@ diff --git a/website/templates/list_abstracts.html b/website/templates/list_abstracts.html new file mode 100644 index 0000000..4389d2d --- /dev/null +++ b/website/templates/list_abstracts.html @@ -0,0 +1,18 @@ +{% extends 'page.html'%} + +{% block breadcrumbs %} +
  • Invited Speakers
  • +
  • List of Abstracts
  • +{% endblock %} + +{% block content %} +

    List of Abstracts

    + + + +{% endfor %} +
    Title +Speaker +{% for paper in papers %} +
    {{ paper.title }}{{ paper.user.first_name }} {{ paper.user.last_name }}
    +{% endblock %} diff --git a/website/templates/page.html b/website/templates/page.html index 3a89b1c..e398e3f 100644 --- a/website/templates/page.html +++ b/website/templates/page.html @@ -51,6 +51,7 @@ -- cgit From bbdb33925a7e857bf1ea263d8f33cb3b76d3fc2e Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Wed, 27 Nov 2013 12:26:48 +0530 Subject: resolving minor URL issue --- website/templates/abstract_details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/templates') diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html index 4706d61..ff38076 100644 --- a/website/templates/abstract_details.html +++ b/website/templates/abstract_details.html @@ -16,6 +16,6 @@

    Affiliation: {{ paper.affiliation }}

    Links: {{ paper.links }}

    -

    Attachment

    +

    Attachment

    {% endblock %} -- cgit From 6454590501ae2a2186ff67bfc2429c6805879384 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Wed, 27 Nov 2013 12:49:28 +0530 Subject: resolving URL issue for abstracts --- website/templates/abstract_details.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'website/templates') diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html index ff38076..558eb60 100644 --- a/website/templates/abstract_details.html +++ b/website/templates/abstract_details.html @@ -9,13 +9,14 @@ {% block content %}

    {{ paper.title }}

    -

    Speaker: {{ paper.user.first_name }} {{ paper.user.last_name }}

    -

    Speaker Bio: {{ paper.bio }}

    +

    {{ paper.user.first_name }} {{ paper.user.last_name }}

    +

    {{ paper.bio }}

    +

    Abstract:

    -

    Abstract: {{ paper.abstract }}

    +{{ paper.abstract }}
    -

    Affiliation: {{ paper.affiliation }}

    +

    Affiliation: {{ paper.affiliation }}

    Links: {{ paper.links }}

    -

    Attachment

    +

    Attachment

    {% endblock %} -- cgit From 0d0d4b0bdfe3a0ee89b7fb5c067aae8cd6a4c020 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Wed, 27 Nov 2013 12:52:18 +0530 Subject: editing styles --- website/templates/abstract_details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/templates') diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html index 558eb60..3abf02e 100644 --- a/website/templates/abstract_details.html +++ b/website/templates/abstract_details.html @@ -13,7 +13,7 @@

    {{ paper.bio }}

    Abstract:

    -{{ paper.abstract }} +

    {{ paper.abstract }}

    Affiliation: {{ paper.affiliation }}

    Links: {{ paper.links }}

    -- cgit