diff --git a/django/contrib/admin/media/css/forms.css b/django/contrib/admin/media/css/forms.css
index fbe4b75..a23d4df 100644
|
a
|
b
|
fieldset.monospace textarea {
|
| 153 | 153 | |
| 154 | 154 | /* SUBMIT ROW */ |
| 155 | 155 | |
| | 156 | .floating-submit-row { |
| | 157 | width: 100%; |
| | 158 | margin: 0; |
| | 159 | padding: 0; |
| | 160 | position:fixed; |
| | 161 | bottom: 0px; |
| | 162 | left: 0px; |
| | 163 | display: block; |
| | 164 | border-top: 1px solid #ccc; |
| | 165 | } |
| | 166 | .floating-submit-row .submit-row { |
| | 167 | padding: 10px 22px; |
| | 168 | margin-bottom: 0; |
| | 169 | opacity:0.85; |
| | 170 | border: none; |
| | 171 | } |
| | 172 | .submit-row-spacer { |
| | 173 | height: 17px; |
| | 174 | } |
| | 175 | |
| | 176 | |
| 156 | 177 | .submit-row { |
| 157 | 178 | padding: 5px 7px; |
| 158 | 179 | text-align: right; |
| 159 | 180 | background: white url(../img/admin/nav-bg.gif) 0 100% repeat-x; |
| 160 | 181 | border: 1px solid #ccc; |
| 161 | | margin: 5px 0; |
| 162 | 182 | overflow: hidden; |
| 163 | 183 | } |
| 164 | 184 | |
diff --git a/django/contrib/admin/templates/admin/submit_line.html b/django/contrib/admin/templates/admin/submit_line.html
index 8bb5d27..367d60f 100644
|
a
|
b
|
|
| 1 | 1 | {% load i18n %} |
| | 2 | <div class="submit-row-spacer"></div> |
| | 3 | <div class="floating-submit-row"> |
| 2 | 4 | <div class="submit-row" {% if is_popup %}style="overflow: auto;"{% endif %}> |
| 3 | 5 | {% if show_save %}<input type="submit" value="{% trans 'Save' %}" class="default" name="_save" {{ onclick_attrib }}/>{% endif %} |
| 4 | 6 | {% if show_delete_link %}<p class="deletelink-box"><a href="delete/" class="deletelink">{% trans "Delete" %}</a></p>{% endif %} |
| … |
… |
|
| 6 | 8 | {% if show_save_and_add_another %}<input type="submit" value="{% trans 'Save and add another' %}" name="_addanother" {{ onclick_attrib }} />{% endif %} |
| 7 | 9 | {% if show_save_and_continue %}<input type="submit" value="{% trans 'Save and continue editing' %}" name="_continue" {{ onclick_attrib }}/>{% endif %} |
| 8 | 10 | </div> |
| | 11 | </div> |