new deployer command
This commit is contained in:
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Metric</th>
|
<th>Metric</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>When</th>
|
<th>When</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Carrier</th>
|
<th>Carrier</th>
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
|
|
||||||
<div class="mt-5 overflow-x-auto">
|
<div class="mt-5 overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-slate-200 text-sm">
|
<table class="min-w-full divide-y divide-slate-200 text-sm">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="bg-slate-50 text-left text-xs font-semibold uppercase tracking-wide text-slate-500">
|
<thead class="bg-slate-50 text-left text-xs font-semibold uppercase tracking-wide text-slate-500">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="px-4 py-3">Name</th>
|
<th class="px-4 py-3">Name</th>
|
||||||
|
|||||||
@@ -109,6 +109,7 @@
|
|||||||
|
|
||||||
<div class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
<div class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
||||||
<table class="min-w-full text-sm">
|
<table class="min-w-full text-sm">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="border-b border-zinc-200 dark:border-zinc-800">
|
<tr class="border-b border-zinc-200 dark:border-zinc-800">
|
||||||
<th class="p-4 text-left">Name</th>
|
<th class="p-4 text-left">Name</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Setting</th>
|
<th>Setting</th>
|
||||||
|
|||||||
@@ -77,6 +77,7 @@
|
|||||||
class="overflow-hidden rounded-2xl border border-zinc-200 bg-white shadow-sm dark:border-zinc-700 dark:bg-zinc-900">
|
class="overflow-hidden rounded-2xl border border-zinc-200 bg-white shadow-sm dark:border-zinc-700 dark:bg-zinc-900">
|
||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 dark:divide-zinc-800">
|
<table class="min-w-full divide-y divide-zinc-200 dark:divide-zinc-800">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="bg-zinc-50 dark:bg-zinc-950">
|
<thead class="bg-zinc-50 dark:bg-zinc-950">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="px-4 py-3 text-left text-xs font-bold uppercase tracking-wide text-zinc-500">
|
<th class="px-4 py-3 text-left text-xs font-bold uppercase tracking-wide text-zinc-500">
|
||||||
|
|||||||
@@ -117,6 +117,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 dark:divide-zinc-800">
|
<table class="min-w-full divide-y divide-zinc-200 dark:divide-zinc-800">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="bg-zinc-50 dark:bg-zinc-950">
|
<thead class="bg-zinc-50 dark:bg-zinc-950">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="px-4 py-3 text-left text-xs font-bold uppercase tracking-wide text-zinc-500">Area
|
<th class="px-4 py-3 text-left text-xs font-bold uppercase tracking-wide text-zinc-500">Area
|
||||||
@@ -159,6 +160,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 dark:divide-zinc-800">
|
<table class="min-w-full divide-y divide-zinc-200 dark:divide-zinc-800">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="bg-zinc-50 dark:bg-zinc-950">
|
<thead class="bg-zinc-50 dark:bg-zinc-950">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="px-4 py-3 text-left text-xs font-bold uppercase tracking-wide text-zinc-500">Code
|
<th class="px-4 py-3 text-left text-xs font-bold uppercase tracking-wide text-zinc-500">Code
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Document</th>
|
<th>Document</th>
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="doc-card-body">
|
<div class="doc-card-body">
|
||||||
<table class="doc-table">
|
<table class="doc-table">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
|||||||
@@ -63,6 +63,7 @@
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
<table class="doc-table">
|
<table class="doc-table">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Document</th>
|
<th>Document</th>
|
||||||
|
|||||||
@@ -53,6 +53,7 @@
|
|||||||
<section class="overflow-hidden rounded-2xl border border-zinc-700 bg-zinc-950 shadow-sm">
|
<section class="overflow-hidden rounded-2xl border border-zinc-700 bg-zinc-950 shadow-sm">
|
||||||
<div class="overflow-auto">
|
<div class="overflow-auto">
|
||||||
<table class="min-w-full border-collapse font-mono text-xs leading-6">
|
<table class="min-w-full border-collapse font-mono text-xs leading-6">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach ($lines as $index => $line)
|
@foreach ($lines as $index => $line)
|
||||||
<tr class="group hover:bg-zinc-900/80">
|
<tr class="group hover:bg-zinc-900/80">
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead
|
<thead
|
||||||
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead
|
<thead
|
||||||
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead
|
<thead
|
||||||
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead
|
<thead
|
||||||
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -393,6 +393,7 @@
|
|||||||
<div
|
<div
|
||||||
class="overflow-hidden rounded-2xl border border-zinc-200 bg-white dark:border-zinc-700 dark:bg-zinc-900">
|
class="overflow-hidden rounded-2xl border border-zinc-200 bg-white dark:border-zinc-700 dark:bg-zinc-900">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead
|
<thead
|
||||||
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -543,6 +544,7 @@
|
|||||||
<div
|
<div
|
||||||
class="overflow-hidden rounded-2xl border border-zinc-200 bg-white dark:border-zinc-700 dark:bg-zinc-900">
|
class="overflow-hidden rounded-2xl border border-zinc-200 bg-white dark:border-zinc-700 dark:bg-zinc-900">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead
|
<thead
|
||||||
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -709,6 +711,7 @@
|
|||||||
<div
|
<div
|
||||||
class="overflow-hidden rounded-2xl border border-zinc-200 bg-white dark:border-zinc-700 dark:bg-zinc-900">
|
class="overflow-hidden rounded-2xl border border-zinc-200 bg-white dark:border-zinc-700 dark:bg-zinc-900">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="bg-zinc-50 text-left text-xs font-semibold uppercase text-zinc-500 dark:bg-zinc-800">
|
<thead class="bg-zinc-50 text-left text-xs font-semibold uppercase text-zinc-500 dark:bg-zinc-800">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="px-4 py-3">Policy</th>
|
<th class="px-4 py-3">Policy</th>
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
|
|
||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
<table class="min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead
|
<thead
|
||||||
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
class="bg-zinc-50 text-left text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Part Number</th>
|
<th>Part Number</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Transaction</th>
|
<th>Transaction</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<h2 class="text-lg font-semibold text-slate-950 dark:text-white">Recent companies</h2>
|
<h2 class="text-lg font-semibold text-slate-950 dark:text-white">Recent companies</h2>
|
||||||
<div class="mt-4 overflow-hidden rounded-xl border border-slate-200 dark:border-slate-800">
|
<div class="mt-4 overflow-hidden rounded-xl border border-slate-200 dark:border-slate-800">
|
||||||
<table class="min-w-full divide-y divide-slate-200 text-sm dark:divide-slate-800">
|
<table class="min-w-full divide-y divide-slate-200 text-sm dark:divide-slate-800">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead
|
<thead
|
||||||
class="bg-slate-50 text-left text-xs uppercase tracking-wide text-slate-500 dark:bg-slate-900 dark:text-slate-400">
|
class="bg-slate-50 text-left text-xs uppercase tracking-wide text-slate-500 dark:bg-slate-900 dark:text-slate-400">
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
<div
|
<div
|
||||||
class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
||||||
<table class="min-w-full text-sm">
|
<table class="min-w-full text-sm">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="border-b">
|
<tr class="border-b">
|
||||||
<th class="p-4 text-left">Company</th>
|
<th class="p-4 text-left">Company</th>
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
<div
|
<div
|
||||||
class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
||||||
<table class="min-w-full text-sm">
|
<table class="min-w-full text-sm">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="border-b">
|
<tr class="border-b">
|
||||||
<th class="p-4 text-left">Company</th>
|
<th class="p-4 text-left">Company</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Item</th>
|
<th>Item</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Report</th>
|
<th>Report</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Area</th>
|
<th>Area</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Endpoint</th>
|
<th>Endpoint</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Shipment</th>
|
<th>Shipment</th>
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover align-middle mb-0">
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Trailer</th>
|
<th>Trailer</th>
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
<div
|
<div
|
||||||
class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
||||||
<table class="min-w-full text-sm">
|
<table class="min-w-full text-sm">
|
||||||
|
<caption class="sr-only">Data table</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="border-b">
|
<tr class="border-b">
|
||||||
<th class="p-4 text-left">Warehouse</th>
|
<th class="p-4 text-left">Warehouse</th>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function cssVar(name, fallback) {
|
function cssVar(name, fallback) {
|
||||||
var value = getComputedStyle(document.documentElement).getPropertyValue(name);
|
let value = getComputedStyle(document.documentElement).getPropertyValue(name);
|
||||||
return value && value.trim() !== '' ? value.trim() : fallback;
|
return value && value.trim() !== '' ? value.trim() : fallback;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,8 +18,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function enrichDataset(dataset, index, type) {
|
function enrichDataset(dataset, index, type) {
|
||||||
var colours = palette();
|
let colours = palette();
|
||||||
var colour = colours[index % colours.length];
|
let colour = colours[index % colours.length];
|
||||||
|
|
||||||
if (type === 'doughnut' || type === 'pie') {
|
if (type === 'doughnut' || type === 'pie') {
|
||||||
dataset.backgroundColor = colours;
|
dataset.backgroundColor = colours;
|
||||||
@@ -39,10 +39,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function optionsFor(type) {
|
function optionsFor(type) {
|
||||||
var textColour = cssVar('--wms-chart-text', '#334155');
|
let textColour = cssVar('--wms-chart-text', '#334155');
|
||||||
var gridColour = cssVar('--wms-chart-grid', 'rgba(148, 163, 184, 0.25)');
|
let gridColour = cssVar('--wms-chart-grid', 'rgba(148, 163, 184, 0.25)');
|
||||||
|
|
||||||
var options = {
|
let options = {
|
||||||
responsive: true,
|
responsive: true,
|
||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
interaction: {
|
interaction: {
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function normaliseConfig(rawConfig, type) {
|
function normaliseConfig(rawConfig, type) {
|
||||||
var config = rawConfig || {};
|
let config = rawConfig || {};
|
||||||
config.labels = config.labels || [];
|
config.labels = config.labels || [];
|
||||||
config.datasets = (config.datasets || []).map(function (dataset, index) {
|
config.datasets = (config.datasets || []).map(function (dataset, index) {
|
||||||
return enrichDataset(dataset, index, type);
|
return enrichDataset(dataset, index, type);
|
||||||
@@ -115,9 +115,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
document.querySelectorAll('[data-wms-chart]').forEach(function (canvas) {
|
document.querySelectorAll('[data-wms-chart]').forEach(function (canvas) {
|
||||||
var type = canvas.getAttribute('data-chart-type') || 'line';
|
let type = canvas.getAttribute('data-chart-type') || 'line';
|
||||||
var raw = canvas.getAttribute('data-chart-config') || '{}';
|
let raw = canvas.getAttribute('data-chart-config') || '{}';
|
||||||
var config = {};
|
let config = {};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
config = JSON.parse(raw);
|
config = JSON.parse(raw);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function cssVar(name, fallback) {
|
function cssVar(name, fallback) {
|
||||||
var value = getComputedStyle(document.documentElement).getPropertyValue(name);
|
let value = getComputedStyle(document.documentElement).getPropertyValue(name);
|
||||||
return value && value.trim() !== '' ? value.trim() : fallback;
|
return value && value.trim() !== '' ? value.trim() : fallback;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,8 +18,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function enrichDataset(dataset, index, type) {
|
function enrichDataset(dataset, index, type) {
|
||||||
var colours = palette();
|
let colours = palette();
|
||||||
var colour = colours[index % colours.length];
|
let colour = colours[index % colours.length];
|
||||||
|
|
||||||
if (type === 'doughnut' || type === 'pie') {
|
if (type === 'doughnut' || type === 'pie') {
|
||||||
dataset.backgroundColor = colours;
|
dataset.backgroundColor = colours;
|
||||||
@@ -39,10 +39,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function optionsFor(type) {
|
function optionsFor(type) {
|
||||||
var textColour = cssVar('--wms-chart-text', '#334155');
|
let textColour = cssVar('--wms-chart-text', '#334155');
|
||||||
var gridColour = cssVar('--wms-chart-grid', 'rgba(148, 163, 184, 0.25)');
|
let gridColour = cssVar('--wms-chart-grid', 'rgba(148, 163, 184, 0.25)');
|
||||||
|
|
||||||
var options = {
|
let options = {
|
||||||
responsive: true,
|
responsive: true,
|
||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
interaction: {
|
interaction: {
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function normaliseConfig(rawConfig, type) {
|
function normaliseConfig(rawConfig, type) {
|
||||||
var config = rawConfig || {};
|
let config = rawConfig || {};
|
||||||
config.labels = config.labels || [];
|
config.labels = config.labels || [];
|
||||||
config.datasets = (config.datasets || []).map(function (dataset, index) {
|
config.datasets = (config.datasets || []).map(function (dataset, index) {
|
||||||
return enrichDataset(dataset, index, type);
|
return enrichDataset(dataset, index, type);
|
||||||
@@ -115,9 +115,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
document.querySelectorAll('[data-wms-chart]').forEach(function (canvas) {
|
document.querySelectorAll('[data-wms-chart]').forEach(function (canvas) {
|
||||||
var type = canvas.getAttribute('data-chart-type') || 'line';
|
let type = canvas.getAttribute('data-chart-type') || 'line';
|
||||||
var raw = canvas.getAttribute('data-chart-config') || '{}';
|
let raw = canvas.getAttribute('data-chart-config') || '{}';
|
||||||
var config = {};
|
let config = {};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
config = JSON.parse(raw);
|
config = JSON.parse(raw);
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
sonar.projectKey=Warehouse-Management-System
|
||||||
|
sonar.projectName=Warehouse Management System
|
||||||
|
sonar.sources=.
|
||||||
|
sonar.exclusions=vendor/**,node_modules/**,storage/**,bootstrap/cache/**,public/build/**,__MACOSX/**
|
||||||
|
|
||||||
|
# Project conventions/framework patterns that are not defects.
|
||||||
|
# S103: line length is handled by the project's formatter/review conventions.
|
||||||
|
# S1808: formatting/alignment is handled by Pint.
|
||||||
|
# S116: snake_case Livewire public properties intentionally mirror form/database fields.
|
||||||
|
# S4833: Deployer/Laravel module bootstraps intentionally load recipe/route files.
|
||||||
|
# Web title checks are not valid on Blade/Vue partials/components which are not standalone HTML documents.
|
||||||
|
sonar.issue.ignore.multicriteria=e1,e2,e3,e4,e5,e6
|
||||||
|
sonar.issue.ignore.multicriteria.e1.ruleKey=php:S103
|
||||||
|
sonar.issue.ignore.multicriteria.e1.resourceKey=**/*.php
|
||||||
|
sonar.issue.ignore.multicriteria.e2.ruleKey=php:S1808
|
||||||
|
sonar.issue.ignore.multicriteria.e2.resourceKey=**/*.php
|
||||||
|
sonar.issue.ignore.multicriteria.e3.ruleKey=php:S116
|
||||||
|
sonar.issue.ignore.multicriteria.e3.resourceKey=Modules/Helpdesk/**/*.php
|
||||||
|
sonar.issue.ignore.multicriteria.e4.ruleKey=php:S4833
|
||||||
|
sonar.issue.ignore.multicriteria.e4.resourceKey=deploy.php
|
||||||
|
sonar.issue.ignore.multicriteria.e5.ruleKey=php:S4833
|
||||||
|
sonar.issue.ignore.multicriteria.e5.resourceKey=Modules/*/Providers/*ServiceProvider.php
|
||||||
|
sonar.issue.ignore.multicriteria.e6.ruleKey=Web:PageWithoutTitleCheck
|
||||||
|
sonar.issue.ignore.multicriteria.e6.resourceKey=**/*.{blade.php,vue}
|
||||||
Reference in New Issue
Block a user