diff options
author | prashantsinalkar | 2017-09-18 10:53:05 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-09-18 10:53:05 +0530 |
commit | c2939c84cbed1e48492177b6516f542e768966e4 (patch) | |
tree | ddede79899b7e2baf8d6890a69d156d14b179ae3 /website/templates | |
parent | 7f5c751db3933e450a82e6d892c865101ccd4915 (diff) | |
download | SciPy2017-c2939c84cbed1e48492177b6516f542e768966e4.tar.gz SciPy2017-c2939c84cbed1e48492177b6516f542e768966e4.tar.bz2 SciPy2017-c2939c84cbed1e48492177b6516f542e768966e4.zip |
updated the templates
Diffstat (limited to 'website/templates')
-rwxr-xr-x | website/templates/cfp.html | 8 | ||||
-rwxr-xr-x | website/templates/edit-proposal.html | 2 | ||||
-rwxr-xr-x | website/templates/submit-cfp.html | 4 | ||||
-rwxr-xr-x | website/templates/submit-cfw.html | 3 | ||||
-rwxr-xr-x | website/templates/view-abstracts.html | 20 |
5 files changed, 20 insertions, 17 deletions
diff --git a/website/templates/cfp.html b/website/templates/cfp.html index df84c87..e4e6523 100755 --- a/website/templates/cfp.html +++ b/website/templates/cfp.html @@ -58,10 +58,12 @@ </ul> <br/> {% if user.is_superuser %} - <center><a href="{% url 'website:view_abstracts' %}" class="button special">View Proposals</a> </center> + <center><a href="{% url 'website:view_abstracts' %}" class="btn btn-info">View Proposals</a> </center> {% else %} <center> - <a href="{% url 'website:view_abstracts' %}" class="button special">View Proposals</a> + <a href="{% url 'website:view_abstracts' %}" class="btn btn-info">View Proposals</a> + <a href="{% url 'website:submitcfp' %}" class ="btn btn-info" role="button"> Submit paper </a> + <a href="{% url 'website:submitcfw' %}" class ="btn btn-info" role="button">Submit workshop </a> </center> {% endif %} {% else %} @@ -78,7 +80,7 @@ <!-- <div id = "my_form"> --> <form action="" method="POST"> {{ form.as_p }} - <button class="button special" name ="login" type="submit">Login</button><br/><br/> + <button class="btn btn-info" name ="login" type="submit">Login</button><br/><br/> <a style="padding-right : 20px;" href="{% url 'website:userregister' %}" class="btn btn btn-primary">Create an Account</a> <a href="/2017/forgotpassword/">Forgot Password?</a> {% csrf_token %} diff --git a/website/templates/edit-proposal.html b/website/templates/edit-proposal.html index da5aad6..fa8aac5 100755 --- a/website/templates/edit-proposal.html +++ b/website/templates/edit-proposal.html @@ -22,7 +22,7 @@ <div class="container"> <p> <center> - {% if proposal.proposal_type == "ABSTRACT"%} + {% if proposal.proposal_type == "ABSTRACT" %} <h2>Edit Abstract Proposal</h2> {% else %} <h2>Edit Workshop Proposal</h2> diff --git a/website/templates/submit-cfp.html b/website/templates/submit-cfp.html index 4629883..56e3c3f 100755 --- a/website/templates/submit-cfp.html +++ b/website/templates/submit-cfp.html @@ -20,7 +20,7 @@ {% block content %} <div class="container"> {% if proposals_a > 1 %} You have exceeded the abstract submission limit. - You may view your submitted proposals by clicking <a href="{% url 'website:view_abstracts' %}" class="btn "> here</a> + You may view your submitted proposals by clicking <a href="{% url 'website:view_abstracts' %}" class ="btn btn-info" role="button"> here</a> <!-- <h2>{{ user.get_full_name|default:user.username }} </h2> --> {% else %} <h2><u>Proposal Guidelines</u></h2> @@ -46,7 +46,7 @@ {% endfor %} </div> {% csrf_token %} - <center><button class="button special" type="submit">Submit</button></center> + <center><button class="btn btn-info" type="submit">Submit</button></center> </form> {% endif %} </div> diff --git a/website/templates/submit-cfw.html b/website/templates/submit-cfw.html index e6d1fd0..0122ad5 100755 --- a/website/templates/submit-cfw.html +++ b/website/templates/submit-cfw.html @@ -28,6 +28,7 @@ <hr> {% if proposals_w > 1 %} You have exceeded the workshop proposal submission limit. You may view your submitted proposals by clicking <a href="{% url 'website:view_abstracts' %}" class="btn "> here</a> + {% else %} <!-- <h2>{{ user.get_full_name|default:user.username }} </h2> --> <!-- <h2>{{ user.get_full_name|default:user.username }} </h2> --> <h2><u>Proposal Guidelines</u></h2> @@ -65,7 +66,7 @@ {% if form.error %} Auch {% endif %} - <center><button class="button special" style="background:#D44727" type="submit">Submit</button></center> + <center><button class="btn btn-info" type="submit">Submit</button></center> {% endif %} </div> {% endblock %} diff --git a/website/templates/view-abstracts.html b/website/templates/view-abstracts.html index c55e87a..fca23d3 100755 --- a/website/templates/view-abstracts.html +++ b/website/templates/view-abstracts.html @@ -27,11 +27,13 @@ </p> {% if not proposals %} <center> - You have not submitted any proposal. To submit proposal click <a href="{% url 'website:submitcfp' %}">here </a> + You have not submitted any proposal.<br> <br> + <a href="{% url 'website:submitcfp' %}" class ="btn btn-info" role="button"> Submit paper </a> + <a href="{% url 'website:submitcfw' %}" class ="btn btn-info" role="button">Submit workshop </a> </center> {% else %} {% if user.is_superuser %} - <div style="float:right"><input type="submit" id="dump" class ="button special" value="Export as csv" name="dump"/></div> + <div style="float:right"><input type="submit" id="dump" class ="btn btn-info" value="Export as csv" name="dump"/></div> <br> {% endif %} <form action="{% url 'website:status_change' %}" method="post" onsubmit="return confirm('Are You Sure?');"> @@ -55,10 +57,8 @@ <col width="20%" /> {% endif %} </colgroup> - {% if user.is_superuser %} + {% if user.is_superuser %} <th style="text-align: center;"> - <center><input type="checkbox" onClick="toggle(this)" /> - </center> </th> <th style="text-align: center;">Speaker {% endif %} @@ -115,7 +115,7 @@ {% if user.is_superuser %} <h5 style="color:grey;">{{proposal.status}}</h5> {% else %} - <a href="{% url 'website:edit_proposal' proposal.id %}">{{proposal.status}}</a> + <a href="{% url 'website:edit_proposal' proposal.id %}">{{proposal.status}}</a> {% endif %} {% else %} <h5 style="color:blue;">{{proposal.status}}</h5> @@ -127,11 +127,11 @@ </div> </p> {% if user.is_superuser %} - <input type="submit" id="delete" class ="button special" value="Delete" name="delete"/> + <input type="submit" id="delete" class ="btn btn-info" value="Delete" name="delete"/> <center> - <input type="submit" id="accept" class ="button special" value="Accept" name="accept"/> - <input type="submit" id="rejected" class ="button special" value="Reject" name="reject"/> - <input type="submit" id="resubmit" class ="button special" value="Resubmit" name="resubmit"/> + <input type="submit" id="accept" class ="btn btn-info" value="Accept" name="accept"/> + <input type="submit" id="rejected" class ="btn btn-info" value="Reject" name="reject"/> + <input type="submit" id="resubmit" class ="btn btn-info" value="Resubmit" name="resubmit"/> </center> {% endif %} </form> |