flutie 1.1.7 → 1.1.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/README.md +6 -0
- data/app/views/flutie/styleguides/show.erb +14 -10
- data/public/stylesheets/sass/flutie.scss +1 -0
- metadata +3 -3
data/README.md
CHANGED
@@ -77,6 +77,12 @@ To rebuild the normal scss run:
|
|
77
77
|
|
78
78
|
sass -C --update public/stylesheets/sass:public/stylesheets
|
79
79
|
|
80
|
+
You can run a server which will allow you to view the flutie styleguide locally:
|
81
|
+
|
82
|
+
ruby server.rb
|
83
|
+
|
84
|
+
Browsing to localhost at the port output by the above command will show you the styleguide.
|
85
|
+
|
80
86
|
Credits
|
81
87
|
-------
|
82
88
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<div>
|
2
2
|
<div style="padding: 15px; text-align: right;">
|
3
|
-
<% if params[:flutie]
|
4
|
-
|
5
|
-
<% else
|
6
|
-
|
7
|
-
<% end
|
3
|
+
<% if params[:flutie] %>
|
4
|
+
<a href="?flutie=false">Application Styles</a>
|
5
|
+
<% else %>
|
6
|
+
<a href="?flutie=true">Default Styles</a>
|
7
|
+
<% end %>
|
8
8
|
</div>
|
9
9
|
|
10
10
|
<h1>This is an example page of our basic styles</h1>
|
@@ -731,12 +731,16 @@ end</code></pre>
|
|
731
731
|
It should be the same size as <p> text.
|
732
732
|
</tt>
|
733
733
|
|
734
|
-
<hr />
|
735
|
-
<h1>Additional Styleguides</h1>
|
736
|
-
<hr />
|
737
734
|
|
738
|
-
|
739
|
-
|
735
|
+
|
736
|
+
<% if @styleguides %>
|
737
|
+
<hr />
|
738
|
+
<h1>Additional Styleguides</h1>
|
739
|
+
<hr />
|
740
|
+
|
741
|
+
<% @styleguides.each do |styleguide| %>
|
742
|
+
<%= render :file => styleguide %>
|
743
|
+
<% end %>
|
740
744
|
<% end %>
|
741
745
|
|
742
746
|
</div>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flutie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 8
|
10
|
+
version: 1.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chad Pytel
|