spiderfw 0.6.21 → 0.6.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. data/CHANGELOG +33 -0
  2. data/Rakefile +0 -1
  3. data/VERSION +1 -1
  4. data/apps/core/admin/_init.rb +4 -0
  5. data/apps/core/admin/admin.rb +20 -4
  6. data/apps/core/admin/controllers/admin_controller.rb +63 -4
  7. data/apps/core/admin/controllers/app_admin_controller.rb +15 -0
  8. data/apps/core/admin/data/locale/it/LC_MESSAGES/admin.mo +0 -0
  9. data/apps/core/admin/po/admin.pot +33 -0
  10. data/apps/core/admin/po/it/admin.po +34 -0
  11. data/apps/core/admin/public/css/admin.css +13 -0
  12. data/apps/core/admin/public/css/login.css +51 -0
  13. data/apps/core/admin/public/css/sass/admin.css +198 -0
  14. data/apps/core/admin/public/css/sass/bootstrap/bootstrap.css +3107 -0
  15. data/apps/core/admin/public/img/css/header_bg.png +0 -0
  16. data/apps/core/admin/public/img/css/noise.png +0 -0
  17. data/apps/core/admin/public/img/css/side_bg.png +0 -0
  18. data/apps/core/admin/public/img/icons/logout.png +0 -0
  19. data/apps/core/admin/public/img/icons-s845a69dd9f.png +0 -0
  20. data/apps/core/admin/public/js/bootstrap-alerts.js +113 -0
  21. data/apps/core/admin/public/js/bootstrap-buttons.js +62 -0
  22. data/apps/core/admin/public/js/bootstrap-dropdown.js +55 -0
  23. data/apps/core/admin/public/js/bootstrap-modal.js +260 -0
  24. data/apps/core/admin/public/js/bootstrap-popover.js +90 -0
  25. data/apps/core/admin/public/js/bootstrap-scrollspy.js +107 -0
  26. data/apps/core/admin/public/js/bootstrap-tabs.js +80 -0
  27. data/apps/core/admin/public/js/bootstrap-twipsy.js +321 -0
  28. data/apps/core/admin/public/sass/admin.scss +167 -0
  29. data/apps/core/admin/public/sass/bootstrap/bootstrap.scss +29 -0
  30. data/apps/core/admin/public/sass/bootstrap/forms.scss +478 -0
  31. data/apps/core/admin/public/sass/bootstrap/mixins.scss +220 -0
  32. data/apps/core/admin/public/sass/bootstrap/patterns.scss +1062 -0
  33. data/apps/core/admin/public/sass/bootstrap/reset.scss +141 -0
  34. data/apps/core/admin/public/sass/bootstrap/scaffolding.scss +136 -0
  35. data/apps/core/admin/public/sass/bootstrap/tables.scss +224 -0
  36. data/apps/core/admin/public/sass/bootstrap/type.scss +187 -0
  37. data/apps/core/admin/public/sass/bootstrap/variables.scss +60 -0
  38. data/apps/core/admin/public/sass/grid.scss +54 -0
  39. data/apps/core/admin/views/_app_info.shtml +5 -0
  40. data/apps/core/admin/views/admin.layout.shtml +35 -0
  41. data/apps/core/admin/views/index.shtml +1 -1
  42. data/apps/core/admin/views/login.layout.shtml +13 -0
  43. data/apps/core/auth/controllers/mixins/auth_helper.rb +1 -1
  44. data/apps/core/auth/models/super_user.rb +6 -0
  45. data/apps/core/auth/models/user.rb +9 -0
  46. data/apps/core/components/assets.rb +5 -1
  47. data/apps/core/components/data/locale/it/LC_MESSAGES/spider_components.mo +0 -0
  48. data/apps/core/components/po/it/spider_components.po +23 -9
  49. data/apps/core/components/po/spider_components.pot +16 -8
  50. data/apps/core/components/public/css/admin.css +0 -12
  51. data/apps/core/components/public/css/crud.css +16 -19
  52. data/apps/core/components/public/css/table.css +11 -5
  53. data/apps/core/components/public/js/less-1.1.3.min.js +16 -0
  54. data/apps/core/components/public/widgets/table.js +1 -1
  55. data/apps/core/components/widgets/admin/admin.rb +10 -0
  56. data/apps/core/components/widgets/admin/admin.shtml +24 -4
  57. data/apps/core/components/widgets/confirm/confirm.rb +2 -2
  58. data/apps/core/components/widgets/confirm/confirm.shtml +5 -2
  59. data/apps/core/components/widgets/crud/crud.rb +10 -1
  60. data/apps/core/components/widgets/crud/crud.shtml +18 -21
  61. data/apps/core/components/widgets/menu/menu.shtml +1 -2
  62. data/apps/core/components/widgets/switcher/switcher.rb +6 -3
  63. data/apps/core/components/widgets/switcher/templates/default.shtml +3 -1
  64. data/apps/core/components/widgets/table/table.rb +3 -2
  65. data/apps/core/components/widgets/table/table.shtml +44 -25
  66. data/apps/core/forms/data/locale/it/LC_MESSAGES/spider_forms.mo +0 -0
  67. data/apps/core/forms/po/it/spider_forms.po +7 -2
  68. data/apps/core/forms/po/spider_forms.pot +5 -1
  69. data/apps/core/forms/public/css/form.css +3 -3
  70. data/apps/core/forms/public/css/html_area.css +0 -1
  71. data/apps/core/forms/public/date_time.js +4 -3
  72. data/apps/core/forms/public/select.js +5 -4
  73. data/apps/core/forms/tags/element_label.erb +1 -1
  74. data/apps/core/forms/tags/row.erb +1 -1
  75. data/apps/core/forms/widgets/form/form.rb +23 -1
  76. data/apps/core/forms/widgets/form/form.shtml +7 -8
  77. data/apps/core/forms/widgets/inputs/checkbox/checkbox.shtml +3 -3
  78. data/apps/core/forms/widgets/inputs/date_time/date_time.shtml +3 -3
  79. data/apps/core/forms/widgets/inputs/file_input/file_input.rb +4 -2
  80. data/apps/core/forms/widgets/inputs/file_input/file_input.shtml +1 -1
  81. data/apps/core/forms/widgets/inputs/hidden/hidden.shtml +1 -1
  82. data/apps/core/forms/widgets/inputs/html_area/html_area.shtml +2 -2
  83. data/apps/core/forms/widgets/inputs/password/password.shtml +3 -3
  84. data/apps/core/forms/widgets/inputs/search_select/search_select.shtml +2 -2
  85. data/apps/core/forms/widgets/inputs/select/select.shtml +16 -13
  86. data/apps/core/forms/widgets/inputs/text/text.shtml +3 -3
  87. data/apps/core/forms/widgets/inputs/text_area/text_area.shtml +5 -2
  88. data/apps/core/forms/widgets/inputs/time_span/time_span.shtml +3 -3
  89. data/apps/messenger/_init.rb +10 -2
  90. data/apps/messenger/controllers/messenger_admin_controller.rb +53 -0
  91. data/apps/messenger/controllers/messenger_controller.rb +2 -0
  92. data/apps/messenger/controllers/mixins/messenger_helper.rb +2 -2
  93. data/apps/messenger/models/message.rb +1 -1
  94. data/apps/messenger/public/app_icon.png +0 -0
  95. data/apps/messenger/views/admin/_admin.layout.shtml +26 -0
  96. data/apps/messenger/views/admin/index.shtml +13 -0
  97. data/apps/messenger/views/admin/queue.shtml +28 -0
  98. data/apps/messenger/views/index.shtml +3 -3
  99. data/data/locale/it/LC_MESSAGES/spider.mo +0 -0
  100. data/lib/spiderfw/app.rb +10 -1
  101. data/lib/spiderfw/cache/template_cache.rb +21 -22
  102. data/lib/spiderfw/cmd/commands/app.rb +3 -3
  103. data/lib/spiderfw/cmd/commands/setup.rb +1 -1
  104. data/lib/spiderfw/config/options/spider.rb +18 -2
  105. data/lib/spiderfw/controller/controller.rb +9 -3
  106. data/lib/spiderfw/controller/dispatcher.rb +25 -12
  107. data/lib/spiderfw/controller/home_controller.rb +3 -3
  108. data/lib/spiderfw/controller/http_controller.rb +11 -0
  109. data/lib/spiderfw/controller/mixins/static_content.rb +3 -12
  110. data/lib/spiderfw/controller/mixins/visual.rb +21 -20
  111. data/lib/spiderfw/controller/request.rb +1 -3
  112. data/lib/spiderfw/http/adapters/mongrel.rb +1 -1
  113. data/lib/spiderfw/i18n/gettext.rb +14 -0
  114. data/lib/spiderfw/i18n/shtml_parser.rb +2 -2
  115. data/lib/spiderfw/model/base_model.rb +4 -3
  116. data/lib/spiderfw/model/mappers/db_mapper.rb +137 -79
  117. data/lib/spiderfw/model/mappers/mapper.rb +6 -2
  118. data/lib/spiderfw/model/migrations/drop_element.rb +1 -1
  119. data/lib/spiderfw/model/migrations/previous_model.rb +73 -0
  120. data/lib/spiderfw/model/migrations/rename_element.rb +42 -0
  121. data/lib/spiderfw/model/migrations.rb +14 -1
  122. data/lib/spiderfw/model/mixins/tree.rb +65 -19
  123. data/lib/spiderfw/model/model_hash.rb +9 -5
  124. data/lib/spiderfw/model/query.rb +8 -0
  125. data/lib/spiderfw/model/query_funcs.rb +23 -0
  126. data/lib/spiderfw/model/query_set.rb +1 -1
  127. data/lib/spiderfw/model/request.rb +11 -3
  128. data/lib/spiderfw/model/storage/db/adapters/mysql.rb +28 -1
  129. data/lib/spiderfw/model/storage/db/adapters/oracle.rb +10 -10
  130. data/lib/spiderfw/model/storage/db/db_schema.rb +20 -3
  131. data/lib/spiderfw/model/storage/db/db_storage.rb +39 -17
  132. data/lib/spiderfw/setup/app_manager.rb +69 -31
  133. data/lib/spiderfw/setup/setup_task.rb +76 -8
  134. data/lib/spiderfw/spider.rb +21 -1
  135. data/lib/spiderfw/templates/blocks/text.rb +4 -4
  136. data/lib/spiderfw/templates/blocks/text_domain.rb +25 -0
  137. data/lib/spiderfw/templates/blocks/widget.rb +1 -1
  138. data/lib/spiderfw/templates/layout.rb +160 -92
  139. data/lib/spiderfw/templates/resources/less.rb +10 -2
  140. data/lib/spiderfw/templates/resources/sass.rb +66 -9
  141. data/lib/spiderfw/templates/template.rb +35 -10
  142. data/lib/spiderfw/templates/template_blocks.rb +6 -3
  143. data/lib/spiderfw/utils/logger.rb +20 -0
  144. data/lib/spiderfw/utils/memory.rb +7 -3
  145. data/lib/spiderfw/widget/widget.rb +13 -7
  146. data/lib/spiderfw/widget/widget_attributes.rb +2 -2
  147. data/spider.gemspec +1 -0
  148. metadata +68 -11
  149. data/apps/core/admin/views/spider_admin.layout.shtml +0 -23
@@ -1,6 +1,10 @@
1
- begin
2
- require 'win32ole'
3
- rescue LoadError
1
+ require 'rbconfig'
2
+
3
+ if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
4
+ begin
5
+ require 'win32ole'
6
+ rescue LoadError
7
+ end
4
8
  end
5
9
 
6
10
  module Spider
@@ -41,7 +41,8 @@ module Spider
41
41
  s = s.superclass
42
42
 
43
43
  end
44
- file = caller[cnt].split(':')[0]
44
+ raise "Unable to determine widget file" unless caller[cnt] =~ /(.+):(\d+)(:in .+)?$/
45
+ file = $1
45
46
  subclass.instance_variable_set("@widget_path", File.dirname(file))
46
47
  end
47
48
 
@@ -62,16 +63,18 @@ module Spider
62
63
 
63
64
  def i_attribute(name, params={})
64
65
  params[:instance_attr] = true
66
+ params[:ruby_name] = name.to_s.gsub('-', '_').to_sym
65
67
  params[:set_var] = true
66
68
  attribute(name, params)
67
- attr_reader(name)
69
+ attr_reader(params[:ruby_name])
68
70
  end
69
71
 
70
72
  def is_attribute(name, params={})
71
73
  params[:instance_attr] = true
74
+ params[:ruby_name] = name.to_s.gsub('-', '_').to_sym
72
75
  i_attribute(name, params)
73
- attr_to_scene(name)
74
- attr_reader(name)
76
+ attr_to_scene(params[:ruby_name])
77
+ attr_reader(params[:ruby_name])
75
78
  end
76
79
 
77
80
  def s_attribute(name, params={})
@@ -81,14 +84,16 @@ module Spider
81
84
 
82
85
  def i_attr_accessor(name, params={})
83
86
  params[:instance_attr] = true
87
+ params[:ruby_name] = name.to_s.gsub('-', '_').to_sym
84
88
  i_attribute(name, params)
85
- attr_accessor(name)
89
+ attr_accessor(params[:ruby_name])
86
90
  end
87
91
 
88
92
  def is_attr_accessor(name, params={})
89
93
  params[:instance_attr] = true
94
+ params[:ruby_name] = name.to_s.gsub('-', '_').to_sym
90
95
  is_attribute(name, params)
91
- attr_accessor(name)
96
+ attr_accessor(params[:ruby_name])
92
97
  end
93
98
 
94
99
  def attr_to_scene(*names)
@@ -156,7 +161,7 @@ module Spider
156
161
 
157
162
  def parse_content_xml(xml)
158
163
  return ["", []] if !xml || xml.strip.empty?
159
- return parse_content(Hpricot(xml))
164
+ return parse_content(Hpricot("<sp:widget-content>#{xml}</sp:widget-content>"))
160
165
  end
161
166
 
162
167
  # Parses widget content at compile time.
@@ -735,6 +740,7 @@ module Spider
735
740
  scene.widget[:target_only] = attributes[:"sp:target-only"]
736
741
  scene.widget[:is_target] = @is_target
737
742
  scene.widget[:is_running] = run?
743
+ scene.widget[:id] = @id
738
744
  if (@parent && @parent.respond_to?(:scene) && @parent.scene)
739
745
  scene._parent = @parent.scene
740
746
  end
@@ -33,7 +33,7 @@ module Spider
33
33
  end
34
34
  end
35
35
  v = params[:process].call(v) if params[:process] && v
36
- @widget.instance_variable_set("@#{k}", v) if params[:set_var]
36
+ @widget.instance_variable_set("@#{params[:ruby_name]}", v) if params[:set_var]
37
37
  super(k, v)
38
38
  end
39
39
 
@@ -42,7 +42,7 @@ module Spider
42
42
  params = @attributes[k]
43
43
  v = super
44
44
  if (!v)
45
- return @widget.instance_variable_get("@#{k}") if params[:instance_attr]
45
+ return @widget.instance_variable_get("@#{params[:ruby_name]}") if params[:instance_attr]
46
46
  return nil
47
47
  end
48
48
  return v
data/spider.gemspec CHANGED
@@ -39,6 +39,7 @@ Gem::Specification.new do |s|
39
39
  s.add_dependency("macaddr", [">= 1.0.0"])
40
40
  s.add_dependency("bundler")
41
41
  s.add_dependency("mail")
42
+ s.add_dependency("backports")
42
43
  s.add_development_dependency("rake", ["> 0.7.3"])
43
44
  s.add_development_dependency("gettext", ['>= 2.1.0'])
44
45
  s.add_development_dependency("fssm")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spiderfw
3
3
  version: !ruby/object:Gem::Version
4
- hash: 45
4
+ hash: 43
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 21
10
- version: 0.6.21
9
+ - 22
10
+ version: 0.6.22
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ivan Pirlik
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-03 00:00:00 +01:00
18
+ date: 2011-12-14 00:00:00 +01:00
19
19
  default_executable: spider
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -200,9 +200,23 @@ dependencies:
200
200
  type: :runtime
201
201
  version_requirements: *id012
202
202
  - !ruby/object:Gem::Dependency
203
- name: rake
203
+ name: backports
204
204
  prerelease: false
205
205
  requirement: &id013 !ruby/object:Gem::Requirement
206
+ none: false
207
+ requirements:
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ hash: 3
211
+ segments:
212
+ - 0
213
+ version: "0"
214
+ type: :runtime
215
+ version_requirements: *id013
216
+ - !ruby/object:Gem::Dependency
217
+ name: rake
218
+ prerelease: false
219
+ requirement: &id014 !ruby/object:Gem::Requirement
206
220
  none: false
207
221
  requirements:
208
222
  - - ">"
@@ -214,11 +228,11 @@ dependencies:
214
228
  - 3
215
229
  version: 0.7.3
216
230
  type: :development
217
- version_requirements: *id013
231
+ version_requirements: *id014
218
232
  - !ruby/object:Gem::Dependency
219
233
  name: gettext
220
234
  prerelease: false
221
- requirement: &id014 !ruby/object:Gem::Requirement
235
+ requirement: &id015 !ruby/object:Gem::Requirement
222
236
  none: false
223
237
  requirements:
224
238
  - - ">="
@@ -230,11 +244,11 @@ dependencies:
230
244
  - 0
231
245
  version: 2.1.0
232
246
  type: :development
233
- version_requirements: *id014
247
+ version_requirements: *id015
234
248
  - !ruby/object:Gem::Dependency
235
249
  name: fssm
236
250
  prerelease: false
237
- requirement: &id015 !ruby/object:Gem::Requirement
251
+ requirement: &id016 !ruby/object:Gem::Requirement
238
252
  none: false
239
253
  requirements:
240
254
  - - ">="
@@ -244,7 +258,7 @@ dependencies:
244
258
  - 0
245
259
  version: "0"
246
260
  type: :development
247
- version_requirements: *id015
261
+ version_requirements: *id016
248
262
  description: Spider is yet another Ruby framework.
249
263
  email: abmajor7@gmail.com
250
264
  executables:
@@ -292,8 +306,42 @@ files:
292
306
  - apps/core/admin/_init.rb
293
307
  - apps/core/admin/admin.rb
294
308
  - apps/core/admin/controllers/admin_controller.rb
309
+ - apps/core/admin/controllers/app_admin_controller.rb
310
+ - apps/core/admin/data/locale/it/LC_MESSAGES/admin.mo
311
+ - apps/core/admin/po/admin.pot
312
+ - apps/core/admin/po/it/admin.po
313
+ - apps/core/admin/public/css/admin.css
314
+ - apps/core/admin/public/css/login.css
315
+ - apps/core/admin/public/css/sass/admin.css
316
+ - apps/core/admin/public/css/sass/bootstrap/bootstrap.css
317
+ - apps/core/admin/public/img/css/header_bg.png
318
+ - apps/core/admin/public/img/css/noise.png
319
+ - apps/core/admin/public/img/css/side_bg.png
320
+ - apps/core/admin/public/img/icons/logout.png
321
+ - apps/core/admin/public/img/icons-s845a69dd9f.png
322
+ - apps/core/admin/public/js/bootstrap-alerts.js
323
+ - apps/core/admin/public/js/bootstrap-buttons.js
324
+ - apps/core/admin/public/js/bootstrap-dropdown.js
325
+ - apps/core/admin/public/js/bootstrap-modal.js
326
+ - apps/core/admin/public/js/bootstrap-popover.js
327
+ - apps/core/admin/public/js/bootstrap-scrollspy.js
328
+ - apps/core/admin/public/js/bootstrap-tabs.js
329
+ - apps/core/admin/public/js/bootstrap-twipsy.js
330
+ - apps/core/admin/public/sass/admin.scss
331
+ - apps/core/admin/public/sass/bootstrap/bootstrap.scss
332
+ - apps/core/admin/public/sass/bootstrap/forms.scss
333
+ - apps/core/admin/public/sass/bootstrap/mixins.scss
334
+ - apps/core/admin/public/sass/bootstrap/patterns.scss
335
+ - apps/core/admin/public/sass/bootstrap/reset.scss
336
+ - apps/core/admin/public/sass/bootstrap/scaffolding.scss
337
+ - apps/core/admin/public/sass/bootstrap/tables.scss
338
+ - apps/core/admin/public/sass/bootstrap/type.scss
339
+ - apps/core/admin/public/sass/bootstrap/variables.scss
340
+ - apps/core/admin/public/sass/grid.scss
341
+ - apps/core/admin/views/_app_info.shtml
342
+ - apps/core/admin/views/admin.layout.shtml
295
343
  - apps/core/admin/views/index.shtml
296
- - apps/core/admin/views/spider_admin.layout.shtml
344
+ - apps/core/admin/views/login.layout.shtml
297
345
  - apps/core/admin/widgets/admin_menu/admin_menu.rb
298
346
  - apps/core/auth/_init.rb
299
347
  - apps/core/auth/config/options.rb
@@ -586,6 +634,7 @@ files:
586
634
  - apps/core/components/public/js/jquery/plugins/ui-timepickr/test/styles.css
587
635
  - apps/core/components/public/js/jquery/plugins/ui-timepickr/test/test.js
588
636
  - apps/core/components/public/js/jquery/plugins/ui-timepickr/test/unit/ui.timepickr.js
637
+ - apps/core/components/public/js/less-1.1.3.min.js
589
638
  - apps/core/components/public/js/list.js
590
639
  - apps/core/components/public/js/plugins/plugin.js
591
640
  - apps/core/components/public/js/plugins/sortable.js
@@ -931,6 +980,7 @@ files:
931
980
  - apps/messenger/config/options.rb
932
981
  - apps/messenger/config/test.config.yml
933
982
  - apps/messenger/config/worker/queue.rb
983
+ - apps/messenger/controllers/messenger_admin_controller.rb
934
984
  - apps/messenger/controllers/messenger_controller.rb
935
985
  - apps/messenger/controllers/mixins/messenger_helper.rb
936
986
  - apps/messenger/data/locale/it/LC_MESSAGES/spider_messenger.mo
@@ -943,6 +993,7 @@ files:
943
993
  - apps/messenger/models/sms.rb
944
994
  - apps/messenger/po/it/spider_messenger.po
945
995
  - apps/messenger/po/spider_messenger.pot
996
+ - apps/messenger/public/app_icon.png
946
997
  - apps/messenger/test/features/attachments.feature
947
998
  - apps/messenger/test/features/messenger_helper.feature
948
999
  - apps/messenger/test/features/sending_email.feature
@@ -955,6 +1006,9 @@ files:
955
1006
  - apps/messenger/test/templates/email/multipart.txt.erb
956
1007
  - apps/messenger/test/templates/email/simple.erb
957
1008
  - apps/messenger/test/templates/email/vars.erb
1009
+ - apps/messenger/views/admin/_admin.layout.shtml
1010
+ - apps/messenger/views/admin/index.shtml
1011
+ - apps/messenger/views/admin/queue.shtml
958
1012
  - apps/messenger/views/index.shtml
959
1013
  - apps/messenger/views/list.shtml
960
1014
  - apps/messenger/views/messenger.layout.shtml
@@ -1126,6 +1180,8 @@ files:
1126
1180
  - lib/spiderfw/model/migrations/drop_table.rb
1127
1181
  - lib/spiderfw/model/migrations/irreversible_migration.rb
1128
1182
  - lib/spiderfw/model/migrations/migration.rb
1183
+ - lib/spiderfw/model/migrations/previous_model.rb
1184
+ - lib/spiderfw/model/migrations/rename_element.rb
1129
1185
  - lib/spiderfw/model/migrations/replace.rb
1130
1186
  - lib/spiderfw/model/migrations.rb
1131
1187
  - lib/spiderfw/model/mixins/converted.rb
@@ -1195,6 +1251,7 @@ files:
1195
1251
  - lib/spiderfw/templates/blocks/tag.rb
1196
1252
  - lib/spiderfw/templates/blocks/tag_if.rb
1197
1253
  - lib/spiderfw/templates/blocks/text.rb
1254
+ - lib/spiderfw/templates/blocks/text_domain.rb
1198
1255
  - lib/spiderfw/templates/blocks/widget.rb
1199
1256
  - lib/spiderfw/templates/blocks/yield.rb
1200
1257
  - lib/spiderfw/templates/layout.rb
@@ -1,23 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
- "http://www.w3.org/TR/html4/strict.dtd">
3
- <html>
4
- <head>
5
- <title>Spider - _(Administration)</title>
6
- <script sp:each='@assets[:js] |script|' type="text/javascript" src="{ script }"></script>
7
- <link sp:each='@assets[:css] |css_file|' rel='stylesheet' href='{ css_file }' />
8
- </head>
9
- <body>
10
- <table>
11
- <tr>
12
- <td width="18%" valign="top">
13
- <spider-admin:menu id="menu"/>
14
- </td>
15
- <td valign="top">
16
- <div id="content">
17
- <sp:yield />
18
- </div>
19
- </td>
20
- </tr>
21
- </table>
22
- </body>
23
- </html>