talia_core 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/VERSION.yml +1 -1
  2. data/generators/talia_admin/templates/public/stylesheets/{backend.css → talia_core/backend.css} +9 -9
  3. data/generators/talia_admin/templates/views/layouts/admin.html.erb +1 -1
  4. data/generators/talia_base/talia_base_generator.rb +1 -1
  5. data/generators/talia_base/templates/app/helpers/sources_helper.rb +2 -2
  6. data/generators/talia_base/templates/app/views/layouts/sources.html.erb +1 -1
  7. data/generators/talia_base/templates/public/stylesheets/{main.css → talia_core/main.css} +5 -5
  8. metadata +37 -38
  9. data/generators/talia_base/templates/public/stylesheets/img/arrow.png +0 -0
  10. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/body_bg.gif +0 -0
  11. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/footer_bg.gif +0 -0
  12. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/header.jpg +0 -0
  13. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/header_bg.gif +0 -0
  14. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/menu.jpg +0 -0
  15. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/menu_bg.gif +0 -0
  16. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/opednid.gif +0 -0
  17. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/page_bg.jpg +0 -0
  18. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/triangolino.gif +0 -0
  19. /data/generators/talia_admin/templates/public/{images/backend → stylesheets/talia_core/images}/triangolino_full.gif +0 -0
  20. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/building.png +0 -0
  21. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/document-horizontal-text.png +0 -0
  22. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/document.png +0 -0
  23. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/gear.png +0 -0
  24. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/group.png +0 -0
  25. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/image.png +0 -0
  26. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/imagebig.png +0 -0
  27. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/letter.png +0 -0
  28. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/map.png +0 -0
  29. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/period.png +0 -0
  30. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/person.png +0 -0
  31. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/person_default.png +0 -0
  32. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/place.png +0 -0
  33. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/source.png +0 -0
  34. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/television.png +0 -0
  35. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/text.png +0 -0
  36. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/type.png +0 -0
  37. /data/generators/talia_base/templates/public/images/{core → talia_core/talia_core}/video.png +0 -0
  38. /data/generators/talia_base/templates/public/{images/core → stylesheets/talia_core/images}/arrow.png +0 -0
  39. /data/generators/talia_base/templates/public/{images/core → stylesheets/talia_core/images}/contents_top_left.gif +0 -0
  40. /data/generators/talia_base/templates/public/{images/core → stylesheets/talia_core/images}/header_bg.gif +0 -0
  41. /data/generators/talia_base/templates/public/{images/core → stylesheets/talia_core/images}/left_edge.gif +0 -0
  42. /data/generators/talia_base/templates/public/{images/core → stylesheets/talia_core/images}/line.png +0 -0
  43. /data/generators/talia_base/templates/public/{images/core → stylesheets/talia_core/images}/logo.gif +0 -0
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 4
4
- :patch: 6
4
+ :patch: 7
5
5
  :build:
@@ -8,7 +8,7 @@ body {
8
8
  margin:0;
9
9
  padding: 0;
10
10
  border: 0;
11
- background: #FFF url(/images/backend/header_bg.gif) top left repeat-x;
11
+ background: #FFF url(images/header_bg.gif) top left repeat-x;
12
12
  font-family: Avenir, Arial, "Lucida Grande", Verdana, "Bitstream Vera Sans", Helvetica, sans-serif;
13
13
  font-size:0.8125em;
14
14
  }
@@ -122,7 +122,7 @@ a:hover{
122
122
  display: block;
123
123
  height: 181px;
124
124
  width:100%;
125
- background: transparent url(/images/backend/header.jpg) top left no-repeat;
125
+ background: transparent url(images/header.jpg) top left no-repeat;
126
126
  }
127
127
  #testata h1{
128
128
  display: none;
@@ -139,7 +139,7 @@ a:hover{
139
139
  height: 45px;
140
140
  width: 800px;
141
141
  width:100%;
142
- background: url(/images/backend/menu_bg.gif) top left repeat-x;
142
+ background: url(images/menu_bg.gif) top left repeat-x;
143
143
  text-align: left;
144
144
  margin: 0; padding: 0;
145
145
  }
@@ -148,7 +148,7 @@ a:hover{
148
148
  padding: 14px 0 0 25px;
149
149
  margin: 0;
150
150
  height: 45px;
151
- background: url(/images/backend/menu.jpg) top left no-repeat;
151
+ background: url(images/menu.jpg) top left no-repeat;
152
152
  background-position: -180px 0;
153
153
  }
154
154
  #menu li{
@@ -164,12 +164,12 @@ a:hover{
164
164
  text-transform: uppercase;
165
165
  font-size: 11px;
166
166
  font-weight: bold;
167
- background: transparent url(/images/backend/triangolino.gif) bottom center no-repeat;
167
+ background: transparent url(images/triangolino.gif) bottom center no-repeat;
168
168
  padding-bottom: 6px;
169
169
  }
170
170
  #menu li a:hover{
171
171
  color: #FFFFFF;
172
- background: transparent url(/images/backend/triangolino_full.gif) bottom center no-repeat;
172
+ background: transparent url(images/triangolino_full.gif) bottom center no-repeat;
173
173
  }
174
174
 
175
175
  /* ***************** ************** ************** */
@@ -199,7 +199,7 @@ a:hover{
199
199
  margin: 0 0 10px 0;
200
200
  }
201
201
  #contenutoInterno ul li a{
202
- background: transparent url(/images/backend/icona.gif) center left no-repeat;
202
+ background: transparent url(images/icona.gif) center left no-repeat;
203
203
  padding: 0 0 0 0px;
204
204
  }
205
205
  #contenutoInterno ul li a:hover{
@@ -238,7 +238,7 @@ a:hover{
238
238
  label#openid_label {
239
239
  display: inline;
240
240
  line-height: 30px;
241
- background: transparent url(/images/backend/opednid.gif) center left no-repeat;
241
+ background: transparent url(images/opednid.gif) center left no-repeat;
242
242
  padding: 20px 20px 20px 35px;
243
243
  height: 30px;
244
244
  }
@@ -403,7 +403,7 @@ table tr td input {
403
403
  position: relative;
404
404
  margin: 0 auto 0 auto;
405
405
  width:780px;
406
- background: #40332b url(/images/backend/footer_bg.gif) top left repeat-x;
406
+ background: #40332b url(images/footer_bg.gif) top left repeat-x;
407
407
  }
408
408
  #footer {
409
409
  position: relative;
@@ -8,7 +8,7 @@
8
8
  <meta name="copyright" content="Copyright" />
9
9
  <meta name="robots" content="all" />
10
10
  <meta http-equiv="pragma" content="no-cache" />
11
- <%= stylesheet_link_tag('backend') %>
11
+ <%= stylesheet_link_tag('talia_core/backend') %>
12
12
  <%= javascript_include_tag('prototype') %>
13
13
  <%= javascript_include_tag('scriptaculous') %>
14
14
  <%= javascript_include_tag('lowpro') %>
@@ -13,7 +13,7 @@ class TaliaBaseGenerator < Rails::Generator::Base
13
13
  m.directory 'config/initializers'
14
14
  m.file "config/talia_initializer.rb", "config/initializers/talia.rb"
15
15
  m.file "config/routes.rb", "config/routes.rb", :collision => :ask
16
- m.file "talia.sh", "talia.sh", :shebang => '/bin/sh', :chmod => 0755=
16
+ m.file "talia.sh", "talia.sh", :shebang => '/bin/sh', :chmod => 0755
17
17
  m.file "config/warble.rb", "config/warble.rb"
18
18
 
19
19
  # Install the scripts
@@ -43,7 +43,7 @@ module SourcesHelper
43
43
  data_records.each do |rec|
44
44
  link_data = data_record_options(rec)
45
45
  result << link_to(
46
- image_tag("core/#{link_data.first}.png", :alt => rec.location, :title => rec.location),
46
+ image_tag("talia_core/#{link_data.first}.png", :alt => rec.location, :title => rec.location),
47
47
  { :controller => 'source_data',
48
48
  :action => 'show',
49
49
  :id => rec.id },
@@ -67,7 +67,7 @@ module SourcesHelper
67
67
  types.each do |t|
68
68
  image = @type_map[t] || 'source'
69
69
  name = t.local_name.titleize
70
- result << link_to(image_tag("core/#{image}.png", :alt => name, :title => name),
70
+ result << link_to(image_tag("talia_core/#{image}.png", :alt => name, :title => name),
71
71
  :action => 'index', :filter => t.to_name_s('+')
72
72
  )
73
73
  end
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6
6
  <title><%= h(yield(:title) || "Talia | The Digital Library") %></title>
7
- <%= stylesheet_link_tag 'main' %>
7
+ <%= stylesheet_link_tag 'talia_core/main' %>
8
8
  </head>
9
9
  <body>
10
10
  <div id="title_bar">
@@ -15,7 +15,7 @@ body {
15
15
  border: 0;
16
16
  font-family: Avenir, "Lucida Grande", Verdana, "Bitstream Vera Sans", Arial, Helvetica, sans-serif;
17
17
  font-size:0.8125em;
18
- background: #FFF url(/images/core/left_edge.gif) top left repeat-y;
18
+ background: #FFF url(images/left_edge.gif) top left repeat-y;
19
19
  }
20
20
 
21
21
 
@@ -99,7 +99,7 @@ span.tag_selected {
99
99
  display: block;
100
100
  width: 235px;
101
101
  height: 97px;
102
- background: transparent url(/images/core/logo.gif) top left no-repeat;
102
+ background: transparent url(images/logo.gif) top left no-repeat;
103
103
  text-indent: -9999px;
104
104
  }
105
105
 
@@ -113,7 +113,7 @@ div#title_bar{
113
113
  padding:0;
114
114
  border:0;
115
115
  width:100%;
116
- background:#666 url(/images/core/header_bg.gif) top left repeat;
116
+ background:#666 url(images/header_bg.gif) top left repeat;
117
117
  }
118
118
 
119
119
  /* ***************** ************** ************** */
@@ -121,7 +121,7 @@ div#title_bar{
121
121
  /* ***************** ************** ************** */
122
122
  #contents {
123
123
  padding: 25px;
124
- background:transparent url(/images/core/contents_top_left.gif) top left repeat-x;
124
+ background:transparent url(images/contents_top_left.gif) top left repeat-x;
125
125
  }
126
126
 
127
127
  /* ***************** ************** ************** */
@@ -205,7 +205,7 @@ voice-family:inherit;
205
205
  width: 10%;
206
206
  float: left;
207
207
  padding: 6px 0; font-size:12px ;
208
- background: url(img/arrow.png) no-repeat right;
208
+ background: url(images/arrow.png) no-repeat right;
209
209
  display: block;
210
210
  }
211
211
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: talia_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Giacomi
@@ -165,19 +165,19 @@ files:
165
165
  - generators/talia_admin/templates/helpers/admin_helper.rb
166
166
  - generators/talia_admin/templates/migrations/populate_users.rb
167
167
  - generators/talia_admin/templates/models/role.rb
168
- - generators/talia_admin/templates/public/images/backend/body_bg.gif
169
- - generators/talia_admin/templates/public/images/backend/footer_bg.gif
170
- - generators/talia_admin/templates/public/images/backend/header.jpg
171
- - generators/talia_admin/templates/public/images/backend/header_bg.gif
172
- - generators/talia_admin/templates/public/images/backend/menu.jpg
173
- - generators/talia_admin/templates/public/images/backend/menu_bg.gif
174
- - generators/talia_admin/templates/public/images/backend/opednid.gif
175
- - generators/talia_admin/templates/public/images/backend/page_bg.jpg
176
- - generators/talia_admin/templates/public/images/backend/triangolino.gif
177
- - generators/talia_admin/templates/public/images/backend/triangolino_full.gif
178
168
  - generators/talia_admin/templates/public/javascripts/backend.js
179
169
  - generators/talia_admin/templates/public/javascripts/lowpro.js
180
- - generators/talia_admin/templates/public/stylesheets/backend.css
170
+ - generators/talia_admin/templates/public/stylesheets/talia_core/backend.css
171
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/body_bg.gif
172
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/footer_bg.gif
173
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/header.jpg
174
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/header_bg.gif
175
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/menu.jpg
176
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/menu_bg.gif
177
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/opednid.gif
178
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/page_bg.jpg
179
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/triangolino.gif
180
+ - generators/talia_admin/templates/public/stylesheets/talia_core/images/triangolino_full.gif
181
181
  - generators/talia_admin/templates/test/functional/admin/custom_templates_controller_test.rb
182
182
  - generators/talia_admin/templates/test/functional/admin/locales_controller_test.rb
183
183
  - generators/talia_admin/templates/test/functional/admin/sources_controller_test.rb
@@ -248,32 +248,31 @@ files:
248
248
  - generators/talia_base/templates/ontologies/hyper_ontology.pprj
249
249
  - generators/talia_base/templates/ontologies/hyper_ontology.repository
250
250
  - generators/talia_base/templates/ontologies/scholar_0.1.owl
251
- - generators/talia_base/templates/public/images/core/arrow.png
252
- - generators/talia_base/templates/public/images/core/building.png
253
- - generators/talia_base/templates/public/images/core/contents_top_left.gif
254
- - generators/talia_base/templates/public/images/core/document-horizontal-text.png
255
- - generators/talia_base/templates/public/images/core/document.png
256
- - generators/talia_base/templates/public/images/core/gear.png
257
- - generators/talia_base/templates/public/images/core/group.png
258
- - generators/talia_base/templates/public/images/core/header_bg.gif
259
- - generators/talia_base/templates/public/images/core/image.png
260
- - generators/talia_base/templates/public/images/core/imagebig.png
261
- - generators/talia_base/templates/public/images/core/left_edge.gif
262
- - generators/talia_base/templates/public/images/core/letter.png
263
- - generators/talia_base/templates/public/images/core/line.png
264
- - generators/talia_base/templates/public/images/core/logo.gif
265
- - generators/talia_base/templates/public/images/core/map.png
266
- - generators/talia_base/templates/public/images/core/period.png
267
- - generators/talia_base/templates/public/images/core/person.png
268
- - generators/talia_base/templates/public/images/core/person_default.png
269
- - generators/talia_base/templates/public/images/core/place.png
270
- - generators/talia_base/templates/public/images/core/source.png
271
- - generators/talia_base/templates/public/images/core/television.png
272
- - generators/talia_base/templates/public/images/core/text.png
273
- - generators/talia_base/templates/public/images/core/type.png
274
- - generators/talia_base/templates/public/images/core/video.png
275
- - generators/talia_base/templates/public/stylesheets/img/arrow.png
276
- - generators/talia_base/templates/public/stylesheets/main.css
251
+ - generators/talia_base/templates/public/images/talia_core/talia_core/building.png
252
+ - generators/talia_base/templates/public/images/talia_core/talia_core/document-horizontal-text.png
253
+ - generators/talia_base/templates/public/images/talia_core/talia_core/document.png
254
+ - generators/talia_base/templates/public/images/talia_core/talia_core/gear.png
255
+ - generators/talia_base/templates/public/images/talia_core/talia_core/group.png
256
+ - generators/talia_base/templates/public/images/talia_core/talia_core/image.png
257
+ - generators/talia_base/templates/public/images/talia_core/talia_core/imagebig.png
258
+ - generators/talia_base/templates/public/images/talia_core/talia_core/letter.png
259
+ - generators/talia_base/templates/public/images/talia_core/talia_core/map.png
260
+ - generators/talia_base/templates/public/images/talia_core/talia_core/period.png
261
+ - generators/talia_base/templates/public/images/talia_core/talia_core/person.png
262
+ - generators/talia_base/templates/public/images/talia_core/talia_core/person_default.png
263
+ - generators/talia_base/templates/public/images/talia_core/talia_core/place.png
264
+ - generators/talia_base/templates/public/images/talia_core/talia_core/source.png
265
+ - generators/talia_base/templates/public/images/talia_core/talia_core/television.png
266
+ - generators/talia_base/templates/public/images/talia_core/talia_core/text.png
267
+ - generators/talia_base/templates/public/images/talia_core/talia_core/type.png
268
+ - generators/talia_base/templates/public/images/talia_core/talia_core/video.png
269
+ - generators/talia_base/templates/public/stylesheets/talia_core/images/arrow.png
270
+ - generators/talia_base/templates/public/stylesheets/talia_core/images/contents_top_left.gif
271
+ - generators/talia_base/templates/public/stylesheets/talia_core/images/header_bg.gif
272
+ - generators/talia_base/templates/public/stylesheets/talia_core/images/left_edge.gif
273
+ - generators/talia_base/templates/public/stylesheets/talia_core/images/line.png
274
+ - generators/talia_base/templates/public/stylesheets/talia_core/images/logo.gif
275
+ - generators/talia_base/templates/public/stylesheets/talia_core/main.css
277
276
  - generators/talia_base/templates/script/configure_talia
278
277
  - generators/talia_base/templates/script/prepare_images
279
278
  - generators/talia_base/templates/script/setup_talia_backend