diff options
| author | Tom Christie | 2012-10-09 13:50:26 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-10-09 13:50:26 +0100 | 
| commit | 94401b43d2a1be81304ddcd91e3a97e7d2a42c4c (patch) | |
| tree | 99c6bfaf5fee014a794eddf56adcc16da2671e14 /rest_framework | |
| parent | 7c4d50f621a9c0668b8f8992751de6b2d7bcbe29 (diff) | |
| download | django-rest-framework-94401b43d2a1be81304ddcd91e3a97e7d2a42c4c.tar.bz2 | |
Flesh out quickstart guide and make some style tweaks
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/static/rest_framework/css/default.css | 4 | ||||
| -rw-r--r-- | rest_framework/templates/rest_framework/base.html | 10 | 
2 files changed, 8 insertions, 6 deletions
diff --git a/rest_framework/static/rest_framework/css/default.css b/rest_framework/static/rest_framework/css/default.css index 4d61ac8f..739b9300 100644 --- a/rest_framework/static/rest_framework/css/default.css +++ b/rest_framework/static/rest_framework/css/default.css @@ -19,6 +19,10 @@ h2, h3 {      padding-right: 0.25em;  } +.version { +  font-size: 70%; +} +  .format-option {      font-family: Menlo, Consolas, "Andale Mono", "Lucida Console", monospace;  } diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html index d26cb8f4..5ac6ef67 100644 --- a/rest_framework/templates/rest_framework/base.html +++ b/rest_framework/templates/rest_framework/base.html @@ -39,7 +39,7 @@                          {% if user.is_authenticated %}                              <li class="dropdown">                                  <a href="#" class="dropdown-toggle" data-toggle="dropdown"> -                                    Logged in as {{ user }} +                                    {{ user }}                                      <b class="caret"></b>                                  </a>                                  <ul class="dropdown-menu"> @@ -128,7 +128,6 @@                  <div class="well">                      <form action="{{ request.get_full_path }}" method="POST" {% if post_form.is_multipart %}enctype="multipart/form-data"{% endif %} class="form-horizontal">                          <fieldset> -                            <h2>POST: {{ name }}</h2>                              {% csrf_token %}                              {{ post_form.non_field_errors }}                              {% for field in post_form %} @@ -153,7 +152,6 @@                  <div class="well">                      <form action="{{ request.get_full_path }}" method="POST" {% if put_form.is_multipart %}enctype="multipart/form-data"{% endif %} class="form-horizontal">                          <fieldset> -                            <h2>PUT: {{ name }}</h2>                              <input type="hidden" name="{{ api_settings.FORM_METHOD_OVERRIDE }}" value="PUT" />                              {% csrf_token %}                              {{ put_form.non_field_errors }} @@ -191,9 +189,9 @@      </div><!-- ./wrapper -->      {% block footer %} -    <div id="footer"> -        <a class="powered-by" href='http://django-rest-framework.org'>Django REST framework</a> <span class="version">{{ version }}</span> -    </div> +    <!--<div id="footer"> +        <a class="powered-by" href='http://django-rest-framework.org'>Django REST framework</a> +    </div>-->      {% endblock %}      {% block script %}  | 
