fuel 0.3.24 → 0.3.25

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4647472467e079b2c27e9f5cf22c0f2d120eb816
4
- data.tar.gz: a45879f0da1ac737f8e1f683c75a5f839867d00e
3
+ metadata.gz: 60036a5b7b7e4e7522c02cc010da3bba8fbbd147
4
+ data.tar.gz: 5cb4f5f4f1da05a36bbd43dba274364c81a2c250
5
5
  SHA512:
6
- metadata.gz: d331b1376be2e6b7874ac460aa0b9c3694f4a2c29b6d9d39fa7cf4e6770ef3aed67a24b8e7e71ae1ec6684946140a7997cb185ecd049ad6e770f29cf3beef54f
7
- data.tar.gz: 67de22bcef12f2101a299156722ad716391881fe0f935f6c262cf902ed6953252376655e43b0b9bae66baf091efdb3d90e845ff164b529b5f1f395cb18a33c51
6
+ metadata.gz: 7295e740b0c2ca5d765376d22a4c0178e47347fcd61c33cc689c4c34c137c0874d91ed39f05ffe7279896916a8a3500092cca3297b958ff82a09b0cda0f10384
7
+ data.tar.gz: fb4affe713fb3b0ea38319b7397b095982172e6e19d738485da75997e0e7de2c9022978bafea61576484daabea03278c8c98112c170dab4204c65ccd1bd4ad4c
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 720 720"><path fill="#00AEEF" d="M0 0h720v720H0z"/><g fill="#FFF"><path d="M365.8 592.7c-1.4 0-2.8 0-4.3-.1-1.9 0-3.4-1.6-3.4-3.6.1-1.9 1.7-3.3 3.6-3.4 37.8.9 59.6-11.6 64.9-15.2v-13c0-1.9 1.6-3.5 3.5-3.5h72.7V425.6l-46.9-38.8v86.4c0 1-.4 1.9-1.2 2.6-.7.7-1.7 1-2.7.8-.3 0-25.3-3.6-25.3-37.7v-83.6c0-160-58.9-226.8-66.5-230.3h-4.5c-7.6 3.4-67.3 70.1-67.3 230v20.7c0 .9-.4 1.8-1.1 2.5l-72.9 70.1v76.5l70.1 8.9c1.9.2 3.2 2 3 3.9-.2 1.9-1.9 3.3-3.9 3l-73.1-9.2c-1.7-.2-3-1.7-3-3.4v-81c0-.9.4-1.8 1.1-2.5l72.9-70.1V355c0-165.6 63.8-236.9 73.9-236.9h5.2c10 0 73.1 71.4 73.1 237.2v83.6c0 20.1 9.7 27.2 15.4 29.6v-89.1c0-1.3.8-2.6 2-3.1 1.2-.6 2.6-.4 3.7.5l53.8 44.6c.8.7 1.3 1.6 1.3 2.7v133.6c0 1.9-1.6 3.5-3.5 3.5h-72.7v11.3c0 1.1-.5 2.1-1.3 2.7-1.1.6-22.8 17.5-66.6 17.5zM284 602.1c-.9 0-1.8-.4-2.4-1-.7-.7-1-1.5-1-2.5v-61.5c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v58l10.8-.3L334 568V422.6l-7.4-2.1-27.4 67.8c-.7 1.8-2.7 2.6-4.5 1.9-1.8-.7-2.6-2.7-1.9-4.5l28.6-70.6c.7-1.6 2.4-2.5 4.2-2l12.9 3.6c1.5.4 2.5 1.8 2.5 3.3v149.7c0 1.1-.5 2.1-1.4 2.8L301.7 601c-.6.4-1.3.7-2 .7l-15.7.4c.1 0 0 0 0 0z"/></g></svg>
@@ -10,7 +10,7 @@ $navbar-shadow-color: rgba(0, 0, 0, 0.5);
10
10
  $navbar-shadow-spread: inset 0 0 5px;
11
11
  $navbar-width: 70px;
12
12
 
13
- $navbar-logo-size: 100px;
13
+ $navbar-logo-size: 50px;
14
14
 
15
15
  $navbar-link-color: $white-base;
16
16
 
@@ -25,10 +25,15 @@ $navbar-link-color: $white-base;
25
25
  }
26
26
 
27
27
  .navbar-logo {
28
- @include rem(height, $navbar-logo-size - 20px);
28
+ @include rem(height, $navbar-logo-size);
29
+ @include rem(margin-bottom, 20px);
29
30
  @include rem(width, $navbar-logo-size);
31
+ background: $white-base;
32
+ border: 2px solid $white-base;
33
+ border-radius: 30em;
34
+ overflow: hidden;
30
35
 
31
- img{ width: 50%; }
36
+ img{ width: 100%; }
32
37
  }
33
38
 
34
39
  .navbar-link {
@@ -0,0 +1,7 @@
1
+ class SettingsController < ApplicationController
2
+
3
+ def edit
4
+
5
+ end
6
+
7
+ end
@@ -1,6 +1,6 @@
1
1
  <aside class="navbar" role="navigation" aria-label="">
2
2
  <div class="navbar-logo">
3
- <%= image_tag 'fuel/icon-test.png', alt: 'Fuel' %>
3
+ <%= image_tag Fuel.configuration.logo, alt: 'Fuel' %>
4
4
  </div>
5
5
  <nav class="navbar-navigation">
6
6
  <ul>
@@ -16,7 +16,4 @@
16
16
  <% end %>
17
17
  </ul>
18
18
  </nav>
19
- <footer>
20
-
21
- </footer>
22
19
  </aside>
@@ -3,7 +3,7 @@ module Fuel
3
3
 
4
4
  # What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5
5
  attr_accessor :layout, :blog_title, :disqus_name, :twitter, :username, :password, :helpers, :paginates_per,
6
- :featured_image_settings, :avatar_settings, :facebook_app_id, :site_name, :blog_description, :tags
6
+ :featured_image_settings, :avatar_settings, :facebook_app_id, :site_name, :blog_description, :tags, :logo
7
7
 
8
8
  def initialize
9
9
  @layout = "application"
@@ -28,6 +28,7 @@ module Fuel
28
28
  @facebook_app_id = nil
29
29
  @site_name = nil
30
30
  @tags = ["Customize", "These", "Options", "In", "config/initializers/fuel.rb"]
31
+ @logo = "fuel/logo.svg"
31
32
  end
32
33
 
33
34
  end
data/lib/fuel/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fuel
2
- VERSION = "0.3.24"
2
+ VERSION = "0.3.25"
3
3
  end
@@ -40,6 +40,12 @@ Fuel.configure do |config|
40
40
  }
41
41
  }
42
42
 
43
+ # logo should be square and at least 58px x 58px
44
+ # add your logo to app/assets/images
45
+ # and change config.logo to "your-image-name.png"
46
+ config.logo = "fuel/logo.svg"
47
+
48
+
43
49
  # config.facebook_app_id = "318506165696214"
44
50
 
45
51
  # Add Disqus
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.24
4
+ version: 0.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Francis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-16 00:00:00.000000000 Z
11
+ date: 2015-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -301,11 +301,11 @@ files:
301
301
  - README.rdoc
302
302
  - Rakefile
303
303
  - app/assets/images/fuel/default-img.jpg
304
- - app/assets/images/fuel/icon-test.png
305
304
  - app/assets/images/fuel/icons/application-icons.svg
306
305
  - app/assets/images/fuel/icons/calendar-icon.svg
307
306
  - app/assets/images/fuel/icons/dropdown-arrow-icon.svg
308
307
  - app/assets/images/fuel/icons/navigation-icons.svg
308
+ - app/assets/images/fuel/logo.svg
309
309
  - app/assets/javascripts/fuel/admin.js.erb
310
310
  - app/assets/javascripts/fuel/application.js
311
311
  - app/assets/javascripts/fuel/datepicker.js
@@ -344,6 +344,7 @@ files:
344
344
  - app/controllers/fuel/admin/admin_controller.rb
345
345
  - app/controllers/fuel/admin/authors_controller.rb
346
346
  - app/controllers/fuel/admin/posts_controller.rb
347
+ - app/controllers/fuel/admin/settings_controller.rb
347
348
  - app/controllers/fuel/fuel_controller.rb
348
349
  - app/controllers/fuel/posts_controller.rb
349
350
  - app/controllers/fuel_controller.rb
Binary file