- implement domains.views.CreateHostingDomain - define new URL create_hosting_domain in domains.urls - add domains app URLs to gnuviechadmin.urls - add templates domains/base.html and domains/hostingdomain_create.html - link from hostingpackage detail page to domain creation view
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			744 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			744 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends "domains/base.html" %}
 | |
| {% load i18n crispy_forms_tags %}
 | |
| {% block title %}{{ block.super }} - {% blocktrans with package=hostingpackage.name full_name=customer.get_full_name %}Add Domain to Hosting Package {{ package }} of Customer {{ full_name }}{% endblocktrans %}{% endblock title %}
 | |
| {% block page_title %}{% blocktrans with package=hostingpackage.name full_name=customer.get_full_name %}Add Domain to Hosting Package {{ package }} of Customer {{ full_name }}{% endblocktrans %}{% endblock page_title %}
 | |
| 
 | |
| {% block content %}
 | |
| {% crispy form %}
 | |
| {% endblock content %}
 | |
| 
 | |
| {% block extra_js %}
 | |
| <script type="text/javascript">
 | |
| $(document).ready(function() {
 | |
|   $('input[type=text]').first().focus();
 | |
| });
 | |
| </script>
 | |
| {% endblock extra_js %}
 |