birds 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/README +1 -1
- data/Rakefile +1 -1
- data/lib/birds/app/public/css/birds.css +81 -0
- data/lib/birds/app/public/images/bird1.png +0 -0
- data/lib/birds/app/public/images/bird2.png +0 -0
- data/lib/birds/app/public/images/bird3.png +0 -0
- data/lib/birds/app/public/images/birds.png +0 -0
- data/lib/birds/app/public/js/birds.js +48 -0
- data/lib/birds/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f77e1a7a79fc91147c346f34296c6bd825c56e8c
|
4
|
+
data.tar.gz: 583690db5069a7362542d026ad19dd74b507cbb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77012653edf49a8b32a58a87cf524e68c4dced1e69792adee13da69d3cba5a5d0c15e7223157646bbd84615ba6a017af02757fea9aa53b960a3cebcaa618b9d8
|
7
|
+
data.tar.gz: aeca7a8045e56d9b3fcfbcb64501e7335231dc5e32e1c1e246c0f1207ddacdb18b4a4997a6fa4a6e72052ad34571690b8d533d574994e7381d23f009fa6253d9
|
data/ChangeLog
CHANGED
data/README
CHANGED
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ begin
|
|
13
13
|
email: %q{jens.wille@gmail.com},
|
14
14
|
license: %q{AGPL-3.0},
|
15
15
|
homepage: :blackwinter,
|
16
|
-
extra_files: FileList['*.sample', 'lib/**/{public,views}/*'].to_a,
|
16
|
+
extra_files: FileList['*.sample', 'lib/**/{public{,/{css,images,js}},views}/*'].to_a,
|
17
17
|
dependencies: {
|
18
18
|
'sinatra-bells' => '~> 0.4',
|
19
19
|
'solr4r' => '~> 0.3',
|
@@ -0,0 +1,81 @@
|
|
1
|
+
html, body {
|
2
|
+
height: 100%;
|
3
|
+
}
|
4
|
+
|
5
|
+
#wrap {
|
6
|
+
min-height: 100%;
|
7
|
+
height: auto !important;
|
8
|
+
height: 100%;
|
9
|
+
margin: 0 auto -120px;
|
10
|
+
}
|
11
|
+
|
12
|
+
#push {
|
13
|
+
height: 120px;
|
14
|
+
}
|
15
|
+
|
16
|
+
footer {
|
17
|
+
height: 80px;
|
18
|
+
margin-top: 40px;
|
19
|
+
padding-bottom: 20px;
|
20
|
+
padding-top: 20px;
|
21
|
+
border-top: 1px solid #E5E5E5;
|
22
|
+
color: #777777;
|
23
|
+
}
|
24
|
+
|
25
|
+
.navbar-brand {
|
26
|
+
padding: 1px 15px;
|
27
|
+
}
|
28
|
+
|
29
|
+
.facet-filter input {
|
30
|
+
width: 90%;
|
31
|
+
height: 30px;
|
32
|
+
font-size: 12px;
|
33
|
+
}
|
34
|
+
|
35
|
+
.facet-filter, .filter-list {
|
36
|
+
margin-top: 0.5em;
|
37
|
+
}
|
38
|
+
|
39
|
+
.filter-list > li {
|
40
|
+
line-height: 1.7em;
|
41
|
+
}
|
42
|
+
|
43
|
+
.list-group-item.collapse {
|
44
|
+
display: none;
|
45
|
+
}
|
46
|
+
|
47
|
+
.list-group-item.collapse.in {
|
48
|
+
display: block;
|
49
|
+
}
|
50
|
+
|
51
|
+
.toggle-explain {
|
52
|
+
cursor: help;
|
53
|
+
}
|
54
|
+
|
55
|
+
.toggle-explain + pre[id|=explain] {
|
56
|
+
margin-top: 0.5em;
|
57
|
+
}
|
58
|
+
|
59
|
+
.toggle-facet, .facet-filter .glyphicon-remove {
|
60
|
+
cursor: pointer;
|
61
|
+
}
|
62
|
+
|
63
|
+
.facet-filter .glyphicon-remove::before {
|
64
|
+
vertical-align: middle;
|
65
|
+
}
|
66
|
+
|
67
|
+
.facet-group > li {
|
68
|
+
font-size: small;
|
69
|
+
padding: 5px 10px;
|
70
|
+
}
|
71
|
+
|
72
|
+
.info-display {
|
73
|
+
margin: 0.5em 0;
|
74
|
+
padding: 5px 10px;
|
75
|
+
border-radius: 4px;
|
76
|
+
font-size: small;
|
77
|
+
}
|
78
|
+
|
79
|
+
a[href] > mark {
|
80
|
+
color: inherit;
|
81
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,48 @@
|
|
1
|
+
$(function() { $.support.transition = false; })
|
2
|
+
|
3
|
+
with ($('.facet-filter')) {
|
4
|
+
|
5
|
+
find('form').submit(function() {
|
6
|
+
return false;
|
7
|
+
});
|
8
|
+
|
9
|
+
find('input').keyup(function() {
|
10
|
+
var v = $(this).val(), f,
|
11
|
+
c = function(e) { return e.hasClass('collapse'); };
|
12
|
+
|
13
|
+
if (v) {
|
14
|
+
v = v.toLowerCase();
|
15
|
+
|
16
|
+
f = function(e) {
|
17
|
+
if (e.find('a').text().toLowerCase().indexOf(v) < 0) {
|
18
|
+
c(e) ? e.collapse('hide') : e.hide();
|
19
|
+
}
|
20
|
+
else {
|
21
|
+
c(e) ? e.collapse('show') : e.show();
|
22
|
+
}
|
23
|
+
};
|
24
|
+
}
|
25
|
+
else {
|
26
|
+
f = function(e) {
|
27
|
+
c(e) ? e.collapse('hide') : e.show();
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
$(this).closest('.panel').find('li').each(function(i, e) {
|
32
|
+
f($(e));
|
33
|
+
});
|
34
|
+
});
|
35
|
+
|
36
|
+
find('.glyphicon-remove').click(function() {
|
37
|
+
var i = $(this).closest('.facet-filter').find('input');
|
38
|
+
|
39
|
+
i.val('');
|
40
|
+
i.keyup();
|
41
|
+
i.focus();
|
42
|
+
});
|
43
|
+
|
44
|
+
on('shown.bs.collapse', function() {
|
45
|
+
$(this).find('input').focus();
|
46
|
+
});
|
47
|
+
|
48
|
+
}
|
data/lib/birds/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: birds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
@@ -106,7 +106,13 @@ files:
|
|
106
106
|
- lib/birds/app/helpers.rb
|
107
107
|
- lib/birds/app/helpers/controller.rb
|
108
108
|
- lib/birds/app/helpers/view.rb
|
109
|
+
- lib/birds/app/public/css/birds.css
|
109
110
|
- lib/birds/app/public/favicon.ico
|
111
|
+
- lib/birds/app/public/images/bird1.png
|
112
|
+
- lib/birds/app/public/images/bird2.png
|
113
|
+
- lib/birds/app/public/images/bird3.png
|
114
|
+
- lib/birds/app/public/images/birds.png
|
115
|
+
- lib/birds/app/public/js/birds.js
|
110
116
|
- lib/birds/app/settings.rb
|
111
117
|
- lib/birds/app/views/_display.erb
|
112
118
|
- lib/birds/app/views/_documents.erb
|
@@ -125,13 +131,13 @@ licenses:
|
|
125
131
|
metadata: {}
|
126
132
|
post_install_message: |2+
|
127
133
|
|
128
|
-
birds-0.0.
|
134
|
+
birds-0.0.2 [2016-10-12]:
|
129
135
|
|
130
|
-
*
|
136
|
+
* Include asset files in gemspec.
|
131
137
|
|
132
138
|
rdoc_options:
|
133
139
|
- "--title"
|
134
|
-
- birds Application documentation (v0.0.
|
140
|
+
- birds Application documentation (v0.0.2)
|
135
141
|
- "--charset"
|
136
142
|
- UTF-8
|
137
143
|
- "--line-numbers"
|
@@ -152,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
158
|
version: '0'
|
153
159
|
requirements: []
|
154
160
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.6.
|
161
|
+
rubygems_version: 2.6.7
|
156
162
|
signing_key:
|
157
163
|
specification_version: 4
|
158
164
|
summary: Bibliographic information retrieval & document search.
|