Modify admin template to include table wrap styles
This commit is contained in:
		
					parent
					
						
							
								ac139c8a99
							
						
					
				
			
			
				commit
				
					
						c6f05889ff
					
				
			
		
					 2 changed files with 19 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -0,0 +1,18 @@
 | 
			
		|||
{% extends "admin/base_site.html" %}
 | 
			
		||||
{% block extrahead %}
 | 
			
		||||
    <style>
 | 
			
		||||
        table {
 | 
			
		||||
          width: 90%;
 | 
			
		||||
          border-spacing: 0;
 | 
			
		||||
          border-collapse: collapse;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        table thead th {
 | 
			
		||||
          text-align: left;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        th {
 | 
			
		||||
          word-break: break-all;
 | 
			
		||||
        }
 | 
			
		||||
    </style>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
| 
						 | 
				
			
			@ -81,7 +81,6 @@ INSTALLED_APPS = (
 | 
			
		|||
    # 1st migrate
 | 
			
		||||
    'membership',
 | 
			
		||||
    'djangocms_admin_style',
 | 
			
		||||
    'django.contrib.admin',
 | 
			
		||||
    'django.contrib.auth',
 | 
			
		||||
    'django.contrib.contenttypes',
 | 
			
		||||
    'django.contrib.humanize',
 | 
			
		||||
| 
						 | 
				
			
			@ -154,6 +153,7 @@ INSTALLED_APPS = (
 | 
			
		|||
    'opennebula_api',
 | 
			
		||||
    'django_celery_results',
 | 
			
		||||
    'webhook',
 | 
			
		||||
    'django.contrib.admin',
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
MIDDLEWARE_CLASSES = (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue