diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 00000000..57510a2b --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1 @@ +_site/ diff --git a/docs/.ruby-version b/docs/.ruby-version new file mode 100644 index 00000000..be94e6f5 --- /dev/null +++ b/docs/.ruby-version @@ -0,0 +1 @@ +3.2.2 diff --git a/docs/Gemfile b/docs/Gemfile new file mode 100644 index 00000000..053c27dc --- /dev/null +++ b/docs/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'github-pages' diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock new file mode 100644 index 00000000..9f9428c4 --- /dev/null +++ b/docs/Gemfile.lock @@ -0,0 +1,307 @@ +GEM + remote: https://rubygems.org/ + specs: + activesupport (7.1.3.4) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + base64 (0.2.0) + bigdecimal (3.1.8) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.12.2) + colorator (1.1.0) + commonmarker (0.23.10) + concurrent-ruby (1.3.3) + connection_pool (2.4.1) + csv (3.3.0) + dnsruby (1.72.2) + simpleidn (~> 0.2.1) + drb (2.2.1) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + ethon (0.16.0) + ffi (>= 1.15.0) + eventmachine (1.2.7) + execjs (2.9.1) + faraday (2.10.1) + faraday-net_http (>= 2.0, < 3.2) + logger + faraday-net_http (3.1.1) + net-http + ffi (1.17.0-aarch64-linux-gnu) + ffi (1.17.0-aarch64-linux-musl) + ffi (1.17.0-arm-linux-gnu) + ffi (1.17.0-arm-linux-musl) + ffi (1.17.0-arm64-darwin) + ffi (1.17.0-x86-linux-gnu) + ffi (1.17.0-x86-linux-musl) + ffi (1.17.0-x86_64-darwin) + ffi (1.17.0-x86_64-linux-gnu) + ffi (1.17.0-x86_64-linux-musl) + forwardable-extended (2.6.0) + gemoji (4.1.0) + github-pages (232) + github-pages-health-check (= 1.18.2) + jekyll (= 3.10.0) + jekyll-avatar (= 0.8.0) + jekyll-coffeescript (= 1.2.2) + jekyll-commonmark-ghpages (= 0.5.1) + jekyll-default-layout (= 0.1.5) + jekyll-feed (= 0.17.0) + jekyll-gist (= 1.5.0) + jekyll-github-metadata (= 2.16.1) + jekyll-include-cache (= 0.2.1) + jekyll-mentions (= 1.6.0) + jekyll-optional-front-matter (= 0.3.2) + jekyll-paginate (= 1.1.0) + jekyll-readme-index (= 0.3.0) + jekyll-redirect-from (= 0.16.0) + jekyll-relative-links (= 0.6.1) + jekyll-remote-theme (= 0.4.3) + jekyll-sass-converter (= 1.5.2) + jekyll-seo-tag (= 2.8.0) + jekyll-sitemap (= 1.4.0) + jekyll-swiss (= 1.0.0) + jekyll-theme-architect (= 0.2.0) + jekyll-theme-cayman (= 0.2.0) + jekyll-theme-dinky (= 0.2.0) + jekyll-theme-hacker (= 0.2.0) + jekyll-theme-leap-day (= 0.2.0) + jekyll-theme-merlot (= 0.2.0) + jekyll-theme-midnight (= 0.2.0) + jekyll-theme-minimal (= 0.2.0) + jekyll-theme-modernist (= 0.2.0) + jekyll-theme-primer (= 0.6.0) + jekyll-theme-slate (= 0.2.0) + jekyll-theme-tactile (= 0.2.0) + jekyll-theme-time-machine (= 0.2.0) + jekyll-titles-from-headings (= 0.5.3) + jemoji (= 0.13.0) + kramdown (= 2.4.0) + kramdown-parser-gfm (= 1.1.0) + liquid (= 4.0.4) + mercenary (~> 0.3) + minima (= 2.5.1) + nokogiri (>= 1.16.2, < 2.0) + rouge (= 3.30.0) + terminal-table (~> 1.4) + webrick (~> 1.8) + github-pages-health-check (1.18.2) + addressable (~> 2.3) + dnsruby (~> 1.60) + octokit (>= 4, < 8) + public_suffix (>= 3.0, < 6.0) + typhoeus (~> 1.3) + html-pipeline (2.14.3) + activesupport (>= 2) + nokogiri (>= 1.4) + http_parser.rb (0.8.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + jekyll (3.10.0) + addressable (~> 2.4) + colorator (~> 1.0) + csv (~> 3.0) + em-websocket (~> 0.5) + i18n (>= 0.7, < 2) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 2.0) + kramdown (>= 1.17, < 3) + liquid (~> 4.0) + mercenary (~> 0.3.3) + pathutil (~> 0.9) + rouge (>= 1.7, < 4) + safe_yaml (~> 1.0) + webrick (>= 1.0) + jekyll-avatar (0.8.0) + jekyll (>= 3.0, < 5.0) + jekyll-coffeescript (1.2.2) + coffee-script (~> 2.2) + coffee-script-source (~> 1.12) + jekyll-commonmark (1.4.0) + commonmarker (~> 0.22) + jekyll-commonmark-ghpages (0.5.1) + commonmarker (>= 0.23.7, < 1.1.0) + jekyll (>= 3.9, < 4.0) + jekyll-commonmark (~> 1.4.0) + rouge (>= 2.0, < 5.0) + jekyll-default-layout (0.1.5) + jekyll (>= 3.0, < 5.0) + jekyll-feed (0.17.0) + jekyll (>= 3.7, < 5.0) + jekyll-gist (1.5.0) + octokit (~> 4.2) + jekyll-github-metadata (2.16.1) + jekyll (>= 3.4, < 5.0) + octokit (>= 4, < 7, != 4.4.0) + jekyll-include-cache (0.2.1) + jekyll (>= 3.7, < 5.0) + jekyll-mentions (1.6.0) + html-pipeline (~> 2.3) + jekyll (>= 3.7, < 5.0) + jekyll-optional-front-matter (0.3.2) + jekyll (>= 3.0, < 5.0) + jekyll-paginate (1.1.0) + jekyll-readme-index (0.3.0) + jekyll (>= 3.0, < 5.0) + jekyll-redirect-from (0.16.0) + jekyll (>= 3.3, < 5.0) + jekyll-relative-links (0.6.1) + jekyll (>= 3.3, < 5.0) + jekyll-remote-theme (0.4.3) + addressable (~> 2.0) + jekyll (>= 3.5, < 5.0) + jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0) + rubyzip (>= 1.3.0, < 3.0) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-seo-tag (2.8.0) + jekyll (>= 3.8, < 5.0) + jekyll-sitemap (1.4.0) + jekyll (>= 3.7, < 5.0) + jekyll-swiss (1.0.0) + jekyll-theme-architect (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-cayman (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-dinky (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-hacker (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-leap-day (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-merlot (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-midnight (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-minimal (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-modernist (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-primer (0.6.0) + jekyll (> 3.5, < 5.0) + jekyll-github-metadata (~> 2.9) + jekyll-seo-tag (~> 2.0) + jekyll-theme-slate (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-tactile (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-theme-time-machine (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) + jekyll-titles-from-headings (0.5.3) + jekyll (>= 3.3, < 5.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + jemoji (0.13.0) + gemoji (>= 3, < 5) + html-pipeline (~> 2.2) + jekyll (>= 3.0, < 5.0) + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + logger (1.6.0) + mercenary (0.3.6) + minima (2.5.1) + jekyll (>= 3.5, < 5.0) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) + minitest (5.24.1) + mutex_m (0.2.0) + net-http (0.4.1) + uri + nokogiri (1.16.7-aarch64-linux) + racc (~> 1.4) + nokogiri (1.16.7-arm-linux) + racc (~> 1.4) + nokogiri (1.16.7-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.7-x86-linux) + racc (~> 1.4) + nokogiri (1.16.7-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.7-x86_64-linux) + racc (~> 1.4) + octokit (4.25.1) + faraday (>= 1, < 3) + sawyer (~> 0.9) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (5.1.1) + racc (1.8.1) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) + rexml (3.3.4) + strscan + rouge (3.30.0) + rubyzip (2.3.2) + safe_yaml (1.0.5) + sass (3.7.4) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sawyer (0.9.2) + addressable (>= 2.3.5) + faraday (>= 0.17.3, < 3) + simpleidn (0.2.3) + strscan (3.1.0) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + typhoeus (1.4.1) + ethon (>= 0.9.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (1.8.0) + uri (0.13.0) + webrick (1.8.1) + +PLATFORMS + aarch64-linux + aarch64-linux-gnu + aarch64-linux-musl + arm-linux + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86-linux + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + github-pages + +BUNDLED WITH + 2.5.9 diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 00000000..8b41d59a --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1,5 @@ +source: . +destination: _site +exclude: [.git, Gemfile, Gemfile.lock, .gitignore, README.md, Rakefile] +url: "https://hensmith.github.io/ppl" +permalink: "/news/:title" diff --git a/docs/_includes/changelog.html b/docs/_includes/changelog.html new file mode 100644 index 00000000..18584ef8 --- /dev/null +++ b/docs/_includes/changelog.html @@ -0,0 +1,23 @@ +{% include header.html %} + +

+ Version {{page.title}} + + {{page.summary}} + +

+ +
+ +
+ {{content}} +
+ +
+ {% include development-sidebar.html %} +
+ +
+ +{% include footer.html %} + diff --git a/docs/_includes/development-sidebar.html b/docs/_includes/development-sidebar.html new file mode 100644 index 00000000..ffd410ef --- /dev/null +++ b/docs/_includes/development-sidebar.html @@ -0,0 +1,25 @@ + + diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html new file mode 100644 index 00000000..306064ec --- /dev/null +++ b/docs/_includes/footer.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/docs/_includes/header.html b/docs/_includes/header.html new file mode 100644 index 00000000..8cca4b9b --- /dev/null +++ b/docs/_includes/header.html @@ -0,0 +1,43 @@ + + + + + + + + {{page.title}} + + + + + + + + + + + +
+
+ diff --git a/docs/_includes/news.html b/docs/_includes/news.html new file mode 100644 index 00000000..48e18b08 --- /dev/null +++ b/docs/_includes/news.html @@ -0,0 +1,36 @@ + +{% include header.html %} + +{% if page.title %} +

+ {{page.title}} +

+{% endif %} + +
+ +
+ {{content}} +
+ +
+ + + +
+ +
+ +{% include footer.html %} + diff --git a/docs/_includes/tip.html b/docs/_includes/tip.html new file mode 100644 index 00000000..b36ebcab --- /dev/null +++ b/docs/_includes/tip.html @@ -0,0 +1,54 @@ + +{% include header.html %} + +{% if page.title %} +

+ {{page.title}} + + from + + {{page.author_name}} + + +

+{% endif %} + +
+ +
+ {{content}} + +
+
+

+ Got a tip or trick you want to share with the community? Want to add it + to the core documentation, under your own name and with an attribution + link? If you've got what it takes, just write it up and email me, or better still, send a pull + request! +

+
+
+ +
+ + + +
+ +
+ +{% include footer.html %} + diff --git a/docs/_layouts/changelog.html b/docs/_layouts/changelog.html new file mode 100644 index 00000000..b4a1f9e9 --- /dev/null +++ b/docs/_layouts/changelog.html @@ -0,0 +1 @@ +{% include changelog.html %} diff --git a/docs/_layouts/command.html b/docs/_layouts/command.html new file mode 100644 index 00000000..ae68ea12 --- /dev/null +++ b/docs/_layouts/command.html @@ -0,0 +1,104 @@ +{% include header.html %} + +
+ +
+ +
+

+ Commands +

+ + +
+ +
+ + {% if page.title %} +

+ {{page.title}} +

+ {% endif %} + + {{content}} +
+ +
+ +
+ +{% include footer.html %} + diff --git a/docs/_layouts/configuration.html b/docs/_layouts/configuration.html new file mode 100644 index 00000000..5e921143 --- /dev/null +++ b/docs/_layouts/configuration.html @@ -0,0 +1,71 @@ +{% include header.html %} + +
+ +
+ +
+

+ Configuration Guide +

+ + +
+ +
+ + {% if page.title %} +

+ {{page.title}} +

+ {% endif %} + + {{content}} +
+ +
+ +
+ +{% include footer.html %} + diff --git a/docs/_layouts/development.html b/docs/_layouts/development.html new file mode 100644 index 00000000..b0d14376 --- /dev/null +++ b/docs/_layouts/development.html @@ -0,0 +1,20 @@ +{% include header.html %} + +

+ {{page.title}} +

+ +
+ +
+ {{content}} +
+ +
+ {% include development-sidebar.html %} +
+ +
+ +{% include footer.html %} + diff --git a/docs/_layouts/frontpage.html b/docs/_layouts/frontpage.html new file mode 100644 index 00000000..7fa4e1b1 --- /dev/null +++ b/docs/_layouts/frontpage.html @@ -0,0 +1,6 @@ +{% include header.html %} + +{{content}} + +{% include footer.html %} + diff --git a/docs/_layouts/integration.html b/docs/_layouts/integration.html new file mode 100644 index 00000000..5e50b49d --- /dev/null +++ b/docs/_layouts/integration.html @@ -0,0 +1,44 @@ +{% include header.html %} + +
+ +
+ +
+

+ Integration +

+ + +
+ +
+ + {% if page.title %} +

+ {{page.title}} +

+ {% endif %} + + {{content}} +
+ +
+ +
+ +{% include footer.html %} + diff --git a/docs/_layouts/news.html b/docs/_layouts/news.html new file mode 100644 index 00000000..09d5ba0c --- /dev/null +++ b/docs/_layouts/news.html @@ -0,0 +1,2 @@ +{% include news.html %} + diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html new file mode 100644 index 00000000..7fa4e1b1 --- /dev/null +++ b/docs/_layouts/page.html @@ -0,0 +1,6 @@ +{% include header.html %} + +{{content}} + +{% include footer.html %} + diff --git a/docs/_layouts/tip.html b/docs/_layouts/tip.html new file mode 100644 index 00000000..831bf8aa --- /dev/null +++ b/docs/_layouts/tip.html @@ -0,0 +1,2 @@ +{% include tip.html %} + diff --git a/docs/_posts/2012-01-15-first-post.md b/docs/_posts/2012-01-15-first-post.md new file mode 100644 index 00000000..d0dd3520 --- /dev/null +++ b/docs/_posts/2012-01-15-first-post.md @@ -0,0 +1,16 @@ +--- +title: Version 1.0.0 released +date: 2012-12-12 +layout: news +section: news +categories: [news] +--- + +After a solid month or so of work, the first stable version of ppl has been +released to the public. This version includes the ability to store contacts' +names, organizations, email addresses, phone numbers, and birthdays. + +It's by no means feature complete at this stage, and the +[roadmap](/development/roadmap) has details of the known deficiencies in this +release. + diff --git a/docs/_posts/2012-12-20-1.0.0.md b/docs/_posts/2012-12-20-1.0.0.md new file mode 100644 index 00000000..8304f734 --- /dev/null +++ b/docs/_posts/2012-12-20-1.0.0.md @@ -0,0 +1,19 @@ +--- +title: 1.0.0 +summary: First public version +date: 2012-12-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.0.0.html +--- + +This is the first publicly-announced release. Since none of the previous +releases have been publicised in any way, it's assumed that nobody out there has +been using them. + +This being the case, the changelog entry for `1.0.0` is effectively the set of +all changes since the non-existence of the program until this version. So let's +put that in list form as seems to be customary in changelogs: + +* ppl now exists diff --git a/docs/_posts/2012-12-20-1.1.0.md b/docs/_posts/2012-12-20-1.1.0.md new file mode 100644 index 00000000..69d0042e --- /dev/null +++ b/docs/_posts/2012-12-20-1.1.0.md @@ -0,0 +1,28 @@ +--- +title: 1.1.0 +summary: Hacker News feature requests and bugfixes +date: 2012-12-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.1.0.html +--- + +These are some very quickly added changes resulting from this morning's exposure +on [Hacker News](http://news.ycombinator.com/item?id=4947047). A few real +show-stopping bugs have been fixed, and a new feature has been added for mutt +users. + +Many thanks to [@storge](https://github.com/storge) on GitHub for all the help +fixing the long series of issues in [Issue #1](https://github.com/hnrysmth/ppl/issues/1). You absolute legend. + +Also, thanks to [7h0ma5](http://news.ycombinator.com/user?id=7h0ma5) on HN for +the [mutt integration suggestion](http://news.ycombinator.com/item?id=4947256) +and the helpful documentation link. Support for usage as the backend to mutt's +`query_command` option has been added in the form of [ppl +mutt](/documentation/commands/mutt). + +* Fixed missing dependency declaration in gemspec +* Fixed missing minimum ruby version in gemspec +* Fixed completely broken and useless `ppl init` command +* Added `ppl mutt` command diff --git a/docs/_posts/2012-12-20-1.2.0.md b/docs/_posts/2012-12-20-1.2.0.md new file mode 100644 index 00000000..a0d1a1fc --- /dev/null +++ b/docs/_posts/2012-12-20-1.2.0.md @@ -0,0 +1,18 @@ +--- +title: 1.2.0 +summary: ppl post +date: 2012-12-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.2.0.html +--- + +A relatively small release in terms of new functionality, `1.2.0` simply adds +the [ppl post](/documentation/commands/post) command. This command was always in +the pipeline, but thanks anways to +[nicky0](http://news.ycombinator.com/user?id=nicky0) on Hacker News for +[prompting me](http://news.ycombinator.com/item?id=4947468) to prioritise it +slightly. + +* Added `ppl post` command diff --git a/docs/_posts/2012-12-21-1.3.0.md b/docs/_posts/2012-12-21-1.3.0.md new file mode 100644 index 00000000..79fcac36 --- /dev/null +++ b/docs/_posts/2012-12-21-1.3.0.md @@ -0,0 +1,20 @@ +--- +title: 1.3.0 +summary: XDG-compatible configuration +date: 2012-12-21 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.3.0.html +--- + +Adds support for XDG-compatible configuration. Many thanks to +[@tijn](https://github.com/hnrysmth/ppl/issues/4) on GitHub for [recommending this +functionality](https://github.com/hnrysmth/ppl/issues/4). + +This means ppl can now be alternatively configured using a file at +`~/.config/ppl/config`. If you like keeping your `~/` free of dotfile clutter +then this is good news. If not, don't worry, `~/.pplconfig` continues working as +normal. + +* Add support for XDG-compatible configuration file location diff --git a/docs/_posts/2012-12-21-thank-you-for-your-all-your-feedback.md b/docs/_posts/2012-12-21-thank-you-for-your-all-your-feedback.md new file mode 100644 index 00000000..aa4e4a39 --- /dev/null +++ b/docs/_posts/2012-12-21-thank-you-for-your-all-your-feedback.md @@ -0,0 +1,26 @@ +--- +title: Thanks For All Your Feedback +date: 2012-12-21 +layout: news +section: news +categories: [news] +--- + +Yesterday I worked up the courage to submit this project to Hacker News under +the usual [Show HN](http://news.ycombinator.com/item?id=4947047) format. I was +pleasantly surprised by how positive the feedback was overall. It was especially +heartening to confirm that I'm not the only person out there who would be +interested in using a command line address book! + +As a result of all the attention that came flooding in, questions were asked and +answered, bugs were reported and fixed, and features were suggested and +implemented. It was a really fun day. + +The elephant in the room is obviously sync functionality at this point. Lots +and lots of people have made it very clear that even though they think this +project is a great idea it is useless in the extreme to them unless it can sync +with their GMail or iCloud. Rest assured that [this has not gone +unnoticed](https://github.com/hnrysmth/ppl/issues/5). + +Stay tuned! + diff --git a/docs/_posts/2012-12-22-1.4.1.md b/docs/_posts/2012-12-22-1.4.1.md new file mode 100644 index 00000000..b7bc25c6 --- /dev/null +++ b/docs/_posts/2012-12-22-1.4.1.md @@ -0,0 +1,21 @@ +--- +title: 1.4.1 +summary: Multiple email addresses per contact +date: 2012-12-22 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.4.1.html +--- + +This version is a first step towards removing the annoying limitation of one +email address, postal address and so on per contact. This isn't glamorous work +but it's vital functionality. + +The ability to add more than one email address to a contact has been added. This +is not 100% complete: email addresses cannot yet be deleted, for example. And +[ppl show](/documentation/commands/show) does not yet show all the addresses +(only [ppl email](/documentation/commands/email) does for now). But at least +it's now possible to store the data + +* Contacts can now have more than one email address diff --git a/docs/_posts/2012-12-22-1.5.0.md b/docs/_posts/2012-12-22-1.5.0.md new file mode 100644 index 00000000..e4347651 --- /dev/null +++ b/docs/_posts/2012-12-22-1.5.0.md @@ -0,0 +1,17 @@ +--- +title: 1.5.0 +summary: ppl shell +date: 2012-12-22 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.5.0.html +--- + +The addition of "interactive mode" in the form of [ppl +shell](/documentation/commands/shell). Thanks to +[@axelGschaider](https://github.com/axelGschaider) on GitHub for [the +suggestion](https://github.com/hnrysmth/ppl/issues/7). This ought to make life a lot +easier for people entering lots of commands at once! + +* Added `ppl shell` command diff --git a/docs/_posts/2012-12-23-1.5.1.md b/docs/_posts/2012-12-23-1.5.1.md new file mode 100644 index 00000000..bdf30029 --- /dev/null +++ b/docs/_posts/2012-12-23-1.5.1.md @@ -0,0 +1,13 @@ +--- +title: 1.5.1 +summary: ppl post bugfix +date: 2012-12-23 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.5.1.html +--- + +This is a very small release to fix one very small bug. + +* Fix fatal error in `ppl post ` when contact has no address diff --git a/docs/_posts/2012-12-23-1.5.2.md b/docs/_posts/2012-12-23-1.5.2.md new file mode 100644 index 00000000..789421d4 --- /dev/null +++ b/docs/_posts/2012-12-23-1.5.2.md @@ -0,0 +1,15 @@ +--- +title: 1.5.2 +summary: ppl shell usability tweaks +date: 2012-12-23 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.5.2.html +--- + +Another very small, very minor release addressing a usability issue with [ppl +shell](/documentation/commands/shell). + +* Add "welcome" message to `ppl shell` explaining how to quit +* Don't show "ppl>" prompt in `ppl shell` if stdin isn't a tty diff --git a/docs/_posts/2012-12-26-1.5.3.md b/docs/_posts/2012-12-26-1.5.3.md new file mode 100644 index 00000000..beaaf305 --- /dev/null +++ b/docs/_posts/2012-12-26-1.5.3.md @@ -0,0 +1,19 @@ +--- +title: 1.5.3 +summary: Better 'no such contact' error message +date: 2012-12-26 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.5.3.html +--- + +There have been a lot of internal changes in this release, and one user-facing +change to improve the error message when a non-existent contact is specified in +a command. + +Before this change, non-existent contacts resulted in a fairly cryptic error +message consisting only of the given non-existent contact ID. From now on the +problem is actually explained to the user. + +* Added a proper error message when a non-existent contact is specified diff --git a/docs/_posts/2012-12-27-1.6.0.md b/docs/_posts/2012-12-27-1.6.0.md new file mode 100644 index 00000000..f3518d81 --- /dev/null +++ b/docs/_posts/2012-12-27-1.6.0.md @@ -0,0 +1,18 @@ +--- +title: 1.6.0 +summary: ppl email --delete and bugfix +date: 2012-12-27 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.6.0.html +--- + +This release contains a bugfix and the means for users to undo the minor damage +caused by the bug. The bug was causing every new email address added by users to +be saved against the contact *twice*. The fix stops that from happening. And a +new feature has been added in the form of a `--delete` flag for [ppl +email](/documentation/commands/email) so that dupliate addresses can be removed. + +* Fixed a bug causing duplicate email addresses to be saved +* Added `--delete` flag to `ppl email` diff --git a/docs/_posts/2012-12-29-1.7.0.md b/docs/_posts/2012-12-29-1.7.0.md new file mode 100644 index 00000000..559ccd49 --- /dev/null +++ b/docs/_posts/2012-12-29-1.7.0.md @@ -0,0 +1,18 @@ +--- +title: 1.7.0 +summary: ppl show output overhaul +date: 2012-12-29 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.7.0.html +--- + +This version contains some fairly substantial changes to the way the [ppl +show](/documentation/commands/show) command formats its output. The need for +this change was unearthed by a [question from +@storge](https://github.com/hnrysmth/ppl/issues/14) on GitHub. In short, the command +was only showing one of the given contact's email addresses, giving the +impression that this was all that ppl supported storing. + +* Improved the output format of `ppl show` diff --git a/docs/_posts/2013-01-05-1.8.0.md b/docs/_posts/2013-01-05-1.8.0.md new file mode 100644 index 00000000..a2d0f3a9 --- /dev/null +++ b/docs/_posts/2013-01-05-1.8.0.md @@ -0,0 +1,18 @@ +--- +title: 1.8.0 +summary: ppl url +date: 2013-01-05 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.8.0.html +--- + +Added another attribute that contacts often have: URLs. For example, a given +contact may have a profile page on some social network, a personal website, or +any number of different possibilities. The new comand, [ppl +url](/documentation/commands/url), works similarly to [ppl +email](/documentation/commands/email) and allows you to store these URLs in your +address book. + +* Added `ppl url` command diff --git a/docs/_posts/2013-01-06-1.9.0.md b/docs/_posts/2013-01-06-1.9.0.md new file mode 100644 index 00000000..01ff3dcb --- /dev/null +++ b/docs/_posts/2013-01-06-1.9.0.md @@ -0,0 +1,20 @@ +--- +title: 1.9.0 +summary: Aliases and ppl version +date: 2013-01-06 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.9.0.html +--- + +This release adds two new features: the [version +command](/documentation/commands/version), and support for +[aliases](/documentation/configuration/alias). Both features function similarly +to their git counterparts, albeit in a less complete way. For now the aliasing +only supports simple aliasing of plain command names, and doesn't allow things +like aliasing long chains of arguments or git's `!f() {}` style commands. These +things will come in time. + +* Added `ppl version` command +* Added rudimentary alias support diff --git a/docs/_posts/2013-01-10-1.10.0.md b/docs/_posts/2013-01-10-1.10.0.md new file mode 100644 index 00000000..5f13a9e6 --- /dev/null +++ b/docs/_posts/2013-01-10-1.10.0.md @@ -0,0 +1,18 @@ +--- +title: 1.10.0 +summary: Multiple organizations and phone numbers +date: 2013-01-10 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.10.0.html +--- + +A lot of the work in this release went into some much-needed refactoring as a +precautionary measure against accumulating too much technical debt early on. The +code reuse enabled by this refactor facilitated the addition of some key +functionality, too. + +* Added support for storing multiple organizations with `ppl org` command +* Added support for storing multiple phone numbers with `ppl phone` command +* Added support for deleting phone numbers with `ppl phone` command diff --git a/docs/_posts/2013-01-20-1.11.0.md b/docs/_posts/2013-01-20-1.11.0.md new file mode 100644 index 00000000..cb7e6583 --- /dev/null +++ b/docs/_posts/2013-01-20-1.11.0.md @@ -0,0 +1,14 @@ +--- +title: 1.11.0 +summary: ppl nick +date: 2013-01-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.11.0.html +--- + +This is a simple release that just adds new functionality in the form of support +for another vCard property: [nicknames](/documentation/commands/nick). + +* Added `ppl nick` command diff --git a/docs/_posts/2013-02-16-1.12.0.md b/docs/_posts/2013-02-16-1.12.0.md new file mode 100644 index 00000000..8343d173 --- /dev/null +++ b/docs/_posts/2013-02-16-1.12.0.md @@ -0,0 +1,14 @@ +--- +title: 1.12.0 +summary: ppl age +date: 2013-02-16 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.12.0.html +--- + +This release adds the [age](/documentation/commands/age) command, which provides +easy access to the ages of all contacts based on their dates of birth. + +* Added `ppl age` command diff --git a/docs/_posts/2013-02-17-1.13.0.md b/docs/_posts/2013-02-17-1.13.0.md new file mode 100644 index 00000000..0449d67f --- /dev/null +++ b/docs/_posts/2013-02-17-1.13.0.md @@ -0,0 +1,29 @@ +--- +title: 1.13.0 +summary: ppl push, pull and remote +date: 2013-02-17 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.13.0.html +--- + +The result of a lot of thought, this is the long-awaited git synchronisation +functionality. What's been added are three new commands, +[pull](/documentation/commands/pull), [push](/documentation/commands/push), and +[remote](/documentation/commands/remote). These commands have no behaviour of +their own, and are effectively aliases that execute their git counterparts +inside the address book's directory. + +I think that this functionality is a good compromise: synchronising address book +data can be accomplished using simple, familiar commands such as `ppl pull +origin master`, and ppl itself is not unduly burdened with duplicating any git +functionality. + +Another positive outcome of this work is that it brings proper git-style "bang" +aliases closer to being a reality. The code changes required for these three +commands lay a lot of the foundations necessary for bang aliases. + +* Added `ppl pull` command +* Added `ppl push` command +* Added `ppl remote` command diff --git a/docs/_posts/2013-02-17-1.14.0.md b/docs/_posts/2013-02-17-1.14.0.md new file mode 100644 index 00000000..778326fd --- /dev/null +++ b/docs/_posts/2013-02-17-1.14.0.md @@ -0,0 +1,15 @@ +--- +title: 1.14.0 +summary: Bang aliases +date: 2013-02-17 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.14.0.html +--- + +Hot on the heels of `1.13.0`, this release brings the git-style bang alias +functionality facilitated by the previous release's code changes. This allows +the creation of aliases which execute a shell command. + +* Add bang alias support diff --git a/docs/_posts/2013-02-17-1.14.1.md b/docs/_posts/2013-02-17-1.14.1.md new file mode 100644 index 00000000..652c62e4 --- /dev/null +++ b/docs/_posts/2013-02-17-1.14.1.md @@ -0,0 +1,18 @@ +--- +title: 1.14.1 +summary: Removes discrepancy with documentation +date: 2013-02-17 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.14.1.html +--- + +The release of `1.14.0` exposed a small screw-up in ppl's alias support. The +`[alias]` section of the `~/.pplconfig` file was not being picked up at all. +Instead it was looking for a section called `[aliases]`, which was insconsistent +with the documentation and with git, on which the functionality is based. This +release, therefore, is a fix for this issue: an `[alias]` section in +`.pplconfig` should now work as described. + +* Fixed `[alias]` configuration diff --git a/docs/_posts/2013-02-17-two-months-in.md b/docs/_posts/2013-02-17-two-months-in.md new file mode 100644 index 00000000..a5c7885c --- /dev/null +++ b/docs/_posts/2013-02-17-two-months-in.md @@ -0,0 +1,27 @@ +--- +title: Two Months In +date: 2013-02-17 +layout: news +section: news +categories: [news] +--- + +It's been almost two months now since the big day of [ppl's public +release](news/thank-you-for-your-all-your-feedback/). In that time, development +has continued at a more steady, sustainable pace than during the period leading +up to the release itself. New functionality has been added, and a few bugs have +been fixed, as [the changelog](/development/changelog) will attest. + +One particularly nasty bug has been reported whose solution eludes me for the +moment. It seems ppl does not cope well with [non-ASCII +characters](https://github.com/hnrysmth/ppl/issues/17). The error itself is coming +from within vpim - although it is almost certainly not a vpim bug - and is +proving a tough nut to crack. Encodings in Ruby 1.9 are [fraught with +complexity](http://yehudakatz.com/2010/05/05/ruby-1-9-encodings-a-primer-and-the-solution-for-rails/), +but I'm optimistic about the existence of a simple solution. + +On a more positive note, it's worth mentioning that the overall health of the +project seems to be good. I continue to enjoy building and maintaining ppl, and +public interest in a command-line address book is as strong as could be expected +for such a niche piece of software. Thanks for all your patience and support! + diff --git a/docs/_posts/2013-03-16-1.15.0.md b/docs/_posts/2013-03-16-1.15.0.md new file mode 100644 index 00000000..cab26699 --- /dev/null +++ b/docs/_posts/2013-03-16-1.15.0.md @@ -0,0 +1,28 @@ +--- +title: 1.15.0 +summary: Color output added +date: 2013-03-16 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.15.0.html +--- + +This adds support for colourised output to most ppl commands. The following +commands are affected by this change: + +* [age](/documentation/configuration/color_age) +* [bday](/documentation/configuration/color_bday) +* [email](/documentation/configuration/color_email) +* [ls](/documentation/configuration/color_ls) +* [name](/documentation/configuration/color_name) +* [nick](/documentation/configuration/color_nick) +* [org](/documentation/configuration/color_org) +* [phone](/documentation/configuration/color_phone) +* [post](/documentation/configuration/color_post) +* [url](/documentation/configuration/color_url) + +Internally, this release depends on two new gems: + +* [morphine](https://github.com/bkeepers/morphine) +* [colored](https://github.com/defunkt/colored) diff --git a/docs/_posts/2013-03-16-coloured-output-released.md b/docs/_posts/2013-03-16-coloured-output-released.md new file mode 100644 index 00000000..44f7cfed --- /dev/null +++ b/docs/_posts/2013-03-16-coloured-output-released.md @@ -0,0 +1,27 @@ +--- +title: Coloured Output Released +date: 2013-03-16 +layout: news +section: news +categories: [news] +--- + +It's been about a month since the last release, but that's not because of any +lack of internal activity. Today marks the release of support for git-style +coloured output, configurable in `~/.pplconfig`. + +This has taken a while to achieve just because I wanted to take my time over it +and try to really get it right the first time. Some refactoring was necessary in +order to get config data into the code responsible for formatting output, but +hopefully the resulting usage of the +[morphine](https://github.com/bkeepers/morphine) dependency injection container +should reduce such code churn in future. + +In other news, the [UTF-8 bug](https://github.com/hnrysmth/ppl/issues/17) mentioned +in [last month's update](/news/two-months-in/) should be gone soon. I've spoken +to the maintainer of vpim about it, and [his +response](http://rubyforge.org/pipermail/vpim-talk/2013/000185.html) was +positive. Apparently vpim just doesn't quite support Ruby 1.9.1's String class +yet, but will do soon. + + diff --git a/docs/_posts/2013-04-10-ruby-2.0-compatibility.md b/docs/_posts/2013-04-10-ruby-2.0-compatibility.md new file mode 100644 index 00000000..b929a460 --- /dev/null +++ b/docs/_posts/2013-04-10-ruby-2.0-compatibility.md @@ -0,0 +1,28 @@ +--- +title: Ruby 2.0 Compatibility +date: 2013-04-10 +layout: news +section: news +categories: [news] +--- + +The latest version of ppl is available now, and it's one of those tiny, +pointless-sounding ones: `1.15.1`. This release is all about Ruby 2.0 +compatibility. A recent issue reported on GitHub by +[@pigmonkey](https://github.com/pigmonkey) brought to my attention that vpim, +ppl's underlying vCard library, [doesn't work at all in Ruby +2.0](https://github.com/hnrysmth/ppl/issues/19). + + invalid multibyte escape: /^\xFF\xFE/ + +This is all better now, and ppl works as well in Ruby 2.0 as it does in the +1.9.\* range. This was a bit of a seismic change behind the scenes, and it +almost seems misleading to increment only the patch version number. + +Essentially, I forked vpim in order to get this done. While this is an +unexpected turn of events, it does mean I'm now quite well-placed to fix its +UTF-8 issues myself instead of depending on the mercy of upstream. By the way, +if you're interested in helping with this, go take a look at +[greencard](https://github.com/hnrysmth/greencard). It's vpim stripped down to just +the vCard functionality used by ppl. Go fork it! + diff --git a/docs/_posts/2013-04-11-1.15.1.md b/docs/_posts/2013-04-11-1.15.1.md new file mode 100644 index 00000000..6199127a --- /dev/null +++ b/docs/_posts/2013-04-11-1.15.1.md @@ -0,0 +1,13 @@ +--- +title: 1.15.1 +summary: Ruby 2.0 support +date: 2013-04-11 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.15.1.html +--- + +Heralding support for Ruby 2.0 and beyond, this version of ppl also sees the +replacement of the vpim gem dependency with greencard. See the [news +post](/news/ruby-2.0-compatibility/) for more details. diff --git a/docs/_posts/2013-04-12-1.16.0.md b/docs/_posts/2013-04-12-1.16.0.md new file mode 100644 index 00000000..25b1d5b6 --- /dev/null +++ b/docs/_posts/2013-04-12-1.16.0.md @@ -0,0 +1,22 @@ +--- +title: 1.16.0 +summary: Mutt integration tweaks +date: 2013-04-12 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.16.0.html +--- + +With a couple of tweaks to the way ppl handles mutt queries, `1.16.0` should be +a nice improvement for anybody using ppl to autocomplete email addresses in the +mail client that "just sucks less". + +* Added missing functionality to the [mutt](/documentation/commands/mutt) + command enabling it to output *all* of a contact's matching email addresses + instead of just the first. +* Added the `-i` flag to the [mutt](/documentation/commands/mutt) command + enabling it to perform case-insensitive search of the address book. + +Many thanks to [@pigmonkey](https://github.com/pigmonkey) on GitHub for the +cooperation that made this release happen. diff --git a/docs/_posts/2013-04-14-1.17.0.md b/docs/_posts/2013-04-14-1.17.0.md new file mode 100644 index 00000000..ad7116bc --- /dev/null +++ b/docs/_posts/2013-04-14-1.17.0.md @@ -0,0 +1,15 @@ +--- +title: 1.17.0 +summary: UTF-8 support +date: 2013-04-14 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.17.0.html +--- + +This is a peculiar version in that it doesn't change any code in ppl itself, but +simultaneously fixes a really major issue that's been affecting it. All this +version does is to increment the greencard gem dependency version number to a +version that copes with UTF-8 input. It's a *tiny* change, but it's a major +improvement. diff --git a/docs/_posts/2013-04-14-1.17.1.md b/docs/_posts/2013-04-14-1.17.1.md new file mode 100644 index 00000000..c3f8d031 --- /dev/null +++ b/docs/_posts/2013-04-14-1.17.1.md @@ -0,0 +1,20 @@ +--- +title: 1.17.1 +summary: Mutt integration tweaks +date: 2013-04-14 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.17.1.html +--- + +Two fairly minor issues are fixed in this version. The first is a tweak to the +output of the [mutt](/documentation/commands/mutt) command, improving the +[understandability and usefulness of the user-facing +text](https://github.com/hnrysmth/ppl/issues/20#issuecomment-16302428). The second is +a bit of output sanitisation to help out people unlucky enough to have an +address book where some of the contacts' fields contain `^M` [carriage return +characters](https://github.com/hnrysmth/ppl/issues/27). + +* Tweaked the output of the [mutt](/documentation/commands/mutt) command +* Add output sanitisation removing all `^M` characters from all output diff --git a/docs/_posts/2013-04-14-1.17.2.md b/docs/_posts/2013-04-14-1.17.2.md new file mode 100644 index 00000000..decd828a --- /dev/null +++ b/docs/_posts/2013-04-14-1.17.2.md @@ -0,0 +1,13 @@ +--- +title: 1.17.2 +summary: Fix for minor release bugs +date: 2013-04-14 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.17.2.html +--- + +An embarrassing "quick follow-up" release, this unbreaks a couple of things that +1.17.1 broke. Displaying the "Contact '%s' not found" message has been fixed, as +has the command list help text displayed by `ppl` and `ppl help`. diff --git a/docs/_posts/2013-04-15-sync-alias.md b/docs/_posts/2013-04-15-sync-alias.md new file mode 100644 index 00000000..6e9bb47e --- /dev/null +++ b/docs/_posts/2013-04-15-sync-alias.md @@ -0,0 +1,31 @@ +--- +title: Sync Alias +date: 2013-04-15 +layout: tip +categories: [tips] +permalink: /documentation/tips/sync-alias +author_name: hnrysmth +author_url: http://henrysmith.org/ +--- + +If your ppl address book is cloned on multiple computers, you're probably +accustomed to using [pull](/documentation/commands/pull/) and +[push](/documentation/commands/pull/) to synchronise your data using Git. If so, +that's great. You're making the most of ppl's core functionality. But you could +probably be making more of its convenience-oriented features. + +ppl allows you to configure [aliases](/documentation/configuration/alias/) as +shorcuts for often-used commands, or as a way of composing commands together. +Here's an alias called `sync` which does the latter. + + sync = !ppl pull origin master && ppl push origin master + +This allows you to execute `git pull origin master` and then `git push origin +master` in your address book directory by simply entering `ppl sync`. For most +users, this probably automates the entire synchronisation process. + +Bear in mind that this alias will only work if you keep your contacts on the +`master` branch and have a remote called `origin`. If your setup is more complex +than that, you may have to get creative with your aliases to achieve this level +of laziness. + diff --git a/docs/_posts/2013-04-15-utf8-fixed-and-more.md b/docs/_posts/2013-04-15-utf8-fixed-and-more.md new file mode 100644 index 00000000..b4458602 --- /dev/null +++ b/docs/_posts/2013-04-15-utf8-fixed-and-more.md @@ -0,0 +1,37 @@ +--- +title: UTF-8 Fixed And More +date: 2013-04-15 +layout: news +section: news +categories: [news] +--- + +Over the weekend, in an uncharacteristically late night of coding, I finally put +an end to that UTF-8 issue that had been preventing the [use of ppl with +non-ASCII characters](https://github.com/hnrysmth/ppl/issues/17) such as ß or ñ. My +apologies to anyone who wanted to try ppl and couldn't during the *two entire +months* that issue sat open. If it's any consolation, fixing it gave me many +headaches. + +Even though it's only been a few days since the previous news post, there has +been a lot of progress in that time, thanks largely to the involvement and +encouragement of [@pigmonkey](https://github.com/pigmonkey) and +[@shushcat](https://github.com/shushcat) on GitHub. Some good refinements to the +[mutt integration](/documentation/integration/mutt/) have already made it into +recent versions of ppl, and there's some good discussion happening about what +needs doing to keep improving ppl in the near future. + +The [documentation](/documentation) has had some much-needed attention invested +in it, too. A few bits and pieces have been tidied up, and a couple of entirely +new sections have been added as well. The [Integration +Guide](/documentation/integration/bash/) covers the growing number of ways of +using ppl with other software, and the [Tips Section](documentation/tips/) +should prove to be a good catch-all place for helpful advice about using ppl. + +Contributions are welcome, so get in touch if you spot any mistakes, have any +tips to contribute, or know of any tools for integrating ppl into other +software. Big thanks to everyone for your input so far. Shout out to +[@alexGschaider](https://github.com/axelGschaider), +[@matthewp](https://github.com/matthewp/), and +[@storge](https://github.com/storge) for their help as well. + diff --git a/docs/_posts/2013-04-16-1.18.0.md b/docs/_posts/2013-04-16-1.18.0.md new file mode 100644 index 00000000..65b12e64 --- /dev/null +++ b/docs/_posts/2013-04-16-1.18.0.md @@ -0,0 +1,15 @@ +--- +title: 1.18.0 +summary: ppl completion added +date: 2013-04-16 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.18.0.html +--- + +With the intention of streamlining the integration process with +[Bash](/documentation/integration/bash), and +[ZSH](/documentation/integration/zsh), this release adds the +[completion](/documentation/commands/completion) command. This new command +simply outputs the chosen shell autocompletion function to stdout. diff --git a/docs/_posts/2013-04-16-set-up-color-output.md b/docs/_posts/2013-04-16-set-up-color-output.md new file mode 100644 index 00000000..11a8a667 --- /dev/null +++ b/docs/_posts/2013-04-16-set-up-color-output.md @@ -0,0 +1,47 @@ +--- +title: Set Up Color Output +date: 2013-04-16 +layout: tip +categories: [tips] +permalink: /documentation/tips/set-up-color-output +author_name: hnrysmth +author_url: http://henrysmith.org/ +--- + +ppl provides a system for configuring the output of many of its commands in a +way that's almost identical to git's color output configuration. While not an +essential piece of functionality, a small amount of color can go a long way +towards improving your experience using ppl. + +Personally, I try to rein in the temptation to go to town and assign a color to +absolutely everything. My `~/.pplconfig` simply colorizes all contact IDs in all +output, highlighting them in cyan to maximize their visibility. + +
$ ppl ls
+alice:  Alice  alice@example.org
+bob:    Bob    bob@example.org
+eve:    Eve    eve@example.org
+ +Configuring ppl to colorize the output of ls like in the above example is +extremely easy, and will be especially familiar to you if you're already used to +configuring git. Here are the exact config file contents necesssary to show +contact IDs in cyan in the output of [ppl ls](/documentation/commands/ls). + + [color] + ls = true + + [color "ls"] + id = cyan + +Simply add the above to your `~/.pplconfig`, run `ppl ls`, and you should see +contact IDs in cyan. If not, double-check whether you're running an up-to-date +version of ppl. This feature has been supported since `1.15.0`, making it only +about a month old at the time of writing. + +Now that you know the basic gist of how to configure color, you'll probably be +glad to know that there's some fairly extensive [reference documentation for this +functionality](/documentation/configuration/color), including a [list of +supported colors](/documentation/configuration/color/#list_of_supported_colors) +and an example for each command which shows the [full list of configurable text +elements](/documentation/configuration/color_ls). + diff --git a/docs/_posts/2013-04-19-1.19.0.md b/docs/_posts/2013-04-19-1.19.0.md new file mode 100644 index 00000000..9659c54e --- /dev/null +++ b/docs/_posts/2013-04-19-1.19.0.md @@ -0,0 +1,13 @@ +--- +title: 1.19.0 +summary: ppl scrape added +date: 2013-04-19 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.19.0.html +--- + +Following a [feature request](https://github.com/hnrysmth/ppl/issues/23) on GitHub, +this release adds the [scrape](/documentation/commands/scrape) command for +automatically adding contacts to an address book from an email message. diff --git a/docs/_posts/2013-04-19-1.20.0.md b/docs/_posts/2013-04-19-1.20.0.md new file mode 100644 index 00000000..fa7eeaa4 --- /dev/null +++ b/docs/_posts/2013-04-19-1.20.0.md @@ -0,0 +1,15 @@ +--- +title: 1.20.0 +summary: ppl nick --no-color added +date: 2013-04-19 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.20.0.html +--- + +In order to fix a [compatibility issue with OS +X](https://github.com/hnrysmth/ppl/issues/22#issuecomment-16622923), the usage of sed +to strip ANSI color escape codes in the autocompletion functions has been +replaced with a `--no-color` option which has been added to [ppl +nick](/documentation/commands/nick). diff --git a/docs/_posts/2013-04-20-1.21.0.md b/docs/_posts/2013-04-20-1.21.0.md new file mode 100644 index 00000000..6e295d96 --- /dev/null +++ b/docs/_posts/2013-04-20-1.21.0.md @@ -0,0 +1,16 @@ +--- +title: 1.21.0 +summary: ppl phone --type added +date: 2013-04-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.21.0.html +--- + +Further increasing the expressiveness of ppl's commands, this release brings the +`--type` option to [ppl phone](/documentation/commands/phone). With this option, +the vCard format's `TYPE` parameter in the `TEL` field is now exposed to users. +This allows you to label phone numbers in a way that doesn't [break +compatibility with other +software](https://github.com/hnrysmth/ppl/issues/24#issuecomment-16623136). diff --git a/docs/_posts/2013-04-20-1.22.0.md b/docs/_posts/2013-04-20-1.22.0.md new file mode 100644 index 00000000..5e36b86e --- /dev/null +++ b/docs/_posts/2013-04-20-1.22.0.md @@ -0,0 +1,14 @@ +--- +title: 1.22.0 +summary: Noticeable performance optimization +date: 2013-04-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.22.0.html +--- + +In this version of ppl, one particularly egregious performance issue has been +fixed. Upgrading is *highly* recommended. Even if you haven't noticed any +problems worth complaining about, you should hopefully enjoy quite a boost with +this new version. diff --git a/docs/_posts/2013-04-20-1.22.1.md b/docs/_posts/2013-04-20-1.22.1.md new file mode 100644 index 00000000..77cefc8a --- /dev/null +++ b/docs/_posts/2013-04-20-1.22.1.md @@ -0,0 +1,13 @@ +--- +title: 1.22.1 +summary: Fix minor output formatting bug +date: 2013-04-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.22.1.html +--- + +This version simply fixes a minor bug in the outputting format code, which was +introduced in `1.21.0`. Nothing serious, but a warning sign that I need to slow +myself down and perhaps look at automating more of the testing process. diff --git a/docs/_posts/2013-04-21-1.22.2.md b/docs/_posts/2013-04-21-1.22.2.md new file mode 100644 index 00000000..271fba84 --- /dev/null +++ b/docs/_posts/2013-04-21-1.22.2.md @@ -0,0 +1,15 @@ +--- +title: 1.22.2 +summary: Fix for broken --delete option +date: 2013-04-21 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.22.2.html +--- + +See the [Bash integration guide](/documentation/integration/bash) for details of +how to install the updated completion function to your system. Another bugfix +release, fixing the [broken `--delete` +option](https://github.com/hnrysmth/ppl/issues/33) of [`ppl +phone`](/documentation/commands/phone). diff --git a/docs/_posts/2013-04-21-1.23.0.md b/docs/_posts/2013-04-21-1.23.0.md new file mode 100644 index 00000000..c940747a --- /dev/null +++ b/docs/_posts/2013-04-21-1.23.0.md @@ -0,0 +1,35 @@ +--- +title: 1.23.0 +summary: Bash completion enhancements +date: 2013-04-21 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.23.0.html +--- + +Unusually for a ppl release, this one doesn't add any new core functionality or +fix any bugs. Instead, this release is solely an update to the [Bash +integration](/documentation/integration/bash/). The following improvements have +been made to the bash completion. + +* It now returns command name suggestions much more quickly +* It can autocomplete email addresses for use with [`ppl + email`](/documentation/commands/email) +* It can autocomplete nicknames for use with [`ppl + nick`](/documentation/commands/nick) +* It can autocomplete organizations for use with [`ppl + org`](/documentation/commands/org) +* It can autocomplete phone numbers for use with [`ppl + phone`](/documentation/commands/phone) +* It can autocomplete URLs for use with [`ppl url`](/documentation/commands/url) +* It can autocomplete git remotes for use with + [`pull`](/documentation/commands/pull) and + [`push`](/documentation/commands/push) + +For example, if you're attempting to amend the `--type` of a contact's phone +number, you can now enter `ppl phone adam 071` and Bash will autocomplete +the rest of the phone number. + +See the [Bash integration guide](/documentation/integration/bash) for details of +how to install the updated completion function to your system. diff --git a/docs/_posts/2013-04-23-1.24.0.md b/docs/_posts/2013-04-23-1.24.0.md new file mode 100644 index 00000000..b7624516 --- /dev/null +++ b/docs/_posts/2013-04-23-1.24.0.md @@ -0,0 +1,16 @@ +--- +title: 1.24.0 +summary: Preferred email addresses +date: 2013-04-23 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.24.0.html +--- + +Preferred email addresses and phone numbers can be marked as such as of +`1.24.0`. This is good news if you have contacts with several similar addresses +or numbers who only tend to check one of them. Now you can mark their preferred +contact details with the `--preferred` flag and ppl will remember this +preferential status for you. Preferred numbers and addresses are displayed with +a `*` before them. diff --git a/docs/_posts/2013-04-24-1.25.0.md b/docs/_posts/2013-04-24-1.25.0.md new file mode 100644 index 00000000..ba3cd83a --- /dev/null +++ b/docs/_posts/2013-04-24-1.25.0.md @@ -0,0 +1,21 @@ +--- +title: 1.25.0 +summary: Customizable Output +date: 2013-04-24 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/1.25.0.html +--- + +This release brings the very basic first customizability to the output of ppl's +commands. As of this version, it's possible to pass a `--format` option to [`ppl +email`](/documentation/commands/email) and [`ppl +ls`](/documentation/commands/ls) to specify the exact nature of the output +required. Also part of this new version is the ability to configure preset +format strings for [`ppl ls`](/documentation/commands/ls) in `~/.pplconfig` and +invoke them by name using the `--pretty` option. + +Obviously, this type of functionality has the potential to be added to just +about all of ppl's output. In time, that will happen. For now, this gets the +basic functionality out there for use. diff --git a/docs/_posts/2013-05-09-2.0.0.md b/docs/_posts/2013-05-09-2.0.0.md new file mode 100644 index 00000000..e92d5d79 --- /dev/null +++ b/docs/_posts/2013-05-09-2.0.0.md @@ -0,0 +1,33 @@ +--- +title: 2.0.0 +summary: ppl post overhaul +date: 2013-05-09 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.0.0.html +--- + +As a result of its backwards compatibility breaking changes, the overhaul of +[ppl post](/documentation/commands/post) brings us to version 2.0.0. The +behaviour and usage of this command have changed completely in order to cope +with storing multiple postal addresses per contact. + +Here is a short summary of what has changed: + +* Running `ppl post` no longer lists contacts' full addresses. + Instead it lists contacts' address *IDs*. +* Running `ppl post ` no longer shows that contact's single postal + address. Instead it lists *all* that contact's postal addresses. +* Postal address now have their own IDs. In order to change a postal address, + the ID of both the contact and the address itself must be given. +* It is now possible to mark a postal address as "preferred", similarly to email + addresses and phone numbers. + +From a technical point of view, the downside of this release is the minor +violation of [RFC2426](http://www.ietf.org/rfc/rfc2426.txt) that it introduces. +The `ADR` field's `TYPE` attribute is intended as a means of tagging addresses +with extra information such as "home" or "work", but as of 2.0.0, ppl +misappropriates this attribute as the home of the unique ID of each postal +address. + diff --git a/docs/_posts/2013-05-09-version-2.0.0-released.md b/docs/_posts/2013-05-09-version-2.0.0-released.md new file mode 100644 index 00000000..b8669982 --- /dev/null +++ b/docs/_posts/2013-05-09-version-2.0.0-released.md @@ -0,0 +1,32 @@ +--- +title: ppl 2.0.0 released +date: 2013-05-09 +layout: news +section: news +categories: [news] +--- + +It's been almost exactly six months since the very [first +commit](https://github.com/hnrysmth/ppl/commit/e45917e06afd255271bad51ce216642e7277ce86), +and I'm proud to announce that ppl has now reached the dizzy heights of version +2.0.0! This is a milestone release for more than one reason, and I'm very happy +that this project has made it to this point. + +Most important of all, the reason for the major version bump is that [ppl +post](/documentation/commands/post) has been overhauled to support storing +multiple postal addresses per contact. This overhaul introduced a number of +backwards-incompatible changes to the behaviour of that command and ppl's +underlying vCard integration, hence the bump to 2.0.0. + +The other reason why this is quite a milestone release is that support for +multiple postal addresses was really the last major missing piece of the puzzle +in terms of core ppl functionality. There are still some bits and pieces of +vCard functionality that aren't yet exposed, but those that remain now are +mostly edge cases. It's satisfying to see ppl approach the functionality goals I +had for it when I started. + +This is by no means the end of the development process. There's a long way to go +still in terms of ppl's flexibility for integration with other software. In the +meantime, this version represents a big step forward, and the culmination of six +months of hard work. + diff --git a/docs/_posts/2013-07-20-2.1.0.md b/docs/_posts/2013-07-20-2.1.0.md new file mode 100644 index 00000000..4db5a68e --- /dev/null +++ b/docs/_posts/2013-07-20-2.1.0.md @@ -0,0 +1,36 @@ +--- +title: 2.1.0 +summary: Better name management +date: 2013-07-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.1.0.html +--- + +With thanks to [@pigmonkey](https://github.com/pigmonkey) for raising this as +[issue #42](https://github.com/hnrysmth/ppl/issues/42) on GitHub, version 2.1.0 +brings increased control over the names of contacts. This is intended to improve +interoperability with other address book software, including the Android +system's contact list. + +Short, lower case contact IDs are great for a CLI program, but on a phone, you +probably want to see full names. This update provides full access to all the +bits & pieces of vCard's `N` (name) field: + +* Family name(s) +* Middle name(s) +* Given name(s) +* Prefix +* Suffix + +See the documentation of [ppl name](/documentation/commands/name/) for more +details on how to use this new functionality. + +Also included is some slightly different behaviour under the hood of [ppl +add](/documentation/commands/name/). This command now attempts to "have a +guess" at the structure of the name of a newly-added contact. It'll treat the +first word of the full name as the contact's given name, and the rest of the +string as their family name. This is a shamefully anglocentric approach to name +parsing, but at least it's a start. + diff --git a/docs/_posts/2013-07-20-2.2.0.md b/docs/_posts/2013-07-20-2.2.0.md new file mode 100644 index 00000000..372bd4b7 --- /dev/null +++ b/docs/_posts/2013-07-20-2.2.0.md @@ -0,0 +1,20 @@ +--- +title: 2.2.0 +summary: ppl scrape overwrite prevention +date: 2013-07-20 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.2.0.html +--- + +Thanks again to [@pigmonkey](https://github.com/pigmonkey) for [issue #32](https://github.com/hnrysmth/ppl/issues/32), +reporting some unhelpful destructive behaviour in [ppl +scrape](/documentation/commands/scrape/). In this version, some additional +checking has been added to that command to prevent it from overwriting existing +contacts. + +In the event that the scraped contact ID happens to match that of an existing +contact, ppl scrape will now notice this collision and append numbers to the new +ID until it no longer matches any existing contact's IDs. + diff --git a/docs/_posts/2013-10-12-2.3.0.md b/docs/_posts/2013-10-12-2.3.0.md new file mode 100644 index 00000000..c81d1b23 --- /dev/null +++ b/docs/_posts/2013-10-12-2.3.0.md @@ -0,0 +1,19 @@ +--- +title: 2.3.0 +summary: ppl grep +date: 2013-10-12 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.3.0.html +--- + +With thanks to [@ajford](https://github.com/ajford) for the excellent [feature +request](https://github.com/hnrysmth/ppl/issues/43), version 2.3.0 brings a new +command: [ppl grep](/documentation/commands/grep/). This command leverages the +extremely high speed search `git grep` repository search in order to provide +near-instant search results. + + $ ppl grep smith + john.vcf:EMAIL:john.smith@example.org + diff --git a/docs/_posts/2014-03-30-2.3.1.md b/docs/_posts/2014-03-30-2.3.1.md new file mode 100644 index 00000000..531ea427 --- /dev/null +++ b/docs/_posts/2014-03-30-2.3.1.md @@ -0,0 +1,25 @@ +--- +title: 2.3.1 +summary: Simple Bug Fixes +date: 2014-03-30 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.3.1.html +--- + +Once again, I'm grateful to [@alexGschaider] for his patience. This minor +version fixes a couple of annoying little problems that he's bumped into. + +The first problem was a pretty terrible error message which was displayed when a +`.vcf` file contains invalid vCard data. This has now been fixed, and the error +message replaced with something much more sensible. + + $ ppl show badcontact + ppl: badcontact.vcf contains invalid data + +The second was yet another `Encoding::CompatibilityError`, just like back in the +bad old days before ppl even supported UTF-8 at all. Hopefully this will be the +last one of those now! + +[@alexGschaider]: https://github.com/axelGschaider diff --git a/docs/_posts/2015-01-05-2.3.2.md b/docs/_posts/2015-01-05-2.3.2.md new file mode 100644 index 00000000..f8a96609 --- /dev/null +++ b/docs/_posts/2015-01-05-2.3.2.md @@ -0,0 +1,18 @@ +--- +title: 2.3.2 +summary: scrape output fix +date: 2015-01-05 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.3.2.html +--- + +I'm very grateful to [@hobarrera](https://github.com/hobarrera) for contributing +this fix to [ppl scrape](/documentation/commands/scrape/). A simple mistake in +the output formatting code was causing it to appear slightly garbled, like this: + + Add "Hugo Osvaldo Barrera #>" + to your address book [Y/n]? + +So thanks for fixing that, Hugo! diff --git a/docs/_posts/2015-12-03-get-involved.md b/docs/_posts/2015-12-03-get-involved.md new file mode 100644 index 00000000..74d76f34 --- /dev/null +++ b/docs/_posts/2015-12-03-get-involved.md @@ -0,0 +1,29 @@ +--- +title: Get Involved! +date: 2015-12-03 +layout: news +section: news +categories: [news] +--- + +The time has come to give this project a nudge into a slightly different mode of +operation. Enough people are interested in the long term health of this little +CLI app that I think it'd benefit from opening the doors a bit to potential +collaborators and maintainers. So I've converted the project into a proper +[GitHub organization](https://github.com/hnrysmth) and I'm inviting you to +come and join it. + +I see lots of people come and go with great ideas for this project. I love 99% +of the ideas and suggestions that pop up but I just can't keep up with all the +different demands on my time. That's the bottleneck that's holding the project +back and it's silly, really. + +For a while I've been wanting to do something about this. If you want to help +out in any way, however small, speak up on GitHub, [email me](mailto:henry@henrysmith.org), +or get in touch on [Twitter](https://twitter.com/hnrysmth). I'd love to add you +to the organization and let you *just get started* making your ideas happen. +Even if you just like the project, but don't have any immediate plans to do +anything in particular, that's fine! If you've never contributed to an open +source project before, don't let that put you off. Everyone's welcome! + + diff --git a/docs/_posts/2015-12-05-2.3.3.md b/docs/_posts/2015-12-05-2.3.3.md new file mode 100644 index 00000000..182853f0 --- /dev/null +++ b/docs/_posts/2015-12-05-2.3.3.md @@ -0,0 +1,16 @@ +--- +title: 2.3.3 +summary: non-ASCII input fix +date: 2015-12-05 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.3.3.html +--- + +This release is [@tba](https://github.com/tba)'s [non-ASCII input fix PR](https://github.com/hnrysmth/ppl/pull/56) + +It's a fix enabling ppl to save non-ASCII names when scraping contact data +from emails. + +It took altogether too long for me to merge this and I apologise! diff --git a/docs/_posts/2016-01-02-2.4.0.md b/docs/_posts/2016-01-02-2.4.0.md new file mode 100644 index 00000000..f9eeaeeb --- /dev/null +++ b/docs/_posts/2016-01-02-2.4.0.md @@ -0,0 +1,19 @@ +--- +title: 2.4.0 +summary: Better commit author +date: 2016-01-12 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.4.0.html +--- + +If you've ever looked at the commit history that ppl generates in your address +book you'll have noticed the ugly-looking commit author. [@drewbug] certainly +noticed and took the time to do something about it. + +As of this version, ppl pulls in your Git config and uses your `user.name` and +`user.email` if available. If not, it falls back to the old (ugly) author +generation. + +[@drewbug]: https://github.com/drewbug diff --git a/docs/_posts/2017-05-01-2.4.1.md b/docs/_posts/2017-05-01-2.4.1.md new file mode 100644 index 00000000..6e0b82a7 --- /dev/null +++ b/docs/_posts/2017-05-01-2.4.1.md @@ -0,0 +1,12 @@ +--- +title: 2.4.1 +summary: Upgrade to rugged ~> v0.24.0 +date: 2017-05-01 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/2.4.1.html +--- + +This release is just a merge of one PR from [@acant](https://github.com/acant). It upgrades to a much more +modern version of the rugged gem. diff --git a/docs/_posts/2017-10-23-sleep-mode.md b/docs/_posts/2017-10-23-sleep-mode.md new file mode 100644 index 00000000..e7ac0ad1 --- /dev/null +++ b/docs/_posts/2017-10-23-sleep-mode.md @@ -0,0 +1,18 @@ +--- +title: Sleep Mode +date: 2017-10-23 +layout: news +section: news +categories: [news] +--- + +This project seems to be in a good stable state. There's a small active +userbase who are mostly content with the software as-is. Not a lot of +maintenance or feature work is necessary these days and I can't justify +spending money on a domain for a project that's just chilling like this. + +I'm converting the whole thing into a single, easy-to-look-after repo in my +own personal GitHub account and disabling autorenew on `ppladdressbook.org`. +Wanna make it clear that I consider this a fairly decent set of circumstances +for the project to be in btw. It mostly just works and that's for the best +cos I don't really have a lot of time to maintain and fix it any more. diff --git a/docs/_posts/2018-01-03-3.0.1.md b/docs/_posts/2018-01-03-3.0.1.md new file mode 100644 index 00000000..93dfe968 --- /dev/null +++ b/docs/_posts/2018-01-03-3.0.1.md @@ -0,0 +1,12 @@ +--- +title: 3.0.1 +summary: Fix name deletion bug +date: 2018-01-03 +layout: changelog +section: development +categories: [changelog] +permalink: /development/changelog/3.0.1.html +--- + +Fix for a [name deletion bug](https://github.com/hnrysmth/ppl/issues/74) reported by [@the-reverend](https://github.com/the-reverend). + diff --git a/docs/_stylesheets/ppl/color.less b/docs/_stylesheets/ppl/color.less new file mode 100644 index 00000000..deb6c1dd --- /dev/null +++ b/docs/_stylesheets/ppl/color.less @@ -0,0 +1,119 @@ + +@base03 : #002b36; +@base02 : #073642; +@base01 : #586e75; +@base00 : #657b83; +@base0 : #839496; +@base1 : #93a1a1; +@base2 : #eee8d5; +@base3 : #fdf6e3; +@yellow : #b58900; +@orange : #cb4b16; +@red : #dc322f; +@magenta : #d33682; +@violet : #6c71c4; +@blue : #268bd2; +@cyan : #2aa198; +@green : #859900; + +@lightGrey: #FAFAFA; +@darkGrey: #F0F0F0; + +a:link, a:visited { + color: @blue; +} + +body { + background-color: @lightGrey; + color: @base01; +} + +div.content { + background-color: @lightGrey; +} + +code { + background-color: @base3; +} + +h2 { color: @base03; } +h3 { color: @orange; } + +pre { + background-color: @base03; + color: @base2; + display: block; +} + +.front-page { + h1.big-welcome, .little-welcome { + color: @base03; + } +} + +.btn { + &.btn-primary { + background-color: @blue; + color: @base2; + } +} + +.navbar { + .navbar-inner { + background-color: @darkGrey; + } + .brand { + color: @base03; + font-weight: bold; + text-shadow: none; + } +} + +.command-list { + h2 { + color: inherit; + } +} + +.navbar .nav > li > a { + color: @base02; +} + +.navbar .nav > .active > a, +.navbar .nav > .active > a:hover, +.navbar .nav > .active > a:focus { + background-color: @orange; + color: @base3; +} + +.nav-list { + background-color: @darkGrey; + border: 1px solid rgb(221, 221, 221); +} +.nav-list > li:hover > a { + background-color: inherit; + color: inherit; +} +.nav-list > li.active:hover > a, +.nav-list > li.active > a { + background-color: @orange; + color: @base3; +} + +footer.global { + color: @base1; + + a:link, a:visited { + color: @base0; + } +} + +.nav-sidebar { + dt.active, + dt.active a, + dd.active { + background-color: @orange; + color: @base3; + } +} + diff --git a/docs/_stylesheets/ppl/layout.less b/docs/_stylesheets/ppl/layout.less new file mode 100644 index 00000000..6f3d1418 --- /dev/null +++ b/docs/_stylesheets/ppl/layout.less @@ -0,0 +1,54 @@ + +.front-page { + + .row.welcome { + margin-top: 32px; + } + + h1.big-welcome { + margin: 32px 0 0 0; + } + + .little-welcome { + margin: 16px 0 0 0; + } + + .row.what, + .row.latest { + margin-top: 32px; + } + +} + +h3 { + margin: 16px 0 8px 0; +} + +.navbar .nav > li > a { + padding: 12px 15px 12px; +} + +.content { + padding-top: 20px; + padding-bottom: 128px; +} + +footer.global { + border-top: 1px solid #D4D4D4; + padding: 16px 0; +} + +.nav-sidebar { + margin: 0; + dt { padding: 4px 4px 0px 4px; } + dd { padding: 0px 4px 4px 4px; } + dd { margin: 0 0 16px 0; } +} + +dl.version-history { + dd { + margin: 0 0 1em 0; + padding: 0; + } +} + diff --git a/docs/_stylesheets/ppl/style.less b/docs/_stylesheets/ppl/style.less new file mode 100644 index 00000000..fe65bca7 --- /dev/null +++ b/docs/_stylesheets/ppl/style.less @@ -0,0 +1,185 @@ + +@import "color.less"; +@import "layout.less"; +@import "typography.less"; + + +/* +body { + background-color: #fdffdf; + color: #586e75; + font-family: "Inconsolata", sans-serif; + font-size: 18px; + margin: 0; + padding: 0; + line-height: 1.5; +} + +code { + font-family: "Inconsolata", monospace; + font-size: inherit; +} + +pre { + background-color: #073642; + border: 1px solid #002b36; + color: #93a1a1; + display: block; + font-family: "Ubuntu Mono", monospace; + font-size: 18px; +} + +.front-page .welcome, +.front-page .what { + margin-top: 64px; +} + +.front-page h1.big-welcome { + color: #002b36; + font-size: 64px; + margin: 32px 0 32px 0; +} + +.front-page .little-welcome { + color: #002b36; + font-size: 24px; +} + +.front-page .welcome-example code { + line-height: 20px; + font-size: 20px; +} + +.front-page .welcome-example .bash-prompt { + color: #859900; +} + +.front-page .what h2 { + color: #002b36; + font-size: 20px; +} + +.navbar-inner { + background-color: #fdf6e3; +} + +.navbar .brand { + padding: 5px 20px 0px; +} + +.navbar .nav > li > a { + color: #586e75; +} + +.navbar .nav > .active > a, +.navbar .nav > .active > a:hover, +.navbar .nav > .active > a:focus { + background-color: #cb4b16; + color: #eee8d5; + text-shadow: none; +} + +.nav-tabs.nav-stacked > li > a { + background-color: #fdf6e3; + border-color: none; + color: #586e75; +} + +.nav-tabs.nav-stacked > li.active > a { + background-color: #cb4b16; + color: #eee8d5; +} + +.commands h1 { + font-size: 32px; + font-weight: normal; + margin: 0 0 32px 0; +} + +h2 { + font-size: 32px; + font-weight: normal; + margin: 0 0 32px 0; +} + +h3 { + font-size: 20px; + font-weight: normal; +} + +/* +SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB +--------- ------- ---- ------- ----------- ---------- ----------- ----------- +base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21 +base02 #073642 0/4 black 235 #262626 20 -12 -12 7 54 66 192 90 26 +base01 #586e75 10/7 brgreen 240 #585858 45 -07 -07 88 110 117 194 25 46 +base00 #657b83 11/7 bryellow 241 #626262 50 -07 -07 101 123 131 195 23 51 +base0 #839496 12/6 brblue 244 #808080 60 -06 -03 131 148 150 186 13 59 +base1 #93a1a1 14/4 brcyan 245 #8a8a8a 65 -05 -02 147 161 161 180 9 63 +base2 #eee8d5 7/7 white 254 #e4e4e4 92 -00 10 238 232 213 44 11 93 +base3 #fdf6e3 15/7 brwhite 230 #ffffd7 97 00 10 253 246 227 44 10 99 +yellow #b58900 3/3 yellow 136 #af8700 60 10 65 181 137 0 45 100 71 +orange #cb4b16 9/3 brred 166 #d75f00 50 50 55 203 75 22 18 89 80 +red #dc322f 1/1 red 160 #d70000 50 65 45 220 50 47 1 79 86 +magenta #d33682 5/5 magenta 125 #af005f 50 65 -05 211 54 130 331 74 83 +violet #6c71c4 13/5 brmagenta 61 #5f5faf 50 15 -45 108 113 196 237 45 77 +blue #268bd2 4/4 blue 33 #0087ff 55 -10 -45 38 139 210 205 82 82 +cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63 +green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60 + + + +header.global { + padding: 32px 0; +} + +header.page { + color: #EEE8D5; + padding: 0 0 32px 0; +} + +header.global h1, +header.page h2, +footer.global, +article.page .content { + margin: 0 auto; + width: 800px; +} + +header.global h1 a { + color: #859900; + font-size: 32px; + font-weight: normal; + text-decoration: none; +} + +header.page h2 { + color: #859900; + color: #268bd2; + font-size: 20px; + font-weight: normal; +} + +article.page .content { + color: #839496; + font-size: 18px; +} + +article.page .content h3 { + color: #EEE8D5; + font-weight: normal; + font-size: 20px; + margin: 0 0 16px 0; +} + +article.page .content p { + margin-top: 0; +} + +footer.global { + color: #586E75; + margin: 32px auto; +} + +*/ + diff --git a/docs/_stylesheets/ppl/typography.less b/docs/_stylesheets/ppl/typography.less new file mode 100644 index 00000000..937d63c3 --- /dev/null +++ b/docs/_stylesheets/ppl/typography.less @@ -0,0 +1,59 @@ + +body { + font-family: "Arvo", sans-serif; + font-size: 16px; + line-height: 24px; +} + +code { + font-family: "Inconsolata", monospace; + font-size: 16px; +} + +h1, h2, h3, h4, h5, h6 { + font-size: 1em; + font-weight: normal; +} + +h2 { + font-size: 22px; + font-weight: bold; + small { + font-size: 16px; + } +} + +h3 { + font-size: 18px; + font-weight: bold; +} + +.front-page { + h1.big-welcome { + font-size: 32px; + } + .little-welcome { + font-size: 18px; + } +} + +.command-list { + h2 { + font-size: 18px; + font-weight: normal; + } +} + +.navbar .nav > .active > a, +.navbar .nav > .active > a:hover, +.navbar .nav > .active > a:focus { + text-shadow: none; +} + +footer.global { + font-size: 12px; + a:link, a:visited { + text-decoration: underline; + } +} + diff --git a/docs/development/changelog/index.md b/docs/development/changelog/index.md new file mode 100644 index 00000000..f8d8dd3b --- /dev/null +++ b/docs/development/changelog/index.md @@ -0,0 +1,18 @@ +--- +title: Changelog +layout: development +section: development +--- + +
+{% for post in site.categories.changelog %} +
+ + {{post.title}} + +
+
+ {{post.summary}} +
+{% endfor %} +
diff --git a/docs/development/changelog/split.rb b/docs/development/changelog/split.rb new file mode 100755 index 00000000..3b0857d6 --- /dev/null +++ b/docs/development/changelog/split.rb @@ -0,0 +1,51 @@ +#!/usr/bin/env ruby + +require "rugged" + +repo = Rugged::Repository.new("/home/hnrysmth/src/ppl") +index = File.read("development/changelog/index.md") + +changes = index.split("### ") + +def find_date(repo, version) + tag = repo.refs.find { |r| r.name == "refs/tags/#{version}" } + commit = repo.lookup(tag.target).target + commit.time +end + +def generate_post(front_matter, body) + post = ["---"] + front_matter.each do |name, value| + post << "#{name}: #{value}" + end + post << "---" + post << "" + post << body + + post.join "\n" +end + +changes.each do |change| + + version = change.scan(/^([0-9.]+)/)[0] + next if version.nil? + + version = version[0] + date = find_date(repo, version).strftime("%Y-%m-%d") + body = change.split("\n")[2..-1].join("\n") + + post = generate_post({ + :title => version, + :date => date, + :layout => "changelog", + :section => "development", + :categories => "[changelog]", + :permalink => "/development/changelog/#{version}", + }, body) + + filename = "_posts/#{date}-#{version}.md" + + File.open(filename, "w") { |f| f.write(post) } + +end + diff --git a/docs/development/index.html b/docs/development/index.html new file mode 100644 index 00000000..b1260649 --- /dev/null +++ b/docs/development/index.html @@ -0,0 +1,32 @@ +--- +title: Development +layout: development +section: development +--- + +

+ You'd like to contribute to the development of ppl? Great! + Here's a quick introduction. +

+ +

Report A Bug

+

+ This project uses Github Issues to track bug reports. The tracker is at + github.com/hnrysmth/ppl/issues. +

+ +

Get The Code

+

+ The main source repository for ppl is hosted on GitHub at github.com/hnrysmth/ppl. +

+ +

Do Your Best

+

+ For low-level code style issues relating to issues such as syntax and + indentation, GitHub's Ruby + Styleguide is the standard to follow*. This project doesn't necessarily + follow the guide perfectly, but pull requests that improve adherence to the + guide are welcomed whereas pull requests that stray even further are + discouraged. +

diff --git a/docs/development/roadmap/index.md b/docs/development/roadmap/index.md new file mode 100644 index 00000000..3582e143 --- /dev/null +++ b/docs/development/roadmap/index.md @@ -0,0 +1,15 @@ +--- +title: Roadmap +layout: development +section: development +--- + +As of January 2018 this project is in quite a stable state, with no major +increases in functionality planned. That being said, I'm not actually against +adding more functionality to this thing if somebody out there feels like taking +on the implementation work. I'm very very open to adding lots more stuff, just +not interested in creating it myself. + +Please don't hesitate to get in touch if you have ideas for ppl that you want to +build and contribute! + diff --git a/docs/documentation/about/index.html b/docs/documentation/about/index.html new file mode 100644 index 00000000..067b988f --- /dev/null +++ b/docs/documentation/about/index.html @@ -0,0 +1,63 @@ +--- +title: About ppl +layout: page +section: documentation +--- + +

About ppl

+ +
+
+

Why?

+

+ ppl was created to address the need for a decentralized address book + storage system. There are a lot of different contact details storage + solutions out there and they all have their own strengths. What was + lacking was one that I felt I could count on to entrust with the "master + copy" of all the disparate contact information I possess. +

+

+ It's also intended to address the apparent lack of a proper CLI address + book. There are people who enjoy the conversational nature of CLI + interaction. You ask "Whose birthdays are coming up soon?", the computer + answers immediately, and your interaction with the software is over with + no further requirements that you close a window or slide a widget. +

+ +

Why the CLI?

+

+ The command-line is a good fit for address book software because data + about contacts is usually 100% plain text. It also works well because a + given user interaction with an address book typically consists of one + short operation: reading or writing a single piece of data. And since we + normally want to keep our address book data for our entire lives, the + command-line's immunity to the shifting sands of GUI toolkits and + discontinued SaaS products is a big plus. +

+ +

Why Git?

+

+ ppl uses git as its storage backend. Git's decentralised approach really + suits this usage as it allows continued read/write access to the address + book in the face of network downtime and cloud outages. And because git + never destroys data, no botched sync attempt can permanently wipe an + entire address book by accident. +

+ +

Who?

+

+ This software was conceived and created by me, Henry Smith. + I have a bunch of other stuff on + GitHub too! +

+ +

When?

+

+ According to the project's git logs, work on ppl first began on November + 10th 2012. Apparently I had nothing more exciting to be doing at 11pm on a + Saturday night. +

+ +
+
+ diff --git a/docs/documentation/commands/add/index.md b/docs/documentation/commands/add/index.md new file mode 100644 index 00000000..87389cca --- /dev/null +++ b/docs/documentation/commands/add/index.md @@ -0,0 +1,43 @@ +--- +title: ppl add Manual Page +layout: command +section: documentation +command: add +--- + +### Name + +ppl add - Add a new contact + +### Synopsis + + ppl add + +### Description + +This command adds a new contact to the address book. The first parameter, +``, is an alphanumeric string used to uniquely identify the contact +within the address book. The second parameter, ``, is the contact's actual +name. + +The `` parameter must not already be in use as the identifier of +another contact in the address book. Ideally you'll want to pick something short +and easy to type, so if you're adding a contact named "John Doe", then "john" or +"jdoe" might be good choices if they aren't already in use. + +The `` parameter should be the full name of the contact, and is identical +to its namesake expected by the [ppl name](../name) command. Usually, this +means it needs to be enclosed in quotation marks to indicate that all the words +in the name are part of the same parameter. + +The first word in the `` will also be stored as the contact's given name, +with the remainder of the string being treated as their family name. + +### Examples + + ppl add jdoe "John Doe" + +### See Also + +[ppl name](../name) + diff --git a/docs/documentation/commands/age/add/index.md b/docs/documentation/commands/age/add/index.md new file mode 100644 index 00000000..f17ef2e6 --- /dev/null +++ b/docs/documentation/commands/age/add/index.md @@ -0,0 +1,40 @@ +--- +title: ppl add Manual Page +layout: command +section: documentation +command: add +--- + +### Name + +ppl add - Add a new contact + +### Synopsis + + ppl add + +### Description + +This command adds a new contact to the address book. The first parameter, +``, is an alphanumeric string used to uniquely identify the contact +within the address book. The second parameter, ``, is the contact's actual +name. + +The `` parameter must not already be in use as the identifier of +another contact in the address book. Ideally you'll want to pick something short +and easy to type, so if you're adding a contact named "John Doe", then "john" or +"jdoe" might be good choices if they aren't already in use. + +The `` parameter should be the full name of the contact, and is identical +to its namesake expected by the [ppl name](../name) command. Usually, this +means it needs to be enclosed in quotation marks to indicate that all the words +in the name are part of the same parameter. + +### Examples + + ppl add jdoe "John Doe" + +### See Also + +[ppl name](../name) + diff --git a/docs/documentation/commands/age/index.md b/docs/documentation/commands/age/index.md new file mode 100644 index 00000000..b8de2aaf --- /dev/null +++ b/docs/documentation/commands/age/index.md @@ -0,0 +1,38 @@ +--- +title: ppl age Manual Page +layout: command +section: documentation +command: age +--- + +### Name + +ppl age - List or show contacts' ages + +### Synopsis + + ppl age [] + +### Description + +This command calculates contacts' current ages in years based on their date of +birth. The purpose of this command is to provide easy access to an often-needed +piece of information which is indirectly available from the data in the address +book. + +Invoked without any arguments, all contacts are listed with their respective +ages. If a `` is specified, only the age of that contact will be shown. + +### Examples + + $ ppl bday jdoe 1980-01-01 + $ ppl age jdoe + 33 + $ ppl age + fred: 25 + jdoe: 33 + +### See Also + +* [ppl bday](../bday) +* [color output](/documentation/configuration/color_age) diff --git a/docs/documentation/commands/bday/index.md b/docs/documentation/commands/bday/index.md new file mode 100644 index 00000000..e6e594f0 --- /dev/null +++ b/docs/documentation/commands/bday/index.md @@ -0,0 +1,44 @@ +--- +title: ppl bday Manual Page +layout: command +section: documentation +command: bday +--- + +### Name + +ppl bday - List, show or change birthdays + +### Synopsis + + ppl bday + ppl bday + ppl bday + +### Description + +With no arguments, the dates of birth of each contact in the address book are +listed. + +If a `` is specified, the date of birth of that contact is shown. + +If both a `` and a `` are given, then the date is stored as the +date of birth of that contact. The `` parameter must be a valid date +string parseable by Ruby's +[Date.parse](http://ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/Date.html\#method-c-parse) +function. + +### Examples + + $ ppl bday jdoe 1970-01-01 + $ ppl bday adam 1975-06-01 + $ ppl bday jdoe + 1970-01-01 + $ ppl bday + adam: 1975-06-01 + jdoe: 1970-01-01 + +### See Also + +* [Date.parse](http://ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/Date.html\#method-c-parse) +* [color output](/documentation/configuration/color_bday) diff --git a/docs/documentation/commands/completion/index.md b/docs/documentation/commands/completion/index.md new file mode 100644 index 00000000..6688ac6c --- /dev/null +++ b/docs/documentation/commands/completion/index.md @@ -0,0 +1,38 @@ +--- +title: ppl completion Manual Page +layout: command +section: documentation +command: completion +--- + +### Name + +ppl completion - Output a completion function for shell integration + +### Synopsis + + ppl completion + +### Description + +Output a shell autocomplete function to enable automatic completion of commands + +The following shells are supported: + +* `bash` +* `zsh` + +### Examples + + $ ppl completion bash + _ppl() + { + .... + } + complete -F _ppl ppl + +### See Also + +* [Bash Integration Guide](/documentation/integration/bash) +* [ZSH Integration Guide](/documentation/integration/zsh) + diff --git a/docs/documentation/commands/email/index.md b/docs/documentation/commands/email/index.md new file mode 100644 index 00000000..29a7579f --- /dev/null +++ b/docs/documentation/commands/email/index.md @@ -0,0 +1,64 @@ +--- +title: ppl email Manual Page +layout: command +section: documentation +command: email +--- + +### Name + +ppl email - List, show or change email addresses + +### Synopsis + + ppl email + ppl email + ppl email + -d, --delete delete email address + -p, --preferred mark as preferred + -P, --not-preferred mark as not preferred + --format specify a custom output format + +### Description + +With no arguments, the email addresses of each contact in the address book are +listed. + +If a `` is specified, the email addresses of that contact are shown. + +If both a `` and an `` are given, then the address is +added to the email addresses of the contact. + +It the `--delete` or `-d` flag is set, then the given `` is +deleted from the specified ``. + +The `--preferred` and `--not-preferred` flags are for marking a given email +address as "preferred" or not. Internally, this status is represented with +vCard's `TYPE=pref` parameter in the `EMAIL` field. Preferred email addresses +are shown with a `*` next to them in the output of `ppl email `. + +### Formatting Options + +Using the `--format` option, it is possible to customize the output of `ppl +email` in several ways. This customizability is similar in usage to a typical +`printf` function or [`git log`](http://git-scm.com/docs/git-log)'s own +`--format` option. Here are the placeholders and their values. + + %n Newline + %a Email address + %f Preferred status ("*" if preferred) + +### Examples + + $ ppl email jdoe jdoe@example.org --preferred + $ ppl email adam adam@example.com + $ ppl email jdoe + * jdoe@example.org + $ ppl email + adam: adam@example.com + jdoe: jdoe@example.org + +### See Also + +* [color output](/documentation/configuration/color_email) + diff --git a/docs/documentation/commands/grep/index.md b/docs/documentation/commands/grep/index.md new file mode 100644 index 00000000..edfe8122 --- /dev/null +++ b/docs/documentation/commands/grep/index.md @@ -0,0 +1,32 @@ +--- +title: ppl grep Manual Page +layout: command +section: documentation +command: grep +--- + +### Name + +ppl grep - Search the address book + +### Synopsis + + ppl grep + +### Description + +This command is an alias of `git grep`. The `` and the `` +string given are passed straight on through to `git grep`. + +The format and color of the output of this command is subject to your system's +git configuration, not the contents of your `~/.pplconfig`. + +### Examples + + $ ppl grep smith + john.vcf:EMAIL:john.smith@example.org + +### See Also + +* [git grep](http://git-scm.com/docs/git-grep) + diff --git a/docs/documentation/commands/init/index.md b/docs/documentation/commands/init/index.md new file mode 100644 index 00000000..588dc55e --- /dev/null +++ b/docs/documentation/commands/init/index.md @@ -0,0 +1,28 @@ +--- +title: ppl init Manual Page +layout: command +section: documentation +command: init +--- + +### Name + +ppl init - Create an empty address book + +### Synopsis + + ppl init [] + +### Description + +This command creates an empty ppl repository. It creates the specified directory +if it doesn't already exist, and initializes a git repository there. + +If no `` parameter is explicitly specified, then the operation is +applied to the current working directory. + +### Examples + + ppl init ~/contacts + + diff --git a/docs/documentation/commands/ls/index.md b/docs/documentation/commands/ls/index.md new file mode 100644 index 00000000..d4bd7afe --- /dev/null +++ b/docs/documentation/commands/ls/index.md @@ -0,0 +1,55 @@ +--- +title: ppl ls Manual Page +layout: command +section: documentation +command: ls +--- + +### Name + +ppl ls - List all contacts + +### Synopsis + + ppl ls [] + --format specify a custom output format + --pretty specify a preset output format + +### Description + +List all the contacts in the address book. + +### Formatting Options + +Using the `--format` option, `ppl ls` can be customized to produce output in a +user-specified format. This is similar functionality to `printf` or the +customizability of other software such as [git +log](http://git-scm.com/docs/git-log). Here are the placeholders. + + %n Newline + %i Contact ID + %N Name + %a Age + %b Birthday + %k Nickname (first) + %e Email address (preferred/first) + %p Phone number (preferred/first) + %o Organization (first) + +Commonly used output formats can be stored in `~/.pplconfig` and invoked by name +using the `--pretty` option. For example, the following configuration would +allow the format to be used by running `ppl ls --pretty age_info`. + + [pretty] + age_info = "%i: %a (%b)" + +### Examples + + $ ppl ls + jdoe: John Doe + kdoe: Kent Doe + +### See Also + +* [color output](/documentation/configuration/color_ls) + diff --git a/docs/documentation/commands/mutt/index.md b/docs/documentation/commands/mutt/index.md new file mode 100644 index 00000000..d8bd84b1 --- /dev/null +++ b/docs/documentation/commands/mutt/index.md @@ -0,0 +1,36 @@ +--- +title: ppl mutt Manual Page +layout: command +section: documentation +command: mutt +--- + +### Name + +ppl mutt - Integration with mutt's query_command + +### Synopsis + + ppl mutt [] + -i, --ignore-case Turn off case sensitivity + +### Description + +Searches the names and email addresses in the address book for the given +`` string and returns a list of results formatted for compatibility with +[mutt's query_command +option](http://www.mutt.org/doc/manual/manual-4.html#ss4.5). + +This is intended to enable mutt users to integrate ppl as the search backend for +recipient autocompletion. + +If the `-i` flag is given, the search will be case-insensitive, ignoring case +differences between the query given and the contacts' names and email addresses. + +### Examples + +Put the following in your `~/.muttrc`: + + set query_command = "ppl mutt '%s'" + + diff --git a/docs/documentation/commands/mv/index.md b/docs/documentation/commands/mv/index.md new file mode 100644 index 00000000..a5178395 --- /dev/null +++ b/docs/documentation/commands/mv/index.md @@ -0,0 +1,26 @@ +--- +title: ppl mv Manual Page +layout: command +section: documentation +command: mv +--- + +### Name + +ppl mv - Move a contact to a different ID + +### Synopsis + + ppl mv + +### Description + +This changes the ID of a contact. The `` parameter must correspond to +the ID of an existing contact in the address book. The `` parameter +must not already be in use as the ID of an existing contact. + +### Examples + + ppl mv john jdoe + + diff --git a/docs/documentation/commands/name/index.md b/docs/documentation/commands/name/index.md new file mode 100644 index 00000000..fa2bc338 --- /dev/null +++ b/docs/documentation/commands/name/index.md @@ -0,0 +1,45 @@ +--- +title: ppl name Manual Page +layout: command +section: documentation +command: name +--- + +### Name + +ppl name - List, show or change names + +### Synopsis + + ppl name + ppl name + ppl name + -f, --family + -g, --given + -m, --middle + -p, --prefix + -s, --suffix + +### Description + +With no arguments, the full names of each contact in the address book are +listed. + +If a `` is specified, the full name of that contact is shown. + +If both a `` and a `` are given, then the name is stored as the +full name of the contact. + +### Examples + + $ ppl name jdoe "John Doe" + $ ppl name adam "Adam West" --family West -g Adam + $ ppl name jdoe + John Doe + $ ppl name + adam: Adam West + jdoe: John Doe + +### See Also + +* [color output](/documentation/configuration/color_name) diff --git a/docs/documentation/commands/nick/index.md b/docs/documentation/commands/nick/index.md new file mode 100644 index 00000000..9a477429 --- /dev/null +++ b/docs/documentation/commands/nick/index.md @@ -0,0 +1,44 @@ +--- +title: ppl nick Manual Page +layout: command +section: documentation +command: nick +--- + +### Name + +ppl nick - List, show or change nicknames + +### Synopsis + + ppl nick (--no-color) + ppl nick + ppl nick + ppl nick (-d | --delete) + +### Description + +With no arguments, the nicknames of each contact in the address book are listed. + +If a `` is specified, their nicknames are shown. If both a `` +and a `` are given, then the nickname is added to the contact. If the +`--delete` or `-d` flag is set, then the given `` is +deleted from the specified ``. + +If the `--no-color` flag is set, then the list of nicknames will be printed +without any ANSI color escape codes, regardless of any configuration settings. + +### Examples + + $ ppl nick jdoe Johnny + $ ppl nick fred Freddy + $ ppl nick jdoe + Johnny + $ ppl nick + fred: Freddy + jdoe: Johnny + +### See Also + +* [color output](/documentation/configuration/color_nick) + diff --git a/docs/documentation/commands/org/index.md b/docs/documentation/commands/org/index.md new file mode 100644 index 00000000..42d0f184 --- /dev/null +++ b/docs/documentation/commands/org/index.md @@ -0,0 +1,45 @@ +--- +title: ppl org Manual Page +layout: command +section: documentation +command: org +--- + +### Name + +ppl org - List, show or change organizations + +### Synopsis + + ppl org + ppl org + ppl org + ppl org (-d | --delete) + +### Description + +With no arguments, the organizations of each contact in the address book are +listed. + +If a `` is specified, the organization of that contact is shown. + +If both a `` and an `` are given, then the organization +is added to that contact's organizations. + +It the `--delete` or `-d` flag is set, then the given `` is +deleted from the specified ``. + +### Examples + + $ ppl org jdoe "Free Software Foundation" + $ ppl org adam "Microsoft Corporation" + $ ppl org jdoe + Free Software Foundation + $ ppl org + adam: Microsoft Corporation + jdoe: Free Software Foundation + +### See Also + +* [color output](/documentation/configuration/color_org) + diff --git a/docs/documentation/commands/phone/index.md b/docs/documentation/commands/phone/index.md new file mode 100644 index 00000000..0b8bc47e --- /dev/null +++ b/docs/documentation/commands/phone/index.md @@ -0,0 +1,56 @@ +--- +title: ppl phone Manual Page +layout: command +section: documentation +command: phone +--- + +### Name + +ppl phone - List, show or change phone numbers + +### Synopsis + + ppl phone + ppl phone + ppl phone + ppl phone + -d, --delete delete phone number + -t, --type set the number's type + -p, --preferred mark as preferred + -P, --not-preferred mark as not preferred + +### Description + +With no arguments, the phone numbers of each contact in the address book are +listed. + +If a `` is specified, the phone number of that contact is shown. + +If both a `` and a `` are given, then the number is added +to the contact's phone numbers. + +It the `--delete` or `-d` flag is set, then the given `` is +deleted from the specified ``. + +Use the `--type ` option to assign a type to the phone number. You can use +this option both when adding a new number or to amend an existing number. + +The `--preferred` and `--not-preferred` flags are for marking a given phone +number as "preferred" or not. Internally, this status is represented with +vCard's `TYPE=pref` parameter in the `TEL` field. Preferred phone numbers are +shown with a `*` next to them in the output of `ppl phone `. + +### Examples + + $ ppl phone jdoe 0123456789 --type cell + $ ppl phone adam 0777111222 + $ ppl phone jdoe + 0123456789 (cell) + $ ppl phone + adam: 0777111222 + jdoe: 0123456789 + +### See Also + +* [color output](/documentation/configuration/color_phone) diff --git a/docs/documentation/commands/post/index.md b/docs/documentation/commands/post/index.md new file mode 100644 index 00000000..817b3cf1 --- /dev/null +++ b/docs/documentation/commands/post/index.md @@ -0,0 +1,61 @@ +--- +title: ppl post Manual Page +layout: command +section: documentation +command: post +--- + +### Name + +ppl post - List, show or change postal addresses + +### Synopsis + + ppl post + ppl post + ppl post
+ -s, --street + -z, --postal-code + -p, --po-box + -l, --locality + -r, --region + -c, --country + ppl post
(-m | --move) + +### Description + +With no arguments, the postal addresses of each contact in the address book are +listed. + +If a just a `` is specified, the postal addresses of that contact are +shown. + +If both a `` and an `
` are specified, an address will be +created or updated using the options provided. + +Use the `-m` or `--move` flag to move an address to a new ID. + +### Examples + + $ ppl post + alice: home, work + jdoe: home + $ ppl post alice + * home 3701 Southwest 12th Street, Topeka, Kansas, USA + work 123 Business Road, Businesstown, USA + $ ppl post alice home + 3701 Southwest 12th Street + Topeka + Kansas + USA + $ ppl post alice home --country Canada + $ ppl post alice home + 3701 Southwest 12th Street + Topeka + Kansas + Canada + +### See Also + +* [color output](/documentation/configuration/color_post) + diff --git a/docs/documentation/commands/pull/index.md b/docs/documentation/commands/pull/index.md new file mode 100644 index 00000000..bdae3dbd --- /dev/null +++ b/docs/documentation/commands/pull/index.md @@ -0,0 +1,39 @@ +--- +title: ppl pull Manual Page +layout: command +section: documentation +command: pull +--- + +### Name + +ppl pull - Execute `git pull` in the address book directory + +### Synopsis + + ppl pull + +### Description + +This command is an alias of `git pull`. It is intended to make it more +convenient to use git to synchronise your address book. The rationale is that it +is tiresome to have to type `cd ~/contacts` and then `git pull origin master`. +Assuming you have configured ppl to [remember the location of your address +book](/documentation/configuration/address_book), then `ppl pull origin master` +is the equivalent of those two commands. + +Note that this command literally executes the git command `push` in the address +book directory. If you don't have the git CLI tool installed, this command will +not work. + +### Examples + + $ ppl pull origin master + Already up-to-date. + +### See Also + +* [git pull](http://git-scm.com/docs/git-pull) +* [ppl push](/documentation/commands/push) +* [ppl remote](/documentation/commands/push) + diff --git a/docs/documentation/commands/push/index.md b/docs/documentation/commands/push/index.md new file mode 100644 index 00000000..80970564 --- /dev/null +++ b/docs/documentation/commands/push/index.md @@ -0,0 +1,36 @@ +--- +title: ppl push Manual Page +layout: command +section: documentation +command: push +--- + +### Name + +ppl push - Execute `git push` in the address book directory + +### Synopsis + + ppl push + +### Description + +This command is an alias of `git push`. It is intended to make it more +convenient to use git to synchronise your address book. See the documentation +for [git pull](/documentation/commands/pull) for more details. + +Note that this command literally executes the git command `push` in the address +book directory. If you don't have the git CLI tool installed, this command will +not work. + +### Examples + + $ ppl push origin master + Everything up-to-date. + +### See Also + +* [git push](http://git-scm.com/docs/git-push) +* [ppl pull](/documentation/commands/pull) +* [ppl remote](/documentation/commands/push) + diff --git a/docs/documentation/commands/remote/index.md b/docs/documentation/commands/remote/index.md new file mode 100644 index 00000000..c8a9ab34 --- /dev/null +++ b/docs/documentation/commands/remote/index.md @@ -0,0 +1,40 @@ +--- +title: ppl remote Manual Page +layout: command +section: documentation +command: remote +--- + +### Name + +ppl remote - Execute `git remote` in the address book directory + +### Synopsis + + ppl remote [-v | --verbose] + ppl remote rename + ppl remote rm + +### Description + +This command is an alias of `git remote`. It is intended to make it more +convenient to use git to synchronise your address book. See the documentation +for [git pull](/documentation/commands/pull) for more details. + +Note that this command literally executes the git command `remote` in the +address book directory. If you don't have the git CLI tool installed, this +command will not work. + +### Examples + + $ ppl remote + origin + github + $ ppl remote rm github + +### See Also + +* [git remote](http://git-scm.com/docs/git-remote) +* [ppl pull](/documentation/commands/pull) +* [ppl push](/documentation/commands/push) + diff --git a/docs/documentation/commands/rm/index.md b/docs/documentation/commands/rm/index.md new file mode 100644 index 00000000..ac8eabb7 --- /dev/null +++ b/docs/documentation/commands/rm/index.md @@ -0,0 +1,23 @@ +--- +title: ppl rm Manual Page +layout: command +section: documentation +command: rm +--- + +### Name + +ppl rm - Delete a contact + +### Synopsis + + ppl rm + +### Description + +Delete the specified `` from the address book. + +### Examples + + ppl rm jdoe + diff --git a/docs/documentation/commands/scrape/index.md b/docs/documentation/commands/scrape/index.md new file mode 100644 index 00000000..49b40fc8 --- /dev/null +++ b/docs/documentation/commands/scrape/index.md @@ -0,0 +1,38 @@ +--- +title: ppl scrape Manual Page +layout: command +section: documentation +command: scrape +--- + +### Name + +ppl scrape - Scrape contact details from an email in `stdin` + +### Synopsis + + ppl scrape [] + -q, --quiet Add contacts to the address book without prompting + -s, --sender Scrape the sender's contact details + +### Description + +Reads an email message from stdin and scrapes contact information from it into +the address book. By default nothing will be scraped; the command must be told +explicitly which information to scrape via its arguments. + +If the `--sender` option is used, then the details of the person in the email's +`From:` header will be scraped into the address book. + +If the `--quiet` option is used, the command will not prompt the user to confirm +whether they approve of each contact before saving them to the address book. + +This command is analogous to [abook](http://abook.sourceforge.net/)'s +`--add-email` functionality. Both the confirmation prompt and the `--quiet` flag +are provided with the intention of achieving feature parity with this part of +abook. + +### Examples + + ppl scrape --sender --quiet < ~/Mail/cur/1234.example.org + diff --git a/docs/documentation/commands/shell/index.md b/docs/documentation/commands/shell/index.md new file mode 100644 index 00000000..bf9f4af7 --- /dev/null +++ b/docs/documentation/commands/shell/index.md @@ -0,0 +1,39 @@ +--- +title: ppl shell Manual Page +layout: command +section: documentation +command: shell +--- + +### Name + +ppl shell - Interactive mode + +### Synopsis + + ppl shell + +### Description + +Opens ppl in interactive mode, allowing users to skip typing "ppl" at the start +of every single command. This is intended to be useful in the case of longer +sessions, when a user plans to interact with ppl many times and wants to avoid +some of the repetition. + +In interactive mode, all the ppl commands work as normal. The only difference is +that there is no need to prefix every command with `ppl`. So instead of typing +`ppl ls`, in interactive mode you would just type `ls`. + +To exit interactive mode, type `exit`, or send a `sigint` or `eof` (Ctrl+C or +Ctrl+D usually). + +### Examples + + $ ppl shell + ppl 1.5.2 (type "exit" to leave) + ppl> ls + jdoe: John Doe + kdoe: Kent Doe + ppl> exit + $ + diff --git a/docs/documentation/commands/show/index.md b/docs/documentation/commands/show/index.md new file mode 100644 index 00000000..87dea713 --- /dev/null +++ b/docs/documentation/commands/show/index.md @@ -0,0 +1,33 @@ +--- +title: ppl show Manual Page +layout: command +section: documentation +command: show +--- + +### Name + +ppl show - Display a contact's full details + +### Synopsis + + ppl show + +### Description + +Display the full details of the specified ``. This command will output +all the contact details that are currently stored, including email address, date +of birth, organization, and so on. + +### Examples + + $ ppl show jdoe + jdoe: John Doe + + Birthday 1970-01-01 + + Phone Numbers: + 0123456789 + 0543216790 + + diff --git a/docs/documentation/commands/url/index.md b/docs/documentation/commands/url/index.md new file mode 100644 index 00000000..626eba23 --- /dev/null +++ b/docs/documentation/commands/url/index.md @@ -0,0 +1,44 @@ +--- +title: ppl url Manual Page +layout: command +section: documentation +command: url +--- + +### Name + +ppl url - List, show or change URLs + +### Synopsis + + ppl url + ppl url + ppl url + ppl url (-d | --delete) + +### Description + +With no arguments, the URLs of each contact in the address book are listed. + +If a `` is specified, the URLs of that contact are shown. + +If both a `` and a `` are given, then the URL is added to the +contact. + +If the `--delete` or `-d` flag is set, then the given `` is +deleted from the specified ``. + +### Examples + + $ ppl url jdoe http://facebook.com/jdoe + $ ppl url adam http://adamswebsite.com + $ ppl url jdoe + http://facebook.com/jdoe + $ ppl url + adam: http://adamswebsite.com + jdoe: http://facebook.com/jdoe + +### See Also + +* [color output](/documentation/configuration/color_url) + diff --git a/docs/documentation/commands/version/index.md b/docs/documentation/commands/version/index.md new file mode 100644 index 00000000..e81ca59f --- /dev/null +++ b/docs/documentation/commands/version/index.md @@ -0,0 +1,27 @@ +--- +title: ppl version Manual Page +layout: command +section: documentation +command: version +--- + +### Name + +ppl version - Display ppl's version number + +### Synopsis + + ppl version + +### Description + +This command simply displays the current version of ppl installed on the system. + +Pre-1.9.0 versions of ppl lack this command, but `gem list --local | grep ppl` +ought to do the job just fine in its absence anyway. + +### Examples + + $ ppl version + ppl version 1.9.0 + diff --git a/docs/documentation/configuration/address_book/index.md b/docs/documentation/configuration/address_book/index.md new file mode 100644 index 00000000..3c474960 --- /dev/null +++ b/docs/documentation/configuration/address_book/index.md @@ -0,0 +1,22 @@ +--- +title: ppl [address book] Configuration Guide +layout: configuration +section: documentation +config_section: address book +--- + +### path + + [address book] + path = ~/contacts + +By default, ppl determines the location of the address book based on the user's +[working directory](http://en.wikipedia.org/wiki/Working_directory). This value +overrides that behaviour and sets a particular directory as the location of the +address book regardless of the working directory. + +This is intended for the typical use-case where a user of ppl only has one +address book. The purpose is to increase the convenience of using ppl with that +single address book by removing the requirement that the user first navigate to +its directory before reading from or writing to it. + diff --git a/docs/documentation/configuration/alias/index.md b/docs/documentation/configuration/alias/index.md new file mode 100644 index 00000000..d12528fe --- /dev/null +++ b/docs/documentation/configuration/alias/index.md @@ -0,0 +1,45 @@ +--- +title: ppl [alias] Configuration Guide +layout: configuration +section: documentation +config_section: alias +--- + +Sometimes typing the same long commands repeatedly becomes tiresome. The +`[alias]` section is intended to address this issue by providing a means of +configuring shorter forms of commands. + + [alias] + l = ls + s = show + +Adding the above lines to `~/.pplconfig` would allow the user to interact with +ppl as follows: + + $ ppl l + jdoe: John Doe + fred: Fred Bloggs + $ ppl s jdoe + John Doe + + Birthday 1970-01-01 + Organization Example Organization + + Email Addresses + jdoe@example.org + +### Bang Aliases + +ppl's alias system is similar to git's in that it supports executing external +commands via aliases prefixed with an exclamation mark, or "bang". In your +`~/.pplconfig`, this would look something like the following: + + [alias] + lsx = !ppl ls | grep -i x + +The above example creates an alias `lsx` that pipes the output of [ppl +ls](/documentation/commands/ls) through `grep -i x`. This means that you +effectively create a new command - `ppl lsx` - which is identical to `ppl ls` +except that it only displays lines containing the letter x. + + diff --git a/docs/documentation/configuration/color/index.md b/docs/documentation/configuration/color/index.md new file mode 100644 index 00000000..76db0e59 --- /dev/null +++ b/docs/documentation/configuration/color/index.md @@ -0,0 +1,47 @@ +--- +title: ppl [color] Configuration Guide +layout: configuration +section: documentation +config_section: color +--- + +By default, ppl's commands output plain text with no [ANSI color escape +codes](http://en.wikipedia.org/wiki/ANSI_escape_code). This is good in terms of +ppl being a well-behaved, pipeable UNIX CLI program, but some people like a bit +more color in their life, and this section of the config file allows those +people to selectively enable color output on a per-command basis. + +### Enable color for all commands that support it + + [color] + age = true + bday = true + email = true + ls = true + name = true + nick = true + org = true + phone = true + post = true + show = true + url = true + +### List of supported colors + +* black +* blue +* cyan +* green +* magenta +* red +* white +* yellow + +### Unsupported commands + +The [mutt](/documentation/commands/mutt) command doesn't support color output +and never will. It'd be completely pointless. + +The [show](/documentation/commands/show) command doesn't, either, but this is +due to be added sometime soon. + diff --git a/docs/documentation/configuration/color_age/index.md b/docs/documentation/configuration/color_age/index.md new file mode 100644 index 00000000..81540e5e --- /dev/null +++ b/docs/documentation/configuration/color_age/index.md @@ -0,0 +1,20 @@ +--- +title: ppl [color "age"] Configuration Guide +layout: configuration +section: documentation +config_section: color "age" +--- + +This section dictates the color of the output of the +[age](/documentation/commands/age) command. + +### Example + + [color "age"] + id = green + age = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_bday/index.md b/docs/documentation/configuration/color_bday/index.md new file mode 100644 index 00000000..7dabe7f0 --- /dev/null +++ b/docs/documentation/configuration/color_bday/index.md @@ -0,0 +1,20 @@ +--- +title: ppl [color "bday"] Configuration Guide +layout: configuration +section: documentation +config_section: color "bday" +--- + +This section dictates the color of the output of the +[bday](/documentation/commands/bday) command. + +### Example + + [color "bday"] + id = green + birthday = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_email/index.md b/docs/documentation/configuration/color_email/index.md new file mode 100644 index 00000000..0ea650bb --- /dev/null +++ b/docs/documentation/configuration/color_email/index.md @@ -0,0 +1,21 @@ +--- +title: ppl [color "email"] Configuration Guide +layout: configuration +section: documentation +config_section: color "email" +--- + +This section dictates the color of the output of the +[email](/documentation/commands/email) command. + +### Example + + [color "email"] + star = red + id = green + email_addresses = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_ls/index.md b/docs/documentation/configuration/color_ls/index.md new file mode 100644 index 00000000..d298ab51 --- /dev/null +++ b/docs/documentation/configuration/color_ls/index.md @@ -0,0 +1,21 @@ +--- +title: ppl [color "ls"] Configuration Guide +layout: configuration +section: documentation +config_section: color "ls" +--- + +This section dictates the color of the output of the +[ls](/documentation/commands/ls) command. + +### Example + + [color "ls"] + id = green + name = yellow + email = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_name/index.md b/docs/documentation/configuration/color_name/index.md new file mode 100644 index 00000000..099dbf6b --- /dev/null +++ b/docs/documentation/configuration/color_name/index.md @@ -0,0 +1,20 @@ +--- +title: ppl [color "name"] Configuration Guide +layout: configuration +section: documentation +config_section: color "name" +--- + +This section dictates the color of the output of the +[name](/documentation/commands/name) command. + +### Example + + [color "name"] + id = green + name = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_nick/index.md b/docs/documentation/configuration/color_nick/index.md new file mode 100644 index 00000000..75ff5157 --- /dev/null +++ b/docs/documentation/configuration/color_nick/index.md @@ -0,0 +1,20 @@ +--- +title: ppl [color "nick"] Configuration Guide +layout: configuration +section: documentation +config_section: color "nick" +--- + +This section dictates the color of the output of the +[nick](/documentation/commands/nick) command. + +### Example + + [color "nick"] + id = green + nicknames = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_org/index.md b/docs/documentation/configuration/color_org/index.md new file mode 100644 index 00000000..e5581705 --- /dev/null +++ b/docs/documentation/configuration/color_org/index.md @@ -0,0 +1,20 @@ +--- +title: ppl [color "org"] Configuration Guide +layout: configuration +section: documentation +config_section: color "org" +--- + +This section dictates the color of the output of the +[org](/documentation/commands/org) command. + +### Example + + [color "org"] + id = green + organizations = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_phone/index.md b/docs/documentation/configuration/color_phone/index.md new file mode 100644 index 00000000..515c5eb8 --- /dev/null +++ b/docs/documentation/configuration/color_phone/index.md @@ -0,0 +1,22 @@ +--- +title: ppl [color "phone"] Configuration Guide +layout: configuration +section: documentation +config_section: color "phone" +--- + +This section dictates the color of the output of the +[phone](/documentation/commands/phone) command. + +### Example + + [color "phone"] + star = red + id = green + phone_numbers = blue + type = red + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_post/index.md b/docs/documentation/configuration/color_post/index.md new file mode 100644 index 00000000..dc33f5ab --- /dev/null +++ b/docs/documentation/configuration/color_post/index.md @@ -0,0 +1,20 @@ +--- +title: ppl [color "post"] Configuration Guide +layout: configuration +section: documentation +config_section: color "post" +--- + +This section dictates the color of the output of the +[post](/documentation/commands/post) command. + +### Example + + [color "post"] + id = green + postal_address = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/color_url/index.md b/docs/documentation/configuration/color_url/index.md new file mode 100644 index 00000000..4bdcfe22 --- /dev/null +++ b/docs/documentation/configuration/color_url/index.md @@ -0,0 +1,20 @@ +--- +title: ppl [color "url"] Configuration Guide +layout: configuration +section: documentation +config_section: color "url" +--- + +This section dictates the color of the output of the +[url](/documentation/commands/url) command. + +### Example + + [color "url"] + id = green + urls = blue + +### See Also + +* [List of supported colors](/documentation/configuration/color#list_of_supported_colors) + diff --git a/docs/documentation/configuration/index.html b/docs/documentation/configuration/index.html new file mode 100644 index 00000000..496056ba --- /dev/null +++ b/docs/documentation/configuration/index.html @@ -0,0 +1,8 @@ +--- +title: Configuration +layout: page +section: documentation +--- + +

configuration

+ diff --git a/docs/documentation/index.html b/docs/documentation/index.html new file mode 100644 index 00000000..b9c936a8 --- /dev/null +++ b/docs/documentation/index.html @@ -0,0 +1,183 @@ +--- +title: Documentation +layout: page +section: documentation +--- + +

Documentation

+ +
+ +
+

Quick Start

+
+

+ Trying ppl for the first time? +
+ Want to learn the basics? +
+ In 30 seconds or less? +

+ +

+ + Get Started + +

+ +
+
+ +
+

Command Reference

+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+

Tips & Tricks

+

+ Small bits of advice for getting the most out of ppl. +
+ Sound interesting? +

+
+ +
+

Integration Guide

+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+

About ppl

+

+ Wondering why ppl even exists? Whose idea it was? +
+ Look no further +

+
+ + + +
+ diff --git a/docs/documentation/integration/bash/index.md b/docs/documentation/integration/bash/index.md new file mode 100644 index 00000000..d97e724f --- /dev/null +++ b/docs/documentation/integration/bash/index.md @@ -0,0 +1,23 @@ +--- +title: Bash Integration Guide +layout: integration +section: documentation +integration: bash +--- + +If you've ever used a command-line program like Git, you've probably used tab +completion before. For example, you type `git chec`, press the `` key, and +bash automatically completes the rest of the command for you: `git checkout`. +Bash accomplishes this through the use of a [completion +function](http://tldp.org/LDP/abs/html/tabexpansion.html), and the good news is +that there's one available for ppl. + +### Install the completion function globally + + $ ppl completion bash | sudo tee /etc/bash_completion.d/ppl + +The [completion](/documentation/commands/completion) command simply outputs the +completion function code in its entirety. The above line pipes that code into +its rightful place in your system's Bash completion function config directory. + + diff --git a/docs/documentation/integration/google/index.md b/docs/documentation/integration/google/index.md new file mode 100644 index 00000000..1dcf1ac5 --- /dev/null +++ b/docs/documentation/integration/google/index.md @@ -0,0 +1,26 @@ +--- +title: Google Integration Guide +layout: integration +section: documentation +integration: google +--- + +Many people have a large set of address book data stored in Google Contacts, +usually under the hood of GMail itself. If you fall in this category, and you +want to copy over that data as a starting point for your ppl address book, you +have a few options thanks to the enterprising work of some generous ppl users. + +### gv-contacts + +Part of an npm package called [gv](https://github.com/matthewp/gv-app/), the `gv +contacts` command is a way of importing contacts directly from your Google +account into ppl. It imports contacts' names, phone numbers and email addresses. + +### goog2ppl + +[goog2ppl](https://github.com/shushcat/goog2ppl) is a python script for +converting a contacts.vcf file [exported from +Google](http://support.google.com/mail/answer/24911?hl=en) and breaking it up +into pieces suitable for initialization as the contents of a ppl address book +directory. + diff --git a/docs/documentation/integration/index.html b/docs/documentation/integration/index.html new file mode 100644 index 00000000..5315ec86 --- /dev/null +++ b/docs/documentation/integration/index.html @@ -0,0 +1,8 @@ +--- +title: Integration +layout: page +section: documentation +--- + +

Integration

+ diff --git a/docs/documentation/integration/mutt/index.md b/docs/documentation/integration/mutt/index.md new file mode 100644 index 00000000..1d568b07 --- /dev/null +++ b/docs/documentation/integration/mutt/index.md @@ -0,0 +1,35 @@ +--- +title: Mutt Integration Guide +layout: integration +section: documentation +integration: mutt +--- + +The [Mutt E-Mail Client](http://www.mutt.org/) + +### Email Address Autocompletion + +Mutt supports the use of external address book programs as a source of [email +address autocompletion +suggestions](http://www.mutt.org/doc/manual/manual-4.html#ss4.5). You can use +this to integrate ppl into mutt by adding the following to your `~/.muttrc`: + + set query_command = "ppl mutt '%s'" + +With that configured, you can then invoke ppl from within mutt as a means of +quickly finding email addresses by pressing `Q` in the index menu, or by +pressing `^T` in any prompt for address entry. + +### Quickly Adding New Contacts + +If you have a lot of email to deal with, you may find it tedious to have to add +each new email contact to your address book manually. With a macro like the +following in your `~/.muttrc`, adding the sender of the currently selected email +is as simple as pressing the `a` key. + + macro index,pager a "ppl scrape --sender" + +This macro uses the [scrape](/documentation/commands/scrape) command to pull out +the sender's email address and name (if available), and adds them to the address +book. + diff --git a/docs/documentation/integration/zsh/index.md b/docs/documentation/integration/zsh/index.md new file mode 100644 index 00000000..33ff6842 --- /dev/null +++ b/docs/documentation/integration/zsh/index.md @@ -0,0 +1,19 @@ +--- +title: ZSH Integration Guide +layout: integration +section: documentation +integration: zsh +--- + +Similarly to the [Bash completion](/documentation/integration/bash/) +functionality also available, ppl comes ready with a ZSH completion function as +well. Here's how to get it set up: + +### Install the completion function + + $ ppl completion zsh | sudo tee /usr/share/zsh/site-functions/_ppl + +Depending on your choice of operating system, the target directory in the above +code may differ. The above is certainly correct for Arch Linux, but on Debian, +for example, the target would be `/usr/local/share/zsh/site-functions/`. + diff --git a/docs/documentation/quick-start/index.html b/docs/documentation/quick-start/index.html new file mode 100644 index 00000000..6f19a56e --- /dev/null +++ b/docs/documentation/quick-start/index.html @@ -0,0 +1,88 @@ +--- +title: ppl Quick Start +layout: page +section: documentation +--- + +

Quick Start

+ +
+
+

Requirements

+

+ ppl depends on rubygems for + installation, and on git for storage and + syncing. +

+
+
+ +
+
+

Installation

+
$ sudo gem install ppl
+
+
+ +
+
+

Create An Address Book

+
$ ppl init ~/contacts
+
+
+

 

+

+ ppl init is just + like creating a Git repo +

+
+
+ +
+
+

Add Some Contacts

+
$ cd ~/contacts
+$ ppl add alice "Alice Adams"
+$ ppl add bob "Bob Brown"
+$ ppl add eve "Eve Edwards"
+
+
+

 

+

+ ppl add creates new + contacts in the address book +

+
+
+ +
+
+

Store Some Contact Details

+
$ ppl email alice alice@example.org
+$ ppl phone bob 0123456789
+$ ppl org eve "Red Hat"
+
+
+

 

+

+ ppl has many commands for adding new properties to contacts. Further + information is available in the documentation +

+
+
+ +
+
+

Set Your Default Address Book

+
$ echo "[address book]" > ~/.pplconfig
+$ echo path = "`pwd`" >> ~/.pplconfig
+
+
+

 

+

+ This tells ppl to let you keep working with this address book even after + you cd into another directory +

+
+
+ diff --git a/docs/documentation/tips/index.html b/docs/documentation/tips/index.html new file mode 100644 index 00000000..bf00525b --- /dev/null +++ b/docs/documentation/tips/index.html @@ -0,0 +1,9 @@ +--- +title: "Tips & Tricks" +section: documentation +--- + +{% assign page = site.categories.tips.first %} +{% assign content = site.categories.tips.first.content %} +{% include tip.html %} + diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..6e71f94a --- /dev/null +++ b/docs/index.html @@ -0,0 +1,108 @@ +--- +title: ppl - The Command Line Address Book +layout: frontpage +--- + + +
+ +
+ +
+ +

+ ppl +

+ +

+ The command line address book +

+

+ + Try it! + +

+ +
+ +
+
$ ppl add henry "Henry Smith"
+$ ppl phone henry 012345678
+$ ppl email henry henry@henrysmith.org
+$ ppl show henry
+Henry Smith <henry@henrysmith.org>
+
+Email Addresses:
+  henry@henrysmith.org
+
+Phone Numbers:
+  0123456789
+
+
+ +
+ +
+ +
+

Free

+

+ ppl is free software made out of other free software. It's built on top + of Ruby and Git, and the completely free vcard address book format. +

+
+ +
+

Decentralized

+

+ ppl is built on top of Git, the world's most popular decentralized + version control system. Use your address book wherever you like and let + Git worry about making sense of it all. +

+
+ +
+

Good

+

+ ppl does its best to be a proper UNIX-style comand line program. Proper + exit codes, no superfluous output, that sort of thing. +

+
+ +
+ +
+ +
+

Latest Version

+
+

+ {{site.categories.changelog.first.title}} + + ({{ site.categories.changelog.first.date | date: '%Y-%m-%d' }}) + +

+

+ + {{site.categories.changelog.first.summary}} + +

+
+
+ +
+

+ {{site.categories.news.first.title}} + + + {{site.categories.news.first.date | date: '%Y-%m-%d'}} + + +

+ {{site.categories.news.first.content}} +
+ +
+ +
+ diff --git a/docs/javascript/flatstrap/bootstrap.min.js b/docs/javascript/flatstrap/bootstrap.min.js new file mode 100644 index 00000000..80a99821 --- /dev/null +++ b/docs/javascript/flatstrap/bootstrap.min.js @@ -0,0 +1,6 @@ +/** +* Bootstrap.js v2.2.1 by @fat & @mdo +* Copyright 2012 Twitter, Inc. +* http://www.apache.org/licenses/LICENSE-2.0.txt +*/ +!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()},e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")},e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=n,this.options.slide&&this.slide(this.options.slide),this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},to:function(t){var n=this.$element.find(".item.active"),r=n.parent().children(),i=r.index(n),s=this;if(t>r.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){s.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",e(r[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle()),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0]});if(i.hasClass("active"))return;if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}},e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e(document).on("click.carousel.data-api","[data-slide]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data());i.carousel(s),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning)return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning)return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=typeof n=="object"&&n;i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;return n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=e(n),r.length||(r=t.parent()),r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||(s.toggleClass("open"),n.focus()),!1},keydown:function(t){var n,r,s,o,u,a;if(!/(38|40|27)/.test(t.keyCode))return;n=e(this),t.preventDefault(),t.stopPropagation();if(n.is(".disabled, :disabled"))return;o=i(n),u=o.hasClass("open");if(!u||u&&t.keyCode==27)return n.click();r=e("[role=menu] li:not(.divider) a",o);if(!r.length)return;a=r.index(r.filter(":focus")),t.keyCode==38&&a>0&&a--,t.keyCode==40&&a').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,e.proxy(this.removeBackdrop,this)):this.removeBackdrop()):t&&t()}},e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,this.options.trigger=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):this.options.trigger!="manual"&&(i=this.options.trigger=="hover"?"mouseenter":"focus",s=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this))),this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,t,this.$element.data()),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);if(!n.options.delay||!n.options.delay.show)return n.show();clearTimeout(this.timeout),n.hoverState="in",this.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var e,t,n,r,i,s,o;if(this.hasContent()&&this.enabled){e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,t=/in/.test(s),e.detach().css({top:0,left:0,display:"block"}).insertAfter(this.$element),n=this.getPosition(t),r=e[0].offsetWidth,i=e[0].offsetHeight;switch(t?s.split(" ")[1]:s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}e.offset(o).addClass(s).addClass("in")}},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function r(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip();return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?r():n.detach(),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(t){return e.extend({},t?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);n[n.tip().hasClass("in")?"hide":"show"]()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}},e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'
',trigger:"hover",title:"",delay:0,html:!1}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content > *")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-content")||(typeof n.content=="function"?n.content.call(t[0]):n.content),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}}),e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'

'})}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var t=e(this),n=t.data("target")||t.attr("href"),r=/^#\w/.test(n)&&e(n);return r&&r.length&&[[r.position().top,n]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}},e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}},e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.$menu=e(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:t.top+t.height,left:t.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length"+t+""})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=!~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},blur:function(e){var t=this;setTimeout(function(){t.hide()},150)},click:function(e){e.stopPropagation(),e.preventDefault(),this.select()},mouseenter:function(t){this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")}},e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'',item:'
  • ',minLength:1},e.fn.typeahead.Constructor=t,e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;t.preventDefault(),n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))},e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery); \ No newline at end of file diff --git a/docs/javascript/flatstrap/jquery.js b/docs/javascript/flatstrap/jquery.js new file mode 100644 index 00000000..3b8d15d0 --- /dev/null +++ b/docs/javascript/flatstrap/jquery.js @@ -0,0 +1,2 @@ +/*! jQuery v@1.8.1 jquery.com | jquery.org/license */ +(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bS[a]=c,c}function ci(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||ce.test(a)?d(a,e):ci(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ci(a+"["+e+"]",b[e],c,d);else d(a,b)}function cz(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.1",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return typeof a=="object"?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b
    a",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length||!d)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="
    t
    ",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="
    ",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||++p.uuid:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.length,e=c.shift(),f=p._queueHooks(a,b),g=function(){p.dequeue(a,b)};e==="inprogress"&&(e=c.shift(),d--),e&&(b==="fx"&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c-1)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c-1)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,""+d),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j=0),h[l]&&j.push(k);j.length&&t.push({elem:f,matches:j})}n.length>o&&t.push({elem:this,matches:n.slice(o)});for(d=0;d0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function $(a,b,c,d){c=c||[],b=b||q;var e,f,g,j,k=b.nodeType;if(k!==1&&k!==9)return[];if(!a||typeof a!="string")return c;g=h(b);if(!g&&!d)if(e=L.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f||!f.parentNode)return c;if(f.id===j)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(j))&&i(b,f)&&f.id===j)return c.push(f),c}else{if(e[2])return u.apply(c,t.call(b.getElementsByTagName(a),0)),c;if((j=e[3])&&X&&b.getElementsByClassName)return u.apply(c,t.call(b.getElementsByClassName(j),0)),c}return bk(a,b,c,d,g)}function _(a){return function(b){var c=b.nodeName.toLowerCase();return c==="input"&&b.type===a}}function ba(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}}function bb(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}function bc(a,b,c,d){var e,g,h,i,j,k,l,m,n,p,r=!c&&b!==q,s=(r?"":"")+a.replace(H,"$1"),u=y[o][s];if(u)return d?0:t.call(u,0);j=a,k=[],m=0,n=f.preFilter,p=f.filter;while(j){if(!e||(g=I.exec(j)))g&&(j=j.slice(g[0].length),h.selector=l),k.push(h=[]),l="",r&&(j=" "+j);e=!1;if(g=J.exec(j))l+=g[0],j=j.slice(g[0].length),e=h.push({part:g.pop().replace(H," "),string:g[0],captures:g});for(i in p)(g=S[i].exec(j))&&(!n[i]||(g=n[i](g,b,c)))&&(l+=g[0],j=j.slice(g[0].length),e=h.push({part:i,string:g.shift(),captures:g}));if(!e)break}return l&&(h.selector=l),d?j.length:j?$.error(a):t.call(y(s,k),0)}function bd(a,b,e,f){var g=b.dir,h=s++;return a||(a=function(a){return a===e}),b.first?function(b){while(b=b[g])if(b.nodeType===1)return a(b)&&b}:f?function(b){while(b=b[g])if(b.nodeType===1&&a(b))return b}:function(b){var e,f=h+"."+c,i=f+"."+d;while(b=b[g])if(b.nodeType===1){if((e=b[o])===i)return b.sizset;if(typeof e=="string"&&e.indexOf(f)===0){if(b.sizset)return b}else{b[o]=i;if(a(b))return b.sizset=!0,b;b.sizset=!1}}}}function be(a,b){return a?function(c){var d=b(c);return d&&a(d===!0?c:d)}:b}function bf(a,b,c){var d,e,g=0;for(;d=a[g];g++)f.relative[d.part]?e=bd(e,f.relative[d.part],b,c):e=be(e,f.filter[d.part].apply(null,d.captures.concat(b,c)));return e}function bg(a){return function(b){var c,d=0;for(;c=a[d];d++)if(c(b))return!0;return!1}}function bh(a,b,c,d){var e=0,f=b.length;for(;e0?i(h,c,g):[]}function bj(a,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s=0,t=a.length,v=S.POS,w=new RegExp("^"+v.source+"(?!"+A+")","i"),x=function(){var a=1,c=arguments.length-2;for(;al){g+=k.slice(l,n.index),l=p,q=[c],J.test(g)&&(m&&(q=m),m=e);if(r=O.test(g))g=g.slice(0,-5).replace(J,"$&*"),l++;n.length>1&&n[0].replace(w,x),m=bi(g,n[1],n[2],q,m,r)}g=""}}o||(g+=k),o=!1}g?J.test(g)?bh(g,m||[c],d,e):$(g,c,d,e?e.concat(m):m):u.apply(d,m)}return t===1?d:$.uniqueSort(d)}function bk(a,b,e,g,h){a=a.replace(H,"$1");var i,k,l,m,n,o,p,q,r,s,v=bc(a,b,h),w=b.nodeType;if(S.POS.test(a))return bj(v,b,e,g);if(g)i=t.call(g,0);else if(v.length===1){if((o=t.call(v[0],0)).length>2&&(p=o[0]).part==="ID"&&w===9&&!h&&f.relative[o[1].part]){b=f.find.ID(p.captures[0].replace(R,""),b,h)[0];if(!b)return e;a=a.slice(o.shift().string.length)}r=(v=N.exec(o[0].string))&&!v.index&&b.parentNode||b,q="";for(n=o.length-1;n>=0;n--){p=o[n],s=p.part,q=p.string+q;if(f.relative[s])break;if(f.order.test(s)){i=f.find[s](p.captures[0].replace(R,""),r,h);if(i==null)continue;a=a.slice(0,a.length-q.length)+q.replace(S[s],""),a||u.apply(e,t.call(i,0));break}}}if(a){k=j(a,b,h),c=k.dirruns++,i==null&&(i=f.find.TAG("*",N.test(a)&&b.parentNode||b));for(n=0;m=i[n];n++)d=k.runs++,k(m)&&e.push(m)}return e}var c,d,e,f,g,h,i,j,k,l,m=!0,n="undefined",o=("sizcache"+Math.random()).replace(".",""),q=a.document,r=q.documentElement,s=0,t=[].slice,u=[].push,v=function(a,b){return a[o]=b||!0,a},w=function(){var a={},b=[];return v(function(c,d){return b.push(c)>f.cacheLength&&delete a[b.shift()],a[c]=d},a)},x=w(),y=w(),z=w(),A="[\\x20\\t\\r\\n\\f]",B="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",C=B.replace("w","w#"),D="([*^$|!~]?=)",E="\\["+A+"*("+B+")"+A+"*(?:"+D+A+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+C+")|)|)"+A+"*\\]",F=":("+B+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+E+")|[^:]|\\\\.)*|.*))\\)|)",G=":(nth|eq|gt|lt|first|last|even|odd)(?:\\(((?:-\\d)?\\d*)\\)|)(?=[^-]|$)",H=new RegExp("^"+A+"+|((?:^|[^\\\\])(?:\\\\.)*)"+A+"+$","g"),I=new RegExp("^"+A+"*,"+A+"*"),J=new RegExp("^"+A+"*([\\x20\\t\\r\\n\\f>+~])"+A+"*"),K=new RegExp(F),L=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,M=/^:not/,N=/[\x20\t\r\n\f]*[+~]/,O=/:not\($/,P=/h\d/i,Q=/input|select|textarea|button/i,R=/\\(?!\\)/g,S={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),NAME:new RegExp("^\\[name=['\"]?("+B+")['\"]?\\]"),TAG:new RegExp("^("+B.replace("w","w*")+")"),ATTR:new RegExp("^"+E),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+A+"*(even|odd|(([+-]|)(\\d*)n|)"+A+"*(?:([+-]|)"+A+"*(\\d+)|))"+A+"*\\)|)","i"),POS:new RegExp(G,"ig"),needsContext:new RegExp("^"+A+"*[>+~]|"+G,"i")},T=function(a){var b=q.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}},U=T(function(a){return a.appendChild(q.createComment("")),!a.getElementsByTagName("*").length}),V=T(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!==n&&a.firstChild.getAttribute("href")==="#"}),W=T(function(a){a.innerHTML="";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),X=T(function(a){return a.innerHTML="",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)}),Y=T(function(a){a.id=o+0,a.innerHTML="
    ",r.insertBefore(a,r.firstChild);var b=q.getElementsByName&&q.getElementsByName(o).length===2+q.getElementsByName(o+0).length;return e=!q.getElementById(o),r.removeChild(a),b});try{t.call(r.childNodes,0)[0].nodeType}catch(Z){t=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}$.matches=function(a,b){return $(a,null,null,b)},$.matchesSelector=function(a,b){return $(b,null,null,[a]).length>0},g=$.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=g(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=g(b);return c},h=$.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},i=$.contains=r.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:r.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},$.attr=function(a,b){var c,d=h(a);return d||(b=b.toLowerCase()),f.attrHandle[b]?f.attrHandle[b](a):W||d?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},f=$.selectors={cacheLength:50,createPseudo:v,match:S,order:new RegExp("ID|TAG"+(Y?"|NAME":"")+(X?"|CLASS":"")),attrHandle:V?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},find:{ID:e?function(a,b,c){if(typeof b.getElementById!==n&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==n&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==n&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:U?function(a,b){if(typeof b.getElementsByTagName!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c},NAME:function(a,b){if(typeof b.getElementsByName!==n)return b.getElementsByName(name)},CLASS:function(a,b,c){if(typeof b.getElementsByClassName!==n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(R,""),a[3]=(a[4]||a[5]||"").replace(R,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||$.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&$.error(a[0]),a},PSEUDO:function(a,b,c){var d,e;if(S.CHILD.test(a[0]))return null;if(a[3])a[2]=a[3];else if(d=a[4])K.test(d)&&(e=bc(d,b,c,!0))&&(e=d.indexOf(")",d.length-e)-d.length)&&(d=d.slice(0,e),a[0]=a[0].slice(0,e)),a[2]=d;return a.slice(0,3)}},filter:{ID:e?function(a){return a=a.replace(R,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(R,""),function(b){var c=typeof b.getAttributeNode!==n&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(R,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=x[o][a];return b||(b=x(a,new RegExp("(^|"+A+")"+a+"("+A+"|$)"))),function(a){return b.test(a.className||typeof a.getAttribute!==n&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return b?function(d){var e=$.attr(d,a),f=e+"";if(e==null)return b==="!=";switch(b){case"=":return f===c;case"!=":return f!==c;case"^=":return c&&f.indexOf(c)===0;case"*=":return c&&f.indexOf(c)>-1;case"$=":return c&&f.substr(f.length-c.length)===c;case"~=":return(" "+f+" ").indexOf(c)>-1;case"|=":return f===c||f.substr(0,c.length+1)===c+"-"}}:function(b){return $.attr(b,a)!=null}},CHILD:function(a,b,c,d){if(a==="nth"){var e=s++;return function(a){var b,f,g=0,h=a;if(c===1&&d===0)return!0;b=a.parentNode;if(b&&(b[o]!==e||!a.sizset)){for(h=b.firstChild;h;h=h.nextSibling)if(h.nodeType===1){h.sizset=++g;if(h===a)break}b[o]=e}return f=a.sizset-d,c===0?f===0:f%c===0&&f/c>=0}}return function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b,c,d){var e,g=f.pseudos[a]||f.pseudos[a.toLowerCase()];return g||$.error("unsupported pseudo: "+a),g[o]?g(b,c,d):g.length>1?(e=[a,a,"",b],function(a){return g(a,0,e)}):g}},pseudos:{not:v(function(a,b,c){var d=j(a.replace(H,"$1"),b,c);return function(a){return!d(a)}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!f.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},contains:v(function(a){return function(b){return(b.textContent||b.innerText||g(b)).indexOf(a)>-1}}),has:v(function(a){return function(b){return $(a,b).length>0}}),header:function(a){return P.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:_("radio"),checkbox:_("checkbox"),file:_("file"),password:_("password"),image:_("image"),submit:ba("submit"),reset:ba("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return Q.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b,c){return c?a.slice(1):[a[0]]},last:function(a,b,c){var d=a.pop();return c?a:[d]},even:function(a,b,c){var d=[],e=c?1:0,f=a.length;for(;e",a.querySelectorAll("[selected]").length||e.push("\\["+A+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),T(function(a){a.innerHTML="

    ",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+A+"*(?:\"\"|'')"),a.innerHTML="",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=e.length&&new RegExp(e.join("|")),bk=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a)))if(d.nodeType===9)try{return u.apply(f,t.call(d.querySelectorAll(a),0)),f}catch(i){}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var j,k,l,m=d.getAttribute("id"),n=m||o,p=N.test(a)&&d.parentNode||d;m?n=n.replace(c,"\\$&"):d.setAttribute("id",n),j=bc(a,d,h),n="[id='"+n+"']";for(k=0,l=j.length;k0})}(),f.setFilters.nth=f.setFilters.eq,f.filters=f.pseudos,$.attr=p.attr,p.find=$,p.expr=$.selectors,p.expr[":"]=p.expr.pseudos,p.unique=$.uniqueSort,p.text=$.getText,p.isXMLDoc=$.isXML,p.contains=$.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b0)for(e=d;e=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*\s*$/g,bz={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X
    ","
    "]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>");try{for(;d1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=b===e&&bA,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(f=0;(h=a[f])!=null;f++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{s=s||bk(b),l=b.createElement("div"),s.appendChild(l),h=h.replace(bo,"<$1>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]===""&&!m?l.childNodes:[];for(g=n.length-1;g>=0;--g)p.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l.parentNode.removeChild(l)}h.nodeType?t.push(h):p.merge(t,h)}l&&(h=l=s=null);if(!p.support.appendChecked)for(f=0;(h=t[f])!=null;f++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[f+1,0].concat(r)),f+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^(none|table(?!-c[ea]).+)/,bO=/^margin/,bP=new RegExp("^("+q+")(.*)$","i"),bQ=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bR=new RegExp("^([-+])=("+q+")","i"),bS={},bT={position:"absolute",visibility:"hidden",display:"block"},bU={letterSpacing:0,fontWeight:400},bV=["Top","Right","Bottom","Left"],bW=["Webkit","O","Moz","ms"],bX=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return b$(this,!0)},hide:function(){return b$(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bX.apply(this,arguments):this.each(function(){(c?a:bZ(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bY(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bY(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bU&&(f=bU[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(b,c){var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;return h&&(d=h[c],d===""&&!p.contains(b.ownerDocument,b)&&(d=p.style(b,c)),bQ.test(d)&&bO.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bQ.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth===0&&bN.test(bH(a,"display"))?p.swap(a,bT,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?ca(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bV[d]+b]=e[d]||e[d-2]||e[0];return f}},bO.test(a)||(p.cssHooks[a+b].set=b_)});var cd=/%20/g,ce=/\[\]$/,cf=/\r?\n/g,cg=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ch=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ch.test(this.nodeName)||cg.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(cf,"\r\n")}}):{name:b.name,value:c.replace(cf,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ci(d,a[d],c,f);return e.join("&").replace(cd,"+")};var cj,ck,cl=/#.*$/,cm=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,cp=/^\/\//,cq=/\?/,cr=/)<[^<]*)*<\/script>/gi,cs=/([?&])_=[^&]*/,ct=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cu=p.fn.load,cv={},cw={},cx=["*/"]+["*"];try{cj=f.href}catch(cy){cj=e.createElement("a"),cj.href="",cj=cj.href}ck=ct.exec(cj.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&cu)return cu.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):c&&typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("
    ").append(a.replace(cr,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cB(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cB(a,b),a},ajaxSettings:{url:cj,isLocal:cn.test(ck[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cx},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cz(cv),ajaxTransport:cz(cw),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cC(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cD(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=""+(c||y),k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(cl,"").replace(cp,ck[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=ct.exec(l.url.toLowerCase()),l.crossDomain=!(!i||i[1]==ck[1]&&i[2]==ck[2]&&(i[3]||(i[1]==="http:"?80:443))==(ck[3]||(ck[1]==="http:"?80:443)))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cA(cv,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!co.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cq.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cs,"$1_="+z);l.url=A+(A===l.url?(cq.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cx+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cA(cw,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cE=[],cF=/\?/,cG=/(=)\?(?=&|$)|\?\?/,cH=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cE.pop()||p.expando+"_"+cH++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cG.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cG.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cG,"$1"+f):m?c.data=i.replace(cG,"$1"+f):k&&(c.url+=(cF.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cE.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cI,cJ=a.ActiveXObject?function(){for(var a in cI)cI[a](0,1)}:!1,cK=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cL()||cM()}:cL,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cJ&&delete cI[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cK,cJ&&(cI||(cI={},p(a).unload(cJ)),cI[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cN,cO,cP=/^(?:toggle|show|hide)$/,cQ=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cR=/queueHooks$/,cS=[cY],cT={"*":[function(a,b){var c,d,e,f=this.createTween(a,b),g=cQ.exec(b),h=f.cur(),i=+h||0,j=1;if(g){c=+g[2],d=g[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&i){i=p.css(f.elem,a,!0)||c||1;do e=j=j||".5",i=i/j,p.style(f.elem,a,i+d),j=f.cur()/h;while(j!==1&&j!==e)}f.unit=d,f.start=i,f.end=g[1]?i+(g[1]+1)*c:c}return f}]};p.Animation=p.extend(cW,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c_.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c_.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=da(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); \ No newline at end of file diff --git a/docs/news/index.html b/docs/news/index.html new file mode 100644 index 00000000..19056fed --- /dev/null +++ b/docs/news/index.html @@ -0,0 +1,9 @@ +--- +title: News +section: news +--- + +{% assign page = site.categories.news.first %} +{% assign content = site.categories.news.first.content %} +{% include news.html %} + diff --git a/docs/robots.txt b/docs/robots.txt new file mode 100644 index 00000000..297e0709 --- /dev/null +++ b/docs/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Allow: / + diff --git a/docs/stylesheets/flatstrap.css b/docs/stylesheets/flatstrap.css new file mode 100644 index 00000000..b2b34f5d --- /dev/null +++ b/docs/stylesheets/flatstrap.css @@ -0,0 +1,10 @@ +/*! + * Bootstrap v2.2.2 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ + article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img,.google-maps img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"]{cursor:pointer}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}@media print{*{ text-shadow:none!important;color:#000!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.img-circle{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:"";line-height:0}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:"";line-height:0}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574468085%;*margin-left:2.074468085106383%}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.127659574468085%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%}.row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%}.row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%}.row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%}.row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%}.row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%}.row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%}.row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%}.row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%}.row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%}.row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%}.row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%}.row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%}.row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%}.row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%}.row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%}.row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%}.row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%}.row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%}.row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%}.row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%}.row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%}.row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%}.row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%}.row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%}.row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%}.row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%}[class*="span"].hide,.row-fluid [class*="span"].hide{display:none}[class*="span"].pull-right,.row-fluid [class*="span"].pull-right{float:right}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;content:"";line-height:0}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;content:"";line-height:0}.container-fluid:after{clear:both}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px}small{font-size:85%}strong{font-weight:700}em{font-style:italic}cite{font-style:normal}.muted{color:#999}a.muted:hover{color:#808080}.text-warning{color:#c09853}a.text-warning:hover{color:#a47e3c}.text-error{color:#b94a48}a.text-error:hover{color:#953b39}.text-info{color:#3a87ad}a.text-info:hover{color:#2d6987}.text-success{color:#468847}a.text-success:hover{color:#356635}h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:700;line-height:20px;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:400;line-height:1;color:#999}h1,h2,h3{line-height:40px}h1{font-size:38.5px}h2{font-size:31.5px}h3{font-size:24.5px}h4{font-size:17.5px}h5{font-size:14px}h6{font-size:11.9px}h1 small{font-size:24.5px}h2 small{font-size:17.5px}h3 small{font-size:14px}h4 small{font-size:14px}.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eee}ul,ol{padding:0;margin:0 0 10px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}li{line-height:20px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}ul.inline,ol.inline{margin-left:0;list-style:none}ul.inline>li,ol.inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-bottom:20px}dt,dd{line-height:20px}dt{font-weight:700}dd{margin-left:10px}.dl-horizontal{*zoom:1}.dl-horizontal:before,.dl-horizontal:after{display:table;content:"";line-height:0}.dl-horizontal:after{clear:both}.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:25px}blockquote small{display:block;line-height:20px;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:20px}code,pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;color:#333;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;white-space:nowrap}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}pre.prettyprint{margin-bottom:20px}pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 20px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #e5e5e5}legend small{font-size:15px;color:#999}label,input,button,select,textarea{font-size:14px;font-weight:400;line-height:20px}input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px}select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:10px;font-size:14px;line-height:20px;color:#555;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;vertical-align:middle}input,textarea,.uneditable-input{width:206px}textarea{height:auto}textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82,168,236,.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;*margin-top:0;margin-top:1px \9;line-height:normal}input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto}select,input[type="file"]{height:30px;*margin-top:4px;line-height:30px}select{width:220px;border:1px solid #ccc;background-color:#fff}select[multiple],select[size]{height:auto}select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.uneditable-input,.uneditable-textarea{color:#999;background-color:#fcfcfc;border-color:#ccc;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;cursor:not-allowed}.uneditable-input{overflow:hidden;white-space:nowrap}.uneditable-textarea{width:auto;height:auto}input:-moz-placeholder,textarea:-moz-placeholder{color:#999}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.radio,.checkbox{min-height:20px;padding-left:20px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-20px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}.input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:926px}input.span11,textarea.span11,.uneditable-input.span11{width:846px}input.span10,textarea.span10,.uneditable-input.span10{width:766px}input.span9,textarea.span9,.uneditable-input.span9{width:686px}input.span8,textarea.span8,.uneditable-input.span8{width:606px}input.span7,textarea.span7,.uneditable-input.span7{width:526px}input.span6,textarea.span6,.uneditable-input.span6{width:446px}input.span5,textarea.span5,.uneditable-input.span5{width:366px}input.span4,textarea.span4,.uneditable-input.span4{width:286px}input.span3,textarea.span3,.uneditable-input.span3{width:206px}input.span2,textarea.span2,.uneditable-input.span2{width:126px}input.span1,textarea.span1,.uneditable-input.span1{width:46px}.controls-row{*zoom:1}.controls-row:before,.controls-row:after{display:table;content:"";line-height:0}.controls-row:after{clear:both}.controls-row [class*="span"],.row-fluid .controls-row [class*="span"]{float:left}.controls-row .checkbox[class*="span"],.controls-row .radio[class*="span"]{padding-top:5px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eee}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning .control-label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{border-color:#c09853;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error .control-label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48}.control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48}.control-group.error input,.control-group.error select,.control-group.error textarea{border-color:#b94a48;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.control-group.success .control-label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{border-color:#468847;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}.control-group.info .control-label,.control-group.info .help-block,.control-group.info .help-inline{color:#3a87ad}.control-group.info .checkbox,.control-group.info .radio,.control-group.info input,.control-group.info select,.control-group.info textarea{color:#3a87ad}.control-group.info input,.control-group.info select,.control-group.info textarea{border-color:#3a87ad;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.control-group.info input:focus,.control-group.info select:focus,.control-group.info textarea:focus{border-color:#2d6987;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.control-group.info .input-prepend .add-on,.control-group.info .input-append .add-on{color:#3a87ad;background-color:#d9edf7;border-color:#3a87ad}input:focus:invalid,textarea:focus:invalid,select:focus:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:invalid:focus,textarea:focus:invalid:focus,select:focus:invalid:focus{border-color:#e9322d;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1}.form-actions:before,.form-actions:after{display:table;content:"";line-height:0}.form-actions:after{clear:both}.help-block,.help-inline{color:#595959}.help-block{display:block;margin-bottom:10px}.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px}.input-append,.input-prepend{margin-bottom:5px;font-size:0;white-space:nowrap}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input,.input-append .dropdown-menu,.input-prepend .dropdown-menu{font-size:14px}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append input:focus,.input-prepend input:focus,.input-append select:focus,.input-prepend select:focus,.input-append .uneditable-input:focus,.input-prepend .uneditable-input:focus{z-index:2}.input-append .add-on,.input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:400;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc}.input-append .add-on,.input-prepend .add-on,.input-append .btn,.input-prepend .btn,.input-append .btn-group>.dropdown-toggle,.input-prepend .btn-group>.dropdown-toggle{vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append .active,.input-prepend .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append input+.btn-group .btn:last-child,.input-append select+.btn-group .btn:last-child,.input-append .uneditable-input+.btn-group .btn:last-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append .add-on,.input-append .btn,.input-append .btn-group{margin-left:-1px}.input-append .add-on:last-child,.input-append .btn:last-child,.input-append .btn-group:last-child>.dropdown-toggle{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append input+.btn-group .btn,.input-prepend.input-append select+.btn-group .btn,.input-prepend.input-append .uneditable-input+.btn-group .btn{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .btn-group:first-child{margin-left:0}input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-append .search-query,.form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-append .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-append .btn{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-prepend .btn{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0;vertical-align:middle}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label,.form-search .btn-group,.form-inline .btn-group{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:10px}legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:20px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";line-height:0}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:160px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:180px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:180px}.form-horizontal .help-block{margin-bottom:0}.form-horizontal input+.help-block,.form-horizontal select+.help-block,.form-horizontal textarea+.help-block,.form-horizontal .uneditable-input+.help-block,.form-horizontal .input-prepend+.help-block,.form-horizontal .input-append+.help-block{margin-top:10px}.form-horizontal .form-actions{padding-left:180px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:20px}.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd}.table th{font-weight:700}.table thead th{vertical-align:bottom}.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;border-left:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.table-bordered th,.table-bordered td{border-left:1px solid #ddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child>th:first-child,.table-bordered tbody:first-child tr:first-child>td:first-child{-webkit-border-top-left-radius:0;-moz-border-radius-topleft:0;border-top-left-radius:0}.table-bordered thead:first-child tr:first-child>th:last-child,.table-bordered tbody:first-child tr:first-child>td:last-child{-webkit-border-top-right-radius:0;-moz-border-radius-topright:0;border-top-right-radius:0}.table-bordered thead:last-child tr:last-child>th:first-child,.table-bordered tbody:last-child tr:last-child>td:first-child,.table-bordered tfoot:last-child tr:last-child>td:first-child{-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0}.table-bordered thead:last-child tr:last-child>th:last-child,.table-bordered tbody:last-child tr:last-child>td:last-child,.table-bordered tfoot:last-child tr:last-child>td:last-child{-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0}.table-bordered tfoot+tbody:last-child tr:last-child td:first-child{-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0}.table-bordered tfoot+tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0}.table-bordered caption+thead tr:first-child th:first-child,.table-bordered caption+tbody tr:first-child td:first-child,.table-bordered colgroup+thead tr:first-child th:first-child,.table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:0;-moz-border-radius-topleft:0;border-top-left-radius:0}.table-bordered caption+thead tr:first-child th:last-child,.table-bordered caption+tbody tr:first-child td:last-child,.table-bordered colgroup+thead tr:first-child th:last-child,.table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:0;-moz-border-radius-topright:0;border-top-right-radius:0}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover tbody tr:hover td,.table-hover tbody tr:hover th{background-color:#f5f5f5}table td[class*="span"],table th[class*="span"],.row-fluid table td[class*="span"],.row-fluid table th[class*="span"]{display:table-cell;float:none;margin-left:0}.table td.span1,.table th.span1{float:none;width:44px;margin-left:0}.table td.span2,.table th.span2{float:none;width:124px;margin-left:0}.table td.span3,.table th.span3{float:none;width:204px;margin-left:0}.table td.span4,.table th.span4{float:none;width:284px;margin-left:0}.table td.span5,.table th.span5{float:none;width:364px;margin-left:0}.table td.span6,.table th.span6{float:none;width:444px;margin-left:0}.table td.span7,.table th.span7{float:none;width:524px;margin-left:0}.table td.span8,.table th.span8{float:none;width:604px;margin-left:0}.table td.span9,.table th.span9{float:none;width:684px;margin-left:0}.table td.span10,.table th.span10{float:none;width:764px;margin-left:0}.table td.span11,.table th.span11{float:none;width:844px;margin-left:0}.table td.span12,.table th.span12{float:none;width:924px;margin-left:0}.table tbody tr.success td{background-color:#dff0d8}.table tbody tr.error td{background-color:#f2dede}.table tbody tr.warning td{background-color:#fcf8e3}.table tbody tr.info td{background-color:#d9edf7}.table-hover tbody tr.success:hover td{background-color:#d0e9c6}.table-hover tbody tr.error:hover td{background-color:#ebcccc}.table-hover tbody tr.warning:hover td{background-color:#faf2cc}.table-hover tbody tr.info:hover td{background-color:#c4e3f3}[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat;margin-top:1px}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png")}.icon-glass{background-position:0 0}.icon-music{background-position:-24px 0}.icon-search{background-position:-48px 0}.icon-envelope{background-position:-72px 0}.icon-heart{background-position:-96px 0}.icon-star{background-position:-120px 0}.icon-star-empty{background-position:-144px 0}.icon-user{background-position:-168px 0}.icon-film{background-position:-192px 0}.icon-th-large{background-position:-216px 0}.icon-th{background-position:-240px 0}.icon-th-list{background-position:-264px 0}.icon-ok{background-position:-288px 0}.icon-remove{background-position:-312px 0}.icon-zoom-in{background-position:-336px 0}.icon-zoom-out{background-position:-360px 0}.icon-off{background-position:-384px 0}.icon-signal{background-position:-408px 0}.icon-cog{background-position:-432px 0}.icon-trash{background-position:-456px 0}.icon-home{background-position:0 -24px}.icon-file{background-position:-24px -24px}.icon-time{background-position:-48px -24px}.icon-road{background-position:-72px -24px}.icon-download-alt{background-position:-96px -24px}.icon-download{background-position:-120px -24px}.icon-upload{background-position:-144px -24px}.icon-inbox{background-position:-168px -24px}.icon-play-circle{background-position:-192px -24px}.icon-repeat{background-position:-216px -24px}.icon-refresh{background-position:-240px -24px}.icon-list-alt{background-position:-264px -24px}.icon-lock{background-position:-287px -24px}.icon-flag{background-position:-312px -24px}.icon-headphones{background-position:-336px -24px}.icon-volume-off{background-position:-360px -24px}.icon-volume-down{background-position:-384px -24px}.icon-volume-up{background-position:-408px -24px}.icon-qrcode{background-position:-432px -24px}.icon-barcode{background-position:-456px -24px}.icon-tag{background-position:0 -48px}.icon-tags{background-position:-25px -48px}.icon-book{background-position:-48px -48px}.icon-bookmark{background-position:-72px -48px}.icon-print{background-position:-96px -48px}.icon-camera{background-position:-120px -48px}.icon-font{background-position:-144px -48px}.icon-bold{background-position:-167px -48px}.icon-italic{background-position:-192px -48px}.icon-text-height{background-position:-216px -48px}.icon-text-width{background-position:-240px -48px}.icon-align-left{background-position:-264px -48px}.icon-align-center{background-position:-288px -48px}.icon-align-right{background-position:-312px -48px}.icon-align-justify{background-position:-336px -48px}.icon-list{background-position:-360px -48px}.icon-indent-left{background-position:-384px -48px}.icon-indent-right{background-position:-408px -48px}.icon-facetime-video{background-position:-432px -48px}.icon-picture{background-position:-456px -48px}.icon-pencil{background-position:0 -72px}.icon-map-marker{background-position:-24px -72px}.icon-adjust{background-position:-48px -72px}.icon-tint{background-position:-72px -72px}.icon-edit{background-position:-96px -72px}.icon-share{background-position:-120px -72px}.icon-check{background-position:-144px -72px}.icon-move{background-position:-168px -72px}.icon-step-backward{background-position:-192px -72px}.icon-fast-backward{background-position:-216px -72px}.icon-backward{background-position:-240px -72px}.icon-play{background-position:-264px -72px}.icon-pause{background-position:-288px -72px}.icon-stop{background-position:-312px -72px}.icon-forward{background-position:-336px -72px}.icon-fast-forward{background-position:-360px -72px}.icon-step-forward{background-position:-384px -72px}.icon-eject{background-position:-408px -72px}.icon-chevron-left{background-position:-432px -72px}.icon-chevron-right{background-position:-456px -72px}.icon-plus-sign{background-position:0 -96px}.icon-minus-sign{background-position:-24px -96px}.icon-remove-sign{background-position:-48px -96px}.icon-ok-sign{background-position:-72px -96px}.icon-question-sign{background-position:-96px -96px}.icon-info-sign{background-position:-120px -96px}.icon-screenshot{background-position:-144px -96px}.icon-remove-circle{background-position:-168px -96px}.icon-ok-circle{background-position:-192px -96px}.icon-ban-circle{background-position:-216px -96px}.icon-arrow-left{background-position:-240px -96px}.icon-arrow-right{background-position:-264px -96px}.icon-arrow-up{background-position:-289px -96px}.icon-arrow-down{background-position:-312px -96px}.icon-share-alt{background-position:-336px -96px}.icon-resize-full{background-position:-360px -96px}.icon-resize-small{background-position:-384px -96px}.icon-plus{background-position:-408px -96px}.icon-minus{background-position:-433px -96px}.icon-asterisk{background-position:-456px -96px}.icon-exclamation-sign{background-position:0 -120px}.icon-gift{background-position:-24px -120px}.icon-leaf{background-position:-48px -120px}.icon-fire{background-position:-72px -120px}.icon-eye-open{background-position:-96px -120px}.icon-eye-close{background-position:-120px -120px}.icon-warning-sign{background-position:-144px -120px}.icon-plane{background-position:-168px -120px}.icon-calendar{background-position:-192px -120px}.icon-random{background-position:-216px -120px;width:16px}.icon-comment{background-position:-240px -120px}.icon-magnet{background-position:-264px -120px}.icon-chevron-up{background-position:-288px -120px}.icon-chevron-down{background-position:-313px -119px}.icon-retweet{background-position:-336px -120px}.icon-shopping-cart{background-position:-360px -120px}.icon-folder-close{background-position:-384px -120px}.icon-folder-open{background-position:-408px -120px;width:16px}.icon-resize-vertical{background-position:-432px -119px}.icon-resize-horizontal{background-position:-456px -118px}.icon-hdd{background-position:0 -144px}.icon-bullhorn{background-position:-24px -144px}.icon-bell{background-position:-48px -144px}.icon-certificate{background-position:-72px -144px}.icon-thumbs-up{background-position:-96px -144px}.icon-thumbs-down{background-position:-120px -144px}.icon-hand-right{background-position:-144px -144px}.icon-hand-left{background-position:-168px -144px}.icon-hand-up{background-position:-192px -144px}.icon-hand-down{background-position:-216px -144px}.icon-circle-arrow-right{background-position:-240px -144px}.icon-circle-arrow-left{background-position:-264px -144px}.icon-circle-arrow-up{background-position:-288px -144px}.icon-circle-arrow-down{background-position:-312px -144px}.icon-globe{background-position:-336px -144px}.icon-wrench{background-position:-360px -144px}.icon-tasks{background-position:-384px -144px}.icon-filter{background-position:-408px -144px}.icon-briefcase{background-position:-432px -144px}.icon-fullscreen{background-position:-456px -144px}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.dropdown-menu li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:20px;color:#333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu li>a:focus,.dropdown-submenu:hover>a{text-decoration:none;color:#fff;background-color:#0081c2}.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:#0081c2}.dropdown-menu .disabled>a,.dropdown-menu .disabled>a:hover{color:#999}.dropdown-menu .disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:default}.open{*z-index:1000}.open>.dropdown-menu{display:block}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.dropdown-submenu{position:relative}.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropup .dropdown-submenu>.dropdown-menu{top:auto;bottom:0;margin-top:0;margin-bottom:-2px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#ccc;margin-top:5px;margin-right:-10px}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.dropdown .dropdown-menu .nav-header{padding-left:20px;padding-right:20px}.typeahead{z-index:1051;margin-top:2px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-large{padding:24px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.well-small{padding:9px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fade{opacity:0}.fade.in{opacity:1}.collapse{position:relative;height:0;overflow:hidden}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:700;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #bbb;*border:0;border-bottom-color:#a2a2a2;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;*margin-left:.3em;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333;text-decoration:none;background-position:0 -15px}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-large [class^="icon-"],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-small [class^="icon-"],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^="icon-"],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,.75)}.btn{border-color:#c5c5c5;border-color:rgba(0,0,0,.15) rgba(0,0,0,.15) rgba(0,0,0,.25)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;border-color:#04c #0044cc #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;border-color:#222 #222222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover{color:#333;text-decoration:none}.btn-group{position:relative;display:inline-block;*display:inline;*zoom:1;font-size:0;vertical-align:middle;white-space:nowrap;*margin-left:.3em}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{font-size:0;margin-top:10px;margin-bottom:10px}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group{margin-left:5px}.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn+.btn{margin-left:-1px}.btn-group>.btn,.btn-group>.dropdown-menu,.btn-group>.popover{font-size:14px}.btn-group>.btn-mini{font-size:10.5px}.btn-group>.btn-small{font-size:11.9px}.btn-group>.btn-large{font-size:17.5px}.btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:0;-moz-border-radius-topleft:0;border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:0;-moz-border-radius-topright:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:0;-moz-border-radius-topleft:0;border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:0;-moz-border-radius-topright:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;*padding-top:5px;*padding-bottom:5px}.btn-group>.btn-mini+.dropdown-toggle{padding-left:5px;padding-right:5px;*padding-top:2px;*padding-bottom:2px}.btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px}.btn-group>.btn-large+.dropdown-toggle{padding-left:12px;padding-right:12px;*padding-top:7px;*padding-bottom:7px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6}.btn-group.open .btn-primary.dropdown-toggle{background-color:#04c}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222}.btn .caret{margin-top:8px;margin-left:0}.btn-mini .caret,.btn-small .caret,.btn-large .caret{margin-top:6px}.btn-large .caret{border-left-width:5px;border-right-width:5px;border-top-width:5px}.dropup .btn-large .caret{border-bottom-width:5px}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff}.btn-group-vertical{display:inline-block;*display:inline;*zoom:1}.btn-group-vertical>.btn{display:block;float:none;max-width:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical>.btn+.btn{margin-left:0;margin-top:-1px}.btn-group-vertical>.btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical>.btn:last-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical>.btn-large:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical>.btn-large:last-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.alert{padding:8px 35px 8px 14px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255,255,255,.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.alert,.alert h4{color:#c09853}.alert h4{margin:0}.alert .close{position:relative;top:-2px;right:-21px;line-height:20px}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.alert-success h4{color:#468847}.alert-danger,.alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48}.alert-danger h4,.alert-error h4{color:#b94a48}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad}.alert-info h4{color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-left:0;margin-bottom:20px;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li>a>img{max-width:none}.nav>.pull-right{float:right}.nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:700;line-height:20px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255,255,255,.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.2);background-color:#08c}.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:"";line-height:0}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs>li>a:hover{border-color:#eee #eeeeee #ddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#fff;background-color:#08c}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-pills .dropdown-menu{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav .dropdown-toggle .caret{border-top-color:#08c;border-bottom-color:#08c;margin-top:6px}.nav .dropdown-toggle:hover .caret{border-top-color:#005580;border-bottom-color:#005580}.nav-tabs .dropdown-toggle .caret{margin-top:8px}.nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.nav-tabs .active .dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.nav>.dropdown.active>a:hover{cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#fff;background-color:#999;border-color:#999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;content:"";line-height:0}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.tabs-below>.nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.tabs-left>.nav-tabs>li>a:hover{border-color:#eee #dddddd #eee #eeeeee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eee #eeeeee #eee #dddddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff}.nav>.disabled>a{color:#999}.nav>.disabled>a:hover{text-decoration:none;background-color:transparent;cursor:default}.navbar{overflow:visible;margin-bottom:20px;*position:relative;*z-index:2}.navbar-inner{min-height:40px;padding-left:20px;padding-right:20px;background-color:#fafafa;border:1px solid #d4d4d4;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;*zoom:1}.navbar-inner:before,.navbar-inner:after{display:table;content:"";line-height:0}.navbar-inner:after{clear:both}.navbar .container{width:auto}.nav-collapse.collapse{height:auto;overflow:visible}.navbar .brand{float:left;display:block;padding:10px 20px 10px;margin-left:-20px;font-size:20px;font-weight:200;color:#777;text-shadow:0 1px 0 #fff}.navbar .brand:hover{text-decoration:none}.navbar-text{margin-bottom:0;line-height:40px;color:#777}.navbar-link{color:#777}.navbar-link:hover{color:#333}.navbar .divider-vertical{height:40px;margin:0 9px;border-left:1px solid #f2f2f2;border-right:1px solid #fff}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn,.navbar .input-prepend .btn,.navbar .input-append .btn{margin-top:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;content:"";line-height:0}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select,.navbar-form .btn{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:5px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:5px;margin-bottom:0}.navbar-search .search-query{margin-bottom:0;padding:4px 14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:400;line-height:1;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-static-top{position:static;margin-bottom:0}.navbar-static-top .navbar-inner{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{border-width:0 0 1px}.navbar-fixed-bottom .navbar-inner{border-width:1px 0 0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.navbar-fixed-bottom{bottom:0}.navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right;margin-right:0}.navbar .nav>li{float:left}.navbar .nav>li>a{float:none;padding:10px 15px 10px;color:#777;text-decoration:none;text-shadow:0 1px 0 #fff}.navbar .nav .dropdown-toggle .caret{margin-top:8px}.navbar .nav>li>a:focus,.navbar .nav>li>a:hover{background-color:transparent;color:#333;text-decoration:none}.navbar .nav>.active>a,.navbar .nav>.active>a:hover,.navbar .nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#ededed;border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e5e5e5;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{color:#fff;background-color:#e5e5e5;*background-color:#d9d9d9}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#ccc \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .nav>li>.dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.navbar .nav>li>.dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:10px}.navbar-fixed-bottom .nav>li>.dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0,0,0,.2);border-bottom:0;bottom:-7px;top:auto}.navbar-fixed-bottom .nav>li>.dropdown-menu:after{border-top:6px solid #fff;border-bottom:0;bottom:-6px;top:auto}.navbar .nav li.dropdown>a:hover .caret{border-top-color:#555;border-bottom-color:#555}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:#e5e5e5;color:#555}.navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#777;border-bottom-color:#777}.navbar .nav li.dropdown.open>.dropdown-toggle .caret,.navbar .nav li.dropdown.active>.dropdown-toggle .caret,.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.navbar .pull-right>li>.dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right{left:auto;right:0}.navbar .pull-right>li>.dropdown-menu:before,.navbar .nav>li>.dropdown-menu.pull-right:before{left:auto;right:12px}.navbar .pull-right>li>.dropdown-menu:after,.navbar .nav>li>.dropdown-menu.pull-right:after{left:auto;right:13px}.navbar .pull-right>li>.dropdown-menu .dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{left:auto;right:100%;margin-left:0;margin-right:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-inverse .navbar-inner{background-color:#1b1b1b;border-color:#252525}.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#999;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-inverse .brand:hover,.navbar-inverse .nav>li>a:hover{color:#fff}.navbar-inverse .brand{color:#999}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{background-color:transparent;color:#fff}.navbar-inverse .nav .active>a,.navbar-inverse .nav .active>a:hover,.navbar-inverse .nav .active>a:focus{color:#fff;background-color:#111}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .divider-vertical{border-left-color:#111;border-right-color:#222}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{background-color:#111;color:#fff}.navbar-inverse .nav li.dropdown>a:hover .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-search .search-query{color:#fff;background-color:#515151;border-color:#111;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:focus,.navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:0}.navbar-inverse .btn-navbar{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#0e0e0e;border-color:#040404 #040404 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#040404;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.navbar-inverse .btn-navbar:hover,.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active,.navbar-inverse .btn-navbar.disabled,.navbar-inverse .btn-navbar[disabled]{color:#fff;background-color:#040404;*background-color:#000}.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active{background-color:#000 \9}.breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.breadcrumb>li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #fff}.breadcrumb>li>.divider{padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{margin:20px 0}.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.pagination ul>li{display:inline}.pagination ul>li>a,.pagination ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;background-color:#fff;border:1px solid #ddd;border-left-width:0}.pagination ul>li>a:hover,.pagination ul>.active>a,.pagination ul>.active>span{background-color:#f5f5f5}.pagination ul>.active>a,.pagination ul>.active>span{color:#999;cursor:default}.pagination ul>.disabled>span,.pagination ul>.disabled>a,.pagination ul>.disabled>a:hover{color:#999;background-color:transparent;cursor:default}.pagination ul>li:first-child>a,.pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-top-left-radius:0;-moz-border-radius-topleft:0;border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0}.pagination ul>li:last-child>a,.pagination ul>li:last-child>span{-webkit-border-top-right-radius:0;-moz-border-radius-topright:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pagination-large ul>li>a,.pagination-large ul>li>span{padding:11px 19px;font-size:17.5px}.pagination-large ul>li:first-child>a,.pagination-large ul>li:first-child>span{-webkit-border-top-left-radius:0;-moz-border-radius-topleft:0;border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0}.pagination-large ul>li:last-child>a,.pagination-large ul>li:last-child>span{-webkit-border-top-right-radius:0;-moz-border-radius-topright:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0}.pagination-mini ul>li:first-child>a,.pagination-small ul>li:first-child>a,.pagination-mini ul>li:first-child>span,.pagination-small ul>li:first-child>span{-webkit-border-top-left-radius:0;-moz-border-radius-topleft:0;border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0}.pagination-mini ul>li:last-child>a,.pagination-small ul>li:last-child>a,.pagination-mini ul>li:last-child>span,.pagination-small ul>li:last-child>span{-webkit-border-top-right-radius:0;-moz-border-radius-topright:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0}.pagination-small ul>li>a,.pagination-small ul>li>span{padding:2px 10px;font-size:11.9px}.pagination-mini ul>li>a,.pagination-mini ul>li>span{padding:0 6px;font-size:10.5px}.pager{margin:20px 0;list-style:none;text-align:center;*zoom:1}.pager:before,.pager:after{display:table;content:"";line-height:0}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.pager li>a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>span{color:#999;background-color:#fff;cursor:default}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}.modal{position:fixed;top:10%;left:50%;z-index:1050;width:560px;margin-left:-280px;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.3);*border:1px solid #999;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;outline:0}.modal.fade{top:-25%}.modal.fade.in{top:10%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-header h3{margin:0;line-height:30px}.modal-body{position:relative;overflow-y:auto;max-height:400px;padding:15px}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;*zoom:1}.modal-footer:before,.modal-footer:after{display:table;content:"";line-height:0}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.tooltip{position:absolute;z-index:1030;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-3px}.tooltip.right{margin-left:3px}.tooltip.bottom{margin-top:3px}.tooltip.left{margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;width:236px;padding:1px;text-align:left;background-color:#fff;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;white-space:normal}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right .arrow:after{left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left .arrow:after{right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;content:"";line-height:0}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:20px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}a.thumbnail:hover{border-color:#08c;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:9px;color:#555}.media,.media-body{overflow:hidden;*overflow:visible;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media .pull-left{margin-right:10px}.media .pull-right{margin-left:10px}.media-list{margin-left:0;list-style:none}.label,.badge{display:inline-block;padding:2px 4px;font-size:11.844px;font-weight:700;line-height:14px;color:#fff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#999}.label{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.badge{padding-left:9px;padding-right:9px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.label:empty,.badge:empty{display:none}a.label:hover,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b94a48}.label-important[href],.badge-important[href]{background-color:#953b39}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}.btn .label,.btn .badge{position:relative;top:-1px}.btn-mini .label,.btn-mini .badge{top:0}@-webkit-keyframes progress-bar-stripes{from{ background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{ background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{ background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{ background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{ background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f7f7f7;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.progress .bar{width:0;height:100%;color:#fff;float:left;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#0e90d2;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.progress .bar+.bar{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.progress-striped .bar{background-color:#149bdf;-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar,.progress .bar-danger{background-color:#dd514c}.progress-danger.progress-striped .bar,.progress-striped .bar-danger{background-color:#ee5f5b}.progress-success .bar,.progress .bar-success{background-color:#5eb95e}.progress-success.progress-striped .bar,.progress-striped .bar-success{background-color:#62c462}.progress-info .bar,.progress .bar-info{background-color:#4bb1cf}.progress-info.progress-striped .bar,.progress-striped .bar-info{background-color:#5bc0de}.progress-warning .bar,.progress .bar-warning{background-color:#faa732}.progress-warning.progress-striped .bar,.progress-striped .bar-warning{background-color:#fbb450}.accordion{margin-bottom:20px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:20px;line-height:1}.carousel-inner{overflow:hidden;width:100%;position:relative}.carousel-inner>.item{display:none;position:relative}.carousel-inner>.item>img{display:block;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;opacity:.5;filter:alpha(opacity=50)}.carousel-control.right{left:auto;right:15px}.carousel-control:hover{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:15px;background:#333;background:rgba(0,0,0,.75)}.carousel-caption h4,.carousel-caption p{color:#fff;line-height:20px}.carousel-caption h4{margin:0 0 5px}.carousel-caption p{margin-bottom:0}.hero-unit{padding:60px;margin-bottom:30px;font-size:18px;font-weight:200;line-height:30px;color:inherit;background-color:#eee;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px}.hero-unit li{line-height:30px}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}.affix{position:fixed} \ No newline at end of file diff --git a/docs/stylesheets/ppl.scss b/docs/stylesheets/ppl.scss new file mode 100644 index 00000000..5b6a38b0 --- /dev/null +++ b/docs/stylesheets/ppl.scss @@ -0,0 +1,235 @@ +--- +--- + + +$base03 : #002b36; +$base02 : #073642; +$base01 : #586e75; +$base00 : #657b83; +$base0 : #839496; +$base1 : #93a1a1; +$base2 : #eee8d5; +$base3 : #fdf6e3; +$yellow : #b58900; +$orange : #cb4b16; +$red : #dc322f; +$magenta : #d33682; +$violet : #6c71c4; +$blue : #268bd2; +$cyan : #2aa198; +$green : #859900; + +$lightGrey: #FAFAFA; +$darkGrey: #F0F0F0; + +a:link, a:visited { + color: $blue; +} + +body { + background-color: $lightGrey; + color: $base01; +} + +div.content { + background-color: $lightGrey; +} + +code { + background-color: $base3; +} + +h2 { color: $base03; } +h3 { color: $orange; } + +pre { + background-color: $base03; + color: $base2; + display: block; +} + +.front-page { + h1.big-welcome, .little-welcome { + color: $base03; + } +} + +.btn { + &.btn-primary { + background-color: $blue; + color: $base2; + } +} + +.navbar { + .navbar-inner { + background-color: $darkGrey; + } + .brand { + color: $base03; + font-weight: bold; + text-shadow: none; + } +} + +.command-list { + h2 { + color: inherit; + } +} + +.navbar .nav > li > a { + color: $base02; +} + +.navbar .nav > .active > a, +.navbar .nav > .active > a:hover, +.navbar .nav > .active > a:focus { + background-color: $orange; + color: $base3; +} + +.nav-list { + background-color: $darkGrey; + border: 1px solid rgb(221, 221, 221); +} +.nav-list > li:hover > a { + background-color: inherit; + color: inherit; +} +.nav-list > li.active:hover > a, +.nav-list > li.active > a { + background-color: $orange; + color: $base3; +} + +footer.global { + color: $base1; + + a:link, a:visited { + color: $base0; + } +} + +.nav-sidebar { + dt.active, + dt.active a, + dd.active { + background-color: $orange; + color: $base3; + } +} + + +.front-page { + + .row.welcome { + margin-top: 32px; + } + + h1.big-welcome { + margin: 32px 0 0 0; + } + + .little-welcome { + margin: 16px 0 0 0; + } + + .row.what, + .row.latest { + margin-top: 32px; + } + +} + +h3 { + margin: 16px 0 8px 0; +} + +.navbar .nav > li > a { + padding: 12px 15px 12px; +} + +.content { + padding-top: 20px; + padding-bottom: 128px; +} + +footer.global { + border-top: 1px solid #D4D4D4; + padding: 16px 0; +} + +.nav-sidebar { + margin: 0; + dt { padding: 4px 4px 0px 4px; } + dd { padding: 0px 4px 4px 4px; } + dd { margin: 0 0 16px 0; } +} + +dl.version-history { + dd { + margin: 0 0 1em 0; + padding: 0; + } +} + + +body { + font-family: "Arvo", sans-serif; + font-size: 16px; + line-height: 24px; +} + +code { + font-family: "Inconsolata", monospace; + font-size: 16px; +} + +h1, h2, h3, h4, h5, h6 { + font-size: 1em; + font-weight: normal; +} + +h2 { + font-size: 22px; + font-weight: bold; + small { + font-size: 16px; + } +} + +h3 { + font-size: 18px; + font-weight: bold; +} + +.front-page { + h1.big-welcome { + font-size: 32px; + } + .little-welcome { + font-size: 18px; + } +} + +.command-list { + h2 { + font-size: 18px; + font-weight: normal; + } +} + +.navbar .nav > .active > a, +.navbar .nav > .active > a:hover, +.navbar .nav > .active > a:focus { + text-shadow: none; +} + +footer.global { + font-size: 12px; + a:link, a:visited { + text-decoration: underline; + } +} + diff --git a/docs/wiki.png b/docs/wiki.png new file mode 100644 index 00000000..11934496 Binary files /dev/null and b/docs/wiki.png differ