foundation-icons-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/directory.png +0 -0
- data/app/assets/images/l.png +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general-enclosed.eot +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general-enclosed.svg +162 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general-enclosed.ttf +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general-enclosed.woff +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general.eot +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general.otf +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general.svg +161 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general.ttf +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-general.woff +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-social.eot +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-social.svg +81 -0
- data/app/assets/stylesheets/fonts/foundation-icons-social.ttf +0 -0
- data/app/assets/stylesheets/fonts/foundation-icons-social.woff +0 -0
- data/app/assets/stylesheets/foundation-icons.css.sass +34 -0
- data/app/controllers/application_controller.rb +3 -0
- data/app/controllers/pages_controller.rb +5 -0
- data/app/views/pages/directory.html.erb +70 -0
- data/config/routes.rb +4 -0
- data/lib/foundation-icons-rails.rb +10 -0
- data/lib/foundation-icons-rails/engine.rb +11 -0
- data/lib/foundation-icons-rails/version.rb +7 -0
- metadata +106 -0
@@ -0,0 +1,70 @@
|
|
1
|
+
<%- arr = "abcdefghijklmnopqrstuvwxyz[]\;',./" %>
|
2
|
+
|
3
|
+
<h1>General</h1>
|
4
|
+
<table class="table table-bordered">
|
5
|
+
<% (0..5).each do |y| %>
|
6
|
+
<tr>
|
7
|
+
<% (0..13).each do |x| %>
|
8
|
+
<% if (y.odd?) %>
|
9
|
+
<td style="background: #eee; text-align: center">
|
10
|
+
<b><%= "#{arr.at(13*((y-1)/2)+x)}" %></b>
|
11
|
+
</td>
|
12
|
+
<% else %>
|
13
|
+
<td style="text-align: center; padding: 5px; height: 36px">
|
14
|
+
<% if 13*((y-1)/2)+x < 26 %>
|
15
|
+
<div class="glyph general" style="font-size: 24px; line-height: 24px">
|
16
|
+
<%= arr.at(13*((y)/2)+x) %>
|
17
|
+
</div>
|
18
|
+
<% end %>
|
19
|
+
</td>
|
20
|
+
<% end %>
|
21
|
+
<% end %>
|
22
|
+
</tr>
|
23
|
+
<% end %>
|
24
|
+
</table>
|
25
|
+
|
26
|
+
<h1>Enclosed</h1>
|
27
|
+
<table class="table table-bordered">
|
28
|
+
<% (0..5).each do |y| %>
|
29
|
+
<tr>
|
30
|
+
<% (0..13).each do |x| %>
|
31
|
+
<% if (y.odd?) %>
|
32
|
+
<td style="background: #eee; text-align: center">
|
33
|
+
<b><%= "#{arr.at(13*((y-1)/2)+x)}" %></b>
|
34
|
+
</td>
|
35
|
+
<% else %>
|
36
|
+
<td style="text-align: center; padding: 5px; height: 36px">
|
37
|
+
<% if 13*((y-1)/2)+x < 26 %>
|
38
|
+
<div class="glyph enclosed" style="font-size: 24px; line-height: 24px">
|
39
|
+
<%= arr.at(13*((y)/2)+x) %>
|
40
|
+
</div>
|
41
|
+
<% end %>
|
42
|
+
</td>
|
43
|
+
<% end %>
|
44
|
+
<% end %>
|
45
|
+
</tr>
|
46
|
+
<% end %>
|
47
|
+
</table>
|
48
|
+
|
49
|
+
<h1>Social</h1>
|
50
|
+
<table class="table table-bordered">
|
51
|
+
<% (0..3).each do |y| %>
|
52
|
+
<tr>
|
53
|
+
<% (0..13).each do |x| %>
|
54
|
+
<% if (y.odd?) %>
|
55
|
+
<td style="background: #eee; text-align: center">
|
56
|
+
<b><%= "#{arr.at(13*((y-1)/2)+x)}" %></b>
|
57
|
+
</td>
|
58
|
+
<% else %>
|
59
|
+
<td style="text-align: center; padding: 5px; height: 36px">
|
60
|
+
<% if 13*((y-1)/2)+x < 26 %>
|
61
|
+
<div class="glyph social" style="font-size: 24px; line-height: 24px">
|
62
|
+
<%= arr.at(13*((y)/2)+x) %>
|
63
|
+
</div>
|
64
|
+
<% end %>
|
65
|
+
</td>
|
66
|
+
<% end %>
|
67
|
+
<% end %>
|
68
|
+
</tr>
|
69
|
+
<% end %>
|
70
|
+
</table>
|
data/config/routes.rb
ADDED
metadata
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: foundation-icons-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Michael North
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-06-11 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sass
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: ZURB's foundation icons
|
47
|
+
email:
|
48
|
+
- michael.north@truenorthapps.com
|
49
|
+
executables: []
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files: []
|
52
|
+
files:
|
53
|
+
- app/assets/images/directory.png
|
54
|
+
- app/assets/images/l.png
|
55
|
+
- app/assets/stylesheets/fonts/foundation-icons-general-enclosed.eot
|
56
|
+
- app/assets/stylesheets/fonts/foundation-icons-general-enclosed.svg
|
57
|
+
- app/assets/stylesheets/fonts/foundation-icons-general-enclosed.ttf
|
58
|
+
- app/assets/stylesheets/fonts/foundation-icons-general-enclosed.woff
|
59
|
+
- app/assets/stylesheets/fonts/foundation-icons-general.eot
|
60
|
+
- app/assets/stylesheets/fonts/foundation-icons-general.otf
|
61
|
+
- app/assets/stylesheets/fonts/foundation-icons-general.svg
|
62
|
+
- app/assets/stylesheets/fonts/foundation-icons-general.ttf
|
63
|
+
- app/assets/stylesheets/fonts/foundation-icons-general.woff
|
64
|
+
- app/assets/stylesheets/fonts/foundation-icons-social.eot
|
65
|
+
- app/assets/stylesheets/fonts/foundation-icons-social.svg
|
66
|
+
- app/assets/stylesheets/fonts/foundation-icons-social.ttf
|
67
|
+
- app/assets/stylesheets/fonts/foundation-icons-social.woff
|
68
|
+
- app/assets/stylesheets/foundation-icons.css.sass
|
69
|
+
- app/controllers/application_controller.rb
|
70
|
+
- app/controllers/pages_controller.rb
|
71
|
+
- app/views/pages/directory.html.erb
|
72
|
+
- config/routes.rb
|
73
|
+
- lib/foundation-icons-rails/engine.rb
|
74
|
+
- lib/foundation-icons-rails/version.rb
|
75
|
+
- lib/foundation-icons-rails.rb
|
76
|
+
homepage: http://github.com/TrueNorth/foundation-icons-rails
|
77
|
+
licenses: []
|
78
|
+
post_install_message:
|
79
|
+
rdoc_options: []
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
hash: 230695599300984947
|
91
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
segments:
|
98
|
+
- 0
|
99
|
+
hash: 230695599300984947
|
100
|
+
requirements: []
|
101
|
+
rubyforge_project:
|
102
|
+
rubygems_version: 1.8.24
|
103
|
+
signing_key:
|
104
|
+
specification_version: 3
|
105
|
+
summary: ZURB's foundation icons, made quick and easy for Rails projects
|
106
|
+
test_files: []
|