flammarion 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +13 -0
- data/lib/flammarion/version.rb +1 -1
- data/lib/flammarion/writeable.rb +4 -0
- data/lib/html/build/fonts/FontAwesome.otf +0 -0
- data/lib/html/build/fonts/fontawesome-webfont.eot +0 -0
- data/lib/html/build/fonts/fontawesome-webfont.svg +655 -0
- data/lib/html/build/fonts/fontawesome-webfont.ttf +0 -0
- data/lib/html/build/fonts/fontawesome-webfont.woff +0 -0
- data/lib/html/build/fonts/fontawesome-webfont.woff2 +0 -0
- data/lib/html/build/javascripts/actions.js +7 -1
- data/lib/html/build/javascripts/all.js +7 -1
- data/lib/html/build/javascripts/map.js +7 -1
- data/lib/html/build/javascripts/websocket.js +7 -1
- data/lib/html/build/stylesheets/all.css +2092 -0
- data/lib/html/build/stylesheets/font-awesome/HELP-US-OUT.txt +7 -0
- data/lib/html/build/stylesheets/font-awesome/css/font-awesome.css +2087 -0
- data/lib/html/build/stylesheets/font-awesome/css/font-awesome.min.css +5 -0
- data/lib/html/source/fonts/FontAwesome.otf +0 -0
- data/lib/html/source/fonts/fontawesome-webfont.eot +0 -0
- data/lib/html/source/fonts/fontawesome-webfont.svg +655 -0
- data/lib/html/source/fonts/fontawesome-webfont.ttf +0 -0
- data/lib/html/source/fonts/fontawesome-webfont.woff +0 -0
- data/lib/html/source/fonts/fontawesome-webfont.woff2 +0 -0
- data/lib/html/source/javascripts/websocket.coffee +3 -0
- data/lib/html/source/stylesheets/font-awesome/HELP-US-OUT.txt +7 -0
- data/lib/html/source/stylesheets/font-awesome/css/font-awesome.css +2086 -0
- data/lib/html/source/stylesheets/font-awesome/css/font-awesome.min.css +4 -0
- metadata +19 -1
data/LICENSE
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# Flammarion
|
2
|
+
|
1
3
|
Copyright (c) 2015 Zachary Capalbo
|
2
4
|
|
3
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -17,3 +19,14 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
21
|
THE SOFTWARE.
|
22
|
+
|
23
|
+
|
24
|
+
# Font Awesome
|
25
|
+
|
26
|
+
This software incorporates
|
27
|
+
[Font Awesome by Dave Gandy - http://fontawesome.io](http://fontawesome.io). The
|
28
|
+
fonts in Font Awesome are licensed under the
|
29
|
+
[SIL OFL 1.1](http://scripts.sil.org/OFL). The css files in Font Awesome are
|
30
|
+
licensed under the [MIT License](http://opensource.org/licenses/mit-license.html)
|
31
|
+
|
32
|
+
C.f. https://fortawesome.github.io/Font-Awesome/license/
|
data/lib/flammarion/version.rb
CHANGED
data/lib/flammarion/writeable.rb
CHANGED
@@ -100,6 +100,10 @@ module Flammarion
|
|
100
100
|
%|<a href="#" onClick="$ws.send({id:'#{id}', action:'callback', source:'link'})">#{label}</a>|
|
101
101
|
end
|
102
102
|
|
103
|
+
def icon(name, additional_classes = [])
|
104
|
+
%|<i class="fa fa-#{name} #{additional_classes.collect{|c| "fa-#{c}"}.join(" ")}"></i>|
|
105
|
+
end
|
106
|
+
|
103
107
|
def input(label, options = {}, &block)
|
104
108
|
id = @front_end.make_id
|
105
109
|
send_json({action:'input', label:label, id:id}.merge(options))
|
Binary file
|
Binary file
|