dlegr250_material_design 0.4.24 → 0.4.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0cc7779228d40b8a0b80a3bd3f56ee7df488300
4
- data.tar.gz: 7e84594b56919d496a2666f72e268bfcd0d05405
3
+ metadata.gz: e2e82f84927ba5a2a2b0bfca4169018d5bc4b512
4
+ data.tar.gz: e49200ce9f4dea78c20d86eccc245264c3e2d082
5
5
  SHA512:
6
- metadata.gz: 69c616b15aabf176ccd78086e2d940e936e60986347f0c33592ee67c36dbb21bfb156b532f37d4723d07782dbf086e224fffc6cfbc268b5b0345ce4eb2f57939
7
- data.tar.gz: 7bdf3613ffc5eca5e695ebe7517ae59c12ecffe4735325e476d9f60b3485ab6ccc2a46911ada89a87900f0b177d0e83c5813d6415ddbe0edc4920a15874032c2
6
+ metadata.gz: f838dccecdc6dfeb3b506069fc0b0723990243b35b09aa3cb57e77fd8d924968c9dd84518e479b9834e682be0f46f133923183faf62c306953b21d550ad8664c
7
+ data.tar.gz: 62e05125830a32139f2ecf8e46171da3c8bad31a702e718069bb34833bac7d12b46beef6398c372dc600a4e1083e42025369c042e3b182a1d30b72f2e72d99e7
@@ -1,4 +1,6 @@
1
1
  class StyleguideController < ApplicationController
2
+ layout "styleguide"
3
+
2
4
  def index
3
5
  # NOOP - page to demo interface
4
6
  end
@@ -0,0 +1,49 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title><%= page_title_helper %></title>
5
+ <%= charset_meta_tag %>
6
+ <%= viewport_meta_tag %>
7
+ <%= mobile_fullscreen_tags %>
8
+ <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
9
+ <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
10
+ <%= csrf_meta_tags %>
11
+ <%= favicon_link_tag "favicon-32x32.png" %>
12
+ </head>
13
+ <body class="has-left-sidebar controller-<%= controller_path.parameterize %> action-<%= action_name %>" data-snackbar="<%= flash[:notice] %>" data-snackbar-error="<%= flash[:error] %>">
14
+ <div id="container">
15
+ <header class="appbar" id="appbar">
16
+ <div class="appbar-nav-icon" id="appbar-nav-icon">
17
+ <% if content_for?(:appbar_nav_icon) %>
18
+ <%= yield :appbar_nav_icon %>
19
+ <% else %>
20
+ <i class="material-icons appbar-button small-and-medium-only" role="left-sidebar-toggle">menu</i>
21
+ <% end %>
22
+ </div>
23
+ <div class="appbar-title truncate-text" id="appbar-title">
24
+ <%= yield :appbar_title %>
25
+ </div>
26
+ <div class="appbar-actions" id="appbar-actions">
27
+ <%= yield :appbar_actions %>
28
+ </div>
29
+ </header>
30
+
31
+ <aside class="sidebar" id="left-sidebar">
32
+ <div class="sidebar-header">Styleguide</div>
33
+ <%= yield :left_sidebar %>
34
+ </aside>
35
+
36
+ <main id="main">
37
+ <div class="constrained constrained-large">
38
+ <%= yield %>
39
+ </div>
40
+ </main>
41
+ </div>
42
+
43
+ <div id="overlay">
44
+ <div class="dialog" id="dialog"></div>
45
+ </div>
46
+
47
+ <div id="snackbar"></div>
48
+ </body>
49
+ </html>
@@ -1,4 +1,4 @@
1
- <%= content_for(:title) { "Styleguide" } %>
1
+ <%= content_for(:appbar_title) { "Styleguide" } %>
2
2
 
3
3
  <%= render "styleguide/navigation" %>
4
4
 
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.4.24"
2
+ VERSION = "0.4.25"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.24
4
+ version: 0.4.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
@@ -26,6 +26,7 @@ files:
26
26
  - README.md
27
27
  - Rakefile
28
28
  - app/controllers/styleguide_controller.rb
29
+ - app/views/layouts/styleguide.html.erb
29
30
  - app/views/styleguide/_buttons.html.erb
30
31
  - app/views/styleguide/_menus.html.erb
31
32
  - app/views/styleguide/_navigation.html.erb