This repository has been archived by the owner on May 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add download popup and custom navbar
- Loading branch information
Showing
12 changed files
with
260 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/_site | ||
Gemfile.lock | ||
/Gemfile.lock | ||
/dist/bootstrap | ||
/dist/jquery | ||
/dist/jquery | ||
/.idea | ||
/*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
source 'https://rubygems.org' | ||
gem 'github-pages' | ||
gem 'nokogiri', '1.6.8.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<div class="row"> | ||
{% if site.download.url %} | ||
<div class="col-sm-6"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Manual download</div> | ||
<div class="panel-body"> | ||
<p>Compiled and minified files with examples and sources.</p> | ||
<a href="{{site.download.url}}" class="btn btn-lg btn-outline"> | ||
<i class="glyphicon glyphicon-save"></i> | ||
Download | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
{% if site.download.cdn and site.download.cdn.url %} | ||
<div class="col-sm-6"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Content Delivery Network</div> | ||
<div class="panel-body"> | ||
<p>The package is available on {{site.download.cdn.name}}.</p> | ||
{% if site.download.cdn.img %} | ||
<a href="{{site.download.cdn.url}}" class="btn btn-lg btn-outline" style="max-width: 50%"> | ||
<img src="{{site.download.cdn.img}}" class="img-responsive"/> | ||
</a> | ||
{% else %} | ||
<a href="{{site.download.cdn.url}}" class="btn btn-lg btn-outline">Download</a> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
{% if site.download.bower %} | ||
<div class="col-sm-6"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Install with Bower</div> | ||
<div class="panel-body"> | ||
<p>You can also get all necessary files and dependencies with <a href="http://bower.io">Bower</a>.</p> | ||
<!-- @formatter:off --> | ||
{% highlight bash %} | ||
$ bower install {{site.download.bower}} | ||
{% endhighlight %} | ||
<!-- @formatter:on --> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
{% if site.download.npm %} | ||
<div class="col-sm-6"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Install with npm</div> | ||
<div class="panel-body"> | ||
<p>You can also get all necessary files and dependencies with <a href="https://www.npmjs.com">npm</a>.</p> | ||
<!-- @formatter:off --> | ||
{% highlight bash %} | ||
$ npm install {{site.download.npm}} | ||
{% endhighlight %} | ||
<!-- @formatter:on --> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<li {% if page.title == 'page1' %}class="active"{% endif %}> | ||
<a href="{{site.github.url}}/page1.html">Page 1</a> | ||
</li> | ||
|
||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Menu <span class="caret"></span></a> | ||
<ul class="dropdown-menu"> | ||
<li {% if page.title == 'page2.1' %}class="active"{% endif %}> | ||
<a href="{{site.github.url}}/page2.1.html">Page 2.1</a> | ||
</li> | ||
|
||
<li {% if page.title == 'page2.2' %}class="active"{% endif %}> | ||
<a href="{{site.github.url}}/page2.2.html">Page 2.2</a> | ||
</li> | ||
</ul> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "jekyll-bootstrap-doc", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
|
||
"dependencies": { | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.