diff options
Diffstat (limited to 'website/templates/edit-proposal.html')
-rwxr-xr-x | website/templates/edit-proposal.html | 117 |
1 files changed, 49 insertions, 68 deletions
diff --git a/website/templates/edit-proposal.html b/website/templates/edit-proposal.html index 8eb332e..da5aad6 100755 --- a/website/templates/edit-proposal.html +++ b/website/templates/edit-proposal.html @@ -1,72 +1,53 @@ -<!DOCTYPE HTML> -{% extends 'base.html' %} -{% load static %} - -<html> - <head> - <title>{{ user.get_full_name|default:user.username }}</title> - </head> - <body> - - - - {% block header %} - <header id="header1"> - <h1>Scipy India 2016</h1> - {% if proposal.proposal_type == "ABSTRACT"%} - <h2>Edit Abstract Proposal</h2> - {% else %} - <h2>Edit Workshop Proposal</h2> - {% endif %} -</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> - <form action="" method=POST enctype="multipart/form-data"> {% csrf_token %} - <div class="row1"> - {% for field in form %} - - <p>{{ field.label}} - {% if field.field.required %} <span style="color:red;">*</span> {% endif %} - {{ field }}</p> - <a style="color:red; ">{{ field.errors }}</a> - {% endfor %} - </div> - {% csrf_token %} - - <center><button class="button special" style="background:#D44727" type="submit">Submit</button></center> - </form> - - - </section> - </div> - </div> +{% load static %} +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="description" content=""> + <meta name="author" content=""> + <link rel="icon" href="{% static 'img/favicon.ico'%}" type="icon"> + <title>SciPy India 2017</title> + <!-- Bootstrap core CSS --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + <link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> + <!-- Custom styles for this template --> + <link href="{% static 'css/one-page-wonder.css' %}" rel="stylesheet"> + </head> + <body data-spy="scroll" data-target=".navbar" data-offset="50"> + {% include 'navbar.html' %} + {% block content %} + <div class="container"> + <p> + <center> + {% if proposal.proposal_type == "ABSTRACT"%} + <h2>Edit Abstract Proposal</h2> + {% else %} + <h2>Edit Workshop Proposal</h2> + {% endif %} + </center> + </p> + <h3>{{ proposal.user.first_name }} {{ proposal.user.last_name }}</h3> + <form action="" method=POST enctype="multipart/form-data"> + {% csrf_token %} + <div class="row1"> + {% for field in form %} + <p>{{ field.label}} + {% if field.field.required %} <span style="color:red;">*</span> {% endif %} + {{ field }} + </p> + <a style="color:red; ">{{ field.errors }}</a> + {% endfor %} + </div> + {% csrf_token %} + <center><button class="button special" type="submit">Submit</button></center> + </form> + </div> + {% endblock %} + {% include 'footer.html' %} + </body> +</html> -{% endblock %} -</body> -</html>
\ No newline at end of file |