Update index.html
1 file changed+16−4
index.html+16−4View file
| @@ -728,9 +728,9 @@ | ||
| </div> | ||
| <!-- Attached Invoice Section --> | ||
| - <div class="p-4 rounded-2xl bg-indigo-50/50 border border-indigo-100 flex items-center justify-between"> | ||
| + <div class="p-4 rounded-2xl bg-indigo-50/50 border border-indigo-100 flex flex-col sm:flex-row sm:items-center justify-between gap-3"> | ||
| <div class="flex items-center space-x-3"> | ||
| - <div class="w-10 h-10 rounded-xl bg-indigo-600 text-white flex items-center justify-center"> | ||
| + <div class="w-10 h-10 rounded-xl bg-indigo-600 text-white flex items-center justify-center flex-shrink-0"> | ||
| <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | ||
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" /> | ||
| </svg> | ||
| @@ -738,12 +738,24 @@ | ||
| <div> | ||
| <p class="text-xs font-semibold text-slate-500 uppercase">Attached Invoice</p> | ||
| <p id="inspect-invoice-name" class="text-sm font-bold text-slate-900">No invoice attached</p> | ||
| + <p id="inspect-invoice-meta" class="text-xs text-slate-400 mt-0.5"></p> | ||
| </div> | ||
| </div> | ||
| <div class="flex items-center gap-2"> | ||
| <button type="button" id="btn-inspect-invoice-view" onclick="viewModalInvoice()" | ||
| - class="px-4 py-2 bg-white hover:bg-slate-50 text-indigo-700 border border-indigo-200 rounded-xl text-xs font-bold shadow-sm transition"> | ||
| - View / Download Invoice | ||
| + class="px-3.5 py-2 bg-white hover:bg-slate-50 text-indigo-700 border border-indigo-200 rounded-xl text-xs font-bold shadow-sm transition flex items-center gap-1.5"> | ||
| + <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | ||
| + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" /> | ||
| + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" /> | ||
| + </svg> | ||
| + View Preview | ||
| + </button> | ||
| + <button type="button" id="btn-inspect-invoice-download" onclick="downloadModalInvoice()" | ||
| + class="px-3.5 py-2 bg-indigo-600 hover:bg-indigo-700 text-white rounded-xl text-xs font-bold shadow-sm transition flex items-center gap-1.5"> | ||
| + <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | ||
| + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" /> | ||
| + </svg> | ||
| + Download | ||
| </button> | ||
| </div> | ||
| </div> | ||