 1886323d74
			
		
	
	
		1886323d74
		
	
	
	
	
		
			
			Boot custom CSS, and put some base, standard css in its place. Shame I did not start with fresh Bootstrap4, but oh well. Some more templates could be made to make this less messy, which would be good.
		
			
				
	
	
		
			46 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends "symposion/proposals/base.html" %}
 | |
| 
 | |
| {% load i18n %}
 | |
| {% load bootstrap %}
 | |
| 
 | |
| {% block page_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
 | |
| {% block head_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
 | |
| 
 | |
| {% block proposals_body %}
 | |
|     <h1></h1>
 | |
| 
 | |
|     <p>
 | |
|       <a href="{% url "proposal_edit" proposal.pk %}">{% trans 'Edit proposal' %}
 | |
|       </a>
 | |
|     </p>
 | |
| 
 | |
|     <h3>{% trans 'Current Speakers' %}</h3>
 | |
| 
 | |
|     {% for speaker in speakers %}
 | |
|         {% if speaker.user %}
 | |
|             <p><b>{{ speaker.name }}</b> — {{ speaker.email }}</p>
 | |
|         {% else %}
 | |
|             <p>{{ speaker.email }} — {% trans 'pending invitation' %}</p>
 | |
|         {% endif %}
 | |
|     {% endfor %}
 | |
| 
 | |
|     <h3>{% trans 'Add another speaker' %}</h3>
 | |
| 
 | |
|     <form class="form-horizontal" method="POST" action="" enctype="multipart/form-data">
 | |
|         {% csrf_token %}
 | |
|         <fieldset>
 | |
|           {% include "_form_snippet.html" with form=add_speaker_form %}
 | |
|           <div class="btn-group">
 | |
|               <input type="submit" value="Add speaker" class="btn btn-primary" />
 | |
|           </div>
 | |
|         </fieldset>
 | |
|     </form>
 | |
| {% endblock %}
 | |
| 
 | |
| {% block extra_body %}
 | |
|     <script type="text/javascript">
 | |
|     $(function() {
 | |
|         $("#id_email").focus();
 | |
|     });
 | |
|     </script>
 | |
| {% endblock %}
 |