Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
masonstrap
Commits
5ebb528b
Commit
5ebb528b
authored
Feb 18, 2012
by
Thomas Park
Browse files
append swatch menu with js
parent
8f48410e
Changes
9
Show whitespace changes
Inline
Side-by-side
cerulean/index.html
View file @
5ebb528b
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Bootswatch
</title>
<title>
Bootswatch
: Cerulean
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
...
...
@@ -55,19 +55,6 @@
<li
class=
""
>
<a
href=
"../#swatches"
>
The Swatches
</a>
</li>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Preview
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"../default"
>
Default
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"../cerulean"
>
Cerulean
</a></li>
<li><a
href=
"../cyborg"
>
Cyborg
</a></li>
<li><a
href=
"../journal"
>
Journal
</a></li>
<li><a
href=
"../simplex"
>
Simplex
</a></li>
<li><a
href=
"../spacelab"
>
Spacelab
</a></li>
<li><a
href=
"../united"
>
United
</a></li>
</ul>
</li>
</ul>
</div>
...
...
@@ -654,6 +641,7 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"../assets/js/jquery.js"
></script>
<script
src=
"../js/bootswatch.js"
></script>
<script
src=
"../assets/js/bootstrap-dropdown.js"
></script>
<script
src=
"../assets/js/bootstrap-scrollspy.js"
></script>
<script
src=
"../assets/js/bootstrap-collapse.js"
></script>
...
...
cyborg/index.html
View file @
5ebb528b
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Bootswatch
</title>
<title>
Bootswatch
: Cyborg
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
...
...
@@ -55,19 +55,6 @@
<li
class=
""
>
<a
href=
"../#swatches"
>
The Swatches
</a>
</li>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Preview
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"../default"
>
Default
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"../cerulean"
>
Cerulean
</a></li>
<li><a
href=
"../cyborg"
>
Cyborg
</a></li>
<li><a
href=
"../journal"
>
Journal
</a></li>
<li><a
href=
"../simplex"
>
Simplex
</a></li>
<li><a
href=
"../spacelab"
>
Spacelab
</a></li>
<li><a
href=
"../united"
>
United
</a></li>
</ul>
</li>
</ul>
</div>
...
...
@@ -654,6 +641,7 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"../assets/js/jquery.js"
></script>
<script
src=
"../js/bootswatch.js"
></script>
<script
src=
"../assets/js/bootstrap-dropdown.js"
></script>
<script
src=
"../assets/js/bootstrap-scrollspy.js"
></script>
<script
src=
"../assets/js/bootstrap-collapse.js"
></script>
...
...
default/index.html
View file @
5ebb528b
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Bootswatch
</title>
<title>
Bootswatch
: Default
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
...
...
@@ -55,19 +55,6 @@
<li
class=
""
>
<a
href=
"../#swatches"
>
The Swatches
</a>
</li>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Preview
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"../default"
>
Default
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"../cerulean"
>
Cerulean
</a></li>
<li><a
href=
"../cyborg"
>
Cyborg
</a></li>
<li><a
href=
"../journal"
>
Journal
</a></li>
<li><a
href=
"../simplex"
>
Simplex
</a></li>
<li><a
href=
"../spacelab"
>
Spacelab
</a></li>
<li><a
href=
"../united"
>
United
</a></li>
</ul>
</li>
</ul>
</div>
...
...
@@ -651,6 +638,7 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"../assets/js/jquery.js"
></script>
<script
src=
"../js/bootswatch.js"
></script>
<script
src=
"../assets/js/bootstrap-dropdown.js"
></script>
<script
src=
"../assets/js/bootstrap-scrollspy.js"
></script>
<script
src=
"../assets/js/bootstrap-collapse.js"
></script>
...
...
index.html
View file @
5ebb528b
...
...
@@ -41,7 +41,7 @@
}
.twitter-follow-button
{
width
:
8
5
px
!important
;
width
:
8
0
px
!important
;
}
.about
{
...
...
journal/index.html
View file @
5ebb528b
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Bootswatch
</title>
<title>
Bootswatch
: Journal
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
...
...
@@ -55,19 +55,6 @@
<li
class=
""
>
<a
href=
"../#swatches"
>
The Swatches
</a>
</li>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Preview
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"../default"
>
Default
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"../cerulean"
>
Cerulean
</a></li>
<li><a
href=
"../cyborg"
>
Cyborg
</a></li>
<li><a
href=
"../journal"
>
Journal
</a></li>
<li><a
href=
"../simplex"
>
Simplex
</a></li>
<li><a
href=
"../spacelab"
>
Spacelab
</a></li>
<li><a
href=
"../united"
>
United
</a></li>
</ul>
</li>
</ul>
</div>
...
...
@@ -654,6 +641,7 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"../assets/js/jquery.js"
></script>
<script
src=
"../js/bootswatch.js"
></script>
<script
src=
"../assets/js/bootstrap-dropdown.js"
></script>
<script
src=
"../assets/js/bootstrap-scrollspy.js"
></script>
<script
src=
"../assets/js/bootstrap-collapse.js"
></script>
...
...
js/bootswatch.js
0 → 100644
View file @
5ebb528b
$
(
'
.navbar .nav
'
).
first
().
append
(
'
<li class="dropdown">
\
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
\
<ul class="dropdown-menu">
\
<li><a href="../default">Default</a></li>
\
<li class="divider"></li>
\
<li><a href="../cerulean">Cerulean</a></li>
\
<li><a href="../cyborg">Cyborg</a></li>
\
<li><a href="../journal">Journal</a></li>
\
<li><a href="../simplex">Simplex</a></li>
\
<li><a href="../spacelab">Spacelab</a></li>
\
<li><a href="../united">United</a></li>
\
</ul>
\
</li>
'
);
\ No newline at end of file
simplex/index.html
View file @
5ebb528b
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Bootswatch
</title>
<title>
Bootswatch
: Simplex
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
...
...
@@ -55,19 +55,6 @@
<li
class=
""
>
<a
href=
"../#swatches"
>
The Swatches
</a>
</li>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Preview
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"../default"
>
Default
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"../cerulean"
>
Cerulean
</a></li>
<li><a
href=
"../cyborg"
>
Cyborg
</a></li>
<li><a
href=
"../journal"
>
Journal
</a></li>
<li><a
href=
"../simplex"
>
Simplex
</a></li>
<li><a
href=
"../spacelab"
>
Spacelab
</a></li>
<li><a
href=
"../united"
>
United
</a></li>
</ul>
</li>
</ul>
</div>
...
...
@@ -653,6 +640,7 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"../assets/js/jquery.js"
></script>
<script
src=
"../js/bootswatch.js"
></script>
<script
src=
"../assets/js/bootstrap-dropdown.js"
></script>
<script
src=
"../assets/js/bootstrap-scrollspy.js"
></script>
<script
src=
"../assets/js/bootstrap-collapse.js"
></script>
...
...
spacelab/index.html
View file @
5ebb528b
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Bootswatch
</title>
<title>
Bootswatch
: Spacelab
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
...
...
@@ -55,19 +55,6 @@
<li
class=
""
>
<a
href=
"../#swatches"
>
The Swatches
</a>
</li>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Preview
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"../default"
>
Default
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"../cerulean"
>
Cerulean
</a></li>
<li><a
href=
"../cyborg"
>
Cyborg
</a></li>
<li><a
href=
"../journal"
>
Journal
</a></li>
<li><a
href=
"../simplex"
>
Simplex
</a></li>
<li><a
href=
"../spacelab"
>
Spacelab
</a></li>
<li><a
href=
"../united"
>
United
</a></li>
</ul>
</li>
</ul>
</div>
...
...
@@ -653,6 +640,7 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"../assets/js/jquery.js"
></script>
<script
src=
"../js/bootswatch.js"
></script>
<script
src=
"../assets/js/bootstrap-dropdown.js"
></script>
<script
src=
"../assets/js/bootstrap-scrollspy.js"
></script>
<script
src=
"../assets/js/bootstrap-collapse.js"
></script>
...
...
united/index.html
View file @
5ebb528b
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Bootswatch
</title>
<title>
Bootswatch
: United
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
...
...
@@ -55,19 +55,6 @@
<li
class=
""
>
<a
href=
"../#swatches"
>
The Swatches
</a>
</li>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Preview
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"../default"
>
Default
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"../cerulean"
>
Cerulean
</a></li>
<li><a
href=
"../cyborg"
>
Cyborg
</a></li>
<li><a
href=
"../journal"
>
Journal
</a></li>
<li><a
href=
"../simplex"
>
Simplex
</a></li>
<li><a
href=
"../spacelab"
>
Spacelab
</a></li>
<li><a
href=
"../united"
>
United
</a></li>
</ul>
</li>
</ul>
</div>
...
...
@@ -652,6 +639,7 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"../assets/js/jquery.js"
></script>
<script
src=
"../js/bootswatch.js"
></script>
<script
src=
"../assets/js/bootstrap-dropdown.js"
></script>
<script
src=
"../assets/js/bootstrap-scrollspy.js"
></script>
<script
src=
"../assets/js/bootstrap-collapse.js"
></script>
...
...
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