zen 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +15 -0
- data/.mailmap +2 -0
- data/.rvmrc +2 -0
- data/.travis.yml +8 -3
- data/AUTHORS +1 -2
- data/CHANGELOG.md +48 -17
- data/README.md +44 -39
- data/Rakefile +4 -0
- data/bin/zen +5 -30
- data/lib/zen.rb +13 -19
- data/lib/zen/asset.rb +99 -64
- data/lib/zen/bin/create.rb +94 -0
- data/lib/zen/bin/runner.rb +118 -0
- data/lib/zen/controller/admin_controller.rb +52 -36
- data/lib/zen/controller/base_controller.rb +5 -5
- data/lib/zen/controller/frontend_controller.rb +7 -7
- data/lib/zen/controller/main_controller.rb +12 -10
- data/lib/zen/controller/preview.rb +15 -11
- data/lib/zen/helper/acl.rb +73 -53
- data/lib/zen/helper/blue_form_vendor.rb +689 -0
- data/lib/zen/helper/breadcrumb.rb +23 -19
- data/lib/zen/helper/message.rb +3 -3
- data/lib/zen/helper/theme.rb +18 -13
- data/lib/zen/language.rb +62 -58
- data/lib/zen/language/en/zen_general.yml +2 -4
- data/lib/zen/language/nl/zen_general.yml +2 -4
- data/lib/zen/layout/admin.xhtml +3 -12
- data/lib/zen/layout/login.xhtml +1 -6
- data/lib/zen/model/methods.rb +6 -6
- data/lib/zen/model/settings.rb +5 -4
- data/lib/zen/package.rb +47 -38
- data/lib/zen/package/all.rb +3 -5
- data/lib/zen/package/base.rb +7 -7
- data/lib/zen/package/categories/lib/categories.rb +8 -3
- data/lib/zen/package/categories/lib/categories/controller/categories.rb +81 -55
- data/lib/zen/package/categories/lib/categories/controller/category_groups.rb +45 -44
- data/lib/zen/package/categories/lib/categories/helper/category.rb +88 -0
- data/lib/zen/package/categories/lib/categories/language/en/categories.yml +5 -4
- data/lib/zen/package/categories/lib/categories/language/en/category_groups.yml +5 -4
- data/lib/zen/package/categories/lib/categories/language/nl/categories.yml +5 -4
- data/lib/zen/package/categories/lib/categories/language/nl/category_groups.yml +5 -4
- data/lib/zen/package/categories/lib/categories/model/category.rb +15 -13
- data/lib/zen/package/categories/lib/categories/model/category_group.rb +3 -3
- data/lib/zen/package/categories/lib/categories/plugin/categories.rb +36 -25
- data/lib/zen/package/categories/lib/categories/view/admin/categories/form.xhtml +49 -56
- data/lib/zen/package/categories/lib/categories/view/admin/categories/index.xhtml +48 -35
- data/lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml +36 -29
- data/lib/zen/package/categories/lib/categories/view/admin/category-groups/index.xhtml +42 -37
- data/lib/zen/package/comments/lib/comments.rb +4 -1
- data/lib/zen/package/comments/lib/comments/controller/comments.rb +39 -32
- data/lib/zen/package/comments/lib/comments/controller/comments_form.rb +45 -26
- data/lib/zen/package/comments/lib/comments/helper/comment.rb +35 -0
- data/lib/zen/package/comments/lib/comments/language/en/comments.yml +9 -7
- data/lib/zen/package/comments/lib/comments/language/nl/comments.yml +10 -8
- data/lib/zen/package/comments/lib/comments/model/comment.rb +31 -17
- data/lib/zen/package/comments/lib/comments/model/comment_status.rb +15 -0
- data/lib/zen/package/comments/lib/comments/plugin/anti_spam.rb +27 -18
- data/lib/zen/package/comments/lib/comments/plugin/comments.rb +25 -20
- data/lib/zen/package/comments/lib/comments/view/admin/comments/form.xhtml +61 -54
- data/lib/zen/package/comments/lib/comments/view/admin/comments/index.xhtml +38 -23
- data/lib/zen/package/comments/migrations/1308774099_comment_status.rb +60 -0
- data/lib/zen/package/custom_fields/lib/custom_fields.rb +33 -7
- data/lib/zen/package/custom_fields/lib/custom_fields/blue_form_parameters.rb +209 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/controller/custom_field_groups.rb +50 -47
- data/lib/zen/package/custom_fields/lib/custom_fields/controller/custom_field_types.rb +215 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/controller/custom_fields.rb +111 -73
- data/lib/zen/package/custom_fields/lib/custom_fields/helper/custom_field.rb +79 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_groups.yml +20 -19
- data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_types.yml +40 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_fields.yml +34 -32
- data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_groups.yml +5 -4
- data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_types.yml +40 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_fields.yml +18 -16
- data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field.rb +31 -11
- data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_method.rb +15 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_type.rb +50 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_value.rb +28 -7
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/form.xhtml +33 -28
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/index.xhtml +48 -46
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-types/form.xhtml +61 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-types/index.xhtml +93 -0
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-fields/form.xhtml +105 -99
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-fields/index.xhtml +43 -39
- data/lib/zen/package/custom_fields/migrations/1295255665_create_schema.rb +47 -16
- data/lib/zen/package/custom_fields/migrations/1310659580_custom_field_types.rb +148 -0
- data/lib/zen/package/custom_fields/migrations/1311694920_rename_css_class.rb +11 -0
- data/lib/zen/package/menus/lib/menus/controller/menu_items.rb +40 -35
- data/lib/zen/package/menus/lib/menus/controller/menus.rb +47 -43
- data/lib/zen/package/menus/lib/menus/helper/{menu_item.rb → menu.rb} +42 -15
- data/lib/zen/package/menus/lib/menus/language/en/menu_items.yml +5 -5
- data/lib/zen/package/menus/lib/menus/language/en/menus.yml +9 -8
- data/lib/zen/package/menus/lib/menus/language/nl/menu_items.yml +8 -8
- data/lib/zen/package/menus/lib/menus/language/nl/menus.yml +11 -10
- data/lib/zen/package/menus/lib/menus/model/menu.rb +5 -5
- data/lib/zen/package/menus/lib/menus/model/menu_item.rb +6 -5
- data/lib/zen/package/menus/lib/menus/plugin/menus.rb +41 -43
- data/lib/zen/package/menus/lib/menus/view/admin/menu-items/form.xhtml +59 -63
- data/lib/zen/package/menus/lib/menus/view/admin/menu-items/index.xhtml +35 -30
- data/lib/zen/package/menus/lib/menus/view/admin/menus/form.xhtml +46 -37
- data/lib/zen/package/menus/lib/menus/view/admin/menus/index.xhtml +37 -37
- data/lib/zen/package/menus/migrations/1297184342_create_schema.rb +5 -5
- data/lib/zen/package/menus/migrations/1308671733_rename_order_column.rb +11 -0
- data/lib/zen/package/menus/migrations/1311695030_rename_css_class.rb +17 -0
- data/lib/zen/package/sections/lib/sections.rb +18 -11
- data/lib/zen/package/sections/lib/sections/controller/section_entries.rb +115 -109
- data/lib/zen/package/sections/lib/sections/controller/sections.rb +72 -50
- data/lib/zen/package/sections/lib/sections/helper/section.rb +53 -0
- data/lib/zen/package/sections/lib/sections/language/en/section_entries.yml +5 -4
- data/lib/zen/package/sections/lib/sections/language/en/sections.yml +5 -4
- data/lib/zen/package/sections/lib/sections/language/nl/section_entries.yml +5 -4
- data/lib/zen/package/sections/lib/sections/language/nl/sections.yml +5 -4
- data/lib/zen/package/sections/lib/sections/model/section.rb +17 -9
- data/lib/zen/package/sections/lib/sections/model/section_entry.rb +192 -13
- data/lib/zen/package/sections/lib/sections/model/section_entry_status.rb +13 -0
- data/lib/zen/package/sections/lib/sections/plugin/section_entries.rb +60 -39
- data/lib/zen/package/sections/lib/sections/plugin/sections.rb +14 -11
- data/lib/zen/package/sections/lib/sections/view/admin/form.xhtml +100 -97
- data/lib/zen/package/sections/lib/sections/view/admin/index.xhtml +41 -39
- data/lib/zen/package/sections/lib/sections/view/admin/section-entries/form.xhtml +95 -215
- data/lib/zen/package/sections/lib/sections/view/admin/section-entries/index.xhtml +48 -40
- data/lib/zen/package/sections/migrations/1308672298_use_id_for_default_section.rb +40 -0
- data/lib/zen/package/sections/migrations/1308813320_section_entry_statuses.rb +58 -0
- data/lib/zen/package/settings/lib/settings/controller/settings.rb +5 -8
- data/lib/zen/package/settings/lib/settings/model/setting.rb +2 -37
- data/lib/zen/package/settings/lib/settings/plugin/setting_base.rb +18 -1
- data/lib/zen/package/settings/lib/settings/plugin/settings.rb +13 -7
- data/lib/zen/package/settings/lib/settings/view/admin/settings/index.xhtml +2 -1
- data/lib/zen/package/users/lib/users.rb +3 -1
- data/lib/zen/package/users/lib/users/controller/access_rules.rb +77 -60
- data/lib/zen/package/users/lib/users/controller/user_groups.rb +41 -36
- data/lib/zen/package/users/lib/users/controller/users.rb +48 -42
- data/lib/zen/package/users/lib/users/helper/users.rb +72 -0
- data/lib/zen/package/users/lib/users/language/en/access_rules.yml +6 -5
- data/lib/zen/package/users/lib/users/language/en/user_groups.yml +5 -4
- data/lib/zen/package/users/lib/users/language/en/users.yml +1 -0
- data/lib/zen/package/users/lib/users/language/nl/access_rules.yml +5 -4
- data/lib/zen/package/users/lib/users/language/nl/user_groups.yml +5 -4
- data/lib/zen/package/users/lib/users/language/nl/users.yml +1 -0
- data/lib/zen/package/users/lib/users/model/access_rule.rb +5 -1
- data/lib/zen/package/users/lib/users/model/user.rb +17 -10
- data/lib/zen/package/users/lib/users/public/admin/js/users/access_rules.js +10 -37
- data/lib/zen/package/users/lib/users/public/admin/js/users/lib/access_rules.js +49 -0
- data/lib/zen/package/users/lib/users/view/admin/access-rules/form.xhtml +105 -96
- data/lib/zen/package/users/lib/users/view/admin/access-rules/index.xhtml +48 -41
- data/lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml +42 -32
- data/lib/zen/package/users/lib/users/view/admin/user-groups/index.xhtml +43 -38
- data/lib/zen/package/users/lib/users/view/admin/users/form.xhtml +76 -67
- data/lib/zen/package/users/lib/users/view/admin/users/index.xhtml +43 -41
- data/lib/zen/package/users/lib/users/view/admin/users/login.xhtml +12 -9
- data/lib/zen/package/users/migrations/1295281013_create_schema.rb +2 -2
- data/lib/zen/plugin.rb +56 -50
- data/lib/zen/plugin/markup/lib/markup/markup.rb +33 -21
- data/lib/zen/public/admin/css/zen/buttons.css +11 -7
- data/lib/zen/public/admin/css/zen/datepicker.css +6 -6
- data/lib/zen/public/admin/css/zen/forms.css +2 -1
- data/lib/zen/public/admin/css/zen/general.css +15 -10
- data/lib/zen/public/admin/css/zen/layout.css +51 -20
- data/lib/zen/public/admin/css/zen/tables.css +39 -11
- data/lib/zen/public/admin/css/zen/tabs.css +6 -4
- data/lib/zen/public/admin/css/zen/window.css +11 -11
- data/lib/zen/public/{favicon.ico → admin/favicon.ico} +0 -0
- data/lib/zen/public/admin/images/zen/icons/asc.png +0 -0
- data/lib/zen/public/admin/images/zen/icons/desc.png +0 -0
- data/lib/zen/public/admin/js/vendor/datepicker.js +0 -11
- data/lib/zen/public/admin/js/{mootools → vendor/mootools}/core.js +0 -1
- data/lib/zen/public/admin/js/{mootools → vendor/mootools}/more.js +100 -29
- data/lib/zen/public/admin/js/zen/index.js +48 -0
- data/lib/zen/public/admin/js/zen/lib/asset.js +111 -0
- data/lib/zen/public/admin/js/zen/{editor.js → lib/editor.js} +107 -127
- data/lib/zen/public/admin/js/zen/{editor → lib/editor}/markdown.js +7 -9
- data/lib/zen/public/admin/js/zen/{editor → lib/editor}/textile.js +7 -9
- data/lib/zen/public/admin/js/zen/lib/html_table.js +143 -0
- data/lib/zen/public/admin/js/zen/{tabs.js → lib/tabs.js} +40 -37
- data/lib/zen/public/admin/js/zen/{window.js → lib/window.js} +24 -20
- data/lib/zen/spec/bacon/color_output.rb +39 -0
- data/lib/zen/spec/helper.rb +152 -0
- data/lib/zen/spec/simplecov.rb +22 -0
- data/lib/zen/task/build.rake +20 -43
- data/lib/zen/task/clean.rake +2 -6
- data/lib/zen/task/db.rake +8 -12
- data/lib/zen/task/package.rake +4 -10
- data/lib/zen/task/plugin.rake +3 -9
- data/lib/zen/task/proto.rake +0 -62
- data/lib/zen/task/test.rake +6 -3
- data/lib/zen/task/theme.rake +4 -11
- data/lib/zen/theme.rb +22 -24
- data/lib/zen/validation.rb +34 -27
- data/lib/zen/version.rb +2 -8
- data/lib/zen/view/head.xhtml +7 -0
- data/lib/zen/view/main.xhtml +7 -22
- data/{proto/package/migrations → pkg}/.gitkeep +0 -0
- data/proto/app/app.rb +1 -0
- data/proto/app/config/config.rb +5 -4
- data/proto/app/config/database.rb +19 -41
- data/proto/app/config/middlewares.rb +32 -29
- data/proto/{package/lib/package/view/admin/package/index.xhtml → app/log/database/dev/.gitkeep} +0 -0
- data/proto/app/log/database/live/.gitkeep +0 -0
- data/spec/Rakefile +26 -0
- data/spec/fixtures/zen/asset.rb +18 -0
- data/spec/fixtures/zen/helper/acl.rb +39 -0
- data/spec/fixtures/zen/helper/message.rb +19 -0
- data/spec/fixtures/zen/language/en/spec.yml +10 -0
- data/spec/fixtures/zen/language/nl/spec.yml +7 -0
- data/spec/fixtures/zen/package.rb +17 -0
- data/spec/fixtures/zen/package/comments/controller/comments_form.rb +27 -0
- data/spec/fixtures/zen/package/settings/plugin/settings.rb +20 -0
- data/spec/fixtures/zen/plugin.rb +7 -0
- data/spec/fixtures/zen/theme/404.xhtml +1 -0
- data/spec/fixtures/zen/theme/default-section/index.xhtml +1 -0
- data/spec/fixtures/zen/theme/helper/404.xhtml +1 -0
- data/spec/fixtures/zen/theme/helper/partial.xhtml +1 -0
- data/spec/fixtures/zen/theme/helper/wrong_partial.xhtml +1 -0
- data/spec/fixtures/zen/theme/partials/partial.xhtml +1 -0
- data/spec/fixtures/zen/theme/theme.rb +11 -0
- data/spec/fixtures/zen/validation.rb +22 -0
- data/spec/helper.rb +41 -0
- data/spec/zen/all.rb +5 -0
- data/spec/zen/asset.rb +97 -0
- data/spec/zen/bin/create.rb +89 -0
- data/spec/zen/bin/runner.rb +47 -0
- data/spec/zen/controller/admin_controller.rb +26 -0
- data/spec/zen/controller/main_controller.rb +81 -0
- data/spec/zen/controller/preview.rb +33 -0
- data/spec/zen/helper/acl.rb +149 -0
- data/spec/zen/helper/breadcrumb.rb +38 -0
- data/spec/zen/helper/message.rb +31 -0
- data/spec/zen/helper/theme.rb +58 -0
- data/spec/zen/language.rb +55 -0
- data/spec/zen/package.rb +23 -0
- data/spec/zen/package/categories/controller/categories.rb +123 -0
- data/spec/zen/package/categories/controller/category_groups.rb +108 -0
- data/spec/zen/package/categories/helper/category.rb +75 -0
- data/spec/zen/package/categories/plugin/categories.rb +92 -0
- data/spec/zen/package/comments/controller/comments.rb +134 -0
- data/spec/zen/package/comments/controller/comments_form.rb +343 -0
- data/spec/zen/package/comments/helper/comment.rb +47 -0
- data/spec/zen/package/comments/plugin/anti_spam.rb +59 -0
- data/spec/zen/package/comments/plugin/comments.rb +107 -0
- data/spec/zen/package/custom_fields/blue_form_parameters.rb +183 -0
- data/spec/zen/package/custom_fields/controller/custom_field_groups.rb +120 -0
- data/spec/zen/package/custom_fields/controller/custom_field_types.rb +169 -0
- data/spec/zen/package/custom_fields/controller/custom_fields.rb +158 -0
- data/spec/zen/package/custom_fields/helper/custom_field.rb +86 -0
- data/spec/zen/package/menus/controller/menu_items.rb +110 -0
- data/spec/zen/package/menus/controller/menus.rb +110 -0
- data/spec/zen/package/menus/helper/menu.rb +75 -0
- data/spec/zen/package/menus/plugin/menus.rb +120 -0
- data/spec/zen/package/sections/controller/section_entries.rb +201 -0
- data/spec/zen/package/sections/controller/sections.rb +116 -0
- data/spec/zen/package/sections/helper/section.rb +74 -0
- data/spec/zen/package/sections/plugin/section_entries.rb +161 -0
- data/spec/zen/package/sections/plugin/sections.rb +75 -0
- data/spec/zen/package/settings/controller/settings.rb +36 -0
- data/spec/zen/package/settings/plugin/settings.rb +33 -0
- data/spec/zen/package/users/controller/access_rules.rb +90 -0
- data/spec/zen/package/users/controller/user_groups.rb +101 -0
- data/spec/zen/package/users/controller/users.rb +130 -0
- data/spec/zen/package/users/helper/users.rb +97 -0
- data/spec/zen/plugin.rb +64 -0
- data/spec/zen/plugin/helper.rb +11 -0
- data/spec/zen/plugin/markup.rb +44 -0
- data/spec/zen/theme.rb +41 -0
- data/spec/zen/validation.rb +63 -0
- data/zen.gemspec +36 -0
- metadata +159 -113
- data/MANIFEST +0 -266
- data/lib/zen/bin/app.rb +0 -40
- data/lib/zen/ext/string.rb +0 -185
- data/lib/zen/helper/common.rb +0 -106
- data/lib/zen/package/categories/lib/categories/view/admin/categories/edit.xhtml +0 -7
- data/lib/zen/package/categories/lib/categories/view/admin/categories/new.xhtml +0 -7
- data/lib/zen/package/categories/lib/categories/view/admin/category-groups/edit.xhtml +0 -7
- data/lib/zen/package/categories/lib/categories/view/admin/category-groups/new.xhtml +0 -7
- data/lib/zen/package/comments/lib/comments/view/admin/comments/edit.xhtml +0 -7
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/edit.xhtml +0 -7
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/new.xhtml +0 -7
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-fields/edit.xhtml +0 -7
- data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-fields/new.xhtml +0 -7
- data/lib/zen/package/menus/lib/menus/view/admin/menu-items/edit.xhtml +0 -7
- data/lib/zen/package/menus/lib/menus/view/admin/menu-items/new.xhtml +0 -7
- data/lib/zen/package/menus/lib/menus/view/admin/menus/edit.xhtml +0 -7
- data/lib/zen/package/menus/lib/menus/view/admin/menus/new.xhtml +0 -7
- data/lib/zen/package/sections/lib/sections/view/admin/edit.xhtml +0 -7
- data/lib/zen/package/sections/lib/sections/view/admin/new.xhtml +0 -7
- data/lib/zen/package/sections/lib/sections/view/admin/section-entries/edit.xhtml +0 -7
- data/lib/zen/package/sections/lib/sections/view/admin/section-entries/new.xhtml +0 -7
- data/lib/zen/package/users/lib/users/view/admin/access-rules/edit.xhtml +0 -7
- data/lib/zen/package/users/lib/users/view/admin/access-rules/new.xhtml +0 -7
- data/lib/zen/package/users/lib/users/view/admin/user-groups/edit.xhtml +0 -7
- data/lib/zen/package/users/lib/users/view/admin/user-groups/new.xhtml +0 -7
- data/lib/zen/package/users/lib/users/view/admin/users/edit.xhtml +0 -7
- data/lib/zen/package/users/lib/users/view/admin/users/new.xhtml +0 -7
- data/lib/zen/plugin/controller.rb +0 -59
- data/lib/zen/public/admin/css/zen/notifications.css +0 -84
- data/lib/zen/public/admin/images/zen/icons/large/error.png +0 -0
- data/lib/zen/public/admin/images/zen/icons/large/notice.png +0 -0
- data/lib/zen/public/admin/images/zen/icons/large/success.png +0 -0
- data/lib/zen/public/admin/js/zen/core.js +0 -73
- data/lib/zen/public/admin/js/zen/init.js +0 -80
- data/proto/package/lib/package.rb +0 -21
- data/proto/package/lib/package/controller/controllers.rb +0 -50
- data/proto/package/lib/package/language/en/languages.yml +0 -4
- data/proto/package/lib/package/model/model.rb +0 -12
@@ -15,8 +15,10 @@
|
|
15
15
|
|
16
16
|
.button a, .button input[type="submit"], .button button
|
17
17
|
{
|
18
|
-
background:
|
19
|
-
background:
|
18
|
+
background: #ddd;
|
19
|
+
background: #ddd -webkit-gradient(linear, left bottom, left top,
|
20
|
+
from(#ddd), to(#eee));
|
21
|
+
|
20
22
|
background: #ddd -moz-linear-gradient(bottom, top, #ddd, #eee);
|
21
23
|
border: none;
|
22
24
|
border-top: 1px solid #fff;
|
@@ -35,16 +37,18 @@
|
|
35
37
|
|
36
38
|
.button a
|
37
39
|
{
|
38
|
-
padding: 5px;
|
40
|
+
padding: 3px 5px;
|
39
41
|
}
|
40
|
-
|
42
|
+
|
41
43
|
.button input[type="submit"]
|
42
44
|
{
|
43
|
-
padding: 5px
|
45
|
+
padding: 5px 6px 6px 6px;
|
44
46
|
}
|
45
|
-
|
47
|
+
|
46
48
|
.button a:active, .button input[type="submit"]:active, .button button:active
|
47
49
|
{
|
48
|
-
background: #eee -webkit-gradient(linear, left bottom, left top,
|
50
|
+
background: #eee -webkit-gradient(linear, left bottom, left top,
|
51
|
+
from(#eee), to(#ddd));
|
52
|
+
|
49
53
|
background: #eee -moz-linear-gradient(bottom, top, #eee, #ddd);
|
50
54
|
}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
border: 5px solid #ddd;
|
15
15
|
cursor: move;
|
16
16
|
display: block;
|
17
|
-
height:
|
17
|
+
height: 285px;
|
18
18
|
margin-top: 5px;
|
19
19
|
padding: 5px;
|
20
20
|
position: absolute;
|
@@ -35,7 +35,7 @@
|
|
35
35
|
{
|
36
36
|
font-size: 14px;
|
37
37
|
margin: 0px auto;
|
38
|
-
padding:
|
38
|
+
padding: 10px 0px 5px 0px;
|
39
39
|
text-align: center;
|
40
40
|
}
|
41
41
|
.datepicker .header .title:hover
|
@@ -43,13 +43,13 @@
|
|
43
43
|
text-decoration: underline;
|
44
44
|
}
|
45
45
|
|
46
|
-
.datepicker .header .previous, .datepicker .header .next
|
46
|
+
.datepicker .header .previous, .datepicker .header .next
|
47
47
|
{
|
48
48
|
cursor: pointer;
|
49
49
|
display: block;
|
50
50
|
font-size: 24px;
|
51
51
|
height: 10px;
|
52
|
-
padding:
|
52
|
+
padding: 2px 5px 5px 3px;
|
53
53
|
position: absolute;
|
54
54
|
top: -1px;
|
55
55
|
width: 10px;
|
@@ -59,7 +59,7 @@
|
|
59
59
|
{
|
60
60
|
left: 5px;
|
61
61
|
}
|
62
|
-
|
62
|
+
|
63
63
|
.datepicker .header .next
|
64
64
|
{
|
65
65
|
right: 5px;
|
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
.datepicker .body
|
74
74
|
{
|
75
|
-
height:
|
75
|
+
height: 255px;
|
76
76
|
overflow: hidden;
|
77
77
|
position: relative;
|
78
78
|
}
|
@@ -9,7 +9,7 @@
|
|
9
9
|
form label
|
10
10
|
{
|
11
11
|
display: block;
|
12
|
-
margin-bottom:
|
12
|
+
margin-bottom: 5px;
|
13
13
|
}
|
14
14
|
|
15
15
|
form label .error
|
@@ -26,6 +26,7 @@ input[type="text"], input[type="password"], textarea, input[type="email"]
|
|
26
26
|
border: 1px solid #ccc;
|
27
27
|
font-family: 'Helvetica Neue',Arial,'Liberation Sans',FreeSans,sans-serif;
|
28
28
|
font-size: 14px;
|
29
|
+
line-height: 1.4;
|
29
30
|
padding: 5px;
|
30
31
|
min-width: 400px;
|
31
32
|
}
|
@@ -12,6 +12,7 @@ body
|
|
12
12
|
background: #eee;
|
13
13
|
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, sans-serif;
|
14
14
|
font-size: 13px;
|
15
|
+
line-height: 1.6;
|
15
16
|
}
|
16
17
|
|
17
18
|
/* Headings */
|
@@ -47,11 +48,11 @@ h6
|
|
47
48
|
|
48
49
|
h1, h2, h3, h4, h5, h6
|
49
50
|
{
|
50
|
-
margin-bottom:
|
51
|
+
margin-bottom: 10px;
|
51
52
|
}
|
52
53
|
|
53
54
|
/* General */
|
54
|
-
p,dl,hr,ol,ul,pre,table,address,fieldset
|
55
|
+
p, dl, hr, ol, ul, pre, table, address, fieldset
|
55
56
|
{
|
56
57
|
margin-bottom: 20px;
|
57
58
|
}
|
@@ -71,20 +72,24 @@ hr
|
|
71
72
|
|
72
73
|
a, a:active, a:visited
|
73
74
|
{
|
74
|
-
color
|
75
|
+
color: #607890;
|
75
76
|
}
|
76
77
|
|
77
78
|
a:hover
|
78
79
|
{
|
79
|
-
color
|
80
|
+
color: #036;
|
80
81
|
}
|
81
82
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
83
|
+
/* Code blocks */
|
84
|
+
pre
|
85
|
+
{
|
86
|
+
background: #444;
|
87
|
+
color: #fff;
|
88
|
+
overflow: auto;
|
89
|
+
padding: 10px;
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Icons and other re-usable images. */
|
88
93
|
.icon_edit,.icon_delete,.icon_add, .icon_success, .icon_error, .icon_info, .icon_view
|
89
94
|
{
|
90
95
|
margin-right: 10px;
|
@@ -36,7 +36,7 @@
|
|
36
36
|
{
|
37
37
|
color: #fff;
|
38
38
|
display: block;
|
39
|
-
margin:
|
39
|
+
margin: 1px 10px;
|
40
40
|
padding: 3px 3px 5px 3px;
|
41
41
|
text-decoration: none;
|
42
42
|
text-align: center;
|
@@ -82,8 +82,8 @@
|
|
82
82
|
}
|
83
83
|
|
84
84
|
/**
|
85
|
-
* Main area of the admin panel. The content stretches across the entire screen
|
86
|
-
* are no silly sidebars.
|
85
|
+
* Main area of the admin panel. The content stretches across the entire screen
|
86
|
+
* and there are no silly sidebars.
|
87
87
|
*/
|
88
88
|
#container
|
89
89
|
{
|
@@ -92,7 +92,7 @@
|
|
92
92
|
border: 5px solid #ddd;
|
93
93
|
margin-top: 20px;
|
94
94
|
min-height: 100px;
|
95
|
-
|
95
|
+
|
96
96
|
-webkit-border-radius: 5px;
|
97
97
|
-moz-border-radius: 5px;
|
98
98
|
}
|
@@ -107,32 +107,63 @@
|
|
107
107
|
margin: 20px auto;
|
108
108
|
width: 500px;
|
109
109
|
}
|
110
|
-
|
110
|
+
|
111
111
|
/**
|
112
112
|
* Bottom part of the admin panel containing the footer
|
113
113
|
*/
|
114
114
|
#main_footer
|
115
115
|
{
|
116
|
-
|
116
|
+
font-size: 12px;
|
117
|
+
margin-top: 10px;
|
117
118
|
text-align: center;
|
118
119
|
}
|
119
120
|
|
120
121
|
#main_footer p
|
121
122
|
{
|
122
|
-
|
123
|
-
margin: 0 auto 8px auto;
|
124
|
-
width: 300px;
|
123
|
+
text-align: center;
|
125
124
|
}
|
126
|
-
|
127
|
-
|
125
|
+
|
126
|
+
/* CSS rules for the pagination system */
|
127
|
+
.pager
|
128
|
+
{
|
129
|
+
float: right;
|
130
|
+
}
|
131
|
+
|
132
|
+
.pager a
|
128
133
|
{
|
129
|
-
|
130
|
-
|
131
|
-
|
134
|
+
background: #ddd;
|
135
|
+
background: #ddd -webkit-gradient(linear, left bottom, left top,
|
136
|
+
from(#ddd), to(#eee));
|
137
|
+
|
138
|
+
background: #ddd -moz-linear-gradient(bottom, top, #ddd, #eee);
|
139
|
+
border: 1px solid #bbb;
|
140
|
+
color: #000!important;
|
141
|
+
display: inline-block!important;
|
142
|
+
font-size: 13px;
|
143
|
+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
144
|
+
margin-left: 10px;
|
145
|
+
min-width: 20px;
|
146
|
+
padding: 3px 5px;
|
147
|
+
text-decoration: none;
|
148
|
+
text-shadow: 1px 1px #fff;
|
149
|
+
text-align: center;
|
150
|
+
}
|
151
|
+
|
152
|
+
.pager a.current
|
153
|
+
{
|
154
|
+
font-weight: bold;
|
155
|
+
padding: 2px 5px 4px 5px;
|
156
|
+
}
|
157
|
+
|
158
|
+
.pager a:active
|
159
|
+
{
|
160
|
+
background: #eee -webkit-gradient(linear, left bottom, left top,
|
161
|
+
from(#eee), to(#ddd));
|
162
|
+
|
163
|
+
background: #eee -moz-linear-gradient(bottom, top, #eee, #ddd);
|
164
|
+
}
|
165
|
+
|
166
|
+
.pager span
|
167
|
+
{
|
168
|
+
display: none;
|
132
169
|
}
|
133
|
-
#main_footer ul li
|
134
|
-
{
|
135
|
-
float: left;
|
136
|
-
margin: 0px 8px;
|
137
|
-
text-align: center;
|
138
|
-
}
|
@@ -1,11 +1,5 @@
|
|
1
1
|
@charset "UTF-8";
|
2
2
|
|
3
|
-
/**
|
4
|
-
* Tables
|
5
|
-
*
|
6
|
-
* @author Yorick Peterse
|
7
|
-
* @since 0.1
|
8
|
-
*/
|
9
3
|
table
|
10
4
|
{
|
11
5
|
border: 1px solid #aaa;
|
@@ -16,12 +10,15 @@ table
|
|
16
10
|
|
17
11
|
table thead
|
18
12
|
{
|
19
|
-
background:
|
13
|
+
background: #ddd;
|
20
14
|
}
|
21
15
|
|
22
16
|
table thead tr th
|
23
17
|
{
|
24
|
-
background:
|
18
|
+
background: #ddd -webkit-gradient(
|
19
|
+
linear, left bottom, left top,from(#ddd), to(#eee)
|
20
|
+
);
|
21
|
+
|
25
22
|
background: #ddd -moz-linear-gradient(bottom, top, #ddd, #eee);
|
26
23
|
border-top: 1px solid #fff;
|
27
24
|
border-right: 1px solid #aaa;
|
@@ -34,17 +31,48 @@ table
|
|
34
31
|
border-right: none;
|
35
32
|
}
|
36
33
|
|
34
|
+
/* Styles used to indicate the sort order of a column */
|
35
|
+
table thead tr th div
|
36
|
+
{
|
37
|
+
background: url('../../images/zen/icons/asc.png')
|
38
|
+
no-repeat center right;
|
39
|
+
|
40
|
+
cursor: pointer;
|
41
|
+
margin-right: -5px;
|
42
|
+
padding-right: 30px;
|
43
|
+
|
44
|
+
/* VENDOR PREFIXES, AWESOME! */
|
45
|
+
user-select: none;
|
46
|
+
-webkit-user-select: none;
|
47
|
+
-khtml-user-select: none;
|
48
|
+
-moz-user-select: none;
|
49
|
+
-o-user-select: none;
|
50
|
+
}
|
51
|
+
|
52
|
+
table thead tr th.desc
|
53
|
+
{
|
54
|
+
background: #ddd;
|
55
|
+
}
|
56
|
+
|
57
|
+
table thead tr th.desc div
|
58
|
+
{
|
59
|
+
background: url('../../images/zen/icons/desc.png')
|
60
|
+
no-repeat center right!important;
|
61
|
+
}
|
62
|
+
|
37
63
|
table thead tr th, table tbody tr td
|
38
64
|
{
|
39
|
-
padding:
|
65
|
+
padding: 2px 10px;
|
66
|
+
vertical-align: middle;
|
40
67
|
}
|
41
68
|
|
42
|
-
|
69
|
+
table thead tr th:first-child, table tbody tr td:first-child
|
43
70
|
{
|
44
71
|
width: 15px;
|
45
72
|
}
|
46
73
|
|
47
|
-
|
74
|
+
table thead tr th:first-child input[type="checkbox"],
|
75
|
+
table tbody tr td:first-child input[type="checkbox"]
|
48
76
|
{
|
49
77
|
margin-top: 3px;
|
50
78
|
}
|
@@ -14,7 +14,8 @@
|
|
14
14
|
}
|
15
15
|
.tabs ul
|
16
16
|
{
|
17
|
-
background: #ddd -webkit-gradient(linear, left bottom, left top,
|
17
|
+
background: #ddd -webkit-gradient(linear, left bottom, left top,
|
18
|
+
from(#ddd), to(#eee));
|
18
19
|
background: #ddd -moz-linear-gradient(bottom, top, #ddd, #eee);
|
19
20
|
border-top: 1px solid #fff;
|
20
21
|
height: 29px;
|
@@ -37,17 +38,18 @@
|
|
37
38
|
}
|
38
39
|
.tabs ul li.active a
|
39
40
|
{
|
40
|
-
background: #eee -webkit-gradient(linear, left bottom,
|
41
|
+
background: #eee -webkit-gradient(linear, left bottom,
|
42
|
+
left top, from(#eee), to(#ddd));
|
41
43
|
background: #eee -moz-linear-gradient(bottom, top, #eee, #ddd);
|
42
44
|
border-bottom: 1px solid #aaa;
|
43
|
-
height:
|
45
|
+
height: 20px;
|
44
46
|
}
|
45
47
|
.tabs ul li a
|
46
48
|
{
|
47
49
|
color: #000;
|
48
50
|
display: block;
|
49
51
|
height: 20px;
|
50
|
-
padding:
|
52
|
+
padding: 4px 15px 5px 15px;
|
51
53
|
text-decoration: none;
|
52
54
|
text-shadow: 0px 1px #fff;
|
53
55
|
}
|
@@ -6,14 +6,13 @@
|
|
6
6
|
*/
|
7
7
|
.window
|
8
8
|
{
|
9
|
-
background:
|
10
|
-
border:
|
11
|
-
left:
|
12
|
-
min-width:
|
13
|
-
min-height:
|
14
|
-
position:
|
15
|
-
|
16
|
-
top: 80px;
|
9
|
+
background: #fff;
|
10
|
+
border: 1px solid #aaa;
|
11
|
+
left: 50%;
|
12
|
+
min-width: 350px;
|
13
|
+
min-height: 100px;
|
14
|
+
position: absolute;
|
15
|
+
top: 80px;
|
17
16
|
}
|
18
17
|
|
19
18
|
.window.move
|
@@ -35,7 +34,8 @@
|
|
35
34
|
|
36
35
|
.window header
|
37
36
|
{
|
38
|
-
background: #ddd -webkit-gradient(linear, left bottom, left top,
|
37
|
+
background: #ddd -webkit-gradient(linear, left bottom, left top,
|
38
|
+
from(#ddd), to(#eee));
|
39
39
|
background: #ddd -moz-linear-gradient(bottom, top, #ddd, #eee);
|
40
40
|
border-top: 1px solid #fff;
|
41
41
|
border-bottom: 1px solid #aaa;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
padding: 0px;
|
52
52
|
text-shadow: 0px 1px #fff;
|
53
53
|
text-align: center;
|
54
|
-
width:
|
54
|
+
width: 97%;
|
55
55
|
}
|
56
56
|
|
57
57
|
.window header .close
|
@@ -65,7 +65,7 @@
|
|
65
65
|
|
66
66
|
.window .body, .window .buttons
|
67
67
|
{
|
68
|
-
padding:
|
68
|
+
padding: 20px;
|
69
69
|
}
|
70
70
|
|
71
71
|
.window .buttons
|
File without changes
|
Binary file
|
Binary file
|
@@ -7,10 +7,7 @@ requires: [Core/Element.Dimensions, Core/Fx.Tween, Core/Fx.Transitions]
|
|
7
7
|
provides: Picker
|
8
8
|
...
|
9
9
|
*/
|
10
|
-
|
11
|
-
|
12
10
|
var Picker = new Class({
|
13
|
-
|
14
11
|
Implements: [Options, Events],
|
15
12
|
|
16
13
|
options: {/*
|
@@ -299,10 +296,7 @@ requires: [Picker, Core/Element.Event]
|
|
299
296
|
provides: Picker.Attach
|
300
297
|
...
|
301
298
|
*/
|
302
|
-
|
303
|
-
|
304
299
|
Picker.Attach = new Class({
|
305
|
-
|
306
300
|
Extends: Picker,
|
307
301
|
|
308
302
|
options: {/*
|
@@ -437,8 +431,6 @@ requires: [More/Locale]
|
|
437
431
|
provides: Locale.en-US.DatePicker
|
438
432
|
...
|
439
433
|
*/
|
440
|
-
|
441
|
-
|
442
434
|
Locale.define('en-US', 'DatePicker', {
|
443
435
|
select_a_time: 'Select a time',
|
444
436
|
use_mouse_wheel: 'Use the mouse wheel to quickly change value',
|
@@ -454,8 +446,6 @@ requires: [Picker, Picker.Attach, Locale.en-US.DatePicker, More/Locale, More/Dat
|
|
454
446
|
provides: Picker.Date
|
455
447
|
...
|
456
448
|
*/
|
457
|
-
|
458
|
-
|
459
449
|
(function(){
|
460
450
|
|
461
451
|
this.DatePicker = Picker.Date = new Class({
|
@@ -764,7 +754,6 @@ this.DatePicker = Picker.Date = new Class({
|
|
764
754
|
|
765
755
|
});
|
766
756
|
|
767
|
-
|
768
757
|
// Renderers only output elements and calculate the limits!
|
769
758
|
|
770
759
|
var renderers = {
|