phcdevworks_real_estate 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/phcdevworks_real_estate/property/features.coffee +0 -0
  3. data/app/assets/javascripts/phcdevworks_real_estate/property/listings.coffee +0 -0
  4. data/app/assets/stylesheets/phcdevworks_real_estate/property/features.scss +0 -0
  5. data/app/assets/stylesheets/phcdevworks_real_estate/property/listings.scss +0 -0
  6. data/app/views/layouts/phcdevworks_real_estate/application.html.erb +62 -77
  7. data/app/views/layouts/phcdevworks_real_estate/components/backend/footer/_footer.html.erb +7 -7
  8. data/app/views/layouts/phcdevworks_real_estate/components/backend/navigation/_top_menu.html.erb +37 -37
  9. data/app/views/layouts/phcdevworks_real_estate/components/backend/sidebars/_side_menu.html.erb +257 -239
  10. data/app/views/phcdevworks_real_estate/property/features/_form.html.erb +16 -12
  11. data/app/views/phcdevworks_real_estate/property/features/edit.html.erb +28 -16
  12. data/app/views/phcdevworks_real_estate/property/features/index.html.erb +58 -38
  13. data/app/views/phcdevworks_real_estate/property/features/new.html.erb +28 -16
  14. data/app/views/phcdevworks_real_estate/property/listings/_form.html.erb +101 -84
  15. data/app/views/phcdevworks_real_estate/property/listings/edit.html.erb +28 -16
  16. data/app/views/phcdevworks_real_estate/property/listings/index.html.erb +71 -51
  17. data/app/views/phcdevworks_real_estate/property/listings/new.html.erb +28 -16
  18. data/lib/phcdevworks_real_estate/engine.rb +6 -8
  19. data/lib/phcdevworks_real_estate/version.rb +1 -1
  20. metadata +26 -11
  21. data/app/assets/stylesheets/phcdevworks_real_estate/property/features.css +0 -4
  22. data/app/assets/stylesheets/phcdevworks_real_estate/property/listings.css +0 -4
  23. data/config/initializers/friendly_id.rb +0 -107
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eec591e9f70f1b0e622825d5881d42e74b6673830a8f2c6b8c71a5630c6c22b0
4
- data.tar.gz: fa44956f71e6a914988b560371da32e1bc7cd23988ce1cf8a16b200dbf7907e8
3
+ metadata.gz: 4fcfdc8b34a9636ec3a004a8806791bdab6650298d9377eef3bcf35043724e60
4
+ data.tar.gz: a90a7658e116ce8487f1ff810830682b18a8586b11bca31081fca93561af55f7
5
5
  SHA512:
6
- metadata.gz: 4fe10d2954e47fcb01896ae2f924b43e6fde88eb2a435edff33d17ac10b6c484e7f726b85b2b69673610bc25285d20b05b0483541650d132b4a593a2510bd2b6
7
- data.tar.gz: f8e5932c5b1027c0a0228dde8a963f25db5f1006153dcec54b9938d8090be10bfc25db4e9807cca628162222d04cd39e0d4f40727a28f782091e23d2d0aca074
6
+ metadata.gz: d137163e8e535ef392c28a39cf35be7d54be660d1e64c108d3ca5ca5a3ad3752497c34e7f4aae52490a18fcbbd3132d2373af9358dc8e51b8e47dad3e87d4452
7
+ data.tar.gz: d6ec1f9f8f805e6a17122d90104e1fe6ffea2c22b0a697ecdd4adde3468e04ffdaf56b0c5fc8133bc93ffff92559c927d9995f339ecb3887a36c091a4c6df9d2
@@ -2,93 +2,78 @@
2
2
  <html>
3
3
  <head>
4
4
 
5
- <!-- SEO System -->
6
- <% phc_seo_title "RealEstate by PHCDevworks" %>
7
- <% phc_seo_description "Ruby on Rails 6 real estate listings management." %>
8
- <!-- SEO System -->
9
-
10
- <!-- SEO and Site Description -->
11
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
12
- <title><%= yield(:phc_seo_title) %></title>
13
- <meta name="description" content="<%= yield(:phc_seo_description) %>">
14
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
15
- <link rel="canonical" href="http://phcdevworks.com">
16
- <!-- SEO and Site Description -->
17
-
18
- <!-- Rails Security Tags -->
19
- <%= csrf_meta_tags %>
20
- <%= csp_meta_tag %>
21
- <!-- Rails Security Tags -->
22
-
23
- <!-- CSS Styles -->
24
- <%= stylesheet_link_tag 'phcdevworks_real_estate/application', media: 'all', 'data-turbolinks-track': 'reload' %>
25
- <!-- CSS Styles -->
26
-
27
- <!-- Font -->
28
- <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700"/>
29
- <!-- Font -->
5
+ <!-- SEO System -->
6
+ <% phc_seo_title "PHCDevworks Real Estate" %>
7
+ <% phc_seo_description "Ruby on Rails 6 Real Estate Property Listings Management Engine." %>
8
+ <!-- SEO System -->
9
+
10
+ <!-- SEO and Site Description -->
11
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
12
+ <title><%= yield(:phc_seo_title) %></title>
13
+ <meta name="description" content="<%= yield(:phc_seo_description) %>">
14
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
15
+ <link rel="canonical" href="http://phcdevworks.com">
16
+ <!-- SEO and Site Description -->
17
+
18
+ <!-- Rails Security Tags -->
19
+ <%= csrf_meta_tags %>
20
+ <%= csp_meta_tag %>
21
+ <!-- Rails Security Tags -->
22
+
23
+ <!-- CSS Styles -->
24
+ <%= stylesheet_link_tag "phcdevworks_real_estate/application", media: "all" %>
25
+ <!-- CSS Styles -->
26
+
27
+ <!-- Font -->
28
+ <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700"/>
29
+ <!-- Font -->
30
30
 
31
31
  </head>
32
32
  <body>
33
33
 
34
- <!-- Page Container -->
35
- <div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
36
-
37
- <!-- Page Header -->
38
- <div id="header" class="header navbar-default">
39
- <%= render 'layouts/phcdevworks_real_estate/components/backend/navigation/top_menu' %>
40
- </div>
41
- <!-- Page Header -->
42
-
43
- <!-- Page Sidebar -->
44
- <div id="sidebar" class="sidebar">
45
- <%= render 'layouts/phcdevworks_real_estate/components/backend/sidebars/side_menu' %>
46
- </div>
47
- <div class="sidebar-bg"></div>
48
- <!-- Page Sidebar -->
49
-
50
- <!-- Page Content -->
51
- <div id="content" class="content">
52
- <%= render 'phcdevworks_notifications/bootstrap/notifications' %>
53
- <%= yield %>
54
- </div>
55
- <!-- Page Content -->
34
+ <!-- Page Container -->
35
+ <div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
36
+
37
+ <!-- Page Header -->
38
+ <div id="header" class="header navbar-default">
39
+ <%= render "layouts/phcdevworks_real_estate/components/backend/navigation/top_menu" %>
40
+ </div>
41
+ <!-- Page Header -->
42
+
43
+ <!-- Page Sidebar -->
44
+ <div id="sidebar" class="sidebar">
45
+ <%= render "layouts/phcdevworks_real_estate/components/backend/sidebars/side_menu" %>
46
+ </div>
47
+ <div class="sidebar-bg"></div>
48
+ <!-- Page Sidebar -->
49
+
50
+ <!-- Page Content -->
51
+ <div id="content" class="content">
52
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
53
+ <%= yield %>
54
+ </div>
55
+ <!-- Page Content -->
56
+
57
+ <!-- Footer Content -->
58
+ <div id="footer" class="row footer mb-4">
59
+ <%= render "layouts/phcdevworks_real_estate/components/backend/footer/footer" %>
60
+ </div>
61
+ <!-- Footer Content -->
56
62
 
57
- <!-- Footer Content -->
58
- <div id="footer" class="footer mb-4">
59
- <%= render 'layouts/phcdevworks_real_estate/components/backend/footer/footer' %>
60
63
  </div>
61
- <!-- Footer Content -->
62
-
63
- </div>
64
- <!-- Page Container -->
65
-
66
- <!-- JavaScript -->
67
- <%= javascript_include_tag "phcdevworks_real_estate/application", 'data-turbolinks-track': 'reload' %>
68
- <!-- JavaScript -->
64
+ <!-- Page Container -->
69
65
 
70
- <!-- JavaScript CKEditor -->
71
- <script>
72
- ClassicEditor.create( document.querySelector( '#editor' ) )
73
- .then( editor => {
74
- window.editor = editor;
75
- const wordCountPlugin = editor.plugins.get( 'WordCount' );
76
- const wordCountWrapper = document.getElementById( 'word-count' );
77
- wordCountWrapper.appendChild( wordCountPlugin.wordCountContainer );
78
- } )
79
- .catch( err => {
80
- console.error( err.stack );
81
- } );
82
- </script>
83
- <!-- JavaScript CKEditor -->
66
+ <!-- JavaScript -->
67
+ <%= javascript_include_tag "phcdevworks_real_estate/application", "data-turbolinks-track": "reload" %>
68
+ <!-- JavaScript -->
84
69
 
85
- <!-- JavaScript Loader -->
86
- <script>
70
+ <!-- JavaScript Loader -->
71
+ <script>
87
72
  $(document).ready(function() {
88
- App.init();
73
+ App.init();
89
74
  });
90
- </script>
91
- <!-- JavaScript Loader -->
75
+ </script>
76
+ <!-- JavaScript Loader -->
92
77
 
93
78
  </body>
94
79
  </html>
@@ -1,16 +1,16 @@
1
1
  <!-- Footer Content - Left -->
2
2
  <span>
3
- <!-- Footer Content - Left - Time in Production -->
4
- <i class="fab fa-osi font-weight-bolder"></i> 2012-<%= Time.now.year %> -
5
- <span class="font-weight-bold">PHC</span>Devworks RealEstate -
6
- Engine v<%= Gem.loaded_specs["phcdevworks_real_estate"].version.to_s %>
7
- <!-- Footer Content - Left - Time in Production -->
3
+ <!-- Footer Content - Left - Time in Production -->
4
+ <i class="fab fa-osi font-weight-bolder"></i> 2012-<%= Time.now.year %> -
5
+ <span class="font-weight-bold">PHC</span>Devworks Real Estate -
6
+ Engine v<%= Gem.loaded_specs["phcdevworks_real_estate"].version.to_s %>
7
+ <!-- Footer Content - Left - Time in Production -->
8
8
  </span>
9
9
  <!-- Footer Content - Left -->
10
10
 
11
11
  <!-- Footer Content - Right -->
12
12
  <span class="float-right">
13
- Developed with <i class="fas fa-heart hanna_hearts"></i> by
14
- <a class="phcnet_copyright text-dark" href="https://phcdevworks.com/"><u><span class="font-weight-bold">PHC</span>Devworks</u></a>
13
+ Developed with <i class="fas fa-heart hanna_hearts"></i> by
14
+ <a class="phcnet_copyright text-dark" href="https://phcdevworks.com/"><u><span class="font-weight-bold">PHC</span>Devworks</u></a>
15
15
  </span>
16
16
  <!-- Footer Content - Right -->
@@ -1,37 +1,37 @@
1
- <!-- Topbar - Navigation Header -->
2
- <div class="navbar-header">
3
- <%= link_to phcdevworks_real_estate.property_listings_path, class: "navbar-brand" do %>
4
- <b>PHCDevworks</b> RealEstate
5
- <% end %>
6
- <button type="button" class="navbar-toggle" data-click="sidebar-toggled">
7
- <span class="icon-bar"></span>
8
- <span class="icon-bar"></span>
9
- <span class="icon-bar"></span>
10
- </button>
11
- </div>
12
- <!-- Topbar - Navigation Header -->
13
-
14
- <!-- Topbar - Navigation Main -->
15
- <% if current_user %>
16
- <ul class="navbar-nav navbar-right">
17
-
18
- <!-- Topbar - Navigation Main - User Menu -->
19
- <li class="dropdown navbar-user">
20
- <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
21
- <%= image_tag current_user.gravatar_url %>
22
- <span class="d-none d-md-inline"><%= current_user.firstname + ' ' + current_user.lastname %></span> <b class="caret"></b>
23
- </a>
24
- <div class="dropdown-menu dropdown-menu-right">
25
- <%= link_to phcdevworks_accounts.edit_user_registration_path, class: "dropdown-item" do %>
26
- <i class="fad fa-cogs"></i> Account Settings
27
- <% end %>
28
- <%= link_to phcdevworks_accounts.destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
29
- <i class="fad fa-sign-out-alt"></i> Logout
30
- <% end %>
31
- </div>
32
- </li>
33
- <!-- Topbar - Navigation Main - User Menu -->
34
-
35
- </ul>
36
- <% end %>
37
- <!-- Topbar - Navigation Main -->
1
+ <!-- Topbar - Navigation Header -->
2
+ <div class="navbar-header">
3
+ <%= link_to phcdevworks_real_estate.property_listings_path, class: "navbar-brand" do %>
4
+ <strong>PHCDevworks</strong>RealEstate
5
+ <% end %>
6
+ <button type="button" class="navbar-toggle" data-click="sidebar-toggled">
7
+ <span class="icon-bar"></span>
8
+ <span class="icon-bar"></span>
9
+ <span class="icon-bar"></span>
10
+ </button>
11
+ </div>
12
+ <!-- Topbar - Navigation Header -->
13
+
14
+ <!-- Topbar - Navigation Main -->
15
+ <% if current_user %>
16
+ <ul class="navbar-nav navbar-right">
17
+
18
+ <!-- Topbar - Navigation Main - User Menu -->
19
+ <li class="dropdown navbar-user">
20
+ <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
21
+ <%= image_tag current_user.gravatar_url %>
22
+ <span class="d-none d-md-inline"><%= current_user.firstname + " " + current_user.lastname %></span> <b class="caret"></b>
23
+ </a>
24
+ <div class="dropdown-menu dropdown-menu-right">
25
+ <%= link_to phcdevworks_accounts.edit_user_registration_path, class: "dropdown-item" do %>
26
+ <i class="fad fa-cogs"></i> Account Settings
27
+ <% end %>
28
+ <%= link_to phcdevworks_accounts.destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
29
+ <i class="fad fa-sign-out-alt"></i> Logout
30
+ <% end %>
31
+ </div>
32
+ </li>
33
+ <!-- Topbar - Navigation Main - User Menu -->
34
+
35
+ </ul>
36
+ <% end %>
37
+ <!-- Topbar - Navigation Main -->