Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Building the new design #14

Merged
merged 1 commit into from
Jul 27, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Creating the new design and converting to jekyll
  • Loading branch information
jonrohan committed Jul 27, 2014
commit ec84116f4dc624a576717edd28ebde0a67a4abbb
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
bin/*
node_modules/*
_site/*
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages'
96 changes: 96 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
activesupport (4.1.4)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
blankslate (2.1.2.4)
classifier (1.3.4)
fast-stemmer (>= 1.0.0)
colorator (0.1)
commander (4.1.6)
highline (~> 1.6.11)
fast-stemmer (1.0.2)
ffi (1.9.3)
gemoji (1.5.0)
github-pages (20)
RedCloth (= 4.2.9)
jekyll (= 1.5.1)
jekyll-mentions (= 0.0.9)
jekyll-redirect-from (= 0.3.1)
jekyll-sitemap (= 0.3.0)
jemoji (= 0.1.0)
kramdown (= 1.3.1)
liquid (= 2.5.5)
maruku (= 0.7.0)
rdiscount (= 2.1.7)
redcarpet (= 2.3.0)
highline (1.6.21)
html-pipeline (1.5.0)
activesupport (>= 2)
nokogiri (~> 1.4)
i18n (0.6.11)
jekyll (1.5.1)
classifier (~> 1.3)
colorator (~> 0.1)
commander (~> 4.1.3)
liquid (~> 2.5.5)
listen (~> 1.3)
maruku (= 0.7.0)
pygments.rb (~> 0.5.0)
redcarpet (~> 2.3.0)
safe_yaml (~> 1.0)
toml (~> 0.1.0)
jekyll-mentions (0.0.9)
html-pipeline (~> 1.5.0)
jekyll (~> 1.4)
jekyll-redirect-from (0.3.1)
jekyll (~> 1.4)
jekyll-sitemap (0.3.0)
jekyll (~> 1.4)
jemoji (0.1.0)
gemoji (~> 1.5.0)
html-pipeline (~> 1.5.0)
jekyll (~> 1.4)
json (1.8.1)
kramdown (1.3.1)
liquid (2.5.5)
listen (1.3.1)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
maruku (0.7.0)
mini_portile (0.6.0)
minitest (5.4.0)
nokogiri (1.6.3.1)
mini_portile (= 0.6.0)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.8)
pygments.rb (0.5.4)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rb-kqueue (0.2.3)
ffi (>= 0.5.0)
rdiscount (2.1.7)
redcarpet (2.3.0)
safe_yaml (1.0.3)
thread_safe (0.3.4)
toml (0.1.1)
parslet (~> 1.5.0)
tzinfo (1.2.1)
thread_safe (~> 0.1)
yajl-ruby (1.1.0)

PLATFORMS
ruby

DEPENDENCIES
github-pages
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ VERSION = 1.3.3
PORT = 3000

all: \
node_modules \
update \
gem \
server \

node_modules:
npm install
gem:
bundle install

update:
curl -o javascripts/zc/v$(VERSION)/ZeroClipboard.js https://raw.github.com/zeroclipboard/zeroclipboard/v$(VERSION)/ZeroClipboard.js
Expand Down
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
markdown: rdiscount
zeroclipboard_version: 2.1.5
rdiscount:
extensions: [smart]
147 changes: 147 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>ZeroClipboard v2.x</title>
<meta name="description" content="Copy to clipboard html browser.">
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<script type="text/javascript" src="javascripts/scale.fix.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script type="text/javascript" src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header class="section">
<h1 class="logo"><a href="/"><img width="371" height="90" src="../images/zeroclipboard-logo.png" alt="ZeroClipboard"/></a></h1>
</header>
<section class="section project-info">
<div class="columns">
<div class="column two-thirds">
<h2>ZeroClipboard v2.x</h2>
<p>The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible <a href="http://en.wikipedia.org/wiki/Adobe_Flash">Adobe Flash</a> movie and a <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a> interface.</p>
<p>The "Zero" signifies that the library is invisible and the user interface is left entirely up to you.</p>
</div>
<div class="column one-third">
<a class="button zip" href="https://github.com/zeroclipboard/zeroclipboard/archive/v{{ site.zeroclipboard_version }}.zip"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="25px" height="25px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
<path d="M256,288l128-128h-96V32h-64v128h-96L256,288z M372.363,235.636l-35.87,35.871L466.533,320L256,398.509L45.467,320
l130.04-48.493l-35.871-35.871L0,288v128l256,96l256-96V288L372.363,235.636z"/>
</svg>v{{ site.zeroclipboard_version }} ZIP</a>
<a class="button github" href="https://github.com/zeroclipboard/zeroclipboard"><svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="34px" height="34px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<path id="Github__x28_alt_x29_" d="M70.709,15.029c1.17,2.657,1.928,7.07,0.797,10.301c4.625,3.949,6.214,13.549,3.982,21.394
C82.08,47.227,89.931,46.482,95,48.505c-4.738-0.609-11.209-1.804-17.32-1.388c-1.158,0.079-2.874-0.044-2.79,1.585
c7.075,0.556,14.104,1.16,19.913,2.973c-5.761-0.941-12.754-2.374-19.913-2.574c-2.957,5.835-8.907,8.703-17.122,9.307
c0.883,1.921,2.574,2.653,2.987,5.744c0.616,4.618-0.964,11.381,0.595,14.459c0.748,1.475,1.967,1.514,2.789,2.775
c-2.012,2.381-7.001-0.267-7.568-2.775c-0.973-4.295,1.482-10.954-1.193-13.865c0.189,4.684-1.108,11.264,0.199,15.449
c0.515,1.646,2.002,2.281,1.593,3.765c-9.352,0.95-5.444-12.104-6.972-19.809c-1.411,0.1-0.791,2.113-0.796,2.972
c-0.04,7.524,1.54,17.844-6.57,16.837c-0.237-1.581,1.088-2.119,1.593-3.563c1.479-4.234-0.277-10.542,0.401-15.651
c-3.095,2.333,0.325,10.48-1.593,14.657c-1.105,2.404-4.666,3.45-7.367,2.377c0.352-1.79,2.2-1.501,2.984-3.169
c1.096-2.325,0.008-5.674,0.399-9.111c-5.729,1.143-10.173-0.166-12.348-3.764c-0.973-1.615-1.214-3.52-2.39-4.951
c-1.17-1.432-3.04-1.625-3.582-3.564c7.095-1.708,7.367,7.302,13.739,7.525c1.954,0.071,2.97-0.564,4.778-0.989
c0.506-2.272,1.589-3.966,3.186-5.153c-7.929-1.085-14.477-3.554-17.522-9.504c-7.208,0.355-13.804,1.317-19.913,2.771
c5.545-2.014,12.384-2.736,19.715-2.973c-0.432-2.596-4.219-1.882-6.57-1.782C13.973,47.31,8.473,47.853,5,48.505
c5.034-1.795,12.098-1.571,18.918-1.585c-2.086-6.54-1.363-16.929,3.186-20.798c-1.289-3.249-0.889-8.563,0.796-11.093
c5.079,0.228,8.159,2.443,11.35,4.557c3.957-1.125,8.118-1.685,13.54-1.387c2.28,0.126,4.652,1.151,6.369,0.989
c1.685-0.158,3.542-2.049,5.178-2.771C66.468,15.476,68.271,15.117,70.709,15.029z"/>
</svg>View On GitHub</a>
</div>
</div>
</section>
<section class="section project-questions">
<div class="columns">
<div class="column one-half">
<h2>Looking for <code>v1.x</code>?</h2>
<p>This page is for the <code>v2.x</code> version of ZeroClipboard. For <code>v1.x</code>, please see the <a href="index-v1.x.html"><code>v1.x</code> demo page</a>.</p>
</div>
<div class="column one-half">
<h2>Testing this page locally</h2>
<p>To test this page locally, checkout the <code>gh-pages</code> branch, install <a href="http://jekyllrb.com/">jekyll</a> and run <code>jekyll serve</code> to open <a href="http://localhost:4000/">localhost:4000</a>.</p>
</div>
</div>
</section>
<section class="section project-demo">
<h2>Demo</h2>
<div>
<p><strong>Browser:</strong> <script type="text/javascript">document.write(navigator.userAgent);</script></p>
<p><strong>Current config:</strong> <span id="current-demo-config">???</span></p>
<p>
<strong>Choose config:</strong>
<!--
IMPORTANT!!!
The version numbers listed in the following `demo-version` select menu control the actual script and SWF version
targeting (see "boot.js"). This is the only place you need to change the version numbers!
Double-check that the current stable release is marked as the only `option` with the `selected` attribute.
-->
<select id="demo-version">
<option>git:master</option>
<option selected="selected">v2.1.5</option>
<option>v2.1.4</option>
<option>v2.1.3</option>
<option>v2.1.2</option>
<option>v2.1.1</option>
<option>v2.1.0</option>
<option>v2.0.3</option>
<option>v2.0.2</option>
<option>v2.0.1</option>
<option>v2.0.0</option>
<option>v2.0.0-beta.8</option>
<option>v2.0.0-beta.7</option>
<option>v2.0.0-beta.6</option>
<option>v2.0.0-beta.5</option>
<option>v2.0.0-beta.4</option>
<option>v2.0.0-beta.3</option>
<option>v2.0.0-beta.2</option>
<option>v2.0.0-beta.1</option>
</select>
<select id="demo-type">
<option value="traditional" selected="selected">Traditional</option>
<option value="amd">AMD</option>
<option value="commonjs" disabled="disabled">CommonJS</option>
</select>
<button id="boot" type="button">Boot!</button>
</p>
<div class="demo-area columns">
<div class="column one-half">
<h2><label for="fe_text">Text to Copy:</label></h2>
<textarea id="fe_text" cols="50" rows="3">Copy me!</textarea>
<p class="align-right"><button id="d_clip_button" class="my_clip_button" title="Click me to copy to clipboard." data-clipboard-target="fe_text" data-clipboard-text="Default clipboard text from attribute">Copy To Clipboard...</button></p>
</div>
<div class="column one-half">
<h2><label for="testarea">Paste Here:</label></h2>
<textarea id="testarea" cols="50" rows="3"></textarea>
<p class="align-right"><button id="clear-test">Clear Test Area</button></p>
</div>
</div>
<div class="debug-console">
<h4>Debug Console:</h4>
<div id="d_debug"></div>
</div>
</div>
</section>
<footer class="section">
<p>Hosted on <a href="https://pages.github.com">GitHub Pages</a>. Designed by <a href="">Marcus Handa</a> &amp; <a href="">Isaac Durazo</a></p>
</footer>
</div>
<!--[if !IE]><script type="text/javascript">fixScale(document);</script><!--<![endif]-->
<script type="text/javascript" src="javascripts/vendor/jquery.min.js"></script>
<script type="text/javascript" src="javascripts/v2.x/boot.js"></script>
<script type="text/javascript">
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '501d5697f5a1f502f2000057');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
</body>
</html>
Binary file added favicon.ico
Binary file not shown.
Binary file removed images/arrow-down.png
Binary file not shown.
Binary file removed images/octocat-small.png
Binary file not shown.
Binary file added images/zeroclipboard-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading