Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
bootstrap
Commits
ecc9764c
Commit
ecc9764c
authored
Nov 27, 2011
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove static github buttons and replace with iframe versions
parent
4e6275d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
68 deletions
+4
-68
docs/index.html
docs/index.html
+4
-68
No files found.
docs/index.html
View file @
ecc9764c
...
@@ -82,22 +82,11 @@
...
@@ -82,22 +82,11 @@
<li><a
href=
"https://github.com/twitter/bootstrap/wiki/Changelog"
>
Changelog
</a></li>
<li><a
href=
"https://github.com/twitter/bootstrap/wiki/Changelog"
>
Changelog
</a></li>
<li
class=
"divider"
>
·
</li>
<li
class=
"divider"
>
·
</li>
<li>
<li>
<span
class=
"github-btn github-watchers"
>
<iframe
class=
"github-btn"
src=
"http://markdotto.github.com/github-buttons/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"110px"
height=
"20px"
></iframe>
<a
href=
"https://github.com/twitter/bootstrap"
class=
"btn"
>
</li>
<img
class=
"github-ico"
src=
"assets/img/github-16px.png"
>
<li>
Watch
<iframe
class=
"github-btn"
src=
"http://markdotto.github.com/github-buttons/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"94px"
height=
"20px"
></iframe>
</a>
<span
class=
"count"
></span>
</span>
<span
class=
"github-btn github-forks"
>
<a
href=
"https://github.com/twitter/bootstrap"
class=
"btn"
>
<img
class=
"github-ico"
src=
"assets/img/github-16px.png"
>
Fork
</a>
<span
class=
"count"
></span>
</span>
</li>
</li>
<!--
<!--
<li><strong>Authors</strong></li>
<li><strong>Authors</strong></li>
<li><a href="http://twitter.com/mdo">@mdo</a></li>
<li><a href="http://twitter.com/mdo">@mdo</a></li>
...
@@ -190,23 +179,6 @@
...
@@ -190,23 +179,6 @@
</div>
<!--/row-->
</div>
<!--/row-->
</div>
</div>
<!-- <h3>Quick-start examples</h3>
<p>Need some quick templates? Check out these basic examples we've put together:</p>
<ul class="media-grid">
<li>
<a href="../examples/hero.html"><img src="assets/img/example-diagram-01.png" alt="Simple three-column layout with hero unit"></a>
</li>
<li>
<a href="../examples/fluid.html"><img src="assets/img/example-diagram-02.png" alt="Fluid layout with static sidebar"></a>
</li>
<li>
<a href="../examples/container-app.html"><img src="assets/img/example-diagram-03.png" alt="Simple hanging container for apps"></a>
</li>
</ul>
-->
</div>
<!-- /#overview -->
</div>
<!-- /#overview -->
...
@@ -232,41 +204,5 @@
...
@@ -232,41 +204,5 @@
<script
src=
"../js/bootstrap-scrollspy.js"
></script>
<script
src=
"../js/bootstrap-scrollspy.js"
></script>
<script
src=
"assets/js/application.js"
></script>
<script
src=
"assets/js/application.js"
></script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(
$
){
function
addCommas
(
nStr
)
{
nStr
+=
''
;
x
=
nStr
.
split
(
'
.
'
);
x1
=
x
[
0
];
x2
=
x
.
length
>
1
?
'
.
'
+
x
[
1
]
:
''
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
while
(
rgx
.
test
(
x1
))
{
x1
=
x1
.
replace
(
rgx
,
'
$1
'
+
'
,
'
+
'
$2
'
);
}
return
x1
+
x2
;
}
// GITHUB
window
.
repoCallback
=
function
(
obj
)
{
// Variables
var
watchers
=
obj
[
'
repository
'
][
'
watchers
'
];
var
forks
=
obj
[
'
repository
'
][
'
forks
'
];
// Echo out the counts in correct elements
$
(
'
.github-watchers .count
'
).
html
(
addCommas
(
watchers
));
$
(
'
.github-forks .count
'
).
html
(
addCommas
(
forks
));
// Debug log
// console.log("Watchers:" + watchers);
// console.log("Forks:" + forks);
}
$
.
ajax
(
"
http://github.com/api/v2/json/repos/show/twitter/bootstrap?callback=repoCallback
"
,
{
dataType
:
"
jsonp
"
});
});
</script>
</body>
</body>
</html>
</html>
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