Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
26c1558e
Commit
26c1558e
authored
Jan 20, 2012
by
Mjumbe Wawatu Poe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the admin static files to handle the latest version of admin
parent
a8ed7f91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
11 deletions
+21
-11
djangorestframework/templates/api_login.html
+14
-9
djangorestframework/templates/renderer.html
+7
-2
No files found.
djangorestframework/templates/api_login.html
View file @
26c1558e
<html>
<html>
<head>
<head>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{ADMIN_MEDIA_PREFIX}}css/base.css'
/>
{% if ADMIN_MEDIA_PREFIX %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{ADMIN_MEDIA_PREFIX}}css/forms.css'
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{ADMIN_MEDIA_PREFIX}}css/base.css'
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{ADMIN_MEDIA_PREFIX}}css/login.css'
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{ADMIN_MEDIA_PREFIX}}css/forms.css'
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{ADMIN_MEDIA_PREFIX}}css/login.css'
/>
{% else %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{STATIC_URL}}admin/css/base.css'
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{STATIC_URL}}admin/css/forms.css'
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{STATIC_URL}}admin/css/login.css'
/>
{% endif %}
<style>
<style>
.form-row
{
border-bottom
:
0.25em
!important
}
</style>
.form-row
{
border-bottom
:
0.25em
!important
}
</style>
</head>
</head>
...
@@ -11,12 +17,12 @@
...
@@ -11,12 +17,12 @@
<div
id=
"header"
>
<div
id=
"header"
>
<div
id=
"branding"
>
<div
id=
"branding"
>
<h1
id=
"site-name"
>
Django REST framework
</h1>
<h1
id=
"site-name"
>
Django REST framework
</h1>
</div>
</div>
</div>
</div>
<div
id=
"content"
class=
"colM"
>
<div
id=
"content"
class=
"colM"
>
<div
id=
"content-main"
>
<div
id=
"content-main"
>
<form
method=
"post"
action=
"{% url djangorestframework.utils.staticviews.api_login %}"
id=
"login-form"
>
<form
method=
"post"
action=
"{% url djangorestframework.utils.staticviews.api_login %}"
id=
"login-form"
>
{% csrf_token %}
{% csrf_token %}
...
@@ -37,12 +43,12 @@ document.getElementById('id_username').focus()
...
@@ -37,12 +43,12 @@ document.getElementById('id_username').focus()
</script>
</script>
</div>
</div>
<br
class=
"clear"
>
<br
class=
"clear"
>
</div>
</div>
<div
id=
"footer"
></div>
<div
id=
"footer"
></div>
</div>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
djangorestframework/templates/renderer.html
View file @
26c1558e
...
@@ -11,8 +11,13 @@
...
@@ -11,8 +11,13 @@
/* Custom styles */
/* Custom styles */
.version
{
font-size
:
8px
;}
.version
{
font-size
:
8px
;}
</style>
</style>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{ADMIN_MEDIA_PREFIX}}css/base.css'
/>
{% if ADMIN_MEDIA_PREFIX %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{ADMIN_MEDIA_PREFIX}}css/forms.css'
/>
<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'
/>
{% else %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{STATIC_URL}}admin/css/base.css'
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{{STATIC_URL}}admin/css/forms.css'
/>
{% endif %}
<title>
Django REST framework - {{ name }}
</title>
<title>
Django REST framework - {{ name }}
</title>
</head>
</head>
<body>
<body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment