nyros_form2 0.3.9 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/nyros_form2_manifest.js +1 -1
- data/app/assets/javascripts/nyros_form2/application.js +7 -0
- data/app/assets/stylesheets/nyros_form2/{application.css → application.scss} +10 -1
- data/app/assets/stylesheets/nyros_form2/{users.css → users.scss} +2 -0
- data/app/controllers/nyros_form2/users_controller.rb +4 -0
- data/app/views/layouts/nyros_form2/application.html.erb +4 -4
- data/app/views/nyros_form2/users/index.html.erb +11 -2
- data/lib/nyros_form2/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec30dff04b3b56a55e56d2178da04279aa7a87115b6710ff3ddbebbbc4e16749
|
4
|
+
data.tar.gz: ac6bf87bf096d50c1dfa5c5be5b3c6096fc340c5990142ea583deae650346f54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e3e584f0652830c1766b9ee1b83b3b431df23a23736bde504f9ada6dbff943d4ee65fba5a637bc97cdbb8366fae1b39a271755b9bd0620db85367c91b8a40ad
|
7
|
+
data.tar.gz: 7765e2a1ec871c41c4081739ad1cd7e50054ebc3fc0e529542dc404832d73f6eadd5af682e1a14dc079951c73924764c207df209c279cd5cd1ceb341fb73afb3
|
@@ -13,6 +13,13 @@
|
|
13
13
|
|
14
14
|
//= require rails-ujs
|
15
15
|
//= require activestorage
|
16
|
+
//= require turbolinks
|
17
|
+
//= require jquery
|
18
|
+
//= require bootstrap-sprockets
|
16
19
|
//= require_tree .
|
17
20
|
|
18
21
|
|
22
|
+
//= require dataTables/jquery.dataTables
|
23
|
+
//= require dataTables/bootstrap/3/jquery.dataTables.bootstrap
|
24
|
+
|
25
|
+
|
@@ -10,10 +10,19 @@
|
|
10
10
|
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
11
|
* It is generally better to create a new file per style scope.
|
12
12
|
*
|
13
|
-
*= require_tree .
|
13
|
+
*= require_tree .
|
14
14
|
*= require_self
|
15
|
+
|
15
16
|
*/
|
16
17
|
|
18
|
+
@import "bootstrap";
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
17
26
|
|
18
27
|
|
19
28
|
|
@@ -8,12 +8,12 @@
|
|
8
8
|
<%= javascript_include_tag "nyros_form2/application" %>
|
9
9
|
|
10
10
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.0/jquery.validate.min.js"></script>
|
11
|
-
|
12
|
-
|
13
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
11
|
+
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
12
|
+
--> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
14
13
|
<script src="https://cdn.jsdelivr.net/jquery.validation/1.15.1/jquery.validate.min.js"></script>
|
15
14
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
|
16
|
-
|
15
|
+
<script src="https://cdn.datatables.net/1.10.4/js/jquery.dataTables.min.js"></script>
|
16
|
+
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.4/css/jquery.dataTables.min.css">
|
17
17
|
</head>
|
18
18
|
|
19
19
|
<body>
|
@@ -1,11 +1,12 @@
|
|
1
|
-
<br><br
|
1
|
+
<br><br>
|
2
|
+
|
2
3
|
<div class="container">
|
3
4
|
<div>
|
4
5
|
<h2 style="float: left">Users</h2>
|
5
6
|
<%= link_to "Create New User", new_user_path, :class => 'btn btn-sm btn-success', :style => 'float:right'%>
|
6
7
|
</div><br><br><br>
|
7
8
|
|
8
|
-
<table class="table table-bordered">
|
9
|
+
<table class="table table-bordered" id="table_id">
|
9
10
|
<thead>
|
10
11
|
<tr>
|
11
12
|
<th>Id</th>
|
@@ -53,3 +54,11 @@
|
|
53
54
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
|
54
55
|
|
55
56
|
|
57
|
+
<script type="text/javascript">
|
58
|
+
$(document).ready(function () {
|
59
|
+
$('#table_id').dataTable({
|
60
|
+
"pageLength": 5,
|
61
|
+
"lengthMenu": [5, 10, 20, 50, 100, 200, 500],
|
62
|
+
});
|
63
|
+
});
|
64
|
+
</script>
|
data/lib/nyros_form2/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nyros_form2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- raju rekadi
|
@@ -51,8 +51,8 @@ files:
|
|
51
51
|
- app/assets/config/nyros_form2_manifest.js
|
52
52
|
- app/assets/javascripts/nyros_form2/application.js
|
53
53
|
- app/assets/javascripts/nyros_form2/users.js
|
54
|
-
- app/assets/stylesheets/nyros_form2/application.
|
55
|
-
- app/assets/stylesheets/nyros_form2/users.
|
54
|
+
- app/assets/stylesheets/nyros_form2/application.scss
|
55
|
+
- app/assets/stylesheets/nyros_form2/users.scss
|
56
56
|
- app/controllers/nyros_form2/application_controller.rb
|
57
57
|
- app/controllers/nyros_form2/users_controller.rb
|
58
58
|
- app/helpers/nyros_form2/application_helper.rb
|