form_creation 0.1.9 → 0.2.0

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: b06fdb369df28541aad4f20f93dffc266d2ceadae3942978c8c86cc61c83ef41
4
- data.tar.gz: 2b6011f7deb932168c67ab302ef7d0f66d799b029fa74e48d7896f19238ec22c
3
+ metadata.gz: f93e87acbbd0ab93456caf06aeccb41bc9f044a6a74c7ad65ec9c9cbe1083a34
4
+ data.tar.gz: e36ea28dcc60e45e1f5e41bdb3afb8eb28b9c7f4f3eff398822aaec4ee031568
5
5
  SHA512:
6
- metadata.gz: 863045755d45ed32d3cfc62e22e9b2fb31ffa931e9be3e2f7ed07b3f551c83f90b3dfda391ad2d1ded59767bb5c4b071ab0605a5e2daa80fdbbe902795566865
7
- data.tar.gz: 77186d6cc0a423a0f66d2a2ea77814a39459d024a7c5bf5420f1fd6f91db616e39a2a352b5725b07794dff2bfc333beb997211850273653dc686365341be68f9
6
+ metadata.gz: b8ea2ee744d31e404e618bed3ac98ad49372938853f23e8a467ee1edda76a31b0ff04f69d48b57e041e20f5c06e8ba0aaf65a0f97343da0aea0a42336b1de919
7
+ data.tar.gz: e63b4979b703739933866af38a33ef3c8d9403deab197b3eb2cc273306ecd68bb8afe6380d999dbb5afad33ff0f869d9e808b347e872badd7d0dcfefc38c8416
@@ -26,8 +26,8 @@
26
26
  margin-top: 145px;
27
27
  }
28
28
  .post-details {
29
- color: #c56b6b;
30
- text-align: left;
29
+ color: #888;
30
+ font-weight: bold;
31
31
  }
32
32
  .post-col {
33
33
  float: left !important;
@@ -39,6 +39,7 @@
39
39
  }
40
40
  .post-content {
41
41
  margin-top: 0px !important;
42
+ background-color: #fff !important;
42
43
  }
43
44
  .save {
44
45
  margin-top: 10px;
@@ -89,11 +90,17 @@
89
90
  }
90
91
  footer {
91
92
  background-color: #ae99de;
92
- height: 45px;
93
93
  color: #fff;
94
- margin-top: 120px;
94
+ margin-top: 100px;
95
95
  text-align: center;
96
96
  padding-top: 8px;
97
+ bottom: 0;
98
+ position: relative;
99
+ width:100%;
100
+ height: 45px;
101
+ }
102
+ .footer div{
103
+ padding:10px 0px;
97
104
  }
98
105
  .add-btn {
99
106
  margin-bottom: 10px;
@@ -158,4 +165,34 @@ footer {
158
165
  }
159
166
  .dataTables_wrapper{
160
167
  position: inherit !important;
161
- }
168
+ }
169
+ .form-group label{
170
+ font-size: 15px;
171
+ }
172
+ .frm-inpts input:focus{
173
+ outline:0px;
174
+ box-shadow:none;
175
+ border: 0px;
176
+ border-bottom: 1px solid #ccc;
177
+ border-radius: 0px;
178
+ }
179
+ .frm-inpts-2 textarea:focus{
180
+ outline:0px;
181
+ box-shadow:none;
182
+ border: 0px;
183
+ border: 1px solid #ccc;
184
+ border-radius: 5px;
185
+ }
186
+ .frm-inpts input {
187
+ border: 0px;
188
+ border-bottom: 1px solid #ccc;
189
+ border-radius: 0px;
190
+ font-size: 15px;
191
+ }
192
+ .frm-inpts input::placeholder{
193
+ color:#ccc !important;
194
+ }
195
+ .frm-inpts-2 textarea::placeholder{
196
+ color:#ccc !important;
197
+ font-size: 14px;
198
+ }
@@ -1,12 +1,9 @@
1
- <div class="form-group">
2
- <label>Title</label>
3
- <%= f.text_field :title, class: "form-control", name: "title" %>
1
+ <div class="form-group frm-inpts">
2
+ <%= f.text_field :title, class: "form-control", name: "title", placeholder: "Enter Title" %>
4
3
  </div>
5
- <div class="form-group">
6
- <label>Description</label>
7
- <%= f.text_area :description, class: "form-control", rows: "5", cols: "10", style: "resize:none;", name: 'description' %>
4
+ <div class="form-group frm-inpts-2">
5
+ <%= f.text_area :description, class: "form-control", rows: "5", cols: "10", style: "resize:none;", name: 'description', placeholder: "Enter Description..." %>
8
6
  </div>
9
- <div class="form-group">
10
- <label>Created By</label>
11
- <%= f.text_field :created_by, class: "form-control", name: "created_by" %>
7
+ <div class="form-group frm-inpts">
8
+ <%= f.text_field :created_by, class: "form-control", name: "created_by", placeholder: "Enter Create By" %>
12
9
  </div>
@@ -17,7 +17,7 @@
17
17
  <div class="modal-dialog" role="document">
18
18
  <div class="modal-content post-content">
19
19
  <div class="modal-header">
20
- <h3 class="post-details modal-title" id="exampleModalLabel">Add Post</h3>
20
+ <p class="post-details modal-title" id="exampleModalLabel">Please fill the below details to create new post</p>
21
21
  <%= button_tag "<span aria-hidden=\"true\">&times;</span>".html_safe, class: "close close-2", "data-dismiss" => "modal", "aria-label" => "Close" %>
22
22
  </div>
23
23
  <div class="modal-body">
@@ -89,7 +89,7 @@
89
89
  <div class="modal-dialog" role="document">
90
90
  <div class="modal-content post-content">
91
91
  <div class="modal-header">
92
- <h3 class="post-details modal-title" id="exampleModalLabel">Update Post</h3>
92
+ <h5 class="post-details modal-title" id="exampleModalLabel">Update Post</h5>
93
93
  <%= button_tag "<span aria-hidden=\"true\">&times;</span>".html_safe, class: "close edit_close", "data-dismiss" => "modal", "aria-label" => "Close" %>
94
94
  </div>
95
95
  <div class="modal-body">
@@ -1,3 +1,3 @@
1
1
  module FormCreation
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: form_creation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - madhubabu-nyros