sul_chrome 0.1.0 → 0.2.1

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: 9df88f364e56ba6aaaf6bca20bd6e2cfdb3cb089
4
- data.tar.gz: 9f5ff80f7c986c4e0ca6f9c24a6da6aedd160a53
3
+ metadata.gz: 92d176678f6f228432e6ac4ba61f43cdafd4875a
4
+ data.tar.gz: 41b2aceedb6d527f3b3be5ac5b74b4a87eb682d8
5
5
  SHA512:
6
- metadata.gz: 49457245b28fb5dd89f1e238f34b921bd1a3fc7475dc93ad71e9845f006006362da09772be7e24321286c4edf7c1f3d5e07d20c7db037c40741ca27f48f3b430
7
- data.tar.gz: 1ecca075f41730ca8a24656f2f288f9a08ee91da90c98e889d69b81eb2660769a6b4e3d5ae24165d94fe001096390121eefa3a11d30cf983e7fd8e9107bf0257
6
+ metadata.gz: a291fd4e36eee93a293f5b5a72994259eae2d0ce9552c16f847e56bb58a36fcf3534f962fd76e76e60592e1c4cc6deba59114d664cded7e38e548a919aac67ba
7
+ data.tar.gz: f0cd77b017bdcb85643ec4353c156502dff42298440c60a603ba08cbc99d818ab7fc91200d39cf4fbb0737d165ef853b37e18573a894d796ad548a65f3f7043d
@@ -2,7 +2,6 @@ $baseFontSize: 13px;
2
2
  $baseLineHeight: 18px;
3
3
 
4
4
  @import 'bootstrap';
5
- @import 'bootstrap/responsive';
6
5
 
7
6
  @import "sul_chrome/sul_chrome_mixins";
8
7
 
@@ -0,0 +1,3 @@
1
+ $baseFontSize: 13px;
2
+ $baseLineHeight: 18px;
3
+ $brand-primary: #990000;
@@ -6,7 +6,7 @@
6
6
  <%= stylesheet_link_tag "application", :media => "all" %>
7
7
  <%= javascript_include_tag "application" %>
8
8
  <%= csrf_meta_tags %>
9
- <%= raw(render_head_content) if defined?(Blacklight) %>
9
+ <%= content_for(:head) %>
10
10
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
11
  </head>
12
12
  <body id="<%= "#{params[:controller]}-#{params[:action]}" %>">
@@ -15,17 +15,17 @@
15
15
  <div id="container" class="container">
16
16
  <header id="header">
17
17
  <div class="row">
18
- <div class="span6" id="branding">
18
+ <div class="col-md-6" id="branding">
19
19
  <%= link_to(image_tag("sul.png"), "http://library.stanford.edu", :class=>"img-link") %>
20
20
  </div>
21
- <div class="span6" id="utility-links">
21
+ <div class="col-md-6" id="utility-links">
22
22
  <%= render :partial => "shared/sul_chrome/utility_links" -%>
23
23
  </div>
24
24
  </div>
25
25
  </header>
26
26
  <%- navigation = render :partial => "shared/sul_chrome/navigation" -%>
27
27
  <%- unless navigation.blank? -%>
28
- <nav id="navigation-ribbon" class="navbar">
28
+ <nav id="navigation-ribbon" class="navbar navbar-default">
29
29
  <div class="navbar-inner">
30
30
  <div class="container">
31
31
  <%= navigation %>
@@ -0,0 +1,73 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="no-js">
3
+ <head>
4
+ <title><%= h(@page_title || "") %></title>
5
+ <link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon" />
6
+ <%= stylesheet_link_tag "application", :media => "all" %>
7
+ <%= javascript_include_tag "application" %>
8
+ <%= csrf_meta_tags %>
9
+ <%= content_for(:head) %>
10
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
+ </head>
12
+ <body id="<%= render_body_class %>">
13
+
14
+ <div id="ajax-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modal menu" aria-hidden="true">
15
+ <div class="modal-dialog">
16
+ <div class="modal-content">
17
+ </div>
18
+ </div>
19
+ </div>
20
+
21
+ <div id="wrapper">
22
+ <div id="sul-wrapper">
23
+ <div id="container" class="container">
24
+ <header id="header">
25
+ <div class="row">
26
+ <div class="col-md-6" id="branding">
27
+ <%= link_to(image_tag("sul.png"), "http://library.stanford.edu", :class=>"img-link") %>
28
+ </div>
29
+ <div class="col-md-6" id="utility-links">
30
+ <%= render :partial => "shared/sul_chrome/utility_links" -%>
31
+ </div>
32
+ </div>
33
+ </header>
34
+ <%- navigation = render :partial => "shared/sul_chrome/navigation" -%>
35
+ <%- unless navigation.blank? -%>
36
+ <nav id="navigation-ribbon" class="navbar navbar-default">
37
+ <div class="navbar-inner">
38
+ <div class="container">
39
+ <%= navigation %>
40
+ </div>
41
+ </div>
42
+ </nav>
43
+ <%- end -%>
44
+
45
+ <%= render :partial => 'shared/header_navbar' %>
46
+ <div id="main-container">
47
+ <div class="row">
48
+ <div class="col-md-12">
49
+ <div id="main-flashes">
50
+ <%= render :partial=>'/flash_msg' %>
51
+ </div>
52
+ </div>
53
+ </div>
54
+
55
+ <div class="row">
56
+ <%= render :partial => "shared/sul_chrome/main_container" %>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+
62
+ <%= render :partial => 'shared/footer' %>
63
+ <footer>
64
+ <%= image_tag("footer-stanford-logo.png", :class => "hidden-phone footer-logo") %>
65
+ <div id="footer-links">
66
+ <%= link_to("Stanford University Home", "http://www.stanford.edu") %> <%= link_to("Maps & Directions", "http://visit.stanford.edu/plan/maps.html") %> <%= link_to("Search Stanford", "http://www.stanford.edu/search/") %> <%= link_to("Terms of Use", "http://www.stanford.edu/site/terms.html") %> <%= link_to("Copyright Complaints", "http://www.stanford.edu/site/copyright.html") %><br/>
67
+ <span>&copy; Stanford University, Stanford, California 94305. (650) 723-2300</span>
68
+ </div>
69
+ <%= render "shared/sul_chrome/footer_addition" %>
70
+ </footer>
71
+ </div>
72
+ </body>
73
+ </html>
@@ -1,3 +1,3 @@
1
1
  module SulChrome
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sul_chrome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jessie Keck
@@ -9,62 +9,62 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-07 00:00:00.000000000 Z
12
+ date: 2017-07-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 3.1.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.1.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bootstrap-sass
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: '3.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: '3.0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: lyberteam-gems-devel
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: sqlite3
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  description: Sassified Twitter Bootstrap gem for Stanford University Libraries. This
@@ -77,6 +77,9 @@ executables: []
77
77
  extensions: []
78
78
  extra_rdoc_files: []
79
79
  files:
80
+ - MIT-LICENSE
81
+ - README.rdoc
82
+ - Rakefile
80
83
  - app/assets/images/bg-nav.png
81
84
  - app/assets/images/body.png
82
85
  - app/assets/images/favicon.ico
@@ -87,28 +90,30 @@ files:
87
90
  - app/assets/javascripts/sul_chrome/sul_chrome_base.js
88
91
  - app/assets/stylesheets/sul_chrome/sul_chrome_base.css.scss
89
92
  - app/assets/stylesheets/sul_chrome/sul_chrome_mixins.css.scss
93
+ - app/assets/stylesheets/sul_chrome/theme.css.scss
90
94
  - app/controllers/sul_chrome/application_controller.rb
91
95
  - app/helpers/sul_chrome/application_helper.rb
92
96
  - app/views/layouts/sul_chrome/application.html.erb
97
+ - app/views/layouts/sul_chrome/blacklight.html.erb
93
98
  - app/views/shared/sul_chrome/_footer_addition.html.erb
94
99
  - app/views/shared/sul_chrome/_main_container.html.erb
95
100
  - app/views/shared/sul_chrome/_navigation.html.erb
96
101
  - app/views/shared/sul_chrome/_utility_links.html.erb
97
102
  - config/routes.rb
98
103
  - lib/generators/sul_chrome/sul_chrome_generator.rb
104
+ - lib/sul_chrome.rb
99
105
  - lib/sul_chrome/controller.rb
100
106
  - lib/sul_chrome/engine.rb
101
107
  - lib/sul_chrome/version.rb
102
- - lib/sul_chrome.rb
103
108
  - lib/tasks/sul_chrome_tasks.rake
104
- - MIT-LICENSE
105
- - Rakefile
106
- - README.rdoc
109
+ - test/dummy/README.rdoc
110
+ - test/dummy/Rakefile
107
111
  - test/dummy/app/assets/javascripts/application.js
108
112
  - test/dummy/app/assets/stylesheets/application.css
109
113
  - test/dummy/app/controllers/application_controller.rb
110
114
  - test/dummy/app/helpers/application_helper.rb
111
115
  - test/dummy/app/views/layouts/application.html.erb
116
+ - test/dummy/config.ru
112
117
  - test/dummy/config/application.rb
113
118
  - test/dummy/config/boot.rb
114
119
  - test/dummy/config/database.yml
@@ -124,13 +129,10 @@ files:
124
129
  - test/dummy/config/initializers/wrap_parameters.rb
125
130
  - test/dummy/config/locales/en.yml
126
131
  - test/dummy/config/routes.rb
127
- - test/dummy/config.ru
128
132
  - test/dummy/public/404.html
129
133
  - test/dummy/public/422.html
130
134
  - test/dummy/public/500.html
131
135
  - test/dummy/public/favicon.ico
132
- - test/dummy/Rakefile
133
- - test/dummy/README.rdoc
134
136
  - test/dummy/script/rails
135
137
  - test/integration/navigation_test.rb
136
138
  - test/sul_chrome_test.rb
@@ -144,17 +146,17 @@ require_paths:
144
146
  - lib
145
147
  required_ruby_version: !ruby/object:Gem::Requirement
146
148
  requirements:
147
- - - '>='
149
+ - - ">="
148
150
  - !ruby/object:Gem::Version
149
151
  version: '0'
150
152
  required_rubygems_version: !ruby/object:Gem::Requirement
151
153
  requirements:
152
- - - '>='
154
+ - - ">="
153
155
  - !ruby/object:Gem::Version
154
156
  version: '0'
155
157
  requirements: []
156
158
  rubyforge_project:
157
- rubygems_version: 2.0.3
159
+ rubygems_version: 2.6.11
158
160
  signing_key:
159
161
  specification_version: 4
160
162
  summary: Base chrome for Stanford University Libraries sites.