diff options
Diffstat (limited to 'website/templates/view-abstracts.html')
-rw-r--r-- | website/templates/view-abstracts.html | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/website/templates/view-abstracts.html b/website/templates/view-abstracts.html new file mode 100644 index 0000000..a48f2e0 --- /dev/null +++ b/website/templates/view-abstracts.html @@ -0,0 +1,105 @@ +{% extends 'base.html' %} +{% load static %} +{% load widget_tweaks %} + +<!DOCTYPE HTML> + +<html> + <head> + <title>View Proposals</title> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--> + <link rel="stylesheet" href="assets/css/main.css" /> + <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]--> + <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]--> + </head> + <body> + + + + {% block header %} + <header id="header"> + <h1>Scipy India 2016</h1> + <h2 style= "color:black;">View Proposals</h2> +</header> +{% endblock %} + + +<div id="wrapper"> +{% block nav %} + <nav id="nav" class="alt"> + <ul> + <li><a href="{% url 'website:home' %}" class="active">Scip India 2016</a></li> + + {% if user and not user.is_anonymous %} + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}<b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="{% url 'auth:logout' %}?next=/2016/cfp">Logout</a></li> + <li><a href="{% url 'website:cfp' %}">Main Menu</a></li> + </ul> + {% endif %} + </ul> + </nav> +{% endblock %} + + +{% block content %} + <div id="wrapper"> +<div id="main"> +<section id="content" class="main"> + + + + <form action="" method="post"> {% csrf_token %} + <table class="table"> + <colgroup> + <col width="20%" /> + <col width="10%" /> + <col width="20%" /> + <col width="80%" /> + <!-- <col width="20%" /> --> + </colgroup> + <th> Select + <th> Sr + <th>Speaker + <th> Title + <!-- <th> Comments --> + {% for proposal in proposals %} + <tr> + <td> <input type = "checkbox" name="delete_proposal" value = {{proposal.id}}></input></td> + <td> + {{ forloop.counter }} + </td> + <td> + {{ proposal.user.get_full_name}} + </td> + {% if user.is_superuser %} + <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:.5px;"><a href="{% url 'website:comment_abstract' proposal.id %}">{{proposal.title}}</a> </td> + {% else %} + <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:.5px;"><a href="{% url 'website:abstract_details' proposal.id %}">{{proposal.title}}</a> </td> + {% endif %} + </tr> + {% endfor %} + </table> + <center><button class="btn" type="submit">Delete</button></center> + </form> + </section> + + </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> + + </body> +</html> |