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
dfcb560f
Commit
dfcb560f
authored
Oct 29, 2012
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up login styling
parent
752f191a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
24 deletions
+32
-24
rest_framework/templates/rest_framework/login.html
+32
-24
No files found.
rest_framework/templates/rest_framework/login.html
View file @
dfcb560f
...
@@ -3,42 +3,50 @@
...
@@ -3,42 +3,50 @@
<html>
<html>
<head>
<head>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{% get_static_prefix %}rest_framework/css/style.css'
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% get_static_prefix %}rest_framework/css/bootstrap.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% get_static_prefix %}rest_framework/css/bootstrap-tweaks.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
'{% get_static_prefix %}rest_framework/css/default.css'
/>
</head>
</head>
<body
class=
"
login
"
>
<body
class=
"
container
"
>
<div
id=
"container"
>
<div
class=
"container-fluid"
style=
"margin-top: 30px"
>
<div
class=
"row-fluid"
>
<div
id=
"header"
>
<div
id=
"branding"
>
<div
class=
"well"
style=
"width: 320px; margin-left: auto; margin-right: auto"
>
<h1
id=
"site-name"
>
Django REST framework
</h1>
<div
class=
"row-fluid"
>
<div>
<h3
style=
"margin: 0 0 20px;"
>
Django REST framework
</h3>
</div>
</div>
</div>
</div>
<!-- /row fluid -->
<div
id=
"content"
class=
"colM
"
>
<div
class=
"row-fluid
"
>
<div
id=
"content-main"
>
<div>
<form
method=
"post"
action=
"{% url 'rest_framework:login' %}"
id=
"login-form
"
>
<form
action=
"{% url 'rest_framework:login' %}"
class=
" form-inline"
method=
"post
"
>
{% csrf_token %}
{% csrf_token %}
<div
class=
"form-row"
>
<div
id=
"div_id_username"
class=
"clearfix control-group"
>
<label
for=
"id_username"
>
Username:
</label>
{{ form.username }}
<div
class=
"controls"
style=
"height: 30px"
>
<Label
class=
"span4"
style=
"margin-top: 3px"
>
Username:
</label>
<input
style=
"height: 25px"
type=
"text"
name=
"username"
maxlength=
"100"
autocapitalize=
"off"
autocorrect=
"off"
class=
"textinput textInput"
id=
"id_username"
>
</div>
</div>
</div>
<div
class=
"form-row"
>
<div
id=
"div_id_password"
class=
"clearfix control-group"
>
<label
for=
"id_password"
>
Password:
</label>
{{ form.password }}
<div
class=
"controls"
style=
"height: 30px"
>
<input
type=
"hidden"
name=
"next"
value=
"{{ next }}"
/>
<Label
class=
"span4"
style=
"margin-top: 3px"
>
Password:
</label>
<input
style=
"height: 25px"
type=
"password"
name=
"password"
maxlength=
"100"
autocapitalize=
"off"
autocorrect=
"off"
class=
"textinput textInput"
id=
"id_password"
>
</div>
</div>
</div>
<div
class=
"form-row"
>
<input
type=
"hidden"
name=
"next"
value=
"{{ next }}"
/>
<label>
</label><input
type=
"submit"
value=
"Log in"
>
<div
class=
"form-actions-no-box"
>
<input
type=
"submit"
name=
"submit"
value=
"Log in"
class=
"btn btn-primary"
id=
"submit-id-submit"
>
</div>
</div>
</form>
</form>
<script
type=
"text/javascript"
>
document
.
getElementById
(
'id_username'
).
focus
()
</script>
</div>
</div>
<br
class=
"clear"
>
</div>
<!-- /row fluid --
>
</div
>
</div>
<!--/span--
>
<div
id=
"footer"
></div>
</div>
<!-- /.row-fluid -->
</div>
</div>
</div>
</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