summaryrefslogtreecommitdiff
path: root/website/templates/abstract-details.html
blob: 42c5d5902009388d6987893442a497374fce54ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE HTML>
{% extends 'base.html' %}
{% load static %}

<html>
	<head>
		<title>{{ user.get_full_name|default:user.username }}</title>
		<meta charset="utf-8" />
		<link rel="stylesheet" href="assets/css/main.css" />
	</head>
	<body>


		
      {% block header %}
       <header id="header1">
						<h1>SciPy India 2016</h1>
						<h2>Abstract Details</h2>
</header> 
{% endblock %}



{% block nav %}

<div id="navbar-main"> 
  <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
         <li><a href="{% url 'website:home' %}" class="active">Home</a></li>        
               {% if user and not user.is_anonymous %}
               <li><a href="{% url 'website:cfp' %}">{{ user.get_full_name|default:user.username }}</a>
                <li><a href="{% url 'auth:logout' %}?next=/2016/cfp">Logout</a></li>
               {% else %}       
                <li><a href="{% url 'website:cfp' %}" >Login</a></li>
           {% endif %}
        </ul>
      </div>
  </div>
</div>
{% endblock %}



{% block content %}
			<div id="wrapper">
			<div id="main">
			<section id="content" class="main">
				<h3>{{ proposal.user.first_name }} {{ proposal.user.last_name }}</h3>
			<p><b>Title: </b>&nbsp;{{ proposal.title }}</p>
     		<p><b>About Me: </b>&nbsp;{{ proposal.about_me }}</p>
        	<p><b>Abstract: </b>&nbsp;{{ proposal.abstract }}</p>
        	{% if proposal.prerequisite %}
        		<p><b>Prerequisite: </b>&nbsp;{{ proposal.prerequisite }}</p>
        	{% endif%}
            <p><b>Date Created: </b>&nbsp;{{ proposal.date_created }}</p>       
          {% if proposal.attachment.url %}
           <p><b>Attachment: </b>&nbsp;
           <a href="{{ url }}" class="btn btn-info" target="_blank">{{filename}}</a></p>
           {% endif %}
        <p><b>Comments: </b>
          <hr>
        {% for comment in comments %}
            <div>
                <strong>Comment By:</strong>
                {{ comment.user.first_name }} {{ comment.user.last_name }}
                <p>{{ comment.comment|safe }}</p>
            </div>
            <hr>
        {% endfor %}
						 
							</section>

					</div>
      </div>
   
{% endblock %}
					
		<!-- Scripts -->
			<script src="assets/js/jquery.min.js"></script>
			<script src="assets/js/jquery.scrollex.min.js"></script>
			<script src="assets/js/jquery.scrolly.min.js"></script>
			<script src="assets/js/skel.min.js"></script>
			<script src="assets/js/util.js"></script>
			<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
			<script src="assets/js/main.js"></script>

<script>
$(document).ready(function() {
    var n1 = Math.round(Math.random() * 10 + 1);
    var n2 = Math.round(Math.random() * 10 + 1);
    $("#a").val(n1 + " + " + n2 + " = ");
    $("#c").click(function() {
        if (eval($("#a").val()) == $("#b").val()) {
        } else {
            alert("Write the correct value ");
        }
    });
});
</script>
	</body>
</html>