Skip to content

Commit 767837e

Browse files
authored
Merge pull request #44 from webreinvent/release/v0.1.10
release -> master | v0.1.10
2 parents 1adc2e0 + 901d467 commit 767837e

File tree

8 files changed

+20
-14
lines changed

8 files changed

+20
-14
lines changed

Entities/ContentFormField.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ public static function getContentAsset($content,$type)
166166
{
167167
$value = $content;
168168

169-
if($content && $type && ($type == 'image' || $type == 'media'))
169+
if($content && $type
170+
&& ($type == 'image' || $type == 'media')
171+
&& is_string($content))
170172
{
171173
$value = asset($content);
172174
}

Resources/assets/build/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Resources/views/backend/pages/app.blade.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818

1919
@section('content')
2020

21-
<div id="cmsApp">
21+
<div id="cmsApp" class="bulma">
2222

23-
<router-view></router-view>
23+
<section class="section has-padding-25">
24+
<router-view></router-view>
2425

25-
<vue-progress-bar></vue-progress-bar>
26+
<vue-progress-bar></vue-progress-bar>
27+
</section>
2628

2729
</div>
2830

Vue/pages/content-types/ContentStructure.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<div class="card" v-if="item.groups.length > 0"
5454
v-for="(group,index) in item.groups">
5555

56-
<div class="card-header">
56+
<div class="card-header is-shadowless">
5757

5858
<div class="card-header-title">
5959
<span>{{$vaah.limitString(group.name, 20)}}</span>
@@ -98,14 +98,14 @@
9898

9999
<div class="card-content is-paddingless">
100100

101-
<div class="draggable" >
102-
<draggable class="dropzone" :list="group.fields"
101+
<div class="draggable">
102+
<draggable class="dropzone has-padding-15" :list="group.fields"
103103
:group="{name:'fields'}">
104104
<div v-if="group.fields.length>0"
105105
v-for="(field, f_index) in group.fields"
106106
:key="f_index">
107-
<div class="dropzone-field">
108-
<b-field class="is-marginless" >
107+
<div class="dropzone-field has-margin-bottom-10">
108+
<b-field class="is-marginless">
109109
<p class="control drag">
110110
<span class="button is-static">:::</span>
111111
</p>
@@ -139,7 +139,7 @@
139139
</b-tooltip>
140140

141141
</b-field>
142-
<div class="dropzone-field-options ">
142+
<div class="dropzone-field-options" style="display: none">
143143

144144
<table class="table">
145145

Vue/pages/menus/partials/NestedDraggable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</b-field>
5151

5252

53-
<div class="menu-item-settings has-padding-top-15 has-padding-bottom-15 hide">
53+
<div class="menu-item-settings has-padding-top-15 has-padding-bottom-15 hide" style="display: none">
5454

5555
<b-field label=" " :label-position="labelPosition">
5656
<b-checkbox v-model="el.attr_target_blank">Open in new window</b-checkbox>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vaahcms/cms",
33
"description": "Cms",
4-
"version": "0.1.9",
4+
"version": "0.1.10",
55
"authors": [
66
{
77
"name": "vaah",

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"bulma-helpers": "^0.3.12",
4848
"compass-mixins": "^0.12.10",
4949
"copy-to-clipboard": "^3.3.1",
50+
"css-loader": "^5.2.7",
5051
"filepond": "^4.25.1",
5152
"filepond-plugin-file-rename": "^1.1.6",
5253
"filepond-plugin-file-validate-size": "^2.2.2",
@@ -63,6 +64,7 @@
6364
"moment": "^2.24.0",
6465
"moment-timezone": "^0.5.33",
6566
"slugify": "^1.3.6",
67+
"style-loader": "^2.0.0",
6668
"tiptap": "^1.4",
6769
"tiptap-extensions": "^1.35",
6870
"uuid": "^8.0.0",

0 commit comments

Comments
 (0)