spiderfw 0.6.21 → 0.6.22
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.
- data/CHANGELOG +33 -0
- data/Rakefile +0 -1
- data/VERSION +1 -1
- data/apps/core/admin/_init.rb +4 -0
- data/apps/core/admin/admin.rb +20 -4
- data/apps/core/admin/controllers/admin_controller.rb +63 -4
- data/apps/core/admin/controllers/app_admin_controller.rb +15 -0
- data/apps/core/admin/data/locale/it/LC_MESSAGES/admin.mo +0 -0
- data/apps/core/admin/po/admin.pot +33 -0
- data/apps/core/admin/po/it/admin.po +34 -0
- data/apps/core/admin/public/css/admin.css +13 -0
- data/apps/core/admin/public/css/login.css +51 -0
- data/apps/core/admin/public/css/sass/admin.css +198 -0
- data/apps/core/admin/public/css/sass/bootstrap/bootstrap.css +3107 -0
- data/apps/core/admin/public/img/css/header_bg.png +0 -0
- data/apps/core/admin/public/img/css/noise.png +0 -0
- data/apps/core/admin/public/img/css/side_bg.png +0 -0
- data/apps/core/admin/public/img/icons/logout.png +0 -0
- data/apps/core/admin/public/img/icons-s845a69dd9f.png +0 -0
- data/apps/core/admin/public/js/bootstrap-alerts.js +113 -0
- data/apps/core/admin/public/js/bootstrap-buttons.js +62 -0
- data/apps/core/admin/public/js/bootstrap-dropdown.js +55 -0
- data/apps/core/admin/public/js/bootstrap-modal.js +260 -0
- data/apps/core/admin/public/js/bootstrap-popover.js +90 -0
- data/apps/core/admin/public/js/bootstrap-scrollspy.js +107 -0
- data/apps/core/admin/public/js/bootstrap-tabs.js +80 -0
- data/apps/core/admin/public/js/bootstrap-twipsy.js +321 -0
- data/apps/core/admin/public/sass/admin.scss +167 -0
- data/apps/core/admin/public/sass/bootstrap/bootstrap.scss +29 -0
- data/apps/core/admin/public/sass/bootstrap/forms.scss +478 -0
- data/apps/core/admin/public/sass/bootstrap/mixins.scss +220 -0
- data/apps/core/admin/public/sass/bootstrap/patterns.scss +1062 -0
- data/apps/core/admin/public/sass/bootstrap/reset.scss +141 -0
- data/apps/core/admin/public/sass/bootstrap/scaffolding.scss +136 -0
- data/apps/core/admin/public/sass/bootstrap/tables.scss +224 -0
- data/apps/core/admin/public/sass/bootstrap/type.scss +187 -0
- data/apps/core/admin/public/sass/bootstrap/variables.scss +60 -0
- data/apps/core/admin/public/sass/grid.scss +54 -0
- data/apps/core/admin/views/_app_info.shtml +5 -0
- data/apps/core/admin/views/admin.layout.shtml +35 -0
- data/apps/core/admin/views/index.shtml +1 -1
- data/apps/core/admin/views/login.layout.shtml +13 -0
- data/apps/core/auth/controllers/mixins/auth_helper.rb +1 -1
- data/apps/core/auth/models/super_user.rb +6 -0
- data/apps/core/auth/models/user.rb +9 -0
- data/apps/core/components/assets.rb +5 -1
- data/apps/core/components/data/locale/it/LC_MESSAGES/spider_components.mo +0 -0
- data/apps/core/components/po/it/spider_components.po +23 -9
- data/apps/core/components/po/spider_components.pot +16 -8
- data/apps/core/components/public/css/admin.css +0 -12
- data/apps/core/components/public/css/crud.css +16 -19
- data/apps/core/components/public/css/table.css +11 -5
- data/apps/core/components/public/js/less-1.1.3.min.js +16 -0
- data/apps/core/components/public/widgets/table.js +1 -1
- data/apps/core/components/widgets/admin/admin.rb +10 -0
- data/apps/core/components/widgets/admin/admin.shtml +24 -4
- data/apps/core/components/widgets/confirm/confirm.rb +2 -2
- data/apps/core/components/widgets/confirm/confirm.shtml +5 -2
- data/apps/core/components/widgets/crud/crud.rb +10 -1
- data/apps/core/components/widgets/crud/crud.shtml +18 -21
- data/apps/core/components/widgets/menu/menu.shtml +1 -2
- data/apps/core/components/widgets/switcher/switcher.rb +6 -3
- data/apps/core/components/widgets/switcher/templates/default.shtml +3 -1
- data/apps/core/components/widgets/table/table.rb +3 -2
- data/apps/core/components/widgets/table/table.shtml +44 -25
- data/apps/core/forms/data/locale/it/LC_MESSAGES/spider_forms.mo +0 -0
- data/apps/core/forms/po/it/spider_forms.po +7 -2
- data/apps/core/forms/po/spider_forms.pot +5 -1
- data/apps/core/forms/public/css/form.css +3 -3
- data/apps/core/forms/public/css/html_area.css +0 -1
- data/apps/core/forms/public/date_time.js +4 -3
- data/apps/core/forms/public/select.js +5 -4
- data/apps/core/forms/tags/element_label.erb +1 -1
- data/apps/core/forms/tags/row.erb +1 -1
- data/apps/core/forms/widgets/form/form.rb +23 -1
- data/apps/core/forms/widgets/form/form.shtml +7 -8
- data/apps/core/forms/widgets/inputs/checkbox/checkbox.shtml +3 -3
- data/apps/core/forms/widgets/inputs/date_time/date_time.shtml +3 -3
- data/apps/core/forms/widgets/inputs/file_input/file_input.rb +4 -2
- data/apps/core/forms/widgets/inputs/file_input/file_input.shtml +1 -1
- data/apps/core/forms/widgets/inputs/hidden/hidden.shtml +1 -1
- data/apps/core/forms/widgets/inputs/html_area/html_area.shtml +2 -2
- data/apps/core/forms/widgets/inputs/password/password.shtml +3 -3
- data/apps/core/forms/widgets/inputs/search_select/search_select.shtml +2 -2
- data/apps/core/forms/widgets/inputs/select/select.shtml +16 -13
- data/apps/core/forms/widgets/inputs/text/text.shtml +3 -3
- data/apps/core/forms/widgets/inputs/text_area/text_area.shtml +5 -2
- data/apps/core/forms/widgets/inputs/time_span/time_span.shtml +3 -3
- data/apps/messenger/_init.rb +10 -2
- data/apps/messenger/controllers/messenger_admin_controller.rb +53 -0
- data/apps/messenger/controllers/messenger_controller.rb +2 -0
- data/apps/messenger/controllers/mixins/messenger_helper.rb +2 -2
- data/apps/messenger/models/message.rb +1 -1
- data/apps/messenger/public/app_icon.png +0 -0
- data/apps/messenger/views/admin/_admin.layout.shtml +26 -0
- data/apps/messenger/views/admin/index.shtml +13 -0
- data/apps/messenger/views/admin/queue.shtml +28 -0
- data/apps/messenger/views/index.shtml +3 -3
- data/data/locale/it/LC_MESSAGES/spider.mo +0 -0
- data/lib/spiderfw/app.rb +10 -1
- data/lib/spiderfw/cache/template_cache.rb +21 -22
- data/lib/spiderfw/cmd/commands/app.rb +3 -3
- data/lib/spiderfw/cmd/commands/setup.rb +1 -1
- data/lib/spiderfw/config/options/spider.rb +18 -2
- data/lib/spiderfw/controller/controller.rb +9 -3
- data/lib/spiderfw/controller/dispatcher.rb +25 -12
- data/lib/spiderfw/controller/home_controller.rb +3 -3
- data/lib/spiderfw/controller/http_controller.rb +11 -0
- data/lib/spiderfw/controller/mixins/static_content.rb +3 -12
- data/lib/spiderfw/controller/mixins/visual.rb +21 -20
- data/lib/spiderfw/controller/request.rb +1 -3
- data/lib/spiderfw/http/adapters/mongrel.rb +1 -1
- data/lib/spiderfw/i18n/gettext.rb +14 -0
- data/lib/spiderfw/i18n/shtml_parser.rb +2 -2
- data/lib/spiderfw/model/base_model.rb +4 -3
- data/lib/spiderfw/model/mappers/db_mapper.rb +137 -79
- data/lib/spiderfw/model/mappers/mapper.rb +6 -2
- data/lib/spiderfw/model/migrations/drop_element.rb +1 -1
- data/lib/spiderfw/model/migrations/previous_model.rb +73 -0
- data/lib/spiderfw/model/migrations/rename_element.rb +42 -0
- data/lib/spiderfw/model/migrations.rb +14 -1
- data/lib/spiderfw/model/mixins/tree.rb +65 -19
- data/lib/spiderfw/model/model_hash.rb +9 -5
- data/lib/spiderfw/model/query.rb +8 -0
- data/lib/spiderfw/model/query_funcs.rb +23 -0
- data/lib/spiderfw/model/query_set.rb +1 -1
- data/lib/spiderfw/model/request.rb +11 -3
- data/lib/spiderfw/model/storage/db/adapters/mysql.rb +28 -1
- data/lib/spiderfw/model/storage/db/adapters/oracle.rb +10 -10
- data/lib/spiderfw/model/storage/db/db_schema.rb +20 -3
- data/lib/spiderfw/model/storage/db/db_storage.rb +39 -17
- data/lib/spiderfw/setup/app_manager.rb +69 -31
- data/lib/spiderfw/setup/setup_task.rb +76 -8
- data/lib/spiderfw/spider.rb +21 -1
- data/lib/spiderfw/templates/blocks/text.rb +4 -4
- data/lib/spiderfw/templates/blocks/text_domain.rb +25 -0
- data/lib/spiderfw/templates/blocks/widget.rb +1 -1
- data/lib/spiderfw/templates/layout.rb +160 -92
- data/lib/spiderfw/templates/resources/less.rb +10 -2
- data/lib/spiderfw/templates/resources/sass.rb +66 -9
- data/lib/spiderfw/templates/template.rb +35 -10
- data/lib/spiderfw/templates/template_blocks.rb +6 -3
- data/lib/spiderfw/utils/logger.rb +20 -0
- data/lib/spiderfw/utils/memory.rb +7 -3
- data/lib/spiderfw/widget/widget.rb +13 -7
- data/lib/spiderfw/widget/widget_attributes.rb +2 -2
- data/spider.gemspec +1 -0
- metadata +68 -11
- data/apps/core/admin/views/spider_admin.layout.shtml +0 -23
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
= 0.6.22
|
|
2
|
+
== 14 December, 2011
|
|
3
|
+
* New core admin app
|
|
4
|
+
* Core widgets now include only minimal CSS
|
|
5
|
+
* SASS, Compass and Less support
|
|
6
|
+
* Added dependency on Backports gem
|
|
7
|
+
* Branches support for app server and client
|
|
8
|
+
* Interactive/non-interactive modes in setup
|
|
9
|
+
* Added Model::Request.strict, which creates a Request that is not auto-expanded
|
|
10
|
+
* Added support for aggregates in query Request; added explicit 'group by' option in Query.
|
|
11
|
+
* Much improved Tree model mixin
|
|
12
|
+
* DbMapper#bulk_update now allows nil conditions (whole table update)
|
|
13
|
+
* Static requests are now logged according to log.static_extensions config option (only errors are fully
|
|
14
|
+
logged by default, otherwise only a GET line is printed)
|
|
15
|
+
* Added fallback routes for Controllers (with 'route nil :destination')
|
|
16
|
+
* :do proc in Route now receives the matched part as an argument (in addition to route arguments)
|
|
17
|
+
* Fixed error messages being printed multiple times
|
|
18
|
+
* Each Controller's before and after methods are now executed only once when there are routes to self
|
|
19
|
+
* Fixes for Windows and JRuby
|
|
20
|
+
* Migrations now can refer to previous version's models through Migrations::PreviousModel
|
|
21
|
+
* Added RenameElement migration
|
|
22
|
+
* All form inputs are now wrapped in DIVs
|
|
23
|
+
* Fixed error in MySQL when synching schemas that change the primary autoincrement key
|
|
24
|
+
* Added :fixed attribute to DbSchema#set_foreign_key
|
|
25
|
+
* Widget.parse_content_xml is now responsible for wrapping the xml to construct a document
|
|
26
|
+
* FileInput widget now saves to var/data/uploaded_files instead of data/uploaded_files
|
|
27
|
+
* Widget attributes now can have a dash ('-') in their name; the dash is replaced with an
|
|
28
|
+
underscore in variables
|
|
29
|
+
* Fixed broken app update command
|
|
30
|
+
* An object's children are no longer added to the UnitOfWork if they are unmodified
|
|
31
|
+
* Added template.cache.use_fssm to clear template cache on file change (faster alternative to template.cache.disable)
|
|
32
|
+
* Various other minor fixes and enhancements
|
|
33
|
+
|
|
1
34
|
= 0.6.21
|
|
2
35
|
== 03 November, 2011
|
|
3
36
|
* require 'spidefw' no longer runs Spider.init(); use require 'spiderfw/init' instead
|
data/Rakefile
CHANGED
|
@@ -5,7 +5,6 @@ require 'pathname'
|
|
|
5
5
|
def check_app_path(full, partial)
|
|
6
6
|
p = Pathname.new(full)
|
|
7
7
|
rel = p.relative_path_from(Pathname.new($SPIDER_PATHS[:core_apps]))
|
|
8
|
-
return true if partial == "spider" && !rel.to_s.blank?
|
|
9
8
|
return true if rel.to_s == partial
|
|
10
9
|
if Spider.paths[:apps]
|
|
11
10
|
rel = p.relative_path_from(Pathname.new(Spider.paths[:apps]))
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.22
|
data/apps/core/admin/_init.rb
CHANGED
|
@@ -6,6 +6,7 @@ module Spider
|
|
|
6
6
|
@description = ""
|
|
7
7
|
@version = 0.1
|
|
8
8
|
@short_name = 'admin'
|
|
9
|
+
@route_url = 'admin'
|
|
9
10
|
@path = File.dirname(__FILE__)
|
|
10
11
|
@controller = :AdminController
|
|
11
12
|
include Spider::App
|
|
@@ -15,7 +16,10 @@ module Spider
|
|
|
15
16
|
|
|
16
17
|
end
|
|
17
18
|
|
|
19
|
+
require 'apps/core/admin/admin'
|
|
20
|
+
|
|
18
21
|
require 'apps/core/admin/controllers/admin_controller'
|
|
22
|
+
require 'apps/core/admin/controllers/app_admin_controller'
|
|
19
23
|
require 'apps/core/admin/widgets/admin_menu/admin_menu'
|
|
20
24
|
|
|
21
25
|
Spider::Template.register_namespace('spider-admin', Spider::Admin)
|
data/apps/core/admin/admin.rb
CHANGED
|
@@ -3,11 +3,27 @@ module Spider
|
|
|
3
3
|
module Admin
|
|
4
4
|
|
|
5
5
|
def self.apps
|
|
6
|
-
@apps
|
|
6
|
+
@apps ||= Spider::OrderedHash
|
|
7
7
|
end
|
|
8
|
-
|
|
9
|
-
def self.
|
|
10
|
-
@apps[
|
|
8
|
+
|
|
9
|
+
def self.register_app(mod, controller, options)
|
|
10
|
+
@apps[mod.short_name] = {
|
|
11
|
+
:module => mod,
|
|
12
|
+
:controller => controller,
|
|
13
|
+
:options => options
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
Admin::AdminController.route mod.short_name, controller, :do => lambda{ |app_name|
|
|
17
|
+
@scene.current_app = Spider::Admin.apps[app_name]
|
|
18
|
+
}
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def self.allowed_users
|
|
22
|
+
users = [Spider::Auth::SuperUser]
|
|
23
|
+
@apps.each do |name, app|
|
|
24
|
+
users += app[:options][:users] if app[:options][:users]
|
|
25
|
+
end
|
|
26
|
+
users.uniq
|
|
11
27
|
end
|
|
12
28
|
|
|
13
29
|
|
|
@@ -1,12 +1,71 @@
|
|
|
1
1
|
module Spider; module Admin
|
|
2
|
+
|
|
3
|
+
class LoginController < Spider::Auth::LoginController
|
|
4
|
+
|
|
5
|
+
layout 'login'
|
|
6
|
+
|
|
7
|
+
def before(action='', *params)
|
|
8
|
+
@scene.login_title = _("Administration")
|
|
9
|
+
super
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def self.users
|
|
13
|
+
Spider::Admin.allowed_users
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def self.default_redirect
|
|
18
|
+
AdminController.url
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def self.logout_redirect
|
|
22
|
+
AdminController.url('login')
|
|
23
|
+
end
|
|
24
|
+
end
|
|
2
25
|
|
|
3
26
|
class AdminController < Spider::PageController
|
|
4
|
-
layout
|
|
5
|
-
|
|
27
|
+
layout 'admin'
|
|
28
|
+
|
|
29
|
+
include Spider::Auth::AuthHelper
|
|
30
|
+
include StaticContent
|
|
31
|
+
|
|
32
|
+
def self.auth_require_users
|
|
33
|
+
[[Spider::Admin.allowed_users, {:unless => [:login], :redirect => 'login'}]]
|
|
34
|
+
end
|
|
6
35
|
|
|
36
|
+
route 'login', LoginController
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def before(action='', *params)
|
|
40
|
+
super
|
|
41
|
+
|
|
42
|
+
return if serving_static?(action)
|
|
43
|
+
return unless @request.user
|
|
44
|
+
@scene.username = @request.user.username
|
|
45
|
+
@scene.apps = []
|
|
46
|
+
Admin.apps.each do |short_name, app|
|
|
47
|
+
unless @request.user.superuser?
|
|
48
|
+
next if app[:options][:users] && !app[:options][:users].include?(@request.user.class)
|
|
49
|
+
end
|
|
50
|
+
url = self.class.http_url(short_name)
|
|
51
|
+
@scene.apps << {
|
|
52
|
+
:icon => app[:module].pub_url+'/'+app[:options][:icon],
|
|
53
|
+
:url => self.class.http_url(short_name),
|
|
54
|
+
:name => app[:module].full_name,
|
|
55
|
+
:description => app[:module].description,
|
|
56
|
+
:module => app[:module],
|
|
57
|
+
:priority => app[:options][:priority] || 1
|
|
58
|
+
}
|
|
59
|
+
end
|
|
60
|
+
@scene.admin_breadcrumb = []
|
|
61
|
+
@scene.admin_breadcrumb << {:url => self.class.url, :label => _('Home')} if @scene.apps.length > 1
|
|
62
|
+
|
|
63
|
+
# FIXME
|
|
64
|
+
@scene.apps.sort!{ |a,b| a[:priority] <=> b[:priority] }
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
__.html :template => 'index'
|
|
7
68
|
def index
|
|
8
|
-
@response.headers['Content-Type'] = 'text/html'
|
|
9
|
-
render 'index'
|
|
10
69
|
end
|
|
11
70
|
|
|
12
71
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Spider; module Admin
|
|
2
|
+
|
|
3
|
+
class AppAdminController < Spider::PageController
|
|
4
|
+
|
|
5
|
+
def before(action='', *params)
|
|
6
|
+
unless @_did_breadcrumb
|
|
7
|
+
@scene.admin_breadcrumb << {:url => self.class.url, :label => self.class.app.full_name}
|
|
8
|
+
end
|
|
9
|
+
@_did_breadcrumb = true
|
|
10
|
+
super
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
end; end
|
|
Binary file
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
|
2
|
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
|
3
|
+
# This file is distributed under the same license as the PACKAGE package.
|
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
|
+
#
|
|
6
|
+
#, fuzzy
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Spider::Admin 0.1\n"
|
|
10
|
+
"POT-Creation-Date: 2011-11-15 16:11+0100\n"
|
|
11
|
+
"PO-Revision-Date: 2011-11-15 16:11+0100\n"
|
|
12
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
13
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
14
|
+
"MIME-Version: 1.0\n"
|
|
15
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
16
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
17
|
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
|
18
|
+
|
|
19
|
+
#: controllers/admin_controller.rb:15
|
|
20
|
+
msgid "Home"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
#: views/admin.layout.shtml:6 views/admin.layout.shtml:14
|
|
24
|
+
msgid "Administration"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
27
|
+
#: views/admin.layout.shtml:17
|
|
28
|
+
msgid "Welcome, %s."
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
#: widgets/admin_menu/admin_menu.rb:10
|
|
32
|
+
msgid "Applications"
|
|
33
|
+
msgstr ""
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
|
2
|
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
|
3
|
+
# This file is distributed under the same license as the PACKAGE package.
|
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
|
+
#
|
|
6
|
+
msgid ""
|
|
7
|
+
msgstr ""
|
|
8
|
+
"Project-Id-Version: Spider::Admin 0.1\n"
|
|
9
|
+
"POT-Creation-Date: 2011-11-15 16:11+0100\n"
|
|
10
|
+
"PO-Revision-Date: 2011-11-15 16:12+0100\n"
|
|
11
|
+
"Last-Translator: Ivan Pirlik <ivan.pirlik@soluzionipa.it>\n"
|
|
12
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
13
|
+
"MIME-Version: 1.0\n"
|
|
14
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
15
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
16
|
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
|
17
|
+
|
|
18
|
+
#: controllers/admin_controller.rb:15
|
|
19
|
+
msgid "Home"
|
|
20
|
+
msgstr "Home"
|
|
21
|
+
|
|
22
|
+
#: views/admin.layout.shtml:6
|
|
23
|
+
#: views/admin.layout.shtml:14
|
|
24
|
+
msgid "Administration"
|
|
25
|
+
msgstr "Amministrazione"
|
|
26
|
+
|
|
27
|
+
#: views/admin.layout.shtml:17
|
|
28
|
+
msgid "Welcome, %s."
|
|
29
|
+
msgstr "Benvenuto, %s"
|
|
30
|
+
|
|
31
|
+
#: widgets/admin_menu/admin_menu.rb:10
|
|
32
|
+
msgid "Applications"
|
|
33
|
+
msgstr "Applicazioni"
|
|
34
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* @override http://localhost:8989/cms/public/css/login.css */
|
|
2
|
+
|
|
3
|
+
body{
|
|
4
|
+
background-color: #C5C5C5;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
#content{
|
|
8
|
+
text-align: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.login-page{
|
|
12
|
+
margin: 10px auto;
|
|
13
|
+
padding: 10px 10px 20px 10px;
|
|
14
|
+
background-color: #ebebeb;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
width: 20em;
|
|
17
|
+
-webkit-border-radius: 10px;
|
|
18
|
+
-moz-border-radius: 10px;
|
|
19
|
+
border-radius: 10px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
h3{
|
|
23
|
+
background-color: #d0cede;
|
|
24
|
+
padding: 5px 0;
|
|
25
|
+
color: #535353;
|
|
26
|
+
-webkit-border-radius: 4px;
|
|
27
|
+
-moz-border-radius: 4px;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
form{
|
|
32
|
+
width: 10em;
|
|
33
|
+
display: block;
|
|
34
|
+
margin: auto;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
form .row{
|
|
38
|
+
text-align: left;
|
|
39
|
+
margin-bottom: 15px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
form .row label{
|
|
43
|
+
text-align: left;
|
|
44
|
+
display: block;
|
|
45
|
+
color: #6a6a6a;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#login, #password{
|
|
49
|
+
width: 15em;
|
|
50
|
+
|
|
51
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/* line 33, ../../sass/grid.scss */
|
|
2
|
+
body {
|
|
3
|
+
width: 100%;
|
|
4
|
+
*zoom: 1;
|
|
5
|
+
}
|
|
6
|
+
/* line 20, ../../sass/grid.scss */
|
|
7
|
+
body:before, body:after {
|
|
8
|
+
content: "";
|
|
9
|
+
display: table;
|
|
10
|
+
}
|
|
11
|
+
/* line 24, ../../sass/grid.scss */
|
|
12
|
+
body:after {
|
|
13
|
+
clear: both;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* line 27, icons */
|
|
17
|
+
.icons-sprite, .icons-logout, #header #admin_controls .logout_link {
|
|
18
|
+
background: url('../../img/icons-s845a69dd9f.png') no-repeat;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* line 60, ../../../../../../../../../../Users/cerebus/.rbenv/versions/1.8.7-p352/lib/ruby/gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss */
|
|
22
|
+
.icons-logout, #header #admin_controls .logout_link {
|
|
23
|
+
background-position: 0 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* line 11, ../../sass/admin.scss */
|
|
27
|
+
#header {
|
|
28
|
+
padding-bottom: 10px;
|
|
29
|
+
background: url('../../img/css/header_bg.png?1321971233') repeat-x scroll center top;
|
|
30
|
+
background-color: #417690;
|
|
31
|
+
position: relative;
|
|
32
|
+
border-bottom: 2px solid #555555;
|
|
33
|
+
}
|
|
34
|
+
/* line 18, ../../sass/admin.scss */
|
|
35
|
+
#header #header_top {
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
*zoom: 1;
|
|
38
|
+
}
|
|
39
|
+
/* line 22, ../../sass/admin.scss */
|
|
40
|
+
#header h1 {
|
|
41
|
+
font-size: 27px;
|
|
42
|
+
color: #444444;
|
|
43
|
+
}
|
|
44
|
+
/* line 27, ../../sass/admin.scss */
|
|
45
|
+
#header #main_title {
|
|
46
|
+
float: left;
|
|
47
|
+
margin-top: 8px;
|
|
48
|
+
margin-left: 40px;
|
|
49
|
+
}
|
|
50
|
+
/* line 32, ../../sass/admin.scss */
|
|
51
|
+
#header #main_title h1 {
|
|
52
|
+
margin-bottom: 8px;
|
|
53
|
+
}
|
|
54
|
+
/* line 36, ../../sass/admin.scss */
|
|
55
|
+
#header #admin_controls {
|
|
56
|
+
font-size: .95em;
|
|
57
|
+
float: right;
|
|
58
|
+
margin-top: 12px;
|
|
59
|
+
margin-right: 30px;
|
|
60
|
+
color: white;
|
|
61
|
+
}
|
|
62
|
+
/* line 43, ../../sass/admin.scss */
|
|
63
|
+
#header #admin_controls a {
|
|
64
|
+
color: white;
|
|
65
|
+
}
|
|
66
|
+
/* line 47, ../../sass/admin.scss */
|
|
67
|
+
#header #admin_controls .welcome {
|
|
68
|
+
margin-right: 6px;
|
|
69
|
+
}
|
|
70
|
+
/* line 51, ../../sass/admin.scss */
|
|
71
|
+
#header #admin_controls .logout_link {
|
|
72
|
+
background-position: right;
|
|
73
|
+
padding-right: 25px;
|
|
74
|
+
margin-left: 6px;
|
|
75
|
+
}
|
|
76
|
+
/* line 60, ../../sass/admin.scss */
|
|
77
|
+
#header #app_buttons {
|
|
78
|
+
height: 68px;
|
|
79
|
+
min-width: 200px;
|
|
80
|
+
margin-left: 60px;
|
|
81
|
+
background: url('../../img/css/noise.png?1321971233') repeat-x scroll center top;
|
|
82
|
+
background-color: #f4f5f6;
|
|
83
|
+
-moz-box-shadow: 0px 0px 5px #333333;
|
|
84
|
+
-webkit-box-shadow: 0px 0px 5px #333333;
|
|
85
|
+
-o-box-shadow: 0px 0px 5px #333333;
|
|
86
|
+
box-shadow: 0px 0px 5px #333333;
|
|
87
|
+
-moz-border-radius: 1px;
|
|
88
|
+
-webkit-border-radius: 1px;
|
|
89
|
+
-o-border-radius: 1px;
|
|
90
|
+
-ms-border-radius: 1px;
|
|
91
|
+
-khtml-border-radius: 1px;
|
|
92
|
+
border-radius: 1px;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
*zoom: 1;
|
|
95
|
+
display: -moz-inline-box;
|
|
96
|
+
-moz-box-orient: vertical;
|
|
97
|
+
display: inline-block;
|
|
98
|
+
vertical-align: middle;
|
|
99
|
+
*vertical-align: auto;
|
|
100
|
+
}
|
|
101
|
+
/* line 7, ../../../../../../../../../../Users/cerebus/.rbenv/versions/1.8.7-p352/lib/ruby/gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/css3/_inline-block.scss */
|
|
102
|
+
#header #app_buttons {
|
|
103
|
+
*display: inline;
|
|
104
|
+
}
|
|
105
|
+
/* line 72, ../../sass/admin.scss */
|
|
106
|
+
#header #app_buttons a {
|
|
107
|
+
color: #222222;
|
|
108
|
+
}
|
|
109
|
+
/* line 76, ../../sass/admin.scss */
|
|
110
|
+
#header #app_buttons div {
|
|
111
|
+
width: 55px;
|
|
112
|
+
height: 55px;
|
|
113
|
+
margin: 5px;
|
|
114
|
+
border: 1px solid #BBBBBB;
|
|
115
|
+
text-align: center;
|
|
116
|
+
float: left;
|
|
117
|
+
background-color: #EEEEEE;
|
|
118
|
+
}
|
|
119
|
+
/* line 85, ../../sass/admin.scss */
|
|
120
|
+
#header #app_buttons div img {
|
|
121
|
+
margin-left: auto;
|
|
122
|
+
margin-right: auto;
|
|
123
|
+
margin-top: 2px;
|
|
124
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
|
125
|
+
opacity: 0.8;
|
|
126
|
+
}
|
|
127
|
+
/* line 92, ../../sass/admin.scss */
|
|
128
|
+
#header #app_buttons div span.name {
|
|
129
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
|
|
130
|
+
opacity: 0.9;
|
|
131
|
+
display: block;
|
|
132
|
+
font-size: 0.8em;
|
|
133
|
+
}
|
|
134
|
+
/* line 99, ../../sass/admin.scss */
|
|
135
|
+
#header #app_buttons a.active div {
|
|
136
|
+
border: 1px solid #DDDD00;
|
|
137
|
+
}
|
|
138
|
+
/* line 101, ../../sass/admin.scss */
|
|
139
|
+
#header #app_buttons a.active div img {
|
|
140
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
|
|
141
|
+
opacity: 0.7;
|
|
142
|
+
}
|
|
143
|
+
/* line 104, ../../sass/admin.scss */
|
|
144
|
+
#header #app_buttons a.active div span.name {
|
|
145
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
|
146
|
+
opacity: 0.8;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* line 115, ../../sass/admin.scss */
|
|
150
|
+
#spider-admin .container-fluid .content {
|
|
151
|
+
background-color: white;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* line 122, ../../sass/admin.scss */
|
|
155
|
+
.spider-admin-container {
|
|
156
|
+
background: url('../../img/css/side_bg.png?1321971233') repeat-y;
|
|
157
|
+
position: relative;
|
|
158
|
+
min-width: 940px;
|
|
159
|
+
padding-left: 20px;
|
|
160
|
+
padding-right: 20px;
|
|
161
|
+
border-bottom: 1px solid #CCCCCC;
|
|
162
|
+
min-height: 500px;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
*zoom: 1;
|
|
165
|
+
}
|
|
166
|
+
/* line 132, ../../sass/admin.scss */
|
|
167
|
+
.spider-admin-container > .spider-admin-sidebar {
|
|
168
|
+
position: absolute;
|
|
169
|
+
top: 0;
|
|
170
|
+
left: 20px;
|
|
171
|
+
width: 220px;
|
|
172
|
+
padding: 20px 10px;
|
|
173
|
+
}
|
|
174
|
+
/* line 139, ../../sass/admin.scss */
|
|
175
|
+
.spider-admin-container > .spider-admin-sidebar li.active a {
|
|
176
|
+
text-decoration: underline;
|
|
177
|
+
}
|
|
178
|
+
/* line 143, ../../sass/admin.scss */
|
|
179
|
+
.spider-admin-container > .spider-admin-sidebar li {
|
|
180
|
+
margin-bottom: 1px;
|
|
181
|
+
}
|
|
182
|
+
/* line 148, ../../sass/admin.scss */
|
|
183
|
+
.spider-admin-container > .spider-admin-content {
|
|
184
|
+
margin-left: 240px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* line 153, ../../sass/admin.scss */
|
|
188
|
+
.crud .table {
|
|
189
|
+
width: auto;
|
|
190
|
+
min-width: 400px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
@media screen and (max-width: 500px) {
|
|
194
|
+
/* line 162, ../../sass/admin.scss */
|
|
195
|
+
#header #main_title {
|
|
196
|
+
font-size: 10px;
|
|
197
|
+
}
|
|
198
|
+
}
|