Updated composer, Fixed sidebar tree list & Added extra pages to Dummy seeder. Fixes #28, Fixes #29
Showing
4 changed files
with
11 additions
and
6 deletions
| ... | @@ -8,15 +8,15 @@ | ... | @@ -8,15 +8,15 @@ |
| 8 | "php": ">=5.5.9", | 8 | "php": ">=5.5.9", |
| 9 | "laravel/framework": "5.1.*", | 9 | "laravel/framework": "5.1.*", |
| 10 | "intervention/image": "^2.3", | 10 | "intervention/image": "^2.3", |
| 11 | - "laravel/socialite": "^2.0" | 11 | + "laravel/socialite": "^2.0", |
| 12 | + "barryvdh/laravel-ide-helper": "^2.1", | ||
| 13 | + "barryvdh/laravel-debugbar": "^2.0" | ||
| 12 | }, | 14 | }, |
| 13 | "require-dev": { | 15 | "require-dev": { |
| 14 | "fzaninotto/faker": "~1.4", | 16 | "fzaninotto/faker": "~1.4", |
| 15 | "mockery/mockery": "0.9.*", | 17 | "mockery/mockery": "0.9.*", |
| 16 | "phpunit/phpunit": "~4.0", | 18 | "phpunit/phpunit": "~4.0", |
| 17 | - "phpspec/phpspec": "~2.1", | 19 | + "phpspec/phpspec": "~2.1" |
| 18 | - "barryvdh/laravel-ide-helper": "^2.1", | ||
| 19 | - "barryvdh/laravel-debugbar": "^2.0" | ||
| 20 | }, | 20 | }, |
| 21 | "autoload": { | 21 | "autoload": { |
| 22 | "classmap": [ | 22 | "classmap": [ | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -23,7 +23,9 @@ class DummyContentSeeder extends Seeder | ... | @@ -23,7 +23,9 @@ class DummyContentSeeder extends Seeder |
| 23 | $pages = factory(\BookStack\Page::class, 10)->make(['created_by' => $user->id, 'updated_by' => $user->id, 'book_id' => $book->id]); | 23 | $pages = factory(\BookStack\Page::class, 10)->make(['created_by' => $user->id, 'updated_by' => $user->id, 'book_id' => $book->id]); |
| 24 | $chapter->pages()->saveMany($pages); | 24 | $chapter->pages()->saveMany($pages); |
| 25 | }); | 25 | }); |
| 26 | + $pages = factory(\BookStack\Page::class, 3)->make(['created_by' => $user->id, 'updated_by' => $user->id]); | ||
| 26 | $book->chapters()->saveMany($chapters); | 27 | $book->chapters()->saveMany($chapters); |
| 28 | + $book->pages()->saveMany($pages); | ||
| 27 | }); | 29 | }); |
| 28 | } | 30 | } |
| 29 | } | 31 | } | ... | ... |
| ... | @@ -118,6 +118,9 @@ | ... | @@ -118,6 +118,9 @@ |
| 118 | text-decoration: none; | 118 | text-decoration: none; |
| 119 | } | 119 | } |
| 120 | } | 120 | } |
| 121 | + li a i { | ||
| 122 | + padding-right: $-xs + 2px; | ||
| 123 | + } | ||
| 121 | li, a { | 124 | li, a { |
| 122 | display: block; | 125 | display: block; |
| 123 | } | 126 | } |
| ... | @@ -150,11 +153,11 @@ | ... | @@ -150,11 +153,11 @@ |
| 150 | } | 153 | } |
| 151 | .list-item-page { | 154 | .list-item-page { |
| 152 | border-bottom: none; | 155 | border-bottom: none; |
| 156 | + border-left: 5px solid $color-page; | ||
| 157 | + margin: 10px 10px; | ||
| 153 | } | 158 | } |
| 154 | .page { | 159 | .page { |
| 155 | color: $color-page !important; | 160 | color: $color-page !important; |
| 156 | - border-left: 5px solid $color-page; | ||
| 157 | - margin: 10px 10px; | ||
| 158 | border-bottom: none; | 161 | border-bottom: none; |
| 159 | &.selected { | 162 | &.selected { |
| 160 | background-color: rgba($color-page, 0.1); | 163 | background-color: rgba($color-page, 0.1); | ... | ... |
-
Please register or sign in to post a comment