padrino-admin 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/padrino-admin/bootstrap-less/alerts.less +8 -8
- data/lib/padrino-admin/bootstrap-less/badges.less +1 -1
- data/lib/padrino-admin/bootstrap-less/bootstrap.less +2 -0
- data/lib/padrino-admin/bootstrap-less/breadcrumbs.less +3 -0
- data/lib/padrino-admin/bootstrap-less/button-groups.less +1 -1
- data/lib/padrino-admin/bootstrap-less/buttons.less +7 -7
- data/lib/padrino-admin/bootstrap-less/carousel.less +3 -0
- data/lib/padrino-admin/bootstrap-less/dropdowns.less +7 -8
- data/lib/padrino-admin/bootstrap-less/forms.less +13 -8
- data/lib/padrino-admin/bootstrap-less/grid.less +3 -3
- data/lib/padrino-admin/bootstrap-less/jumbotron.less +1 -1
- data/lib/padrino-admin/bootstrap-less/labels.less +8 -8
- data/lib/padrino-admin/bootstrap-less/list-group.less +96 -0
- data/lib/padrino-admin/bootstrap-less/mixins.less +35 -32
- data/lib/padrino-admin/bootstrap-less/navbar.less +39 -29
- data/lib/padrino-admin/bootstrap-less/navs.less +18 -29
- data/lib/padrino-admin/bootstrap-less/pager.less +4 -4
- data/lib/padrino-admin/bootstrap-less/pagination.less +3 -3
- data/lib/padrino-admin/bootstrap-less/panels.less +86 -0
- data/lib/padrino-admin/bootstrap-less/popovers.less +5 -5
- data/lib/padrino-admin/bootstrap-less/scaffolding.less +8 -6
- data/lib/padrino-admin/bootstrap-less/tables.less +25 -19
- data/lib/padrino-admin/bootstrap-less/tooltip.less +1 -1
- data/lib/padrino-admin/bootstrap-less/type.less +25 -24
- data/lib/padrino-admin/bootstrap-less/utilities.less +1 -1
- data/lib/padrino-admin/bootstrap-less/variables.less +114 -78
- data/lib/padrino-admin/bootstrap-less/wells.less +2 -2
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-scrollspy.js +2 -2
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +1 -1
- data/lib/padrino-admin/generators/templates/assets/stylesheets/bootstrap.css +105 -61
- data/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt +1 -1
- data/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt +1 -1
- data/lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt +1 -1
- data/lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt +1 -1
- data/lib/padrino-admin/generators/templates/haml/page/_form.haml.tt +1 -1
- data/lib/padrino-admin/generators/templates/slim/app/layouts/application.slim.tt +2 -2
- data/lib/padrino-admin/generators/templates/slim/app/sessions/new.slim.tt +1 -1
- data/lib/padrino-admin/locale/admin/zh_cn.yml +34 -34
- data/lib/padrino-admin/locale/orm/zh_cn.yml +20 -20
- metadata +26 -11
- checksums.yaml +0 -7
@@ -32,4 +32,4 @@ html lang="en" xmlns="http://www.w3.org/1999/xhtml"
|
|
32
32
|
|
33
33
|
div class="login-footer modal-footer"
|
34
34
|
= submit_tag(pat('login.sign_in'), :class => 'btn btn-primary pull-right')
|
35
|
-
= javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap.min' : %w[bootstrap/bootstrap-affix bootstrap/bootstrap-alert bootstrap/bootstrap-button bootstrap/bootstrap-carousel bootstrap/bootstrap-collapse bootstrap/bootstrap-dropdown bootstrap/bootstrap-tooltip bootstrap/bootstrap-transition bootstrap/bootstrap-typeahead bootstrap/bootstrap-modal bootstrap/bootstrap-popover bootstrap/bootstrap-scrollspy bootstrap/bootstrap-tab]), :application
|
35
|
+
= javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/bootstrap-affix bootstrap/bootstrap-alert bootstrap/bootstrap-button bootstrap/bootstrap-carousel bootstrap/bootstrap-collapse bootstrap/bootstrap-dropdown bootstrap/bootstrap-tooltip bootstrap/bootstrap-transition bootstrap/bootstrap-typeahead bootstrap/bootstrap-modal bootstrap/bootstrap-popover bootstrap/bootstrap-scrollspy bootstrap/bootstrap-tab]), :application
|
@@ -2,55 +2,55 @@ zh_cn:
|
|
2
2
|
padrino:
|
3
3
|
admin:
|
4
4
|
login:
|
5
|
-
title: "
|
5
|
+
title: "登录"
|
6
6
|
email: "电子邮件"
|
7
7
|
password: "密码"
|
8
|
-
bypass: "
|
9
|
-
sign_in: "
|
10
|
-
error: "
|
11
|
-
save: "
|
12
|
-
save_and_continue: "
|
8
|
+
bypass: "直接进入管理后台?"
|
9
|
+
sign_in: "登录系统"
|
10
|
+
error: "电子邮件或者密码错误。"
|
11
|
+
save: "保存"
|
12
|
+
save_and_continue: "保存然后继续创建新条目"
|
13
13
|
cancel: "取消"
|
14
|
-
list: "
|
14
|
+
list: "列表"
|
15
15
|
edit: "编辑"
|
16
|
-
new: "
|
17
|
-
show: "
|
16
|
+
new: "新建"
|
17
|
+
show: "显示"
|
18
18
|
delete: "删除"
|
19
|
-
confirm: "
|
20
|
-
created_at: "
|
21
|
-
all: "
|
22
|
-
profile: "
|
19
|
+
confirm: "确认么?"
|
20
|
+
created_at: "创建于"
|
21
|
+
all: "所有"
|
22
|
+
profile: "编辑您的个人资料"
|
23
23
|
settings: "设置"
|
24
|
-
logout: "
|
24
|
+
logout: "注销管理"
|
25
25
|
select_all: "全选"
|
26
|
-
deselect_all: "
|
26
|
+
deselect_all: "全不选"
|
27
27
|
delete_selected: "删除所选"
|
28
|
-
delete_selected_title: "
|
29
|
-
example: "
|
30
|
-
new_title: "
|
28
|
+
delete_selected_title: "您确认删除所选项么?"
|
29
|
+
example: "例如:普通说明文字"
|
30
|
+
new_title: "新 %{model}"
|
31
31
|
create_title: "编辑 %{model}"
|
32
32
|
create_success: "%{model} 已成功创建。"
|
33
|
-
create_error: "
|
33
|
+
create_error: "未能创建 %{model}"
|
34
34
|
edit_title: "编辑 %{model}"
|
35
|
-
edit_warning: "
|
35
|
+
edit_warning: "未能找到ID为 %{id} 的 %{model} 。"
|
36
36
|
update_title: "编辑 %{model}"
|
37
|
-
update_success: "ID %{id} 的 %{model} 已成功更新。"
|
38
|
-
update_error: "
|
39
|
-
update_warning: "
|
40
|
-
delete_title: "删除 %{model}?"
|
41
|
-
delete_success: "ID %{id} 的 %{model}
|
42
|
-
delete_error: "
|
43
|
-
delete_warning: "
|
44
|
-
destroy_many_error: "
|
45
|
-
destroy_many_success: "%{model} %{ids}
|
37
|
+
update_success: "ID为 %{id} 的 %{model} 已成功更新。"
|
38
|
+
update_error: "未能更新 %{model} 。"
|
39
|
+
update_warning: "未能找到ID为 %{id} 的 %{model} 。"
|
40
|
+
delete_title: "删除 %{model} ?"
|
41
|
+
delete_success: "ID为 %{id} 的 %{model} 已删除。"
|
42
|
+
delete_error: "未能删除 %{model} !"
|
43
|
+
delete_warning: "未发现ID为 %{id} 的 %{model} 。"
|
44
|
+
destroy_many_error: "您要删除 %{model} ,至少要选择一个。"
|
45
|
+
destroy_many_success: "%{model} %{ids} 全部删除。"
|
46
46
|
custom_errors:
|
47
47
|
title: "错误"
|
48
48
|
'403':
|
49
|
-
title: "错误
|
50
|
-
description: "
|
49
|
+
title: "403错误"
|
50
|
+
description: "禁止访问该资源"
|
51
51
|
'404':
|
52
|
-
title: "错误
|
53
|
-
description: "
|
52
|
+
title: "404错误"
|
53
|
+
description: "没有找到相关资源"
|
54
54
|
'500':
|
55
|
-
title: "错误
|
55
|
+
title: "500错误"
|
56
56
|
description: "服务器错误"
|
@@ -2,25 +2,25 @@ zh_cn:
|
|
2
2
|
activemodel: &activemodel
|
3
3
|
errors:
|
4
4
|
messages:
|
5
|
-
inclusion: "
|
6
|
-
exclusion: "
|
7
|
-
invalid: "
|
8
|
-
confirmation: "
|
9
|
-
accepted: "
|
10
|
-
empty: "
|
11
|
-
blank: "
|
12
|
-
too_long: "
|
13
|
-
too_short: "
|
14
|
-
wrong_length: "
|
15
|
-
taken: "
|
5
|
+
inclusion: "未在列表中"
|
6
|
+
exclusion: "被保留"
|
7
|
+
invalid: "无效"
|
8
|
+
confirmation: "没有匹配配置信息"
|
9
|
+
accepted: "必须接受"
|
10
|
+
empty: "不能为空"
|
11
|
+
blank: "必须填写"
|
12
|
+
too_long: "过长(最大值为 %{count} 个字符,一个中文占用两个字符)"
|
13
|
+
too_short: "太短了(最小值为 %{count} 个字符,一个中文占用两个字符)"
|
14
|
+
wrong_length: "长度错误(应为 %{count} 个字符,一个中文占用两个字符)"
|
15
|
+
taken: "已被占用"
|
16
16
|
not_a_number: "不是数字"
|
17
|
-
greater_than: "必须大于 %{count}"
|
18
|
-
greater_than_or_equal_to: "
|
19
|
-
equal_to: "必须等于 %{count}"
|
20
|
-
less_than: "必须小于 %{count}"
|
21
|
-
less_than_or_equal_to: "
|
22
|
-
odd: "
|
23
|
-
even: "
|
24
|
-
record_invalid: "
|
25
|
-
content_type: "
|
17
|
+
greater_than: "必须大于 %{count} 个字符,一个中文占用两个字符"
|
18
|
+
greater_than_or_equal_to: "必须大于等于 %{count} 个字符,一个中文占用两个字符"
|
19
|
+
equal_to: "必须等于 %{count} 个字符,一个中文占用两个字符"
|
20
|
+
less_than: "必须小于 %{count} 个字符,一个中文占用两个字符"
|
21
|
+
less_than_or_equal_to: "必须小于等于 %{count} 个字符,一个中文占用两个字符"
|
22
|
+
odd: "必须为奇数"
|
23
|
+
even: "必须为偶数"
|
24
|
+
record_invalid: "验证失败: %{errors}"
|
25
|
+
content_type: "文件格式不支持"
|
26
26
|
activerecord: *activemodel
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padrino-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Padrino Team
|
@@ -11,39 +12,44 @@ authors:
|
|
11
12
|
autorequire:
|
12
13
|
bindir: bin
|
13
14
|
cert_chain: []
|
14
|
-
date: 2013-
|
15
|
+
date: 2013-04-07 00:00:00.000000000 Z
|
15
16
|
dependencies:
|
16
17
|
- !ruby/object:Gem::Dependency
|
17
18
|
name: padrino-core
|
18
19
|
requirement: !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
19
21
|
requirements:
|
20
22
|
- - '='
|
21
23
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.11.
|
24
|
+
version: 0.11.1
|
23
25
|
type: :runtime
|
24
26
|
prerelease: false
|
25
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
26
29
|
requirements:
|
27
30
|
- - '='
|
28
31
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.11.
|
32
|
+
version: 0.11.1
|
30
33
|
- !ruby/object:Gem::Dependency
|
31
34
|
name: padrino-helpers
|
32
35
|
requirement: !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
33
37
|
requirements:
|
34
38
|
- - '='
|
35
39
|
- !ruby/object:Gem::Version
|
36
|
-
version: 0.11.
|
40
|
+
version: 0.11.1
|
37
41
|
type: :runtime
|
38
42
|
prerelease: false
|
39
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
40
45
|
requirements:
|
41
46
|
- - '='
|
42
47
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.11.
|
48
|
+
version: 0.11.1
|
44
49
|
- !ruby/object:Gem::Dependency
|
45
50
|
name: therubyracer
|
46
51
|
requirement: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
47
53
|
requirements:
|
48
54
|
- - ~>
|
49
55
|
- !ruby/object:Gem::Version
|
@@ -51,6 +57,7 @@ dependencies:
|
|
51
57
|
type: :development
|
52
58
|
prerelease: false
|
53
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
54
61
|
requirements:
|
55
62
|
- - ~>
|
56
63
|
- !ruby/object:Gem::Version
|
@@ -58,6 +65,7 @@ dependencies:
|
|
58
65
|
- !ruby/object:Gem::Dependency
|
59
66
|
name: less
|
60
67
|
requirement: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
61
69
|
requirements:
|
62
70
|
- - ~>
|
63
71
|
- !ruby/object:Gem::Version
|
@@ -65,6 +73,7 @@ dependencies:
|
|
65
73
|
type: :development
|
66
74
|
prerelease: false
|
67
75
|
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
68
77
|
requirements:
|
69
78
|
- - ~>
|
70
79
|
- !ruby/object:Gem::Version
|
@@ -103,6 +112,7 @@ files:
|
|
103
112
|
- lib/padrino-admin/bootstrap-less/grid.less
|
104
113
|
- lib/padrino-admin/bootstrap-less/jumbotron.less
|
105
114
|
- lib/padrino-admin/bootstrap-less/labels.less
|
115
|
+
- lib/padrino-admin/bootstrap-less/list-group.less
|
106
116
|
- lib/padrino-admin/bootstrap-less/media.less
|
107
117
|
- lib/padrino-admin/bootstrap-less/mixins.less
|
108
118
|
- lib/padrino-admin/bootstrap-less/modals.less
|
@@ -112,6 +122,7 @@ files:
|
|
112
122
|
- lib/padrino-admin/bootstrap-less/padrino-admin.less
|
113
123
|
- lib/padrino-admin/bootstrap-less/pager.less
|
114
124
|
- lib/padrino-admin/bootstrap-less/pagination.less
|
125
|
+
- lib/padrino-admin/bootstrap-less/panels.less
|
115
126
|
- lib/padrino-admin/bootstrap-less/popovers.less
|
116
127
|
- lib/padrino-admin/bootstrap-less/print.less
|
117
128
|
- lib/padrino-admin/bootstrap-less/progress-bars.less
|
@@ -254,27 +265,31 @@ files:
|
|
254
265
|
- test/test_locale.rb
|
255
266
|
homepage: http://www.padrinorb.com
|
256
267
|
licenses: []
|
257
|
-
metadata: {}
|
258
268
|
post_install_message:
|
259
269
|
rdoc_options:
|
260
270
|
- --charset=UTF-8
|
261
271
|
require_paths:
|
262
272
|
- lib
|
263
273
|
required_ruby_version: !ruby/object:Gem::Requirement
|
274
|
+
none: false
|
264
275
|
requirements:
|
265
|
-
- - '>='
|
276
|
+
- - ! '>='
|
266
277
|
- !ruby/object:Gem::Version
|
267
278
|
version: '0'
|
279
|
+
segments:
|
280
|
+
- 0
|
281
|
+
hash: -2878817817186852969
|
268
282
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
283
|
+
none: false
|
269
284
|
requirements:
|
270
|
-
- - '>='
|
285
|
+
- - ! '>='
|
271
286
|
- !ruby/object:Gem::Version
|
272
287
|
version: 1.3.6
|
273
288
|
requirements: []
|
274
289
|
rubyforge_project: padrino-admin
|
275
|
-
rubygems_version:
|
290
|
+
rubygems_version: 1.8.25
|
276
291
|
signing_key:
|
277
|
-
specification_version:
|
292
|
+
specification_version: 3
|
278
293
|
summary: Admin Dashboard for Padrino
|
279
294
|
test_files:
|
280
295
|
- test/fixtures/data_mapper.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 99fdaf933e9592ed00be6c4a5ca46e18adb57a89
|
4
|
-
data.tar.gz: e0ef38549f1b52a2df95f709b63c85ab5eb02139
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 53407d617810c9c02e2f7882f0e906cd3b5a0c94309f0b74e9814562e22f42bc258dff28932ca3cc1ff7f9c88896621c3295da30aa43d6ed40ce0b337135e7ef
|
7
|
-
data.tar.gz: 28f25d8233edc3f87c1a8dd377fe77a57f801abde3b15fd77e755faa3ef3a908bae8983448690e119740cda12ddf08085e177e7ae4a72389d08d1c8bfb821212
|