nano-lazar 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/Gemfile +8 -0
  4. data/LICENSE.md +596 -0
  5. data/README.md +52 -0
  6. data/VERSION +1 -0
  7. data/application.rb +185 -0
  8. data/bin/nano-lazar-start +8 -0
  9. data/bin/nano-lazar-start.sh +8 -0
  10. data/bin/nano-lazar-stop +5 -0
  11. data/bin/nano-lazar-stop.sh +52 -0
  12. data/config.ru +13 -0
  13. data/feature-filter.rb +36 -0
  14. data/helper.rb +1 -0
  15. data/nano-lazar.gemspec +31 -0
  16. data/npo.rb +11 -0
  17. data/public/css/bootstrap.min.css +6 -0
  18. data/public/css/images/black-asc.gif +0 -0
  19. data/public/css/images/black-desc.gif +0 -0
  20. data/public/css/images/black-unsorted.gif +0 -0
  21. data/public/css/images/bootstrap-black-unsorted.png +0 -0
  22. data/public/css/images/bootstrap-white-unsorted.png +0 -0
  23. data/public/css/images/dragtable-handle.png +0 -0
  24. data/public/css/images/dragtable-handle.svg +7 -0
  25. data/public/css/images/dropbox-asc-hovered.png +0 -0
  26. data/public/css/images/dropbox-asc.png +0 -0
  27. data/public/css/images/dropbox-desc-hovered.png +0 -0
  28. data/public/css/images/dropbox-desc.png +0 -0
  29. data/public/css/images/first.png +0 -0
  30. data/public/css/images/green-asc.gif +0 -0
  31. data/public/css/images/green-desc.gif +0 -0
  32. data/public/css/images/green-header.gif +0 -0
  33. data/public/css/images/green-unsorted.gif +0 -0
  34. data/public/css/images/ice-asc.gif +0 -0
  35. data/public/css/images/ice-desc.gif +0 -0
  36. data/public/css/images/ice-unsorted.gif +0 -0
  37. data/public/css/images/last.png +0 -0
  38. data/public/css/images/loading.gif +0 -0
  39. data/public/css/images/metro-black-asc.png +0 -0
  40. data/public/css/images/metro-black-desc.png +0 -0
  41. data/public/css/images/metro-loading.gif +0 -0
  42. data/public/css/images/metro-unsorted.png +0 -0
  43. data/public/css/images/metro-white-asc.png +0 -0
  44. data/public/css/images/metro-white-desc.png +0 -0
  45. data/public/css/images/next.png +0 -0
  46. data/public/css/images/prev.png +0 -0
  47. data/public/css/images/white-asc.gif +0 -0
  48. data/public/css/images/white-desc.gif +0 -0
  49. data/public/css/images/white-unsorted.gif +0 -0
  50. data/public/css/jquery-ui.css +1225 -0
  51. data/public/css/jquery-ui.theme.min.css +5 -0
  52. data/public/css/style.css +16 -0
  53. data/public/css/theme.bootstrap.min.css +1 -0
  54. data/public/css/theme.default.min.css +1 -0
  55. data/public/enm-workshop.html +468 -0
  56. data/public/enm-workshop.rst +98 -0
  57. data/public/fonts/glyphicons-halflings-regular.eot +0 -0
  58. data/public/fonts/glyphicons-halflings-regular.svg +288 -0
  59. data/public/fonts/glyphicons-halflings-regular.ttf +0 -0
  60. data/public/fonts/glyphicons-halflings-regular.woff +0 -0
  61. data/public/fonts/glyphicons-halflings-regular.woff2 +0 -0
  62. data/public/images/Email.png +0 -0
  63. data/public/images/Facebook.png +0 -0
  64. data/public/images/Google+.png +0 -0
  65. data/public/images/IST_logo_s.png +0 -0
  66. data/public/images/LinkedIn.png +0 -0
  67. data/public/images/Twitter.png +0 -0
  68. data/public/images/enm-sm.jpg +0 -0
  69. data/public/images/enm_logo.png +0 -0
  70. data/public/images/favicon.ico +0 -0
  71. data/public/images/ist_logo.png +0 -0
  72. data/public/images/wait30trans.gif +0 -0
  73. data/public/javascripts/bootstrap.min.js +7 -0
  74. data/public/javascripts/google_analytics.js +7 -0
  75. data/public/javascripts/jquery-1.11.2.min.js +4 -0
  76. data/public/javascripts/jquery-ui-1.10.3.custom.min.js +6 -0
  77. data/public/javascripts/jquery.bpopup.min.js +7 -0
  78. data/public/javascripts/jquery.doubleScroll.js +126 -0
  79. data/public/javascripts/jquery.tablesorter.min.js +2 -0
  80. data/public/javascripts/jquery.tablesorter.staticrow.min.js +1 -0
  81. data/public/javascripts/jquery.tablesorter.widgets.js +2917 -0
  82. data/public/javascripts/jquery.tools.min.js +5 -0
  83. data/public/javascripts/lazar-gui.js +11 -0
  84. data/public/javascripts/nanolazar.js +11 -0
  85. data/public/javascripts/widget-scroller.js +921 -0
  86. data/public/ui/small-white/blank.gif +0 -0
  87. data/public/ui/small-white/framing.css +24 -0
  88. data/public/ui/small-white/iepngfix.htc +42 -0
  89. data/public/ui/small-white/opera.css +8 -0
  90. data/public/ui/small-white/outline.css +16 -0
  91. data/public/ui/small-white/pretty.css +114 -0
  92. data/public/ui/small-white/print.css +24 -0
  93. data/public/ui/small-white/s5-core.css +11 -0
  94. data/public/ui/small-white/slides.css +10 -0
  95. data/public/ui/small-white/slides.js +558 -0
  96. data/unicorn.rb +2 -0
  97. data/views/layout.haml +95 -0
  98. data/views/license.haml +1 -0
  99. data/views/predict.haml +299 -0
  100. data/views/prediction.haml +152 -0
  101. metadata +235 -0
Binary file
@@ -0,0 +1,24 @@
1
+ /* This file has been placed in the public domain. */
2
+ /* The following styles size, place, and layer the slide components.
3
+ Edit these if you want to change the overall slide layout.
4
+ The commented lines can be uncommented (and modified, if necessary)
5
+ to help you with the rearrangement process. */
6
+
7
+ /* target = 1024x768 */
8
+
9
+ div#header, div#footer, .slide {width: 100%; top: 0; left: 0;}
10
+ div#footer {top: auto; bottom: 0; height: 2.5em; z-index: 5;}
11
+ .slide {top: 0; width: 92%; padding: 1em 4% 0 4%; z-index: 2;}
12
+ div#controls {left: 50%; bottom: 0; width: 50%; z-index: 100;}
13
+ div#controls form {position: absolute; bottom: 0; right: 0; width: 100%;
14
+ margin: 0;}
15
+ #currentSlide {position: absolute; width: 10%; left: 45%; bottom: 1em;
16
+ z-index: 10;}
17
+ html>body #currentSlide {position: fixed;}
18
+
19
+ /*
20
+ div#header {background: #FCC;}
21
+ div#footer {background: #CCF;}
22
+ div#controls {background: #BBD;}
23
+ div#currentSlide {background: #FFC;}
24
+ */
@@ -0,0 +1,42 @@
1
+ <public:component>
2
+ <public:attach event="onpropertychange" onevent="doFix()" />
3
+
4
+ <script>
5
+
6
+ // IE5.5+ PNG Alpha Fix v1.0 by Angus Turnbull http://www.twinhelix.com
7
+ // Free usage permitted as long as this notice remains intact.
8
+
9
+ // This must be a path to a blank image. That's all the configuration you need here.
10
+ var blankImg = 'ui/small-white/blank.gif';
11
+
12
+ var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
13
+
14
+ function filt(s, m) {
15
+ if (filters[f]) {
16
+ filters[f].enabled = s ? true : false;
17
+ if (s) with (filters[f]) { src = s; sizingMethod = m }
18
+ } else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
19
+ }
20
+
21
+ function doFix() {
22
+ if ((parseFloat(navigator.userAgent.match(/MSIE (\S+)/)[1]) < 5.5) ||
23
+ (event && !/(background|src)/.test(event.propertyName))) return;
24
+
25
+ if (tagName == 'IMG') {
26
+ if ((/\.png$/i).test(src)) {
27
+ filt(src, 'image'); // was 'scale'
28
+ src = blankImg;
29
+ } else if (src.indexOf(blankImg) < 0) filt();
30
+ } else if (style.backgroundImage) {
31
+ if (style.backgroundImage.match(/^url[("']+(.*\.png)[)"']+$/i)) {
32
+ var s = RegExp.$1;
33
+ style.backgroundImage = '';
34
+ filt(s, 'crop');
35
+ } else filt();
36
+ }
37
+ }
38
+
39
+ doFix();
40
+
41
+ </script>
42
+ </public:component>
@@ -0,0 +1,8 @@
1
+ /* This file has been placed in the public domain. */
2
+ /* DO NOT CHANGE THESE unless you really want to break Opera Show */
3
+ .slide {
4
+ visibility: visible !important;
5
+ position: static !important;
6
+ page-break-before: always;
7
+ }
8
+ #slide0 {page-break-before: avoid;}
@@ -0,0 +1,16 @@
1
+ /* This file has been placed in the public domain. */
2
+ /* Don't change this unless you want the layout stuff to show up in the
3
+ outline view! */
4
+
5
+ .layout div, #footer *, #controlForm * {display: none;}
6
+ #footer, #controls, #controlForm, #navLinks, #toggle {
7
+ display: block; visibility: visible; margin: 0; padding: 0;}
8
+ #toggle {float: right; padding: 0.5em;}
9
+ html>body #toggle {position: fixed; top: 0; right: 0;}
10
+
11
+ /* making the outline look pretty-ish */
12
+
13
+ #slide0 h1, #slide0 h2, #slide0 h3, #slide0 h4 {border: none; margin: 0;}
14
+ #toggle {border: 1px solid; border-width: 0 0 1px 1px; background: #FFF;}
15
+
16
+ .outline {display: inline ! important;}
@@ -0,0 +1,114 @@
1
+ /* This file has been placed in the public domain. */
2
+ /* Following are the presentation styles -- edit away! */
3
+
4
+ html, body {margin: 0; padding: 0;}
5
+ body {background: white; color: black;}
6
+ :link, :visited {text-decoration: none; color: #00C;}
7
+ #controls :active {color: #888 !important;}
8
+ #controls :focus {outline: 1px dotted #222;}
9
+ h1, h2, h3, h4 {font-size: 100%; margin: 0; padding: 0; font-weight: inherit;}
10
+
11
+ blockquote {padding: 0 2em 0.5em; margin: 0 1.5em 0.5em;}
12
+ blockquote p {margin: 0;}
13
+
14
+ kbd {font-weight: bold; font-size: 1em;}
15
+ sup {font-size: smaller; line-height: 1px;}
16
+
17
+ .slide pre {padding: 0; margin-left: 0; margin-right: 0; font-size: 90%;}
18
+ .slide ul ul li {list-style: square;}
19
+ .slide img.leader {display: block; margin: 0 auto;}
20
+ .slide tt {font-size: 90%;}
21
+
22
+ div#footer {font-family: sans-serif; color: #444;
23
+ font-size: 0.5em; font-weight: bold; padding: 1em 0;}
24
+ #footer h1 {display: block; padding: 0 1em;}
25
+ #footer h2 {display: block; padding: 0.8em 1em 0;}
26
+
27
+ .slide {font-size: 1.2em;}
28
+ .slide h1 {padding-top: 0; z-index: 1; margin: 0; font: bold 150% sans-serif;}
29
+ .slide h2 {font: bold 120% sans-serif; padding-top: 0.5em;}
30
+ .slide h3 {font: bold 100% sans-serif; padding-top: 0.5em;}
31
+ h1 abbr {font-variant: small-caps;}
32
+
33
+ div#controls {position: absolute; left: 50%; bottom: 0;
34
+ width: 50%; text-align: right; font: bold 0.9em sans-serif;}
35
+ html>body div#controls {position: fixed; padding: 0 0 1em 0; top: auto;}
36
+ div#controls form {position: absolute; bottom: 0; right: 0; width: 100%;
37
+ margin: 0; padding: 0;}
38
+ #controls #navLinks a {padding: 0; margin: 0 0.5em;
39
+ border: none; color: #888; cursor: pointer;}
40
+ #controls #navList {height: 1em;}
41
+ #controls #navList #jumplist {position: absolute; bottom: 0; right: 0;
42
+ background: #DDD; color: #222;}
43
+
44
+ #currentSlide {text-align: center; font-size: 0.5em; color: #444;
45
+ font-family: sans-serif; font-weight: bold;}
46
+
47
+ #slide0 {padding-top: 0em}
48
+ #slide0 h1 {position: static; margin: 1em 0 0; padding: 0;
49
+ font: bold 2em sans-serif; white-space: normal; background: transparent;}
50
+ #slide0 h2 {font: bold italic 1em sans-serif; margin: 0.25em;}
51
+ #slide0 h3 {margin-top: 1.5em; font-size: 1.5em;}
52
+ #slide0 h4 {margin-top: 0; font-size: 1em;}
53
+
54
+ ul.urls {list-style: none; display: inline; margin: 0;}
55
+ .urls li {display: inline; margin: 0;}
56
+ .external {border-bottom: 1px dotted gray;}
57
+ html>body .external {border-bottom: none;}
58
+ .external:after {content: " \274F"; font-size: smaller; color: #77B;}
59
+
60
+ .incremental, .incremental *, .incremental *:after {
61
+ color: white; visibility: visible; border: 0; border: 0;}
62
+ img.incremental {visibility: hidden;}
63
+ .slide .current {color: green;}
64
+
65
+ .slide-display {display: inline ! important;}
66
+
67
+ .huge {font-family: sans-serif; font-weight: bold; font-size: 150%;}
68
+ .big {font-family: sans-serif; font-weight: bold; font-size: 120%;}
69
+ .small {font-size: 75%;}
70
+ .tiny {font-size: 50%;}
71
+ .huge tt, .big tt, .small tt, .tiny tt {font-size: 115%;}
72
+ .huge pre, .big pre, .small pre, .tiny pre {font-size: 115%;}
73
+
74
+ .maroon {color: maroon;}
75
+ .red {color: red;}
76
+ .magenta {color: magenta;}
77
+ .fuchsia {color: fuchsia;}
78
+ .pink {color: #FAA;}
79
+ .orange {color: orange;}
80
+ .yellow {color: yellow;}
81
+ .lime {color: lime;}
82
+ .green {color: green;}
83
+ .olive {color: olive;}
84
+ .teal {color: teal;}
85
+ .cyan {color: cyan;}
86
+ .aqua {color: aqua;}
87
+ .blue {color: blue;}
88
+ .navy {color: navy;}
89
+ .purple {color: purple;}
90
+ .black {color: black;}
91
+ .gray {color: gray;}
92
+ .silver {color: silver;}
93
+ .white {color: white;}
94
+
95
+ .left {text-align: left ! important;}
96
+ .center {text-align: center ! important;}
97
+ .right {text-align: right ! important;}
98
+
99
+ .animation {position: relative; margin: 1em 0; padding: 0;}
100
+ .animation img {position: absolute;}
101
+
102
+ /* Docutils-specific overrides */
103
+
104
+ .slide table.docinfo {margin: 1em 0 0.5em 2em;}
105
+
106
+ pre.literal-block, pre.doctest-block {background-color: white;}
107
+
108
+ tt.docutils {background-color: white;}
109
+
110
+ /* diagnostics */
111
+ /*
112
+ li:after {content: " [" attr(class) "]"; color: #F88;}
113
+ div:before {content: "[" attr(class) "]"; color: #F88;}
114
+ */
@@ -0,0 +1,24 @@
1
+ /* This file has been placed in the public domain. */
2
+ /* The following rule is necessary to have all slides appear in print!
3
+ DO NOT REMOVE IT! */
4
+ .slide, ul {page-break-inside: avoid; visibility: visible !important;}
5
+ h1 {page-break-after: avoid;}
6
+
7
+ body {font-size: 12pt; background: white;}
8
+ * {color: black;}
9
+
10
+ #slide0 h1 {font-size: 200%; border: none; margin: 0.5em 0 0.25em;}
11
+ #slide0 h3 {margin: 0; padding: 0;}
12
+ #slide0 h4 {margin: 0 0 0.5em; padding: 0;}
13
+ #slide0 {margin-bottom: 3em;}
14
+
15
+ #header {display: none;}
16
+ #footer h1 {margin: 0; border-bottom: 1px solid; color: gray;
17
+ font-style: italic;}
18
+ #footer h2, #controls {display: none;}
19
+
20
+ .print {display: inline ! important;}
21
+
22
+ /* The following rule keeps the layout stuff out of print.
23
+ Remove at your own risk! */
24
+ .layout, .layout * {display: none !important;}
@@ -0,0 +1,11 @@
1
+ /* This file has been placed in the public domain. */
2
+ /* Do not edit or override these styles!
3
+ The system will likely break if you do. */
4
+
5
+ div#header, div#footer, div#controls, .slide {position: absolute;}
6
+ html>body div#header, html>body div#footer,
7
+ html>body div#controls, html>body .slide {position: fixed;}
8
+ .handout {display: none;}
9
+ .layout {display: block;}
10
+ .slide, .hideme, .incremental {visibility: hidden;}
11
+ #slide0 {visibility: visible;}
@@ -0,0 +1,10 @@
1
+ /* This file has been placed in the public domain. */
2
+
3
+ /* required to make the slide show run at all */
4
+ @import url(s5-core.css);
5
+
6
+ /* sets basic placement and size of slide components */
7
+ @import url(framing.css);
8
+
9
+ /* styles that make the slides look good */
10
+ @import url(pretty.css);