watable-rails 0.0.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.
@@ -0,0 +1,129 @@
1
+ .watable * {
2
+ white-space: nowrap;
3
+ font-size: 12px !important;
4
+ }
5
+
6
+ .watable.table {
7
+ width: auto;
8
+ }
9
+
10
+ .watable p {
11
+ margin: 0;
12
+ }
13
+ .watable td,
14
+ .watable th {
15
+ line-height: 18px;
16
+ }
17
+
18
+ .watable i {
19
+ margin: 0 0 0 2px;
20
+ opacity: 0.5;
21
+ }
22
+
23
+ .watable tfoot .btn {
24
+ height: 34px;
25
+ }
26
+
27
+ .watable span.filter {
28
+ background-color: #999;
29
+ }
30
+
31
+ .watable .indeterminate {
32
+ opacity: 0.4;
33
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
34
+ filter: alpha(opacity=40);
35
+ }
36
+
37
+ .watable .columnpicker li,
38
+ .watable .actions li {
39
+ padding-left: 5px;
40
+ }
41
+
42
+ .watable .btn-toolbar {
43
+ margin: 2px 0 0 0;
44
+ }
45
+
46
+ .watable .btn-toolbar .btn-group {
47
+ vertical-align: top;
48
+ }
49
+
50
+ .watable .pagination {
51
+ margin: 0;
52
+ height: 34px;
53
+ }
54
+
55
+ .watable .pagination a {
56
+ line-height: 24px;
57
+ }
58
+
59
+ .watable input[type=checkbox] {
60
+ margin: 0;
61
+ padding: 0;
62
+ height: 13px;
63
+ }
64
+
65
+ .watable input[type=text].filter {
66
+ margin: 0;
67
+ padding: 0;
68
+ box-shadow: none;
69
+ border: none;
70
+ width: 80px;
71
+ float: left;
72
+ }
73
+
74
+ .watable .date-wrap {
75
+ width: 100%;
76
+ min-width: 115px;
77
+ }
78
+
79
+ .watable .dateWrap .add-on {
80
+ margin: 0;
81
+ padding: 0;
82
+ background: none;
83
+ border: none;
84
+ float: right;
85
+ cursor: pointer;
86
+ }
87
+
88
+ .watable .dropdown-menu {
89
+ max-height: 250px;
90
+ overflow: auto;
91
+ }
92
+
93
+ .watable .actions a {
94
+ padding: 0;
95
+ margin: 0;
96
+ }
97
+
98
+
99
+
100
+ /* Only for demo purposes */
101
+ .watable div.green {
102
+ background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(0,140,37,0.38) 38%, rgba(0,140,37,1) 100%); /* FF3.6+ */
103
+ background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(38%,rgba(0,140,37,0.38)), color-stop(100%,rgba(0,140,37,1))); /* Chrome,Safari4+ */
104
+ background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(0,140,37,0.38) 38%,rgba(0,140,37,1) 100%); /* Chrome10+,Safari5.1+ */
105
+ background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(0,140,37,0.38) 38%,rgba(0,140,37,1) 100%); /* Opera 11.10+ */
106
+ background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(0,140,37,0.38) 38%,rgba(0,140,37,1) 100%); /* IE10+ */
107
+ background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(0,140,37,0.38) 38%,rgba(0,140,37,1) 100%); /* W3C */
108
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#008c25',GradientType=1 ); /* IE6-9 */
109
+ }
110
+
111
+ .watable div.yellow {
112
+ background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(188,179,0,0.38) 38%, rgba(188,179,0,1) 100%); /* FF3.6+ */
113
+ background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(38%,rgba(188,179,0,0.38)), color-stop(100%,rgba(188,179,0,1))); /* Chrome,Safari4+ */
114
+ background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(188,179,0,0.38) 38%,rgba(188,179,0,1) 100%); /* Chrome10+,Safari5.1+ */
115
+ background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(188,179,0,0.38) 38%,rgba(188,179,0,1) 100%); /* Opera 11.10+ */
116
+ background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(188,179,0,0.38) 38%,rgba(188,179,0,1) 100%); /* IE10+ */
117
+ background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(188,179,0,0.38) 38%,rgba(188,179,0,1) 100%); /* W3C */
118
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#bcb300',GradientType=1 ); /* IE6-9 */
119
+ }
120
+
121
+ .watable div.red {
122
+ background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(147,22,0,0.38) 38%, rgba(147,22,0,1) 100%); /* FF3.6+ */
123
+ background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(38%,rgba(147,22,0,0.38)), color-stop(100%,rgba(147,22,0,1))); /* Chrome,Safari4+ */
124
+ background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(147,22,0,0.38) 38%,rgba(147,22,0,1) 100%); /* Chrome10+,Safari5.1+ */
125
+ background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(147,22,0,0.38) 38%,rgba(147,22,0,1) 100%); /* Opera 11.10+ */
126
+ background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(147,22,0,0.38) 38%,rgba(147,22,0,1) 100%); /* IE10+ */
127
+ background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(147,22,0,0.38) 38%,rgba(147,22,0,1) 100%); /* W3C */
128
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#931600',GradientType=1 ); /* IE6-9 */
129
+ }
data/config/routes.rb ADDED
@@ -0,0 +1,2 @@
1
+ WatableRails::Engine.routes.draw do
2
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :watable-rails do
3
+ # # Task goes here
4
+ # end
@@ -0,0 +1,4 @@
1
+ require "watable-rails/engine"
2
+
3
+ module WatableRails
4
+ end
@@ -0,0 +1,5 @@
1
+ module WatableRails
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace WatableRails
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module WatableRails
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class WatableRailsTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, WatableRails
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: watable-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Mike
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-10-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.13
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.13
30
+ - !ruby/object:Gem::Dependency
31
+ name: jquery-rails
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: WATable jQuery Extensions as rails assets
47
+ email:
48
+ - mike@citrin.ch
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - app/assets/images/glyphicons-halflings.png
54
+ - app/assets/images/glyphicons-halflings-white.png
55
+ - app/assets/javascripts/watable-rails/application.js
56
+ - app/assets/javascripts/watable-rails/bootstrap.min.js
57
+ - app/assets/javascripts/jquery.watable.js
58
+ - app/assets/stylesheets/watable.css
59
+ - app/assets/stylesheets/watable-rails/bootstrap.min.css
60
+ - app/assets/stylesheets/watable-rails/bootstrap.scss
61
+ - app/assets/stylesheets/watable-rails/application.css
62
+ - config/routes.rb
63
+ - lib/watable-rails.rb
64
+ - lib/watable-rails/engine.rb
65
+ - lib/watable-rails/version.rb
66
+ - lib/tasks/watable-rails_tasks.rake
67
+ - MIT-LICENSE
68
+ - Rakefile
69
+ - README.rdoc
70
+ - test/integration/navigation_test.rb
71
+ - test/test_helper.rb
72
+ - test/watable-rails_test.rb
73
+ homepage: https://github.com/firemind/watable-rails
74
+ licenses: []
75
+ post_install_message:
76
+ rdoc_options: []
77
+ require_paths:
78
+ - lib
79
+ required_ruby_version: !ruby/object:Gem::Requirement
80
+ none: false
81
+ requirements:
82
+ - - ! '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ! '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ requirements: []
92
+ rubyforge_project:
93
+ rubygems_version: 1.8.24
94
+ signing_key:
95
+ specification_version: 3
96
+ summary: WATable jQuery Extensions as rails assets
97
+ test_files:
98
+ - test/integration/navigation_test.rb
99
+ - test/test_helper.rb
100
+ - test/watable-rails_test.rb