new deployer command
This commit is contained in:
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Metric</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>When</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Carrier</th>
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
|
||||
<div class="mt-5 overflow-x-auto">
|
||||
<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">
|
||||
<tr>
|
||||
<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">
|
||||
<table class="min-w-full text-sm">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead>
|
||||
<tr class="border-b border-zinc-200 dark:border-zinc-800">
|
||||
<th class="p-4 text-left">Name</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<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">
|
||||
<div class="overflow-x-auto">
|
||||
<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">
|
||||
<tr>
|
||||
<th class="px-4 py-3 text-left text-xs font-bold uppercase tracking-wide text-zinc-500">
|
||||
|
||||
@@ -117,6 +117,7 @@
|
||||
</div>
|
||||
<div class="overflow-x-auto">
|
||||
<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">
|
||||
<tr>
|
||||
<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 class="overflow-x-auto">
|
||||
<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">
|
||||
<tr>
|
||||
<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="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Document</th>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
</div>
|
||||
<div class="doc-card-body">
|
||||
<table class="doc-table">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
</form>
|
||||
|
||||
<table class="doc-table">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Document</th>
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
<section class="overflow-hidden rounded-2xl border border-zinc-700 bg-zinc-950 shadow-sm">
|
||||
<div class="overflow-auto">
|
||||
<table class="min-w-full border-collapse font-mono text-xs leading-6">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<tbody>
|
||||
@foreach ($lines as $index => $line)
|
||||
<tr class="group hover:bg-zinc-900/80">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<div class="overflow-x-auto">
|
||||
<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 tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||
<tr>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<div class="overflow-x-auto">
|
||||
<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 tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||
<tr>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<div class="overflow-x-auto">
|
||||
<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 tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||
<tr>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<div class="overflow-x-auto">
|
||||
<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 tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||
<tr>
|
||||
|
||||
@@ -393,6 +393,7 @@
|
||||
<div
|
||||
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">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<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">
|
||||
<tr>
|
||||
@@ -543,6 +544,7 @@
|
||||
<div
|
||||
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">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<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">
|
||||
<tr>
|
||||
@@ -709,6 +711,7 @@
|
||||
<div
|
||||
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">
|
||||
<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">
|
||||
<tr>
|
||||
<th class="px-4 py-3">Policy</th>
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
|
||||
<div class="overflow-x-auto">
|
||||
<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 tracking-wide text-zinc-500 dark:bg-zinc-800 dark:text-zinc-300">
|
||||
<tr>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Part Number</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Transaction</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<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">
|
||||
<table class="min-w-full divide-y divide-slate-200 text-sm dark:divide-slate-800">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead
|
||||
class="bg-slate-50 text-left text-xs uppercase tracking-wide text-slate-500 dark:bg-slate-900 dark:text-slate-400">
|
||||
<tr>
|
||||
|
||||
@@ -32,6 +32,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">
|
||||
<table class="min-w-full text-sm">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead>
|
||||
<tr class="border-b">
|
||||
<th class="p-4 text-left">Company</th>
|
||||
|
||||
@@ -32,6 +32,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">
|
||||
<table class="min-w-full text-sm">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead>
|
||||
<tr class="border-b">
|
||||
<th class="p-4 text-left">Company</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Item</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Report</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Area</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Endpoint</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Shipment</th>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Trailer</th>
|
||||
|
||||
@@ -32,6 +32,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">
|
||||
<table class="min-w-full text-sm">
|
||||
<caption class="sr-only">Data table</caption>
|
||||
<thead>
|
||||
<tr class="border-b">
|
||||
<th class="p-4 text-left">Warehouse</th>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
'use strict';
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
}
|
||||
|
||||
function enrichDataset(dataset, index, type) {
|
||||
var colours = palette();
|
||||
var colour = colours[index % colours.length];
|
||||
let colours = palette();
|
||||
let colour = colours[index % colours.length];
|
||||
|
||||
if (type === 'doughnut' || type === 'pie') {
|
||||
dataset.backgroundColor = colours;
|
||||
@@ -39,10 +39,10 @@
|
||||
}
|
||||
|
||||
function optionsFor(type) {
|
||||
var textColour = cssVar('--wms-chart-text', '#334155');
|
||||
var gridColour = cssVar('--wms-chart-grid', 'rgba(148, 163, 184, 0.25)');
|
||||
let textColour = cssVar('--wms-chart-text', '#334155');
|
||||
let gridColour = cssVar('--wms-chart-grid', 'rgba(148, 163, 184, 0.25)');
|
||||
|
||||
var options = {
|
||||
let options = {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
interaction: {
|
||||
@@ -100,7 +100,7 @@
|
||||
}
|
||||
|
||||
function normaliseConfig(rawConfig, type) {
|
||||
var config = rawConfig || {};
|
||||
let config = rawConfig || {};
|
||||
config.labels = config.labels || [];
|
||||
config.datasets = (config.datasets || []).map(function (dataset, index) {
|
||||
return enrichDataset(dataset, index, type);
|
||||
@@ -115,9 +115,9 @@
|
||||
}
|
||||
|
||||
document.querySelectorAll('[data-wms-chart]').forEach(function (canvas) {
|
||||
var type = canvas.getAttribute('data-chart-type') || 'line';
|
||||
var raw = canvas.getAttribute('data-chart-config') || '{}';
|
||||
var config = {};
|
||||
let type = canvas.getAttribute('data-chart-type') || 'line';
|
||||
let raw = canvas.getAttribute('data-chart-config') || '{}';
|
||||
let config = {};
|
||||
|
||||
try {
|
||||
config = JSON.parse(raw);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
'use strict';
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
}
|
||||
|
||||
function enrichDataset(dataset, index, type) {
|
||||
var colours = palette();
|
||||
var colour = colours[index % colours.length];
|
||||
let colours = palette();
|
||||
let colour = colours[index % colours.length];
|
||||
|
||||
if (type === 'doughnut' || type === 'pie') {
|
||||
dataset.backgroundColor = colours;
|
||||
@@ -39,10 +39,10 @@
|
||||
}
|
||||
|
||||
function optionsFor(type) {
|
||||
var textColour = cssVar('--wms-chart-text', '#334155');
|
||||
var gridColour = cssVar('--wms-chart-grid', 'rgba(148, 163, 184, 0.25)');
|
||||
let textColour = cssVar('--wms-chart-text', '#334155');
|
||||
let gridColour = cssVar('--wms-chart-grid', 'rgba(148, 163, 184, 0.25)');
|
||||
|
||||
var options = {
|
||||
let options = {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
interaction: {
|
||||
@@ -100,7 +100,7 @@
|
||||
}
|
||||
|
||||
function normaliseConfig(rawConfig, type) {
|
||||
var config = rawConfig || {};
|
||||
let config = rawConfig || {};
|
||||
config.labels = config.labels || [];
|
||||
config.datasets = (config.datasets || []).map(function (dataset, index) {
|
||||
return enrichDataset(dataset, index, type);
|
||||
@@ -115,9 +115,9 @@
|
||||
}
|
||||
|
||||
document.querySelectorAll('[data-wms-chart]').forEach(function (canvas) {
|
||||
var type = canvas.getAttribute('data-chart-type') || 'line';
|
||||
var raw = canvas.getAttribute('data-chart-config') || '{}';
|
||||
var config = {};
|
||||
let type = canvas.getAttribute('data-chart-type') || 'line';
|
||||
let raw = canvas.getAttribute('data-chart-config') || '{}';
|
||||
let config = {};
|
||||
|
||||
try {
|
||||
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