diff options
Diffstat (limited to 'website/templates')
-rw-r--r-- | website/templates/abstract-details.html | 35 | ||||
-rw-r--r-- | website/templates/base.html | 433 | ||||
-rw-r--r-- | website/templates/cfp.html | 107 | ||||
-rw-r--r-- | website/templates/comment-abstract.html | 85 | ||||
-rwxr-xr-x | website/templates/submit-cfp.html | 29 | ||||
-rw-r--r-- | website/templates/submit-cfw.html | 29 | ||||
-rw-r--r-- | website/templates/user-register.html | 34 | ||||
-rw-r--r-- | website/templates/view-abstracts.html | 93 |
8 files changed, 491 insertions, 354 deletions
diff --git a/website/templates/abstract-details.html b/website/templates/abstract-details.html index 30a6dea..319feb2 100644 --- a/website/templates/abstract-details.html +++ b/website/templates/abstract-details.html @@ -17,7 +17,7 @@ {% block header %} - <header id="header"> + <header id="header1"> <h1>Scipy India 2016</h1> <h2>Abstract Details</h2> </header> @@ -27,21 +27,28 @@ <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 %} +<div id="wrapper"> +<div id="navbar-main"> + <!-- Fixed navbar --> + <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 class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}</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> + </ul> + {% else %} + <li><a href="{% url 'website:cfp' %}" >Login</a></li> {% endif %} - </ul> - </nav> + </ul> + </div> + <!--/.nav-collapse --> + </div> +</div> {% endblock %} @@ -56,10 +63,12 @@ {% if proposal.prerequisite %} <p><b>Prerequisite: </b> {{ proposal.prerequisite }}</p> {% endif%} + <p><b>Date Created: </b> {{ proposal.date_created }}</p> {% if proposal.attachment.url %} - <a href="{{ proposal.attachment.url }}" class="btn btn-info" target="_blank">Attachment</a> + <p><b>Attachment: </b> + <a href="{{ proposal.attachment.url }}" class="btn btn-info" target="_blank">{{proposal.attachment}}</a></p> {% endif %} - <p><b>Date Created: </b> {{ proposal.date_created }}</p> + <hr> <h4>Comments</h4> <hr> diff --git a/website/templates/base.html b/website/templates/base.html index 4855a50..2197957 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -9,8 +9,8 @@ <script src="{% static 'js/ie/html5shiv.js' %}"></script>
<link rel="stylesheet" href="{% static 'css/main.css'%}" />
<link rel="stylesheet" href="{% static 'css/fileuploader.css'%}" />
- <link rel="stylesheet" href="{% static 'css/ie9.css' %}" />
- <link rel="stylesheet" href="{% static 'css/ie8.css' %}" />
+ <!-- <link rel="stylesheet" href="{% static 'css/ie9.css' %}" /> -->
+ <!-- <link rel="stylesheet" href="{% static 'css/ie8.css' %}" /> -->
<link href="{% static 'css/base.css' %}" rel="stylesheet">
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet">
</head>
@@ -23,63 +23,52 @@ <header id="header" class="alt">
<span class="logo"><img src="{% static 'img/logo.png' %}" alt="" /></span>
<h1 >Scipy India 2016</h1>
- <p >DECEMBER 9, 10 & 11</p><br><br>
- <cente
- <table class="table" style="border-spacing: 40px 10px;">
-
- <tr>
-
- <td>
- <a href="{% url 'website:cfp' %}" class="button" style="width : 220px;" >Attend</a>
- </td>
- <!-- <td> </td> -->
- <td>
- <a href="#callforabstract" class="button" style="width : 220px;">Submit Abstract</a>
- </td>
- <!-- <td> </td> -->
- <td>
- <a href="#callforabstract" class="button" style="width : 220px;" >Propose Workshop</a>
- </td>
-
- </tr>
- </table>
- </center>
+ <p style="color:#636363; font-weight:500" >DECEMBER 9, 10 & 11</p><br><br>
+
+ <a href="{% url 'website:cfp' %}" class="button special" style="width : 220px;" >Attend</a></center>
+ <a href="#callforabstract" class="button special" style="width : 220px;">Submit Abstract</a></center>
+ <a href="#callforabstract" class="button special" style="width : 220px;" >Propose Workshop</a></center>
</header>
{% endblock %}
+
+<body data-spy="scroll" data-offset="0" data-target="#navbar-main">
+
{% block nav %}
- <nav id="nav" class="alt">
- <ul>
- <li><a href="{% url 'website:home' %}" class="active">Home</a></li>
- <li><a href="#about" >About</a></li>
- <li><a href="#speakers" >Speakers</a></li>
- <li><a href="#attend" >Attend</a></li>
- <li><a href="#schedule" >Schedule</a></li>
- <li><a href="#venue">Venue</a></li>
- <li><a href="#callforabstract">Call for Proposal</a></li>
- <li><a href="#sponsors" >Sponsors</a></li>
- <li><a href="#contact" >Contact</a></li>
-
-
-
-
- {% if user and not user.is_anonymous %}
+<div id="navbar-main">
+ <!-- Fixed navbar -->
+ <div class="navbar navbar-inverse navbar-fixed-top">
+ <div class="navbar-collapse collapse">
+ <ul class="nav navbar-nav">
+ <li> <a href="#" class="smoothScroll">Home</a></li>
+ <li> <a href="#about" class="smoothScroll">About</a></li>
+ <li> <a href="#speakers" class="smoothScroll">Speakers</a></li>
+ <li> <a href="#attend" class="smoothScroll">Attend</a></li>
+ <li> <a href="#callforabstract">Call for Proposal</a></li>
+ <li> <a href="#schedule" class="smoothScroll">Schedule</a></li>
+ <li> <a href="#venue" class="smoothScroll">Venue</a></li>
+ <li> <a href="#sponsors" class="smoothScroll">Sponsors</a></li>
+ <li> <a href="#contact" class="smoothScroll">Contact</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>
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}</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>
- {% else %} <li><a href="{% url 'website:cfp' %}" >Login</a></li>
+ {% else %}
+ <li><a href="{% url 'website:cfp' %}" >Login</a></li>
{% endif %}
-
-
-
- </ul>
- </nav>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ </div>
+</div>
{% endblock %}
+
<!-- Main -->
{% block content %}
<div id="main">
@@ -91,9 +80,33 @@ <header class="major">
<h2>ABOUT</h2>
</header>
- <p>We look forward to your proposals. Conference aims to promote Python for Scientific Computing and Education. Topics like pedagogy, exploration, modeling or from both applied and developmental perspectives are welcome. Contributions from academia as well as industry are welcome. If you wish to propose a talk at the conference, kindly follow the guidelines given below.</p>
+ <p style= "font-size: 20px;">We look forward to your proposals. Conference aims to promote Python for Scientific Computing and Education. Topics like pedagogy, exploration, modeling or from both applied and developmental perspectives are welcome. Contributions from academia as well as industry are welcome. If you wish to propose a talk at the conference, kindly follow the guidelines given below.</p>
</div>
+ </div>
+ <div><h3>SciPy India Conferences down the lane</h3>
+ <ul class="features">
+ <li>
+ <span><img src="{% static 'img/s15.jpg' %}" width="200" alt="" /></span>
+ <h4><a href="http://scipy.in/2015" target="_blank">SciPy India 2015</a></h4>
+
+ </li>
+ <li>
+ <span><img src="{% static 'img/s14.jpg' %}" width="200" alt="" /></span>
+ <h4><a href="http://scipy.in/2014" target="_blank">SciPy India 2014</a></h4>
+
+ </li>
+ <li>
+ <span><img src="{% static 'img/s13.jpg' %}" width="200" alt="" /></span>
+ <h4><a href="http://scipy.in/2013" target="_blank">SciPy India 2013</a></h4>
+
+ </li>
+ <li>
+ <span><img src="{% static 'img/s12.jpg' %}" width="200" alt="" /></span>
+ <h4><a href="http://scipy.in/2012" target="_blank">SciPy India 2012</a></h4>
+
+ </li>
+ </ul>
</div>
</section>
@@ -105,67 +118,31 @@ <header class="major">
<h2>SPEAKERS</h2>
-
+ <center>
- <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
- <!-- Wrapper for slides -->
- <div class="carousel-inner">
- <div class="item active centered">
- <table class="tile_table">
- <tr>
- <td>
- <img class="img-responsive" src="{% static 'img/c1.png' %}" alt="">
- </td>
- <td>
- <p>Dr. Ajith Kumar</p>
- Information about the person. His topic or anythhin related to. Filed of work etc.
- <p></p>
+ <div class = "col-md-4">
+ <img class="img-responsive" src="{% static 'img/pic01.png' %}" alt="">
+ <p>Dr. Abc Xyz</p>
<a href="https://github.com/expeyes" targer"_blank"><i class="icon-github" style="font-size:30px;"></i></a>
<a href="http://expeyes.in/" target="_blank"><i class="icon-info" style="font-size:30px;"></i></a>
+ </div>
+ <div class = "col-md-4">
+ <img class="img-responsive" src="{% static 'img/pic01.png' %}" alt="">
+ <p>Dr. Abc Xyz</p>
+ <a href="https://github.com/expeyes" targer"_blank"><i class="icon-github" style="font-size:30px;"></i></a>
+
+ <a href="http://expeyes.in/" target="_blank"><i class="icon-info" style="font-size:30px;"></i></a>
+ </div>
+ <div class = "col-md-4">
+ <img class="img-responsive" src="{% static 'img/pic01.png' %}" alt="">
+ <p>Dr. Abc Xyz</p>
+ <a href="https://github.com/expeyes" targer"_blank"><i class="icon-github" style="font-size:30px;"></i></a>
+
+ <a href="http://expeyes.in/" target="_blank"><i class="icon-info" style="font-size:30px;"></i></a>
+ </div>
+ </center>
- </td>
- </tr>
- </table>
-
- </div>
- <div class="item centered">
- <table class="tile_table">
- <tr>
- <td>
- <img class="img-responsive" src="{% static 'img/c2.png' %}" alt="">
- </td>
- <td>
- <p>PQR UVW</p>
- <hr>
- Information about the person. His topic or anythhin related to talk. Filed of work etc.
-
- </td>
- </tr>
- </table>
- </div>
- <div class="item centered">
- <table class="tile_table">
- <tr>
- <td>
- <img class="img-responsive" src="{% static 'img/c3.png' %}" alt="">
- </td>
- <td>
- <p>ABC XYZ</p>
- <hr>
- Information about the person. His topic or anythhin related to talk. Filed of work etc.
-
- </td>
- </tr>
- </table>
- </div>
- </div>
- <ol class="carousel-indicators">
- <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
- <li data-target="#carousel-example-generic" data-slide-to="1"></li>
- <li data-target="#carousel-example-generic" data-slide-to="2"></li>
- </ol>
- </div>
</div>
</div>
@@ -176,43 +153,115 @@ <section id="attend" class="main special">
<header class="major">
<h2>ATTEND</h2>
- </header>
- <ul class="statistics">
- <a onmouseover="getElementById('demo').innerHTML= 'This ticket includes conference (tutorials + talks), lunch and snacks for 3 days. It does not include Accommodation & T-Shirt. This is a non-refundable ticket.'">
- <li class="style1">
- <p>Early Bird</p>
- <strong>₹1000</strong>Till 14 Nov</a>
- </li>
- <a onmouseover="getElementById('demo').innerHTML= 'This Ticket allows you to ONLY attend the conference for 3 Days. Does not include any conference amenities (Accommodation, Kit, Food & T-shirt). This is a non-refundable ticket.'">
- <li class="style2">
- <p>Light</p>
- <strong>₹300</strong>Till 14 Nov</a>
- </li>
- <a onmouseover="getElementById('demo').innerHTML= 'This ticket includes conference (tutorials + talks), lunch and snacks for 3 days. It does not include Accommodation & T-Shirt. This is a non-refundable ticket.'">
- <li class="style3">
- <p>Regular</p>
- <strong>₹1200</strong>Till 14 Nov</a>
- </li>
- <a onmouseover="getElementById('demo').innerHTML= 'Change of size, exchange at the venue is not available. This is a non-refundable ticket.'">
- <li class="style4">
- <p>T-shirt</p>
- <strong>₹250</strong> </a>
- </li>
- <a onmouseover="getElementById('demo').innerHTML= 'Accommodation is provided on a shared basis (twin sharing) inside IIT-B campus (Boys/Girls hostel). Accommodation will be provided for 3 days, i.e, 13-14, 14-15 and 15-16 December. Accommodation does not include other amenities like dinner, etc. Extension of period of stay is not available. This is a non-refundable ticket.'">
- <li class="style5">
- <p>Accomodation</p>
- <strong>₹750</strong> </a>
- </li>
- </ul>
+ </header>
+
+ <table >
+ <colgroup>
+ <col width="20%" />
+ <col width="60%" />
+
+ </colgroup>
+ <tr>
+ <center>
+ <!-- <ul class="statistics"> -->
+ <td bgcolor="#efa8b0">
+ <!-- <ul class="statistics"> -->
+ <!-- <li class="style1"> -->
+ <h9 style="color:white;">Early Bird</h9>
+ <h2 style="color:white;" style ="font-size: 25px;">₹1000</h2>
+ <!-- </ul> -->
+ </td>
+ <td>
+ This ticket includes conference (tutorials + talks), lunch and snacks for 3 days. It does not include Accommodation & T-Shirt. This is a non-refundable ticket.
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor = "#c79cc8">
+ <!-- <ul class="statistics"> -->
+ <!-- <li class="style2"> -->
+
+ <h9 style="color:white;">Light</h9>
+ <h2 style="color:white;"style ="font-size: 25px;">₹300</h2>
+ <!-- </li> -->
+ <!-- </ul> -->
+ </td>
+ <td>
+ This Ticket allows you to ONLY attend the conference for 3 Days. Does not include any conference amenities (Accommodation, Kit, Food & T-shirt). This is a non-refundable ticket. </td>
+ </tr>
+ <tr>
+ <td bgcolor="#a89cc8">
+ <!-- <ul class="statistics"> -->
+ <!-- <li class="style3"> -->
+ <h9 style="color:white;">Regular</h9>
+ <h2 style="color:white;" style ="font-size: 25px;">₹1200</h2>
+ <!-- </li> -->
+ <!-- </ul> -->
+ </td>
+ <td>
+ This ticket includes conference (tutorials + talks), lunch and snacks for 3 days. It does not include Accommodation & T-Shirt. This is a non-refundable ticket.</td>
+ </tr>
+ <tr>
+ <td bgcolor ="#9bb2e1">
+ <!-- <ul class="statistics"> -->
+ <!-- <li class="style5"> -->
+ <h9 style="color:white;">Accomodation</h9>
+ <h2 style="color:white;" style ="font-size: 25px;">₹750</h2>
+ <!-- </li> -->
+ <!-- </ul> -->
+ </td>
+ <td>
+ Accommodation is provided on a shared basis (twin sharing) inside IIT-B campus (Boys/Girls hostel). Accommodation will be provided for 3 days, i.e, 13-14, 14-15 and 15-16 December. Accommodation does not include other amenities like dinner, etc. Extension of period of stay is not available. This is a non-refundable ticket.
+ </td>
+ <tr>
+ <td bgcolor= "#8cc9f0">
+ <!-- <ul class="statistics"> -->
+ <!-- <li class="style4"> -->
+ <h9 style="color:white;">T-Shirt</h9>
+ <h2 style="color:white;" style ="font-size: 25px;">₹250</h2>
+ <!-- </li> -->
+ <!-- </ul> -->
+ </td>
+ <td>
+ Change of size, exchange at the venue is not available. This is a non-refundable ticket.
+ </td>
+ </tr>
+ </tr>
+
+ </table>
<p id="demo"></p>
<footer class="major">
<ul class="actions">
- <li><a href="#" class="button">Register</a></li>
+ <li><input type= "image" href="#" style="height:40px;width:180px;" src="{% static 'img/register.png'%}"></li>
</ul>
</footer>
</section>
+
+<section id="callforabstract" class="main special">
+ <div class="spotlight">
+ <div class="content">
+ <header class="major">
+ <h2>CALL FOR PROPOSAL</h2></header>
+ <div class="col-md-6">
+ <p align="justify">We look forward to your proposals. Conference aims to promote <strong>Python for Scientific Computing and Education</strong>. Topics like pedagogy, exploration, modeling or from both applied and developmental perspectives are welcome. Contributions from academia as well as industry are welcome. If you wish to propose a talk at the conference, kindly follow the guidelines given below.</p><br><br>
+ {% if user and not user.is_anonymous and not login_required %}
+ <a class="button" href="{% url 'website:submitcfp' %}">Submit Abstract</a>
+ {% else %}
+ <a class="button" href="{% url 'website:cfp' %}">Submit Abstract</a>
+ {% endif %}
+ </div>
+ <div class="col-md-6">
+ <p align="justify">We look forward to your proposals. Conference aims to promote <strong>Python for Scientific Computing and Education</strong>. Topics like pedagogy, exploration, modeling or from both applied and developmental perspectives are welcome. Contributions from academia as well as industry are welcome. If you wish to propose a talk at the conference, kindly follow the guidelines given below.</p><br><br>
+ {% if user and not user.is_anonymous and not login_required %}
+ <a class="button" href="{% url 'website:submitcfw' %}">Propose Workshop</a>
+ {% else %}
+ <a class="button" href="{% url 'website:cfp' %}">Propose Workshop</a>
+ {% endif %}
+
+ </div>
+ </section>
+
<section id="schedule" class="main special">
@@ -225,14 +274,17 @@ <div >
<center>
<ul class="nav nav-tabs">
- <li class="active"><a data-toggle="tab" href="http://scipy.in/2015#day1">Day 1</a></li>
- <li><a data-toggle="tab" href="http://scipy.in/2015#day2">Day 2</a></li>
- <li><a data-toggle="tab" href="http://scipy.in/2015#day3">Day 3</a></li>
- <li><a data-toggle="tab" href="http://scipy.in/2015#paper">Workshop Resources</a></li> <li><a data-toggle="tab" href="http://scipy.in/2015#workshop">Workshop Instructions</a></li>
+ <li class="active">
+ <a style="background: #efa8b0;" data-toggle="tab" href="http://scipy.in/2015#day1">Day 1</a></li>
+ <li><a style="background: #c79cc8;" data-toggle="tab" href="http://scipy.in/2015#day2">Day 2</a></li>
+ <li><a style="background: #a89cc8;" data-toggle="tab" href="http://scipy.in/2015#day3">Day 3</a></li>
+ <li><a style="background: #9bb2e1;"data-toggle="tab" href="http://scipy.in/2015#paper">Workshop Resources</a></li>
+ <li><a style="background: #8cc9f0;" data-toggle="tab" href="http://scipy.in/2015#workshop">Workshop Instructions</a></li>
</ul>
<div class="tab-content">
+
<div id="day1" class="tab-pane fade in active">
<p>
</p><center><h4>14 Dec 2015: Day 1</h4></center>
@@ -379,31 +431,7 @@ - <section id="callforabstract" class="main special">
- <div class="spotlight">
- <div class="content">
- <header class="major">
- <h2>CALL FOR PROPOSAL</h2></header>
- <div class="col-md-6">
- <p align="justify">We look forward to your proposals. Conference aims to promote <strong>Python for Scientific Computing and Education</strong>. Topics like pedagogy, exploration, modeling or from both applied and developmental perspectives are welcome. Contributions from academia as well as industry are welcome. If you wish to propose a talk at the conference, kindly follow the guidelines given below.</p><br><br>
- {% if user and not user.is_anonymous and not login_required %}
- <a class="button" href="{% url 'website:submitcfp' %}">Submit Abstract</a>
- {% else %}
- <a class="button" href="{% url 'website:cfp' %}">Submit Abstract</a>
- {% endif %}
- </div>
- <div class="col-md-6">
- <p align="justify">We look forward to your proposals. Conference aims to promote <strong>Python for Scientific Computing and Education</strong>. Topics like pedagogy, exploration, modeling or from both applied and developmental perspectives are welcome. Contributions from academia as well as industry are welcome. If you wish to propose a talk at the conference, kindly follow the guidelines given below.</p><br><br>
- {% if user and not user.is_anonymous and not login_required %}
- <a class="button" href="{% url 'website:submitcfw' %}">Propose Workshop</a>
- {% else %}
- <a class="button" href="{% url 'website:cfp' %}">Propose Workshop</a>
- {% endif %}
-
- </div>
- </section>
-
-
+
<section id="sponsors" class="main special">
<div class="spotlight">
<div class="content">
@@ -423,50 +451,50 @@ <p align="justify">The Annual SciPy India conference is organised by the team members of FOSSEE project which is part of the National Mission on Education through ICT with the thrust area being Adaptation and deployment of open source simulation packages equivalent to proprietary software, funded by MHRD, based at the Indian Institute of Technology Bombay (IITB).</p>
</div>
</section>
+<!--
+
+
--><br><br><br>
</div>
- <section id="contact" name="contact"></section>
- <div class="container">
-
- <header >
- <br>
- <h2>CONTACT US</h2>
- <br>
- <div class="col-lg-8 col-lg-offset-2 centered"> <i class="icon-envelope" style="font-size:20px;"> scipy[at]fossee[dot]in</i>
- </div>
- <div class="col-lg-8 col-lg-offset-2 centered">
- <br>
- <p>Feel free to send us an email if you have any questions.</p>
- <form id="contact" action="" class="form" role="form" method=POST enctype="multipart/form-data">
- <div class="row">
- <div class="col-xs-6 col-md-6 form-group">
- <input class="form-control" id="name" name="name" placeholder="Name" type="text" required />
- </div>
- <div class="col-xs-6 col-md-6 form-group">
- <input class="form-control" id="email" name="email" placeholder="Email" type="email" required />
- </div>
- </div>
- <br>
- <textarea class="form-control" id="message" name="message" placeholder="Message" rows="5"></textarea>
- <div class="row">
- <div class="col-xs-12 col-md-12">
- <br>
- <button class="button1" type="submit">Send Message</button>
- <br><br>
- <ul class="social-button">
- <a href="https://www.facebook.com/scipydotin"><i class="icon-facebook" style="font-size:30px;"></i></a>
- <a href="https://twitter.com/scipyindia"><i class="icon-twitter" style="font-size:30px;"></i></a>
- <a href="#"><i class="icon-google-plus" style="font-size:30px;"></i></a>
- </ul><br><br>
- </div>
- </div>
- {% csrf_token %}
- </form>
- <!-- form -->
- </div>
- </div>
+ <footer id="footer">
+ <section id="contact">
+ <h2>Write Us</h2>
+ <p>Feel free to send us an email if you have any questions.</p>
+ <form id="contact" action="" class="form" role="form" method=POST enctype="multipart/form-data">{% csrf_token %}
+ <div class="col-md-6 form-group">
+ <input class="form-control" id="name" name="name" placeholder="Name" type="text" required />
+ </div>
+ <div class="col-md-6 form-group">
+ <input class="form-control" id="email" name="email" placeholder="Email" type="email" required />
+ </div>
+ <br><br>
+ <textarea class="form-control" id="message" name="message" placeholder="Message" rows="5"></textarea>
+ <br>
+ <button class="button" type="submit">Send Message</button>
+ </section>
+ <section>
+ <h2>Contact Us</h2>
+ <dl class="alt">
+ <dt>Address</dt>
+ <dd>1234 Somewhere Road • Nashville, TN 00000 • USA</dd>
+ <dt>Phone</dt>
+ <dd>(000) 000-0000 x 0000</dd>
+ <dt>Email</dt>
+ <dd><a href="#">information@untitled.tld</a></dd>
+ </dl>
+ <ul class="icons">
+ <li><a href="#" class="icon fa-twitter alt"><span class="label">Twitter</span></a></li>
+ <li><a href="#" class="icon fa-facebook alt"><span class="label">Facebook</span></a></li>
+ <li><a href="#" class="icon fa-instagram alt"><span class="label">Instagram</span></a></li>
+ <li><a href="#" class="icon fa-github alt"><span class="label">GitHub</span></a></li>
+ <li><a href="#" class="icon fa-dribbble alt"><span class="label">Dribbble</span></a></li>
+ </ul>
+ </section>
+ </footer>
+
</div>
+
</div>
<!-- end wrapper -->
{% endblock %}
@@ -479,8 +507,9 @@ <script src="{% static 'js/jquery.scrollex.min.js' %}"></script>
<script src="{% static 'js/jquery.scrolly.min.js' %}"></script>
<script src="{% static 'js/skel.min.js' %}"></script>
- <script src="{% static '/js/ie/respond.min.js' %}"></script>
+ <script src="{% static 'js/ie/respond.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
+ <script src="{% static 'js/smoothscroll.js' %}"></script>
</body>
</html>
\ No newline at end of file diff --git a/website/templates/cfp.html b/website/templates/cfp.html index ec5bf0c..594f86b 100644 --- a/website/templates/cfp.html +++ b/website/templates/cfp.html @@ -3,22 +3,22 @@ <!DOCTYPE HTML> <html> - <head> - <title>Call for Proposal</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> + <head> + <title>Call for Proposal</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>Call For Proposal</h2> + <header id="header1"> + <h1>Scipy India 2016</h1> + <h2>Call For Proposal</h2> </header> {% endblock %} @@ -26,26 +26,34 @@ {% 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 %} +<div id="navbar-main"> + <!-- Fixed navbar --> + <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 class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}</a> <ul class="dropdown-menu"> <li><a href="{% url 'auth:logout' %}?next=/2016/cfp">Logout</a></li> - - </ul> + <li><a href="{% url 'website:cfp' %}">Main Menu</a></li> + </ul> + {% else %} + <li><a href="{% url 'website:cfp' %}" >Login</a></li> {% endif %} - </ul> - </nav> + </ul> + </div> + <!--/.nav-collapse --> + </div> +</div> {% endblock %} -{% block content %} - <div id="wrapper"> -<div id="main"> +{% block content %} + <div id="wrapper"> +<div id="main" class="col-md-5"> + <section id="content" class="main"> {% if user and not user.is_anonymous and not login_required %} <h2><u>Main Menu</u></h2> @@ -74,14 +82,18 @@ </form> </div> <br> - {% endif %} - - + {% endif %} + + + </section> - <!-- Main --> - - - <h2><u>Proposal Guidelines</u></h2> + </div> + <div id="wrapper" > +<div id="main" class="col-md-7" > + +<section id="content" class="main"> + + <h2><u>Proposal Guidelines</u></h2> <ul> <li>The project you are willing to present should be an actual implementation rather than just an idea. <li>Abstract should be of 300 to 700 words describing the topic, including its relevance to scientific computing. @@ -90,26 +102,25 @@ <li>Notification for selection/rejection of your proposal will be given through email. <li>All selected proposals must be presented at the conference by at least one author. </ul> - <h2><u>Important Dates</u></h2> - <ul> + <h2><u>Important Dates</u></h2> + <ul> <li>CFP Open: July 5, 2015 <li>CFP Close: November 24, 2015 <li>Announcement of selected proposals: December 1, 2015 </ul> - </section> - - </div> + </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> + + <!-- 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> + </body> </html>
\ No newline at end of file diff --git a/website/templates/comment-abstract.html b/website/templates/comment-abstract.html index 92d9e9b..42b66d2 100644 --- a/website/templates/comment-abstract.html +++ b/website/templates/comment-abstract.html @@ -16,31 +16,35 @@ {% block header %} - <header id="header"> + <header id="header1"> <h1>Scipy India 2016</h1> - <h2>Comment Abstract</h2> + <h2>Abstract Details</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 %} +<div id="wrapper"> +<div id="navbar-main"> + <!-- Fixed navbar --> + <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 class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}</a> <ul class="dropdown-menu"> <li><a href="{% url 'auth:logout' %}?next=/2016/cfp">Logout</a></li> - <li><a href="{% url 'website:cfp' %}">Call For Proposal</a></li> - </ul> + <li><a href="{% url 'website:cfp' %}">Main Menu</a></li> + </ul> + {% else %} + <li><a href="{% url 'website:cfp' %}" >Login</a></li> {% endif %} - </ul> - </nav> + </ul> + </div> + <!--/.nav-collapse --> + </div> +</div> {% endblock %} @@ -58,25 +62,31 @@ {% if proposal.attachment.url %} <a href="{{ proposal.attachment.url }}" class="btn btn-info" target="_blank">Attachment</a> {% endif %} - <p><b>Date Created: </b> {{ proposal.date_created }}</p> + <p><b>Date Created: </b> {{ proposal.date_created }}</p> + <hr> + <form action="{% url 'website:status' proposal.id %}" method='POST'>{% csrf_token %} + + <input type="submit" value="Accept" name="accept"/> + <input type="submit" value="Reject" name="reject"/> + + </form> <hr> <h4>Comments</h4> - <h4>Comments</h4> - <hr> {% for comment in comments %} <div> <strong>Comment By:</strong> {{ comment.user.first_name }} {{ comment.user.last_name }} - <p>{{ comment.comment|safe }}</p> + <p>{{ comment.comment|safe }}</p> + <!-- <a href="#">Edit</a> + <a href="#">Delete</a> --> </div> <hr> {% endfor %} <form action="{% url 'website:comment_abstract' proposal.id %}" method='POST' enctype="multipart/form-data"> {% csrf_token %} - <textarea rows="5" cols="100" name="comment"></textarea><br> - <button type="submit" class="btn btn-info"> - Comment - </button> + <textarea rows="5" cols="100" id="comment" class= "comment" name="comment" placeholder = "Add commnet here..."></textarea><br> + <button type="submit" class="button">Comment</button> + </form> </section> @@ -93,5 +103,30 @@ <!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]--> <script src="assets/js/main.js"></script> - </body> + +<script> +isFormHtml5Valid(form) { + for(var el of form.querySelectorAll('input,textarea,select')){ + if(!el.checkValidity()) + return false; + } + return true; +} + +mySubmitButton.onclick = function() { + if(this.form && isFormHtml5Valid(this.form)) + this.disabled=true; + this.form.submit(); +}</script> + + + +<script> +$(function(){ + +} +) +</script> + +</body> </html>
\ No newline at end of file diff --git a/website/templates/submit-cfp.html b/website/templates/submit-cfp.html index 00ab9ae..ac77975 100755 --- a/website/templates/submit-cfp.html +++ b/website/templates/submit-cfp.html @@ -18,29 +18,36 @@ {% block header %} - <header id="header"> + <header id="header1"> <h1>Scipy India 2016</h1> - <h2 style= "color:black;">Submit Abstract</h2> + <h2>Submit Abstract</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 %} + <div id="navbar-main"> + <!-- Fixed navbar --> + <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 class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}</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> + </ul> + {% else %} + <li><a href="{% url 'website:cfp' %}" >Login</a></li> {% endif %} - </ul> - </nav> + </ul> + </div> + <!--/.nav-collapse --> + </div> +</div> {% endblock %} diff --git a/website/templates/submit-cfw.html b/website/templates/submit-cfw.html index b0413b8..f43b378 100644 --- a/website/templates/submit-cfw.html +++ b/website/templates/submit-cfw.html @@ -18,29 +18,36 @@ {% block header %} - <header id="header"> + <header id="header1"> <h1>Scipy India 2016</h1> - <h2 style= "color:black;">Submit Workshop Proposal</h2> + <h2>Submit Workshop Proposal</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 %} +<div id="navbar-main"> + <!-- Fixed navbar --> + <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 class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}</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> + </ul> + {% else %} + <li><a href="{% url 'website:cfp' %}" >Login</a></li> {% endif %} - </ul> - </nav> + </ul> + </div> + <!--/.nav-collapse --> + </div> +</div> {% endblock %} diff --git a/website/templates/user-register.html b/website/templates/user-register.html index cecaa33..dfeba84 100644 --- a/website/templates/user-register.html +++ b/website/templates/user-register.html @@ -18,29 +18,26 @@ {% block header %} - <header id="header"> + <header id="header1"> <h1>Scipy India 2016</h1> - <h2 style= "color:black;">Register</h2> + <h2>Register</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' %}">Call For Proposal</a></li> - </ul> - {% endif %} +<div id="navbar-main"> + <!-- Fixed navbar --> + <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> </ul> - </nav> + </div> + <!--/.nav-collapse --> + </div> +</div> {% endblock %} @@ -63,11 +60,14 @@ <p style="line-height:5px;"><a href="{% url 'website:forgotpassword' %}">Click Here</a> if you forgot your username or password</p> </center> {% endif %} + {% if registration_complete %} + <p> Your Account is Created Successfully !</p> + {% endif %} <div> <form action="" method="POST"> - {{ form.as_p }} + {{ form.as_p}} <div class="col-md-8"> - <button class="button" type="submit">SignUp</button> + <button class="button" type="submit" >SignUp</button> <a class="btn btn-primary" href="{% url 'website:cfp' %}">I have an account</a> </div> {% csrf_token %} diff --git a/website/templates/view-abstracts.html b/website/templates/view-abstracts.html index a48f2e0..0df72e7 100644 --- a/website/templates/view-abstracts.html +++ b/website/templates/view-abstracts.html @@ -19,29 +19,36 @@ {% block header %} - <header id="header"> + <header id="header1"> <h1>Scipy India 2016</h1> - <h2 style= "color:black;">View Proposals</h2> + <h2>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 %} + <div id="navbar-main"> + <!-- Fixed navbar --> + <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 class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}</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> + </ul> + {% else %} + <li><a href="{% url 'website:cfp' %}" >Login</a></li> {% endif %} - </ul> - </nav> + </ul> + </div> + <!--/.nav-collapse --> + </div> +</div> {% endblock %} @@ -52,44 +59,68 @@ - <form action="" method="post"> {% csrf_token %} + <form action="{% url 'website:delete' %}" method="post"> {% csrf_token %} <table class="table"> <colgroup> + {% if user.is_superuser %} + <col width="10%" /> + <col width="20%" /> + <col width="60%" /> + <col width="10%" /> + <col width="10%" /> <col width="20%" /> + {% else %} + <col width="10%" /> + <col width="60%" /> + <col width="10%" /> <col width="10%" /> <col width="20%" /> - <col width="80%" /> - <!-- <col width="20%" /> --> + + {% endif %} </colgroup> - <th> Select - <th> Sr + <th> <center>Select + {% if user.is_superuser %} <th>Speaker - <th> Title - <!-- <th> Comments --> + {% endif %} + <th> <center>Title + <th> View + <th> Comments + <th> Status</center> {% for proposal in proposals %} <tr> - <td> <input type = "checkbox" name="delete_proposal" value = {{proposal.id}}></input></td> - <td> - {{ forloop.counter }} - </td> + <td><center> <input type = "checkbox" name="delete_proposal" value = {{proposal.id}}></input></center></td> + {% if user.is_superuser %} <td> {{ proposal.user.get_full_name}} </td> + {% endif %} + <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:.5px;"> <center>{{proposal.title}}</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> + <td ><a href="{% url 'website:comment_abstract' proposal.id %}">View</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> + <td ><a href="{% url 'website:abstract_details' proposal.id %}">View</a> </td> {% endif %} + <td><center> 0 </center></td> + + <td> + {% if proposal.status = 'Accepted' %} + <h5 style="color:green;">{{proposal.status}}</h5> + {% elif proposal.status = 'Rejected' %} + <h5 style="color:red;">{{proposal.status}}</h5> + {% else %} + <h5 style="color:blue;">{{proposal.status}}</h5> + {% endif %} + + </td> </tr> {% endfor %} </table> - <center><button class="btn" type="submit">Delete</button></center> + <center><input type="submit" value="Delete" name="delete"/></center> </form> </section> </div> - {% endblock %} <!-- Scripts --> @@ -101,5 +132,13 @@ <!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]--> <script src="assets/js/main.js"></script> - </body> + + +<script> +function hello(){ + alert('hi'); +} +</script> + +</body> </html> |