Skip to content

Commit

Permalink
Symfony 5.3 Doctrine Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
cesurapp committed Jun 5, 2021
1 parent 326b798 commit f61d152
Show file tree
Hide file tree
Showing 8 changed files with 156 additions and 120 deletions.
4 changes: 4 additions & 0 deletions assets/admin/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ body {
width: 100%;
}

.clear-line-height{
line-height: 0;
}

/*======================================================
Footer
=======================================================*/
Expand Down
2 changes: 1 addition & 1 deletion assets/admin/core/components/datepicker/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:id="id + 'start'" :placeholder="placeholder[0] || 'Başlangıç tarihi seçin..'"
class="form-control"/>
<datepicker v-model="pickedProxy.end" :input-format="format" :locale="locale"
:id="id + 'end'" :placeholder="placeholder[0] || 'Başlangıç tarihi seçin..'"
:id="id + 'end'" :placeholder="placeholder[0] || 'Bitiş tarihi seçin..'"
class="form-control"/>
</div>
</template>
Expand Down
1 change: 0 additions & 1 deletion assets/admin/core/components/modal/directive.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export default {
mounted(el, binding, vnode) {
el.addEventListener('click', () => {
console.log(vnode.dirs);
vnode.dirs[0].instance[binding.value].instance.show();
})
}
Expand Down
23 changes: 18 additions & 5 deletions assets/admin/src/ajax-form/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="ajax-form full-form">
<off-canvas id="ajaxForm" ref="canvas" @submit.prevent="post">
<off-canvas id="ajaxForm" ref="canvas" @submit.prevent="post" :size="size">
<template v-slot:title>{{ title }}</template>
<template v-slot:content>
<component v-if="content" :is="{ template:content }"/>
Expand All @@ -12,7 +12,7 @@
<script>
export default {
name: "AjaxForm",
props: ['table', 'message'],
props: ['table', 'message', 'size'],
data() {
return {
url: null,
Expand All @@ -37,13 +37,16 @@ export default {
this.$root.http.post(this.url, new FormData(event.target))
.then((resp) => {
if (typeof this.index === 'number') {
window.Table.$data.data[this.index] = resp.data;
window.Table.$data.data[this.index] = resp.data.data || resp.data;
}
if (typeof this.index === 'string') {
window.Table.$data.data.push(resp.data);
window.Table.$data.data.push(resp.data.data || resp.data);
}
if (this.message) {
this.$root.msg.success(this.message);
}
this.$root.msg.success(this.message);
this.$refs.canvas.instance.hide();
})
.catch((err) => {
Expand All @@ -59,5 +62,15 @@ export default {
.form-check{
width: 100% !important;
}
.form-container {
& > *:nth-child(2n) {
margin-left: calc(var(--bs-gutter-x) / -2);
}
& > *:last-of-type > div {
padding-left: calc(var(--bs-gutter-x) / 2);
}
}
}
</style>
6 changes: 6 additions & 0 deletions assets/admin/src/sidebar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,12 @@ $grid-gutter-width: 1.2rem;
padding: $grid-gutter-width / 1.3 $grid-gutter-width;
}
}
&:not(.active) {
&:hover {
width: 170px !important;
}
}
}
}
</style>
Loading

0 comments on commit f61d152

Please sign in to comment.