qui-index-table 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +1 -1
- data/public/stylesheets/qui/index-table.css +69 -0
- data/rails/init.rb +8 -0
- metadata +7 -5
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
All portions Copyright (c) 2007 Tim Harper
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
CHANGED
@@ -0,0 +1,69 @@
|
|
1
|
+
table.index {
|
2
|
+
border-spacing: 0;
|
3
|
+
width: 100%;
|
4
|
+
border-top: 1px solid #d0d0d0;
|
5
|
+
border-bottom: 2px solid #e0e0e0;
|
6
|
+
margin-top: 4px;
|
7
|
+
background: #fff;
|
8
|
+
}
|
9
|
+
|
10
|
+
table.index th, table.index td {
|
11
|
+
padding: 0 4px ;
|
12
|
+
}
|
13
|
+
|
14
|
+
table.index th {
|
15
|
+
border-bottom: 2px solid #999999;
|
16
|
+
background: #f0f0f0;
|
17
|
+
font-size: 8pt;
|
18
|
+
text-align: left;
|
19
|
+
}
|
20
|
+
|
21
|
+
table.index tr:hover {
|
22
|
+
background: #fffeee;
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
table.index tr.odd {
|
27
|
+
background: #f9f9f9;
|
28
|
+
}
|
29
|
+
|
30
|
+
table.index tr.odd:hover {
|
31
|
+
background: #fbfae6;
|
32
|
+
}
|
33
|
+
|
34
|
+
table.index tr.h1 td {
|
35
|
+
font-weight: bold;
|
36
|
+
border-bottom: 1px dotted #aaa;
|
37
|
+
}
|
38
|
+
|
39
|
+
table.index td a {
|
40
|
+
text-decoration: none;
|
41
|
+
color: #000;
|
42
|
+
}
|
43
|
+
|
44
|
+
table.index td a:hover {
|
45
|
+
color: #f00;
|
46
|
+
}
|
47
|
+
|
48
|
+
table.index td. table.index th {
|
49
|
+
text-align: left;
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
table.index tr {
|
54
|
+
height: 34px;
|
55
|
+
}
|
56
|
+
|
57
|
+
table.index th.oneicon {
|
58
|
+
width: 18px;
|
59
|
+
text-align: center;
|
60
|
+
}
|
61
|
+
|
62
|
+
table.index th.photo {
|
63
|
+
width: 34px;
|
64
|
+
}
|
65
|
+
|
66
|
+
table.index th.expand {
|
67
|
+
width: 99%;
|
68
|
+
}
|
69
|
+
|
data/rails/init.rb
CHANGED
@@ -1 +1,9 @@
|
|
1
1
|
ActionView::Base.send :include, QUI::IndexTable::MainHelper
|
2
|
+
|
3
|
+
unless File.exists?(File.join(Rails.root, 'public/stylesheets/qui/index-table.css'))
|
4
|
+
$stderr.puts "Copying CSS for qui-index-table..."
|
5
|
+
$stderr.puts "- public/stylesheets/qui/index-table.css"
|
6
|
+
|
7
|
+
FileUtils.mkdir_p File.join(Rails.root, 'public/stylesheets/qui')
|
8
|
+
FileUtils.cp File.dirname(__FILE__) + "/../public/stylesheets/qui/index-table.css", File.join(Rails.root, 'public/stylesheets/qui')
|
9
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qui-index-table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Marcin Lewandowski
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-25 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -28,12 +28,14 @@ extensions: []
|
|
28
28
|
extra_rdoc_files:
|
29
29
|
- README.rdoc
|
30
30
|
files:
|
31
|
+
- MIT-LICENSE
|
31
32
|
- lib/qui-index-table-main-helper.rb
|
32
33
|
- lib/qui-index-table.rb
|
34
|
+
- public/stylesheets/qui/index-table.css
|
33
35
|
- rails/init.rb
|
34
36
|
- README.rdoc
|
35
37
|
has_rdoc: true
|
36
|
-
homepage: http://
|
38
|
+
homepage: http://q.saepia.net
|
37
39
|
licenses: []
|
38
40
|
|
39
41
|
post_install_message:
|