From 7ca4731d9e23c16c7669f9498fb7320119a52a81 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Thu, 20 Nov 2014 19:46:28 +0530 Subject: added interface to view received abstracts --- static/website/css/main.css | 9 +++++ static/website/templates/view-abstracts.html | 52 ++++++++++++++++++++++++++++ website/urls.py | 1 + website/views.py | 15 ++++++++ 4 files changed, 77 insertions(+) create mode 100644 static/website/templates/view-abstracts.html diff --git a/static/website/css/main.css b/static/website/css/main.css index 903ec13..ed0845b 100644 --- a/static/website/css/main.css +++ b/static/website/css/main.css @@ -315,3 +315,12 @@ body { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight: 300; } + +.white-popup { + position: relative; + background: #FFF; + padding: 20px; + width:auto; + max-width: 500px; + margin: 20px auto; +} diff --git a/static/website/templates/view-abstracts.html b/static/website/templates/view-abstracts.html new file mode 100644 index 0000000..a988f0a --- /dev/null +++ b/static/website/templates/view-abstracts.html @@ -0,0 +1,52 @@ +{% extends 'website/templates/base.html' %} + +{% load widget_tweaks %} + +{% block current %} +View Abstracts +{% endblock %} + + +{% block content %} + {% for proposal in proposals %} +
Title: {{ proposal.title }}
+Speaker: {{ proposal.user.first_name }} {{ proposal.user.last_name }}
+Bio: {{ proposal.bio }}
+Objective: {{ proposal.objective }}
+ ++ + | ++ Attachment + | +
Additional Links: {{ proposal.link }}
+ {% endif %} + +