Skip to content

Commit f84e5a2

Browse files
Merge pull request #2250 from suraj-webkul/issue#2244
issue #2244 fixed.
2 parents 12d568d + 502be3d commit f84e5a2

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

packages/Webkul/Admin/src/Resources/views/settings/webhook/create.blade.php

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
<x-admin::breadcrumbs name="settings.webhooks.create" />
1919

2020
{!! view_render_event('admin.settings.webhook.edit.breadrumbs.after') !!}
21-
21+
2222
<div class="text-xl font-bold dark:text-white">
2323
@lang('admin::app.settings.webhooks.create.title')
2424
</div>
2525
</div>
26-
26+
2727
<div class="flex items-center gap-x-2.5">
2828
<div class="flex items-center gap-x-2.5">
2929
{!! view_render_event('admin.settings.webhook.edit.save_button.before') !!}
@@ -63,7 +63,7 @@ class="primary-button"
6363
<p class="text-base font-semibold text-gray-800 dark:text-white">
6464
@lang('admin::app.settings.webhooks.create.title')
6565
</p>
66-
66+
6767
<p class="text-sm text-gray-600 dark:text-white">
6868
@lang('admin::app.settings.webhooks.create.info')
6969
</p>
@@ -89,7 +89,7 @@ class="!w-1/6 rounded-r-none"
8989
:label="trans('admin::app.settings.webhooks.create.method')"
9090
>
9191
<option value="post">@lang('admin::app.settings.webhooks.create.post')</option>
92-
92+
9393
<option value="put">@lang('admin::app.settings.webhooks.create.put')</option>
9494
</x-admin::form.control-group.control>
9595
@@ -164,7 +164,7 @@ class="ms-2 cursor-pointer text-xs font-normal text-gray-900 dark:text-gray-300"
164164
@lang('admin::app.settings.webhooks.create.default')
165165
</label>
166166
</div>
167-
167+
168168
<div class="flex cursor-pointer items-center justify-center">
169169
<input
170170
id="x-www-form-urlencoded"
@@ -212,7 +212,7 @@ class="ms-2 cursor-pointer text-xs font-normal text-gray-900 dark:text-gray-300"
212212
<i class="icon-down-arrow -mt-px text-xs text-brandColor"></i>
213213
</div>
214214
</x-slot>
215-
215+
216216
<x-slot:menu class="!p-0 dark:border-gray-800">
217217
<input
218218
type="hidden"
@@ -242,7 +242,7 @@ class="whitespace-no-wrap flex cursor-pointer items-center justify-between gap-1
242242
</template>
243243
</div>
244244
</div>
245-
245+
246246
<template v-if="showEditor">
247247
<textarea
248248
ref="payload"
@@ -281,7 +281,7 @@ class="whitespace-no-wrap flex cursor-pointer items-center justify-between gap-1
281281
</p>
282282
</div>
283283
</x-slot>
284-
284+
285285
<x-slot:content>
286286
<!-- Name -->
287287
<x-admin::form.control-group>
@@ -358,9 +358,9 @@ class="whitespace-no-wrap flex cursor-pointer items-center justify-between gap-1
358358
<x-admin::form.control-group.label class="required">
359359
@{{ title }}
360360
</x-admin::form.control-group.label>
361-
361+
362362
<div class="flex flex-col">
363-
<div
363+
<div
364364
class="group my-2 flex items-center justify-between gap-3"
365365
v-for="(field, index) in fields"
366366
:key="index"
@@ -391,7 +391,7 @@ class="group my-2 flex items-center justify-between gap-3"
391391
<x-admin::form.control-group.error ::name="`${name}[${index}][value]`" />
392392
</div>
393393
394-
<i
394+
<i
395395
class="icon-delete ml-1 cursor-pointer rounded-md p-1.5 text-2xl transition-all hover:bg-gray-100 dark:hover:bg-gray-950"
396396
@click="remove(index)"
397397
v-if="fields.length > 1"
@@ -406,7 +406,7 @@ class="invisible cursor-pointer py-2 text-xs text-brandColor hover:text-brandCol
406406
@lang('admin::app.settings.webhooks.create.insert-placeholder')
407407
</span>
408408
</x-slot>
409-
409+
410410
<x-slot:menu class="max-h-80 overflow-y-auto !p-0 dark:border-gray-800">
411411
<div
412412
v-for="entity in placeholders"
@@ -430,12 +430,12 @@ class="whitespace-no-wrap flex cursor-pointer items-center justify-between gap-1
430430
</x-admin::dropdown>
431431
</div>
432432
</div>
433-
433+
434434
<div class="inline-block">
435435
<button
436436
type="button"
437437
class="flex max-w-max items-center gap-2 text-brandColor"
438-
@click="add(index)"
438+
@click="add(index)"
439439
>
440440
<i class="icon-add text-md !text-brandColor"></i>
441441
@@ -466,7 +466,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
466466
467467
tempPayload: [{ key: '', value: ''}],
468468
469-
headers: [{ key: 'Content Type', value: 'text/plain;charset=UTF', readOnly: true }],
469+
headers: [{ key: 'Content-Type', value: 'text/plain;charset=UTF', readOnly: true }],
470470
471471
placeholders: @json($placeholders),
472472
};
@@ -485,7 +485,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
485485
watch: {
486486
/**
487487
* Watch the raw type and update the tempPayload.
488-
*
488+
*
489489
* @return {void}
490490
*/
491491
rawType(newValue, oldValue) {
@@ -494,7 +494,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
494494
495495
/**
496496
* Watch the content type and update the tempPayload.
497-
*
497+
*
498498
* @return {void}
499499
*/
500500
contentType(newValue, oldValue) {
@@ -522,7 +522,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
522522
methods: {
523523
/**
524524
* Handle editor display.
525-
*
525+
*
526526
* @returns {void}
527527
*/
528528
handleEditorDisplay() {
@@ -539,7 +539,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
539539
540540
/**
541541
* Initiate Editor.
542-
*
542+
*
543543
* @param {string} rawType
544544
* @return {void}
545545
*/
@@ -567,7 +567,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
567567
568568
/**
569569
* Get the URL endpoint with the parameters
570-
*
570+
*
571571
* @returns {string}
572572
*/
573573
urlEndPoint() {
@@ -585,7 +585,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
585585
586586
this.parameters.forEach(param => {
587587
if (
588-
param.key
588+
param.key
589589
&& param.value
590590
) {
591591
url.searchParams.append(param.key, param.value);
@@ -616,7 +616,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
616616
methods: {
617617
/**
618618
* Add a new fields.
619-
*
619+
*
620620
* @returns {void}
621621
*/
622622
add() {
@@ -625,7 +625,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
625625
626626
/**
627627
* Remove a fields.
628-
*
628+
*
629629
* @returns {void}
630630
*/
631631
remove(index) {
@@ -634,7 +634,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
634634
635635
/**
636636
* Save the cursor position when the input is focused.
637-
*
637+
*
638638
* @param {Event} event
639639
* @returns {void}
640640
*/
@@ -644,7 +644,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
644644
645645
/**
646646
* Insert the selected placeholder into the subject.
647-
*
647+
*
648648
* @returns {void}
649649
*/
650650
insertPlaceholder(index, value) {
@@ -673,8 +673,8 @@ class="flex max-w-max items-center gap-2 text-brandColor"
673673
src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.30.0/codemirror.js"
674674
></script>
675675
676-
<!--
677-
Html mixed and xml cnd both are dependent
676+
<!--
677+
Html mixed and xml cnd both are dependent
678678
Used for html and css theme
679679
-->
680680
<script
@@ -685,7 +685,7 @@ class="flex max-w-max items-center gap-2 text-brandColor"
685685
686686
@pushOnce('styles')
687687
<!-- Code mirror style cdn -->
688-
<link
688+
<link
689689
rel="stylesheet"
690690
href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/codemirror.css"
691691
></link>

0 commit comments

Comments
 (0)