poodle-rb 0.1.0 → 0.1.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 +4 -4
- data/app/helpers/poodle/application_helper.rb +8 -0
- data/app/helpers/poodle/display_helper.rb +4 -0
- data/app/views/layouts/poodle/application.html.erb +2 -2
- data/app/views/layouts/poodle/public/_footer.html.erb +5 -0
- data/app/views/layouts/poodle/public/_header.html.erb +4 -0
- data/app/views/layouts/poodle/public.html.erb +5 -5
- data/lib/poodle/action_view/theme_helper.rb +1 -1
- data/lib/poodle/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 870d2e4608cc379603d293610ac0ffabcb936f44
|
4
|
+
data.tar.gz: 926764d17da68d811bd011622533379ffe2509e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6963aa512c937bd9bb6d7b68c34102099b7a23f863c190ed57bba9835cee9696b10f014527f1cc716a5eeb41eb1e0de13776245f1e150201e14a150876f0d02
|
7
|
+
data.tar.gz: 418c4d1f13b3ffdfe2e07dc2d966ef66ae7965f24e84ff85c8d6238f808fedf42bcab15e523c9dccfcecc16d9ee1cc544ca47a0e24ce9ab6cd16b2265ae761e6
|
@@ -19,6 +19,14 @@ module Poodle
|
|
19
19
|
main_app_url_helper?(method) or super
|
20
20
|
end
|
21
21
|
|
22
|
+
def stylesheet_filename
|
23
|
+
@stylesheet_filename || "poodle/application"
|
24
|
+
end
|
25
|
+
|
26
|
+
def javascript_filename
|
27
|
+
@javascript_filename || "poodle/application"
|
28
|
+
end
|
29
|
+
|
22
30
|
private
|
23
31
|
|
24
32
|
def main_app_url_helper?(method)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title><%= title -%></title>
|
5
5
|
<%= meta_tags %>
|
6
6
|
<link rel="icon" href="/assets/favicon.ico" type="image/png">
|
7
|
-
<%= stylesheet_link_tag
|
7
|
+
<%= stylesheet_link_tag stylesheet_filename, :media => "all" -%>
|
8
8
|
<%= csrf_meta_tags -%>
|
9
9
|
<%= yield :javascript_header -%>
|
10
10
|
</head>
|
@@ -47,7 +47,7 @@
|
|
47
47
|
<%= render :partial=>"/layouts/poodle/common/overlays" -%>
|
48
48
|
|
49
49
|
<%#* Loading Javascripts -%>
|
50
|
-
<%= javascript_include_tag
|
50
|
+
<%= javascript_include_tag javascript_filename -%>
|
51
51
|
|
52
52
|
<%= yield :javascript_footer -%>
|
53
53
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title><%= title -%></title>
|
5
5
|
<%= meta_tags %>
|
6
6
|
<link rel="icon" href="/assets/favicon.ico" type="image/png">
|
7
|
-
<%= stylesheet_link_tag
|
7
|
+
<%= stylesheet_link_tag stylesheet_filename, :media => "all" -%>
|
8
8
|
<%= csrf_meta_tags -%>
|
9
9
|
<%= yield :javascript_header -%>
|
10
10
|
</head>
|
@@ -15,12 +15,12 @@
|
|
15
15
|
<div class="container-fluid header-block clearfix">
|
16
16
|
|
17
17
|
<div id="div_page_header">
|
18
|
-
<%= render :partial=>"/layouts/poodle/
|
18
|
+
<%= render :partial=>"/layouts/poodle/public/header" -%>
|
19
19
|
</div>
|
20
20
|
|
21
21
|
<%#* Show flash messages if controller has set any. -%>
|
22
22
|
<div id="div_flash_message">
|
23
|
-
<%= flash_message(false) -%>
|
23
|
+
<%= flash_message(false) if defined?(flash) -%>
|
24
24
|
</div>
|
25
25
|
|
26
26
|
<%#* Page Content Starts here -%>
|
@@ -29,7 +29,7 @@
|
|
29
29
|
</div>
|
30
30
|
|
31
31
|
<%#* Display Footer -%>
|
32
|
-
<%= render :partial=>"/layouts/poodle/
|
32
|
+
<%= render :partial=>"/layouts/poodle/public/footer" -%>
|
33
33
|
|
34
34
|
</div>
|
35
35
|
|
@@ -39,7 +39,7 @@
|
|
39
39
|
<%= render :partial=>"/layouts/poodle/common/overlays" -%>
|
40
40
|
|
41
41
|
<%#* Loading Javascripts -%>
|
42
|
-
<%= javascript_include_tag
|
42
|
+
<%= javascript_include_tag javascript_filename -%>
|
43
43
|
|
44
44
|
<%= yield :javascript_footer -%>
|
45
45
|
|
@@ -79,7 +79,7 @@ module Poodle
|
|
79
79
|
# <div class="row mb-10">
|
80
80
|
# <div class="fs-22 col-sm-12"><i class='fa fa-rub fa-lg mr-10'></i>Manage Projects</div>
|
81
81
|
# </div>
|
82
|
-
def theme_heading(heading, icon='
|
82
|
+
def theme_heading(heading, icon='')
|
83
83
|
content_tag :div, class: "row mb-10" do
|
84
84
|
content_tag :div, class: "fs-22 col-sm-12" do
|
85
85
|
raw((icon ? theme_fa_icon(icon, 'lg') : "") + " #{heading}")
|
data/lib/poodle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poodle-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krishnaprasad Varma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kaminari
|
@@ -341,6 +341,8 @@ files:
|
|
341
341
|
- app/views/layouts/poodle/application/_sidebar.html.erb
|
342
342
|
- app/views/layouts/poodle/common/_overlays.html.erb
|
343
343
|
- app/views/layouts/poodle/public.html.erb
|
344
|
+
- app/views/layouts/poodle/public/_footer.html.erb
|
345
|
+
- app/views/layouts/poodle/public/_header.html.erb
|
344
346
|
- app/views/widgets/_more_details.html.erb
|
345
347
|
- app/views/widgets/_more_details_table.html.erb
|
346
348
|
- config/initializers/poodle_validators.rb
|