Commit a4597286 authored by Chanon.u's avatar Chanon.u
Browse files

Comment function download and autocomplete message

parent 3df476aa
...@@ -96,8 +96,9 @@ ...@@ -96,8 +96,9 @@
<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 --}}
<label class="block"> @if ($key == 'UNUSED')
<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">
<input <input
...@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment