diff options
| author | markotibold | 2011-06-25 23:07:06 +0200 | 
|---|---|---|
| committer | markotibold | 2011-06-25 23:07:06 +0200 | 
| commit | 43c63c60ce8e89dbdb8e102f1c7ce1cd11fa8808 (patch) | |
| tree | dfa5bad1b734ef727424f7967bd2ba6b428843c8 | |
| parent | 209ee829031ff69ddfe275ee0e41c173f5dec2f4 (diff) | |
| download | django-rest-framework-43c63c60ce8e89dbdb8e102f1c7ce1cd11fa8808.tar.bz2 | |
Smaller version in the header
| -rw-r--r-- | djangorestframework/templates/renderer.html | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/djangorestframework/templates/renderer.html b/djangorestframework/templates/renderer.html index 97d3837a..507b5c25 100644 --- a/djangorestframework/templates/renderer.html +++ b/djangorestframework/templates/renderer.html @@ -8,6 +8,8 @@         #site-name a {color: #F4F379 !important;}         .errorlist {display: inline !important}         .errorlist li {display: inline !important; background: white !important; color: black !important; border: 0 !important;} +	   /* Custom styles */ +	   .version{font-size:8px;}       </style>       <link rel="stylesheet" type="text/css" href='{{ADMIN_MEDIA_PREFIX}}css/base.css'/>       <link rel="stylesheet" type="text/css" href='{{ADMIN_MEDIA_PREFIX}}css/forms.css'/> @@ -18,7 +20,7 @@  	<div id="header">  		<div id="branding"> -		  <h1 id="site-name"><a href='http://django-rest-framework.org'>Django REST framework</a> <small>{{ version }}</small></h1> +		  <h1 id="site-name"><a href='http://django-rest-framework.org'>Django REST framework</a> <span class="version"> v {{ version }}</span></h1>  		</div>  		<div id="user-tools">  		  {% if user.is_active %}Welcome, {{ user }}.{% if logout_url %} <a href='{{ logout_url }}'>Log out</a>{% endif %}{% else %}Anonymous {% if login_url %}<a href='{{ login_url }}'>Log in</a>{% endif %}{% endif %}  | 
