drg_books 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/drg_books.css +72 -0
- data/app/forms/dc_book_chapter.yml +5 -5
- data/app/views/dc_book/_list.html.erb +1 -1
- data/lib/drg_books/version.rb +1 -1
- data/lib/drg_books.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bc2496f23cff28378fc3e7670e6f4f074e92395
|
4
|
+
data.tar.gz: 3833ffca0dcc9c35a1002e478e9dbdf1301f5716
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77c105ea685284fbba6fac7a93307a4943c3f82c3dfe5e461e90ad19190f8933e3e9e1729bfc7ccc228bea53ced16de120483f7f889c3172f288497b2ecf9ebc
|
7
|
+
data.tar.gz: c6eec74e1a91cabcb60233f2cf39a0b4b5e68cec5d9f02c200f1bc92fbd236ceb85d7f2d2ee1f3c09d0bd8c4987f372215a39a4df7d43fa25568aa301d06a39e
|
@@ -0,0 +1,72 @@
|
|
1
|
+
/*
|
2
|
+
#--
|
3
|
+
# Copyright (c) 2014+ Damjan Rems
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
# a copy of this software and associated documentation files (the
|
7
|
+
# "Software"), to deal in the Software without restriction, including
|
8
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
# the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be
|
14
|
+
# included in all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
#++
|
24
|
+
*/
|
25
|
+
|
26
|
+
#docs {
|
27
|
+
float: left;
|
28
|
+
}
|
29
|
+
.book-title, .book-chapter-text, .book-chapter-comments {
|
30
|
+
padding: 6px;
|
31
|
+
padding-left: 0px;
|
32
|
+
}
|
33
|
+
.book-top {
|
34
|
+
font-size: 32px;
|
35
|
+
margin-bottom: 10px;
|
36
|
+
}
|
37
|
+
.book-title {
|
38
|
+
font-size: 24px;
|
39
|
+
}
|
40
|
+
|
41
|
+
.book-chapter-versions {
|
42
|
+
padding: 2px;
|
43
|
+
font-size: 12px;
|
44
|
+
font-weight: bold;
|
45
|
+
background-color: #ff8973;
|
46
|
+
border: 1px solid #888;
|
47
|
+
}
|
48
|
+
.book-chapter-prev-next {
|
49
|
+
padding: 2px;
|
50
|
+
font-size: 1.4em;
|
51
|
+
background-color: #ccc;
|
52
|
+
border: 1px solid #888;
|
53
|
+
border-top: 0px;
|
54
|
+
}
|
55
|
+
|
56
|
+
.book-chapter-text {
|
57
|
+
font-size: 13px;
|
58
|
+
}
|
59
|
+
|
60
|
+
.book-content {
|
61
|
+
font-size: 0.8em;
|
62
|
+
font-style:italic;
|
63
|
+
}
|
64
|
+
|
65
|
+
.book-contents {
|
66
|
+
font-size: 0.7em;
|
67
|
+
padding-top: 4px;
|
68
|
+
}
|
69
|
+
.book-contents-level1 { padding-left: 0px;}
|
70
|
+
.book-contents-level2 { padding-left: 8px;}
|
71
|
+
.book-contents-level3 { padding-left: 16px;}
|
72
|
+
.book-contents-level4 { padding-left: 24px;}
|
@@ -14,12 +14,12 @@ result_set:
|
|
14
14
|
|
15
15
|
columns:
|
16
16
|
10:
|
17
|
-
name: dc_book_id
|
18
|
-
eval: dc_name4_id,dc_book,title
|
19
|
-
20:
|
20
17
|
name: chapter
|
21
|
-
|
18
|
+
20:
|
22
19
|
name: title
|
20
|
+
30:
|
21
|
+
name: dc_book_id
|
22
|
+
eval: dc_name4_id,dc_book,title
|
23
23
|
|
24
24
|
edit_title: title
|
25
25
|
|
@@ -64,7 +64,7 @@ form:
|
|
64
64
|
2texts:
|
65
65
|
10:
|
66
66
|
name: dc_book_texts
|
67
|
-
type:
|
67
|
+
type: embedded
|
68
68
|
formname: dc_book_text
|
69
69
|
html:
|
70
70
|
height: 1000
|
data/lib/drg_books/version.rb
CHANGED
data/lib/drg_books.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drg_books
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damjan Rems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: drg_cms
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
description:
|
27
|
+
description: Plugin for writing documentation for DRG CMS
|
28
28
|
email:
|
29
29
|
- drgcms@gmail.com
|
30
30
|
executables: []
|
@@ -34,6 +34,7 @@ files:
|
|
34
34
|
- MIT-LICENSE
|
35
35
|
- README.rdoc
|
36
36
|
- Rakefile
|
37
|
+
- app/assets/stylesheets/drg_books.css
|
37
38
|
- app/controllers/books_controller.rb
|
38
39
|
- app/forms/cms_menu.yml
|
39
40
|
- app/forms/dc_book.yml
|
@@ -109,7 +110,7 @@ rubyforge_project:
|
|
109
110
|
rubygems_version: 2.2.2
|
110
111
|
signing_key:
|
111
112
|
specification_version: 4
|
112
|
-
summary: Documentation plugin for
|
113
|
+
summary: Documentation plugin for DRG CMS
|
113
114
|
test_files:
|
114
115
|
- test/test_helper.rb
|
115
116
|
- test/integration/navigation_test.rb
|