Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sarun Mungthanya
SpnPatch-Laravel
Commits
a4597286
Commit
a4597286
authored
Dec 03, 2024
by
Chanon.u
Browse files
Comment function download and autocomplete message
parent
3df476aa
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/livewire/pages/manual-response/manual-response-index.blade.php
View file @
a4597286
...
@@ -96,7 +96,8 @@
...
@@ -96,7 +96,8 @@
<div
class=
"w-4/12"
>
<div
class=
"w-4/12"
>
<div
class=
"w-12/12 py-1"
>
<div
class=
"w-12/12 py-1"
>
@foreach ($xmlData as $key => $value)
@foreach ($xmlData as $key => $value)
@if ($key == 'Message')
{{-- Change $key to Message to use autocomplete message --}}
@if ($key == 'UNUSED')
<label
class=
"block"
>
<label
class=
"block"
>
<span
class=
"text-sm font-medium text-slate-700"
>
{{ $key }}
</span>
<span
class=
"text-sm font-medium text-slate-700"
>
{{ $key }}
</span>
<span
class=
"relative mt-1.5 mb-1.5 flex"
>
<span
class=
"relative mt-1.5 mb-1.5 flex"
>
...
@@ -118,7 +119,6 @@
...
@@ -118,7 +119,6 @@
</ul>
</ul>
@endif
@endif
</span>
</span>
</label>
</label>
@else
@else
<label
class=
"block"
>
<label
class=
"block"
>
...
@@ -140,14 +140,14 @@
...
@@ -140,14 +140,14 @@
</div>
</div>
<div
class=
"bg-gray-100 p-4 rounded-lg"
>
<div
class=
"bg-gray-100 p-4 rounded-lg"
>
<!-- Highlight.js Code Block -->
<!-- Highlight.js Code Block -->
<pre
class=
"is-scrollbar-hidden max-h-96 overflow-auto rounded-lg
p-4
"
x-data
x-init=
"hljs.highlightElement($el);"
><code
class=
"xml"
>
{{ $xmlContent }}
</code></pre>
<pre
class=
"is-scrollbar-hidden max-h-96 overflow-auto rounded-lg"
x-data
x-init=
"hljs.highlightElement($el);"
><code
class=
"xml"
>
{{ $xmlContent }}
</code></pre>
</div>
</div>
<div
class=
"flex justify-center items-center pt-1"
>
<div
class=
"flex justify-center items-center pt-1"
>
<button
<button
class=
"bg-slate-150 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 rounded-md border border-[#e5e7eb] py-2 px-4 mr-1"
class=
"bg-slate-150 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 rounded-md border border-[#e5e7eb] py-2 px-4 mr-1"
wire:click=
"reGenerateXML"
>
wire:click=
"reGenerateXML"
>
<i
class=
"fa-solid fa-rotate mr-1"
></i>
Reload XML
</button>
<i
class=
"fa-solid fa-rotate mr-1"
></i>
Reload XML
</button>
<button
class=
"bg-slate-150 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 rounded-md border border-[#e5e7eb] py-2 px-4 mr-1"
wire:click=
"downloadXML"
><i
class=
"fa fa-download mr-1"
aria-hidden=
"true"
></i>
Download File
</button>
{{--
<button
class=
"bg-slate-150 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 rounded-md border border-[#e5e7eb] py-2 px-4 mr-1"
wire:click=
"downloadXML"
><i
class=
"fa fa-download mr-1"
aria-hidden=
"true"
></i>
Download File
</button>
--}}
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment