Skip to content
Browse files

Restructured so index document in the main folder

  • Loading branch information...
1 parent e1d41ec commit 8cf02e6bf534223020eaf934cade630b8eb015c6 @DamonOehlman committed
Showing with 73 additions and 173 deletions.
  1. +2 −5 Makefile
  2. 0 {output → }/assets/fonts/leaguegothic/league_gothic-webfont.ttf
  3. +39 −0 css/bgimage-helper.css
  4. 0 {output → }/css/highlight.zenburn.css
  5. 0 {output → }/css/main.css
  6. 0 {output → }/css/reset.css
  7. 0 resources/css/pres.style.css → css/reveal-tweaks.css
  8. 0 {output → }/images/eventorder-bubble.png
  9. 0 {output → }/images/eventorder-capture.png
  10. 0 {output → }/images/simple-dom-structure.png
  11. +5 −3 {output → }/index.html
  12. +17 −0 js/bgimage-helper.js
  13. 0 {output → }/js/highlight-javascript.js
  14. 0 {output → }/js/highlight.js
  15. 0 {output → }/js/jquery.min.js
  16. 0 {output → }/js/reveal.js
  17. 0 {output → }/lib/classList.js
  18. BIN output/3815200569_c64290f046_b.jpg
  19. BIN output/4905848082_624044fba4_b.jpg
  20. BIN output/4951169399_c08942bd85_b.jpg
  21. BIN output/5058340966_7bea659712_o.jpg
  22. BIN output/5498393620_b4990431c6_b.jpg
  23. BIN output/5589243043_28e4b45a28_b.jpg
  24. BIN output/5606183129_9695c06f9e_b.jpg
  25. BIN output/5736954579_896755ca20_b.jpg
  26. BIN output/5755308204_f8b0c74da7_b.jpg
  27. BIN output/5790252062_fb6aeba3ec_o.jpg
  28. BIN output/5944308910_44a50fba49_b.jpg
  29. +0 −42 output/css/pres.style.css
  30. BIN output/images/2817046610_5bea4bc4ff_b.jpg
  31. BIN output/images/3815200569_c64290f046_b.jpg
  32. BIN output/images/4227253361_0e1e73c08f_b.jpg
  33. BIN output/images/4905848082_624044fba4_b.jpg
  34. BIN output/images/4951169399_c08942bd85_b.jpg
  35. BIN output/images/5058340966_7bea659712_o.jpg
  36. BIN output/images/5498393620_b4990431c6_b.jpg
  37. BIN output/images/5589243043_28e4b45a28_b.jpg
  38. BIN output/images/5606183129_9695c06f9e_b.jpg
  39. BIN output/images/5736954579_896755ca20_b.jpg
  40. BIN output/images/5755308204_f8b0c74da7_b.jpg
  41. BIN output/images/5790252062_fb6aeba3ec_o.jpg
  42. BIN output/images/5944308910_44a50fba49_b.jpg
  43. BIN output/images/6968108915_88369197b2_o.jpg
  44. +0 −34 output/images/sources.md
  45. +0 −17 output/js/pres.js
  46. +0 −30 output/sources.md
  47. +0 −17 resources/js/pres.js
  48. 0 { → src}/assets/eventorder-bubble.png
  49. 0 { → src}/assets/eventorder-capture.png
  50. 0 { → src}/assets/simple-dom-structure.png
  51. 0 { → src}/assets/simple-dom-structure.svg
  52. 0 { → src}/files/chunks.md
  53. 0 { → src}/files/eve.md
  54. 0 { → src}/files/intro.md
  55. +3 −1 { → src}/files/references.md
  56. 0 { → src}/files/traditional.md
  57. +7 −2 { → src}/index.json
  58. +0 −12 src/pres.js
  59. +0 −10 upload.js
View
7 Makefile
@@ -1,11 +1,8 @@
SHELL := /bin/bash
build:
- @bake src/pres.js --output resources/js/
- @cp -r images output/
- @cp assets/*.png output/images
- @/development/projects/DamonOehlman/boxit/bin/boxit
- @node upload.js
+ @cp -r src/assets/*.png images/
+ @/development/projects/DamonOehlman/boxit/bin/boxit --path src --output .
test:
@mocha --reporter spec
View
0 ...ts/leaguegothic/league_gothic-webfont.ttf → ...ts/leaguegothic/league_gothic-webfont.ttf
File renamed without changes.
View
39 css/bgimage-helper.css
@@ -0,0 +1,39 @@
+section[data-bg] {
+ padding-top: 20px;
+ background-size: cover;
+}
+
+section[data-bg]::after {
+ content: ' ';
+ height: -webkit-calc(100% - 16px);
+ width: -webkit-calc(100% - 16px);
+ position: absolute;
+ left: 0;
+ top: 0;
+ background: #333;
+ border: 8px solid rgba(0, 0, 0, 0.8);
+ opacity: 0.3;
+ z-index: -1;
+}
+
+section[data-bg] > h1 {
+ position: absolute;
+ bottom: 25px;
+ color: transparent;
+ width: 100%;
+}
+
+section[data-bg] > h1::after {
+}
+
+section .attribution {
+ position: absolute;
+ bottom: 5px;
+ width: 100%;
+ font-size: 12pt;
+}
+
+section .attribution a {
+ color: #e8e8e8 !important;
+ color: rgba(255, 255, 255, 0.5) !important;
+}
View
0 output/css/highlight.zenburn.css → css/highlight.zenburn.css
File renamed without changes.
View
0 output/css/main.css → css/main.css
File renamed without changes.
View
0 output/css/reset.css → css/reset.css
File renamed without changes.
View
0 resources/css/pres.style.css → css/reveal-tweaks.css
File renamed without changes.
View
0 output/images/eventorder-bubble.png → images/eventorder-bubble.png
File renamed without changes
View
0 output/images/eventorder-capture.png → images/eventorder-capture.png
File renamed without changes
View
0 output/images/simple-dom-structure.png → images/simple-dom-structure.png
File renamed without changes
View
8 output/index.html → index.html
@@ -9,7 +9,7 @@
<meta name="author" content="Hakim El Hattab">
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
-<link rel="stylesheet" type="text/css" href="css/pres.style.css" /><link rel="stylesheet" type="text/css" href="css/highlight.zenburn.css" /><link rel="stylesheet" type="text/css" href="css/reset.css" /><link rel="stylesheet" type="text/css" href="css/main.css" /><script src="js/jquery.min.js"></script>
+<link rel="stylesheet" type="text/css" href="css/pres.style.css" /><link rel="stylesheet" type="text/css" href="css/highlight.zenburn.css" /><link rel="stylesheet" type="text/css" href="css/reset.css" /><link rel="stylesheet" type="text/css" href="css/main.css" /><script src="js/jquery.min.js"></script><link rel="stylesheet" type="text/css" href="css/reveal-tweaks.css" /><link rel="stylesheet" type="text/css" href="css/bgimage-helper.css" />
</head>
<body>
<div id="reveal">
@@ -267,7 +267,9 @@
</li>
<li><p><a href="https://github.com/DamonOehlman/demo-matrixeve">https://github.com/DamonOehlman/demo-matrixeve</a></p>
</li>
-<li><p><a href="http://damonoehlman.github.com/talks-js-events/output/">Slides</a></p>
+<li><p><a href="http://damonoehlman.github.com/talk-js-events/output/">Slides</a></p>
+</li>
+<li><p><a href="https://github.com/DmitryBaranovskiy/eve">Eve Source Repo</a></p>
</li>
</ul>
@@ -288,7 +290,7 @@
<!-- Displays presentation progress, max value changes via JS to reflect # of slides -->
<div class="progress"><span></span></div>
</div>
-<script src="js/pres.js"></script><script src="js/highlight.js"></script><script>hljs.initHighlightingOnLoad();</script><script src="js/highlight-javascript.js"></script><script src="js/reveal.js"></script><script src="lib/classList.js"></script>
+<script src="js/pres.js"></script><script src="js/highlight.js"></script><script>hljs.initHighlightingOnLoad();</script><script src="js/highlight-javascript.js"></script><script src="js/reveal.js"></script><script src="lib/classList.js"></script><script src="js/bgimage-helper.js"></script>
<script>
// Parse the query string into a key/value object
var query = {};
View
17 js/bgimage-helper.js
@@ -0,0 +1,17 @@
+function refreshBackgroundImages() {
+ $('section[data-bg]').each(function() {
+ var el = $(this),
+ bgImage = el.data('bg') || el.attr('data-bg'),
+ attribution = el.data('attribution') || el.attr('data-attribution'),
+ attrDiv = $('.attribution', this);
+
+ el.css('background-image', 'url(' + bgImage + ')');
+
+ // if the attribution dif does not exist, then create it
+ if (! attrDiv[0]) {
+ el.append('<div class="attribution"><a href="attribution" target="_blank">' + attribution + '</a></div>');
+ }
+ });
+}
+
+$(refreshBackgroundImages);
View
0 output/js/highlight-javascript.js → js/highlight-javascript.js
File renamed without changes.
View
0 output/js/highlight.js → js/highlight.js
File renamed without changes.
View
0 output/js/jquery.min.js → js/jquery.min.js
File renamed without changes.
View
0 output/js/reveal.js → js/reveal.js
File renamed without changes.
View
0 output/lib/classList.js → lib/classList.js
File renamed without changes.
View
BIN output/3815200569_c64290f046_b.jpg
Deleted file not rendered
View
BIN output/4905848082_624044fba4_b.jpg
Deleted file not rendered
View
BIN output/4951169399_c08942bd85_b.jpg
Deleted file not rendered
View
BIN output/5058340966_7bea659712_o.jpg
Deleted file not rendered
View
BIN output/5498393620_b4990431c6_b.jpg
Deleted file not rendered
View
BIN output/5589243043_28e4b45a28_b.jpg
Deleted file not rendered
View
BIN output/5606183129_9695c06f9e_b.jpg
Deleted file not rendered
View
BIN output/5736954579_896755ca20_b.jpg
Deleted file not rendered
View
BIN output/5755308204_f8b0c74da7_b.jpg
Deleted file not rendered
View
BIN output/5790252062_fb6aeba3ec_o.jpg
Deleted file not rendered
View
BIN output/5944308910_44a50fba49_b.jpg
Deleted file not rendered
View
42 output/css/pres.style.css
@@ -1,42 +0,0 @@
-#reveal pre {
- font-size: 20px !important;
- line-height: 1.3em !important;
- width: 96% !important;
- margin: 20px auto !important;
-}
-
-#reveal pre code {
- padding: 0.5em 1em !important;
-}
-
-#reveal section img {
- max-width: 100%;
-}
-
-#reveal section[data-bg] {
- padding-top: 20px;
- background-size: cover;
-}
-
-#reveal section[data-bg]::after {
- content: ' ';
- height: -webkit-calc(100% - 16px);
- width: -webkit-calc(100% - 16px);
- position: absolute;
- left: 0;
- top: 0;
- background: #333;
- border: 8px solid rgba(0, 0, 0, 0.8);
- opacity: 0.3;
- z-index: -1;
-}
-
-#reveal section[data-bg] > h1 {
- position: absolute;
- bottom: 10px;
- color: transparent;
- width: 100%;
-}
-
-#reveal section[data-bg] > h1::after {
-}
View
BIN output/images/2817046610_5bea4bc4ff_b.jpg
Deleted file not rendered
View
BIN output/images/3815200569_c64290f046_b.jpg
Deleted file not rendered
View
BIN output/images/4227253361_0e1e73c08f_b.jpg
Deleted file not rendered
View
BIN output/images/4905848082_624044fba4_b.jpg
Deleted file not rendered
View
BIN output/images/4951169399_c08942bd85_b.jpg
Deleted file not rendered
View
BIN output/images/5058340966_7bea659712_o.jpg
Deleted file not rendered
View
BIN output/images/5498393620_b4990431c6_b.jpg
Deleted file not rendered
View
BIN output/images/5589243043_28e4b45a28_b.jpg
Deleted file not rendered
View
BIN output/images/5606183129_9695c06f9e_b.jpg
Deleted file not rendered
View
BIN output/images/5736954579_896755ca20_b.jpg
Deleted file not rendered
View
BIN output/images/5755308204_f8b0c74da7_b.jpg
Deleted file not rendered
View
BIN output/images/5790252062_fb6aeba3ec_o.jpg
Diff not rendered.
View
BIN output/images/5944308910_44a50fba49_b.jpg
Diff not rendered.
View
BIN output/images/6968108915_88369197b2_o.jpg
Diff not rendered.
View
34 output/images/sources.md
@@ -1,34 +0,0 @@
-- Tigers: <http://www.flickr.com/photos/tryburn/3652270938/>
-- Makeshift Clock: <http://www.flickr.com/photos/distantatlas/6689032545/>
-- Lego Valentine: <http://www.flickr.com/photos/kaptainkobold/6873936107/>
-- Lego Escape: <http://www.flickr.com/photos/s3a/5498393620/>
-- Lego Tangle <http://www.flickr.com/photos/azrasta/4865872893/>
-- Lego Experiment <http://www.flickr.com/photos/pasukaru76/5975138384/>
-- Lego Railway Track <http://www.flickr.com/photos/evil_cheese_scientist/5755308204/>
-- Lego Bad Guys <http://www.flickr.com/photos/eldave/5742538697/>
-- Lego Megaphone <http://www.flickr.com/photos/thevoicewithin/3815200569/>
-- Lego Postbox <http://www.flickr.com/photos/ntr23/4905848082/in/photostream/>
-- Lego Letter <http://www.flickr.com/photos/ntr23/5058340966/>
-- Lego Wire <http://www.flickr.com/photos/pedrovezini/5158715290/>
-- Lego Zap <http://www.flickr.com/photos/pasukaru76/4951169399/>
-- Lego Present <http://www.flickr.com/photos/pasukaru76/5333260849/in/set-72157624732951397/>
-- Lego Steampunk <http://www.flickr.com/photos/pasukaru76/5589243043/in/set-72157624732951397/>
-- Lego Hazmat <http://www.flickr.com/photos/pasukaru76/5606183129/in/set-72157624732951397/>
-- Lego Interview <http://www.flickr.com/photos/pasukaru76/5613865198/in/set-72157624732951397/>
-- Lego Contraption <http://www.flickr.com/photos/pasukaru76/5729640585/in/set-72157624732951397/>
-
-- Lego Pirates <http://www.flickr.com/photos/pasukaru76/5736954579/in/set-72157624732951397/>
-
-- Lego Alien Globe <http://www.flickr.com/photos/pasukaru76/5790252062/in/set-72157624732951397/>
-
-- Lego Magic <http://www.flickr.com/photos/pasukaru76/5944308910/in/set-72157624732951397/>
-
-- Clones <http://www.flickr.com/photos/tim_norris/2545465723/>
-
-- Lego Twitter <http://www.flickr.com/photos/photography-andreas/6252678567/>
-
-- Lego Mime <http://www.flickr.com/photos/25171207@N02/5270245821/>
-
-- Lego Crazy Man <http://www.flickr.com/photos/kwl/4227253361/>
-- Lego Flying <http://www.flickr.com/photos/32482342@N05/6968108915/>
-- Lego Ranger <http://www.flickr.com/photos/joriel/2817046610/>
View
17 output/js/pres.js
@@ -1,17 +0,0 @@
-(function (glob) {
- function debug() {
- return function() {};
- }
-
- $(function() {
- $('section[data-bg]').each(function() {
- var el = $(this),
- bgImage = el.data('bg') || el.attr('data-bg');
-
- el.css('background-image', 'url(' + bgImage + ')');
- });
- });
-
-
- if (typeof pres != 'undefined') glob.pres = pres;
-})(this);
View
30 output/sources.md
@@ -1,30 +0,0 @@
-- Tigers: <http://www.flickr.com/photos/tryburn/3652270938/>
-- Makeshift Clock: <http://www.flickr.com/photos/distantatlas/6689032545/>
-- Lego Valentine: <http://www.flickr.com/photos/kaptainkobold/6873936107/>
-- Lego Escape: <http://www.flickr.com/photos/s3a/5498393620/>
-- Lego Tangle <http://www.flickr.com/photos/azrasta/4865872893/>
-- Lego Experiment <http://www.flickr.com/photos/pasukaru76/5975138384/>
-- Lego Railway Track <http://www.flickr.com/photos/evil_cheese_scientist/5755308204/>
-- Lego Bad Guys <http://www.flickr.com/photos/eldave/5742538697/>
-- Lego Megaphone <http://www.flickr.com/photos/thevoicewithin/3815200569/>
-- Lego Postbox <http://www.flickr.com/photos/ntr23/4905848082/in/photostream/>
-- Lego Letter <http://www.flickr.com/photos/ntr23/5058340966/>
-- Lego Wire <http://www.flickr.com/photos/pedrovezini/5158715290/>
-- Lego Zap <http://www.flickr.com/photos/pasukaru76/4951169399/>
-- Lego Present <http://www.flickr.com/photos/pasukaru76/5333260849/in/set-72157624732951397/>
-- Lego Steampunk <http://www.flickr.com/photos/pasukaru76/5589243043/in/set-72157624732951397/>
-- Lego Hazmat <http://www.flickr.com/photos/pasukaru76/5606183129/in/set-72157624732951397/>
-- Lego Interview <http://www.flickr.com/photos/pasukaru76/5613865198/in/set-72157624732951397/>
-- Lego Contraption <http://www.flickr.com/photos/pasukaru76/5729640585/in/set-72157624732951397/>
-
-- Lego Pirates <http://www.flickr.com/photos/pasukaru76/5736954579/in/set-72157624732951397/>
-
-- Lego Alien Globe <http://www.flickr.com/photos/pasukaru76/5790252062/in/set-72157624732951397/>
-
-- Lego Magic <http://www.flickr.com/photos/pasukaru76/5944308910/in/set-72157624732951397/>
-
-- Clones <http://www.flickr.com/photos/tim_norris/2545465723/>
-
-- Lego Twitter <http://www.flickr.com/photos/photography-andreas/6252678567/>
-
-- Lego Mime <http://www.flickr.com/photos/25171207@N02/5270245821/>
View
17 resources/js/pres.js
@@ -1,17 +0,0 @@
-(function (glob) {
- function debug() {
- return function() {};
- }
-
- $(function() {
- $('section[data-bg]').each(function() {
- var el = $(this),
- bgImage = el.data('bg') || el.attr('data-bg');
-
- el.css('background-image', 'url(' + bgImage + ')');
- });
- });
-
-
- if (typeof pres != 'undefined') glob.pres = pres;
-})(this);
View
0 assets/eventorder-bubble.png → src/assets/eventorder-bubble.png
Diff not rendered.
View
0 assets/eventorder-capture.png → src/assets/eventorder-capture.png
Diff not rendered.
View
0 assets/simple-dom-structure.png → src/assets/simple-dom-structure.png
Diff not rendered.
View
0 assets/simple-dom-structure.svg → src/assets/simple-dom-structure.svg
Diff not rendered.
View
0 files/chunks.md → src/files/chunks.md
File renamed without changes.
View
0 files/eve.md → src/files/eve.md
File renamed without changes.
View
0 files/intro.md → src/files/intro.md
File renamed without changes.
View
4 files/references.md → src/files/references.md
@@ -4,4 +4,6 @@
- <https://github.com/DamonOehlman/demo-matrixeve>
-- [Slides](http://damonoehlman.github.com/talk-js-events/output/)
+- [Slides](http://damonoehlman.github.com/talk-js-events/output/)
+
+- [Eve Source Repo](https://github.com/DmitryBaranovskiy/eve)
View
0 files/traditional.md → src/files/traditional.md
File renamed without changes.
View
9 index.json → src/index.json
@@ -10,6 +10,10 @@
"files/references.md"
],
+ "aliases": {
+ "resources": "github://DamonOehlman/talk-resources/"
+ },
+
"includes": {
"head": [
"css/pres.style.css"
@@ -28,7 +32,8 @@
},
"resources": [
- "css/pres.style.css <= resources/css/pres.style.css",
- "js/pres.js <= resources/js/pres.js"
+ "css/reveal-tweaks.css <= resources!css/reveal-tweaks.css",
+ "js/bgimage-helper.js <= resources!js/bgimage-helper.js",
+ "css/bgimage-helper.css <= resources!css/bgimage-helper.css"
]
}
View
12 src/pres.js
@@ -1,12 +0,0 @@
-function debug() {
- return function() {};
-}
-
-$(function() {
- $('section[data-bg]').each(function() {
- var el = $(this),
- bgImage = el.data('bg') || el.attr('data-bg');
-
- el.css('background-image', 'url(' + bgImage + ')');
- });
-});
View
10 upload.js
@@ -1,10 +0,0 @@
-var attachmate = require('attachmate'),
- path = require('path');
-
-attachmate.upload(
- 'http://localhost:5984/presentations/js-events',
- path.resolve(__dirname, 'output'),
- function(err) {
- console.log('done, error = ', err);
- }
-);

0 comments on commit 8cf02e6

Please sign in to comment.
Something went wrong with that request. Please try again.