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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8f7afa8cfff15b075f55f0b456a08174cb53e1b
4
- data.tar.gz: 0b4aecbd2163b617a706102b143e3b99df709b40
3
+ metadata.gz: 8bc2496f23cff28378fc3e7670e6f4f074e92395
4
+ data.tar.gz: 3833ffca0dcc9c35a1002e478e9dbdf1301f5716
5
5
  SHA512:
6
- metadata.gz: e303e1be16cf2af3162b3b10b9d40470425954ac2d486d9dd873ba8b4e71baca31c943fd6eb0876aa216c68e591d86923f92784145e8a50761ba327442b8ecdc
7
- data.tar.gz: 4a9ec87cfe586bf7d6f901ff49cc500c3ddfdebbd8ae7d375b34a33e9d21051e76fc97dc47e834efaa6b5011aef409d9d653dbda9223a89f46f63531a42ee5ed
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
- 30:
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: embedded_iframe
67
+ type: embedded
68
68
  formname: dc_book_text
69
69
  html:
70
70
  height: 1000
@@ -1,4 +1,4 @@
1
- <div class="book-top"><%= t('dc_book.books_list') %></div>
1
+ <h1><%= t('dc_book.books_list') %></h1>
2
2
  <div class="books-list">
3
3
  <% books.each do |book| %>
4
4
  <div class="book-title">
@@ -1,3 +1,3 @@
1
1
  module DrgBooks
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/drg_books.rb CHANGED
@@ -3,4 +3,4 @@ require "drg_books/engine"
3
3
  module DrgBooks
4
4
  end
5
5
 
6
- DrgCms.add_form_path File.expand_path("../../app/forms", __FILE__)
6
+ DrgCms.add_forms_path File.expand_path("../../app/forms", __FILE__)
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.2
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-02-22 00:00:00.000000000 Z
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: Documentation plugin for DRGCMS
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 DRGCMS
113
+ summary: Documentation plugin for DRG CMS
113
114
  test_files:
114
115
  - test/test_helper.rb
115
116
  - test/integration/navigation_test.rb