frontview 2.2.3.pre.beta → 2.2.6

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
  SHA256:
3
- metadata.gz: 28bf6cc51c4e4c09987d6c30fa0c253fe5d00aea07f44d6522f91be4fe0e57c3
4
- data.tar.gz: '0332123538e918c16de778220d1190f13875250c8bf4908efaac0398488be41a'
3
+ metadata.gz: 3aa902d9c5dbb467f52e5e324a54cd22abb42ee659ab430d780e5df4d41cc77b
4
+ data.tar.gz: cc8883203c7592a1bba4929e177a4a7e013625677b6aaf8372c53f04303c06ea
5
5
  SHA512:
6
- metadata.gz: bd2c286d4bb65514963070a652dadcd2a58adbf576313086be494dea594ad6b8d4a3847eb72ad1701a015b952cba2c5cdc7cf5a8d5fc9de7232aaeb2afbfb286
7
- data.tar.gz: 9006df4fe4dddf127f1b7376633f73355542a8e0bfe4b7a9e04b1e0d3e21746f71315e3f9a9fbbe612a4cfbb4315e6dfac3c0d2995538789d705dc80491efec6
6
+ metadata.gz: 5da09dd96929e4fcd1820ca76d6cac42ad304b29db1e6f39e284c1b5900d4117834411fe99a1247f494802ccc6cfe4f5cf4459698dbf4a67dbea4ddb787d7d11
7
+ data.tar.gz: 638d3371b5de6dd058933286a5c79f3f78d169c31adb9143e85537f29bd670bc4172d6c301801c0f941e7d69c9d49fdfd3445b11d5d6d052cc6e939b2133342c
data/README.md CHANGED
@@ -5,16 +5,16 @@ This is frontview gem, a gem that gives the front-end template to the rails 6 ap
5
5
  ### Installation
6
6
  Add this line to your application's Gemfile:
7
7
  ```
8
- gem 'frontview'
8
+ gem 'frontview'
9
9
  ```
10
10
  And then execute:
11
11
  ```
12
- bundle install
12
+ bundle install
13
13
  ```
14
14
  ### Usage
15
15
  Run scaffold. Lets assume our model is 'home' which has a 'title' and a 'body'(Optional)
16
16
  ```
17
- rails g scaffold home title:string body:text
17
+ rails g scaffold home title:string body:text
18
18
  ```
19
19
  Delete scaffold.scss, from (assets/stylesheets/scaffold.scss).
20
20
  Optional:
@@ -27,15 +27,15 @@ Delete all the files in views/homes except index.html.erb
27
27
  Generate the necessary files and folders by:
28
28
  N/B: You will be prompted to give the name of your model, In this case you'll write 'home' and press enter. All the files will then be in place.
29
29
  ```
30
- rails g frontview:install
30
+ rails g frontview:install
31
31
  ```
32
32
  Create & Migrate DB
33
33
  ```
34
- rails db:create && rails db:migrate
34
+ rails db:create db:migrate
35
35
  ```
36
36
  Finally run the rails server and you are good to go:
37
37
  ```
38
- rails s
38
+ rails s
39
39
  ```
40
40
  Access your web in: localhost:3000
41
41
 
@@ -47,21 +47,21 @@ module Frontview
47
47
  </div>
48
48
  </div>
49
49
 
50
- <div class="row content" id="#intro">
50
+ <div class="row content" id="intro">
51
51
  <h1 class="sec01">Intoduction</h1>
52
52
  <p class="par01">
53
53
  At FrontView, we develop innovative & creative products & services that provide total communication & information solutions. Among a plethora of services, web design and development, tailor made applications, ERPs, CRMs, e-commerce solutions, business-to-business applications, business-to-client applications, managed hosting and internet portal management are few that we offer.
54
54
  </p>
55
55
  </div>
56
56
 
57
- <div class="row content" id="#about">
57
+ <div class="row content" id="about">
58
58
  <h1 class="sec01">About Us</h1>
59
59
  <p class="par01">
60
60
  We offer software solutions to clients around the globe. Those we\'ve worked with bear testimony to the quality of our work. As a leader in technology exploring, FrontView is committed to exporting quality software worldwide. The general purpose of FrontView is to develop and promote advanced information technologies for multi-user operation.FrontView\'s business philosophy is to assure the highest quality product, total client satisfaction, timely delivery of solutions and the best quality/price ratio found in the industry. Our emphasis is on offering a high degree of product user friendliness through a positive, creative and focused company staff.
61
61
  </p>
62
62
  </div>
63
63
 
64
- <div class="row content" id="#service">
64
+ <div class="row content" id="service">
65
65
  <h1 class="sec01">Our Services</h1>
66
66
  <h6 class="sec01">
67
67
  Web Design & Development ||
@@ -73,7 +73,7 @@ module Frontview
73
73
  </p>
74
74
  </div>
75
75
 
76
- <div class="row bottom-content" id="#contact">
76
+ <div class="row bottom-content" id="contact">
77
77
  <h1 class="sec01">Contact Us</h1>
78
78
  <p class="text-center"><i>Send us a message</i></p>
79
79
  <form>
@@ -2,6 +2,11 @@ module Frontview
2
2
  module Contents
3
3
  class StyleContent < Rails::Generators::Base
4
4
  def write_in_style
5
+
6
+ Dir.mkdir("app/assets/stylesheets/css") unless
7
+ File.exists?("app/assets/stylesheets/css")
8
+ file = File.new("app/assets/stylesheets/css/style.css", "w+")
9
+
5
10
  File.open("app/assets/stylesheets/css/style.css", "w+") {
6
11
  |file| file.puts(
7
12
  '.main_h {
@@ -184,9 +189,17 @@ p {
184
189
  line-height: 2;
185
190
  }
186
191
 
192
+ .content {
193
+ padding: 50px 2% 40px;
194
+ border-bottom: dotted 1px #212f3d;
195
+ }
187
196
 
197
+ .bottom-content {
198
+ padding: 50px 2% 40px;
199
+ }
188
200
 
189
201
  .hero {
202
+ margin-top: -70px;
190
203
  position: relative;
191
204
  background: url(../../../assets/banner.jpg) no-repeat center center fixed;
192
205
  -webkit-background-size: cover;
@@ -374,7 +387,7 @@ footer {
374
387
  top: 50%;
375
388
  left: 10px;
376
389
  border-top: 1px solid #ccc;
377
-
390
+ width: calc(100% - 20px);
378
391
  }
379
392
  .footer-social-overlap {
380
393
  position: relative;
@@ -11,10 +11,10 @@ require "frontview/contents/index_routes_content"
11
11
  module Frontview
12
12
  class InstallGenerator < Rails::Generators::Base
13
13
  def create_assets_contents
14
- tempfile = Down.download("https://github.com/elibiz443/frontview/blob/master/assets/banner.jpg")
14
+ tempfile = Down.download("https://phpfront.herokuapp.com/assets/images/banner.jpg")
15
15
  FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
16
16
 
17
- tempfile = Down.download("https://github.com/elibiz443/frontview/blob/master/assets/favicon.png")
17
+ tempfile = Down.download("https://phpfront.herokuapp.com/assets/images/favicon.png")
18
18
  FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Frontview
2
- VERSION = "2.2.3-beta"
2
+ VERSION = "2.2.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frontview
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3.pre.beta
4
+ version: 2.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - elibiz443
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-18 00:00:00.000000000 Z
11
+ date: 2021-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -115,8 +115,6 @@ files:
115
115
  - LICENSE.txt
116
116
  - README.md
117
117
  - Rakefile
118
- - assets/banner.jpg
119
- - assets/favicon.png
120
118
  - assets/logo.png
121
119
  - assets/sample1.png
122
120
  - assets/sample2.png
@@ -155,9 +153,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
153
  version: 2.4.0
156
154
  required_rubygems_version: !ruby/object:Gem::Requirement
157
155
  requirements:
158
- - - ">"
156
+ - - ">="
159
157
  - !ruby/object:Gem::Version
160
- version: 1.3.1
158
+ version: '0'
161
159
  requirements: []
162
160
  rubygems_version: 3.2.22
163
161
  signing_key:
data/assets/banner.jpg DELETED
Binary file
data/assets/favicon.png DELETED
Binary file