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
998c245f
Commit
998c245f
authored
Jan 22, 2013
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add twitter share button to index page.
parent
dd10d538
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
docs/css/default.css
+14
-3
docs/index.md
+8
-2
No files found.
docs/css/default.css
View file @
998c245f
...
...
@@ -25,18 +25,29 @@ pre {
margin-top
:
9px
;
}
body
.index-page
#main-content
p
.badges
{
padding-bottom
:
1px
;
}
/* GitHub 'Star' badge */
body
.index-page
#main-content
iframe
{
body
.index-page
#main-content
iframe
.github-star-button
{
float
:
right
;
margin-top
:
-12px
;
margin-right
:
-15px
;
}
/* Tweet button */
body
.index-page
#main-content
iframe
.twitter-share-button
{
float
:
right
;
margin-top
:
-12px
;
margin-right
:
8px
;
}
/* Travis CI badge */
body
.index-page
#main-content
p
:first-of-typ
e
{
body
.index-page
#main-content
img
.travis-build-imag
e
{
float
:
right
;
margin-right
:
8px
;
margin-top
:
-
14
px
;
margin-top
:
-
9
px
;
margin-bottom
:
0px
;
}
...
...
docs/index.md
View file @
998c245f
<iframe
src=
"http://ghbtns.com/github-btn.html?user=tomchristie&repo=django-rest-framework&type=watch&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"110px"
height=
"20px"
></iframe>
[
![Travis build image
][
travis-build-image
]
]
[
travis
]
<p
class=
"badges"
>
<iframe
src=
"http://ghbtns.com/github-btn.html?user=tomchristie&repo=django-rest-framework&type=watch&count=true"
class=
"github-star-button"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"110px"
height=
"20px"
></iframe>
<a
href=
"https://twitter.com/share"
class=
"twitter-share-button"
data-url=
"django-rest-framework.org"
data-text=
"Current status: Checking out the totally awesome Django REST framework! http://django-rest-framework.org"
data-count=
"none"
>
Tweet
</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)
[
0
]
;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="http://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script>
<img
alt=
"Travis build image"
src=
"https://secure.travis-ci.org/tomchristie/django-rest-framework.png?branch=master"
class=
"travis-build-image"
>
</p>
# Django REST framework
...
...
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