Formatting changes
This commit is contained in:
parent
f3a383d8dd
commit
d756e29ee4
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="add-content">
|
<div class="add-content">
|
||||||
<a class="add-content__button" v-on:click="showModal">
|
<a class="add-content__button" v-on:click="showModal">
|
||||||
<add-pointer class="add-content__icon"></add-pointer>
|
<add-pointer class="add-content__icon"></add-pointer>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
<h3>{{chapter.title}}</h3>
|
<h3>{{chapter.title}}</h3>
|
||||||
<content-block :contentBlock="contentBlock" :key="contentBlock.id" v-for="contentBlock in chapter.contentBlocks">
|
<content-block :contentBlock="contentBlock" :key="contentBlock.id" v-for="contentBlock in chapter.contentBlocks">
|
||||||
</content-block>
|
</content-block>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
border: 0;
|
border: 0;
|
||||||
background-color: $color-brand;
|
background-color: $color-brand;
|
||||||
|
|
||||||
svg{
|
svg {
|
||||||
display: block;
|
display: block;
|
||||||
fill: white;
|
fill: white;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,11 @@
|
||||||
<h4>{{contentBlock.title}}</h4>
|
<h4>{{contentBlock.title}}</h4>
|
||||||
<h4>{{contentBlock.id}}</h4>
|
<h4>{{contentBlock.id}}</h4>
|
||||||
|
|
||||||
<component v-for="component in contentBlock.contents" :key="component.id" :is="component.type"
|
<component v-for="component in contentBlock.contents"
|
||||||
v-bind="component"></component>
|
:key="component.id"
|
||||||
|
:is="component.type"
|
||||||
|
v-bind="component">
|
||||||
|
</component>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="content-block-title-input">
|
<div class="content-block-title-input">
|
||||||
<input placeholder="Titel für Inhaltsblock erfassen" class="content-block-title-input__inputfield skillbox-input"
|
<input placeholder="Titel für Inhaltsblock erfassen"
|
||||||
|
class="content-block-title-input__inputfield skillbox-input"
|
||||||
v-on:input="$emit('update-title', $event.target.value)">
|
v-on:input="$emit('update-title', $event.target.value)">
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@
|
||||||
v-on:change-type="changeType"
|
v-on:change-type="changeType"
|
||||||
v-on:link-change-url="changeLinkUrl"
|
v-on:link-change-url="changeLinkUrl"
|
||||||
v-on:link-change-text="changeLinkText"
|
v-on:link-change-text="changeLinkText"
|
||||||
v-on:video-change-url="changeVideoUrl"
|
v-on:video-change-url="changeVideoUrl">
|
||||||
></component>
|
</component>
|
||||||
<a class="new-content-block-wizard__remove" v-on:click="removeElement(index)">
|
<a class="new-content-block-wizard__remove" v-on:click="removeElement(index)">
|
||||||
<trash-icon v-if="type(element) !== 'content-block-chooser-widget'"
|
<trash-icon v-if="type(element) !== 'content-block-chooser-widget'"
|
||||||
class="new-content-block-wizard__trash-icon"></trash-icon>
|
class="new-content-block-wizard__trash-icon"></trash-icon>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="user-widget">
|
<div class="user-widget">
|
||||||
<img class="user-widget__avatar"
|
<img class="user-widget__avatar" :src="avatar">
|
||||||
:src="avatar">
|
|
||||||
<span class="user-widget__name">{{firstName}} {{lastName}}</span>
|
<span class="user-widget__name">{{firstName}} {{lastName}}</span>
|
||||||
<span class="user-widget__date" v-if="date">{{date}}</span>
|
<span class="user-widget__date" v-if="date">{{date}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue