instedd-rails 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown
CHANGED
@@ -84,3 +84,11 @@ To render tabs in the view:
|
|
84
84
|
<%= tab "Overview", overview_path %>
|
85
85
|
<%= tab "Settings", settings_path %>
|
86
86
|
</ul>
|
87
|
+
|
88
|
+
Using a different URL for the theme
|
89
|
+
-----------------------------------
|
90
|
+
|
91
|
+
You can use the INSTEDD\_THEME environment variable to use a different
|
92
|
+
url for the theme. For example:
|
93
|
+
|
94
|
+
INSTEDD\_THEME=http://localhost rails s
|
@@ -9,8 +9,8 @@
|
|
9
9
|
<%= javascript_include_tag "application" %>
|
10
10
|
<%= csrf_meta_tags %>
|
11
11
|
<% end %>
|
12
|
-
<%= stylesheet_link_tag
|
13
|
-
<%= javascript_include_tag
|
12
|
+
<%= stylesheet_link_tag "#{InsteddRails.url}/theme/stylesheets/theme.css" %>
|
13
|
+
<%= javascript_include_tag "#{InsteddRails.url}/theme/javascripts/theme.js" %>
|
14
14
|
<% if Rails::version < '3.1' %>
|
15
15
|
<%= stylesheet_link_tag "/stylesheets/#{application_name.underscore}.css" %>
|
16
16
|
<% else %>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<%= body do %>
|
2
2
|
<%= header do %>
|
3
|
-
<img src="
|
4
|
-
<img src="
|
3
|
+
<img src="<%= InsteddRails.url %>/theme/images/header/logos/<%= application_name.underscore %>.png"/>
|
4
|
+
<img src="<%= InsteddRails.url %>/theme/images/header/shadow_small.png"/>
|
5
5
|
<% end %>
|
6
6
|
<%= content do %>
|
7
7
|
<%= yield %>
|
@@ -15,4 +15,4 @@
|
|
15
15
|
<% end %>
|
16
16
|
</p>
|
17
17
|
<% end %>
|
18
|
-
<% end %>
|
18
|
+
<% end %>
|
data/lib/instedd-rails.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instedd-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70281596116000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70281596116000
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: breadcrumbs_on_rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &70281596115580 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70281596115580
|
36
36
|
description: This gem unifies all the helpers and common views used by all Instedd
|
37
37
|
applications
|
38
38
|
email:
|