All checks were successful
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 54s
Build and deploy / Validate source (push) Successful in 4s
Build and deploy / Integration suite on a real stack (push) Successful in 3m54s
The sections move from tabs in the top bar to a rail on the left, with an icon each, the counters for Cotações, Pagamentos and Integrações, the light/dark switch and the account button at the bottom. Its menu holds "Trocar de máquina", the theme, "Minha senha" and "Sair". The machine of the session shows in the rail and as a chip in the top bar, both opening the machine question. The top bar carries the page's name (Produção also says what is open: "13 pedidos, 17,40 m em produção"), the search, Tiny only when it needs attention, and "Atualizado às 09:18": a click there sets how often it updates by itself, over the same remembered setting, or updates now. The pages' own headings are gone; on narrow screens the rail lies along the top until their own layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
156 lines
14 KiB
HTML
156 lines
14 KiB
HTML
<!doctype html>
|
|
<html lang="pt-BR"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>Kanban DTF</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="icon" href="/kanban-icon.svg" type="image/svg+xml">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Instrument+Sans:wdth,wght@75..100,400..700&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
|
<script src="/theme.js"></script>
|
|
<link rel="stylesheet" href="/kanban.css">
|
|
</head><body>
|
|
<form id="login" class="login" hidden>
|
|
<div class="brand"><svg class="mark" viewBox="0 0 40 40" aria-hidden="true"><path d="M8 5h24a2 2 0 0 1 2 2v19l-9 9H8a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z" fill="currentColor"></path><path class="cut" d="M16 9v22 M24 9v14" fill="none" stroke-width="2"></path><path d="M34 26l-9 9v-7a2 2 0 0 1 2-2z" fill="var(--acc)"></path></svg>Kanban DTF</div>
|
|
<label>E-mail <input id="email" type="email" autocomplete="username" required></label>
|
|
<label>Senha <input id="password" type="password" autocomplete="current-password" required></label>
|
|
<button class="btn primary">Entrar</button>
|
|
<p id="login-status" class="hint" role="alert"></p>
|
|
</form>
|
|
|
|
<div id="app" class="app" hidden>
|
|
<nav class="rail" aria-label="Seções">
|
|
<svg class="mark" viewBox="0 0 40 40" role="img" aria-label="Kanban DTF"><path d="M8 5h24a2 2 0 0 1 2 2v19l-9 9H8a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z" fill="currentColor"></path><path class="cut" d="M16 9v22 M24 9v14" fill="none" stroke-width="2"></path><path d="M34 26l-9 9v-7a2 2 0 0 1 2-2z" fill="var(--acc)"></path></svg>
|
|
<button class="nav" type="button" data-tab="board" aria-selected="true"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M3 3.75h4v12.5H3z M8 3.75h4v8.5H8z M13 3.75h4v10.5h-4z"></path></svg><span>Produção</span></button>
|
|
<button class="nav" type="button" data-tab="quotes" aria-selected="false"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M5 2.75h7l3 3v11.5H5z M12 2.75v3h3 M7.5 9.5h5 M7.5 12.5h5 M7.5 15h3"></path></svg><span>Cotações</span><span class="pip" id="badge-quotes"></span></button>
|
|
<button class="nav" type="button" data-tab="payments" aria-selected="false"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M2.75 5h14.5v10H2.75z M2.75 8.25h14.5 M5.5 12.25h3"></path></svg><span>Pagamentos</span><span class="pip" id="badge-payments"></span></button>
|
|
<button class="nav" type="button" data-tab="stats" aria-selected="false"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M3 16.75h14 M4.75 14V9.5 M8.5 14V4.5 M12.25 14V7.5 M16 14v-3.5"></path></svg><span>Números</span></button>
|
|
<button class="nav" type="button" data-tab="integrations" aria-selected="false"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M8.5 6.5H6a3.25 3.25 0 0 0 0 6.5h2.5 M11.5 6.5H14a3.25 3.25 0 0 1 0 6.5h-2.5 M7 9.75h6"></path></svg><span>Integrações</span><span class="pip" id="badge-integrations" title="A pasta da fila precisa de atenção"></span></button>
|
|
<button class="nav" type="button" data-tab="users" aria-selected="false" hidden><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M6.75 6.25a3.25 3.25 0 1 0 6.5 0a3.25 3.25 0 1 0 -6.5 0 M3.75 17c.6-3.2 3.1-5 6.25-5s5.65 1.8 6.25 5"></path></svg><span>Usuários</span></button>
|
|
<span class="grow"></span>
|
|
<button class="railmachine" id="rail-machine" type="button" hidden><small>Máquina</small><b></b></button>
|
|
<button class="rbtn" id="theme-rail" type="button"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path></path></svg></button>
|
|
<div class="account">
|
|
<button class="avatar" id="account" type="button" aria-haspopup="menu" aria-label="Minha conta"><span id="initials">·</span></button>
|
|
<div class="menu acct" id="account-menu" role="menu" hidden>
|
|
<div class="menu-head"><b id="who"></b><span id="who-role"></span></div>
|
|
<button class="menuitem" id="account-machine" type="button" role="menuitem" hidden><svg class="i m" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.75 7.5V3h8.5v4.5 M5.75 14H3V7.5h14V14h-2.75 M5.75 11.25h8.5v5.75h-8.5z"></path></svg>Trocar de máquina<span class="lbl"></span></button>
|
|
<button class="menuitem" id="theme-toggle" type="button" role="menuitem"><svg class="i m" viewBox="0 0 20 20" aria-hidden="true"><path></path></svg><span>Modo claro</span></button>
|
|
<button class="menuitem" id="my-password" type="button" role="menuitem"><svg class="i m" viewBox="0 0 20 20" aria-hidden="true"><path d="M3.25 13.5a3.25 3.25 0 1 0 6.5 0a3.25 3.25 0 1 0 -6.5 0 M8.8 11.2L16 4 M13.5 6.5l2 2"></path></svg>Minha senha</button>
|
|
<div class="menusep"></div>
|
|
<button class="menuitem" id="logout" type="button" role="menuitem"><svg class="i m" viewBox="0 0 20 20" aria-hidden="true"><path d="M8 3.25H3.75v13.5H8 M12 6.5l3.5 3.5-3.5 3.5 M15.5 10H7.5"></path></svg>Sair</button>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div class="shell">
|
|
<header class="top">
|
|
<div class="ptitle"><h1 id="page-title">Produção</h1><span id="board-summary"></span></div>
|
|
<div class="searchbox">
|
|
<label class="search">
|
|
<svg class="i m" viewBox="0 0 20 20" aria-hidden="true"><path d="M3.0 8.75a5.75 5.75 0 1 0 11.5 0a5.75 5.75 0 1 0 -11.5 0 M13 13l4.25 4.25"></path></svg>
|
|
<input id="search" type="search" placeholder="Buscar cliente, CPF/CNPJ ou pedido" aria-label="Buscar em pedidos e cotações" autocomplete="off" role="combobox" aria-expanded="false" aria-controls="search-results">
|
|
<kbd>/</kbd>
|
|
</label>
|
|
<div id="search-results" class="results" role="listbox" aria-label="Resultados da busca" hidden></div>
|
|
</div>
|
|
<span id="tiny" class="tinydot"></span>
|
|
<button class="mymachine" id="my-machine" type="button" hidden></button>
|
|
<div class="syncwrap">
|
|
<button class="sync" id="sync" type="button" aria-haspopup="menu" aria-expanded="false"><span class="livedot" aria-hidden="true"></span><span id="sync-at">Atualizar</span></button>
|
|
<div class="menu syncmenu" id="sync-menu" role="menu" hidden>
|
|
<div class="menu-label">Atualizar sozinho</div>
|
|
<div id="sync-every"></div>
|
|
<div class="menusep"></div>
|
|
<button class="menuitem" id="refresh" type="button" role="menuitem"><svg class="i m" viewBox="0 0 20 20" aria-hidden="true"><path d="M16.25 10a6.25 6.25 0 1 1-1.83-4.42 M16.5 3.25V6.5h-3.25"></path></svg>Atualizar agora</button>
|
|
</div>
|
|
<select id="refresh-every" aria-label="Atualizar sozinho a cada" hidden><option value="0">Desligado</option><option value="10">A cada 10 s</option><option value="30">A cada 30 s</option><option value="60">A cada 1 min</option><option value="300">A cada 5 min</option><option value="900">A cada 15 min</option></select>
|
|
</div>
|
|
</header>
|
|
<p id="status" role="status"></p>
|
|
<main>
|
|
<section id="tab-board">
|
|
<div class="bar">
|
|
<div class="filterbar">
|
|
<div class="filtertags" id="filter-tags"></div>
|
|
<div class="filterwrap">
|
|
<button class="btn" id="filter-btn" type="button" aria-expanded="false" aria-controls="filter-pop">Filtros <span class="badge" id="filter-count" hidden></span></button>
|
|
<div class="filterpop" id="filter-pop" role="dialog" aria-label="Filtros" hidden></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="kan" id="kan"></div>
|
|
</section>
|
|
<section id="tab-quotes" hidden>
|
|
<div class="split">
|
|
<div class="list">
|
|
<div class="lhead"><span>Pedidos ainda não pagos</span></div>
|
|
<div class="chips" id="quote-filters"></div>
|
|
<label class="qsearch">
|
|
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><path d="M20 20l-3.5-3.5"></path></svg>
|
|
<input id="quote-q" type="search" placeholder="Filtrar por e-mail, CPF/CNPJ ou WhatsApp" aria-label="Filtrar cotações por cliente" autocomplete="off">
|
|
</label>
|
|
<div class="chips small" id="quote-chips"></div>
|
|
<div id="quote-list"></div>
|
|
<div id="quote-pager"></div>
|
|
</div>
|
|
<div class="pane" id="reviews"></div>
|
|
</div>
|
|
</section>
|
|
<section id="tab-payments" class="page" hidden>
|
|
<section id="payments"></section>
|
|
</section>
|
|
<section id="tab-stats" class="page" hidden>
|
|
<div class="pagehead"><div class="statchips" id="stats-period"></div></div>
|
|
<p class="faint stats-note" id="stats-note">Pedidos pagos no período. Pedidos de teste e cancelados ficam de fora.</p>
|
|
<div class="kpis" id="stats-kpis"></div>
|
|
<section class="statbox"><h2>Metros por dia</h2><div class="chart" id="stats-chart"></div></section>
|
|
<section class="statbox"><h2>Por máquina</h2>
|
|
<p class="faint stats-hint">Pedidos que chegaram a Finalizado no período, na máquina em que estavam. Impresso: o filme da folha, não o metro cobrado.
|
|
Metros por hora: sobre o tempo em Imprimindo; pedidos imprimindo juntos na mesma máquina contam esse tempo uma vez.</p>
|
|
<table class="log"><thead><tr><th scope="col">Máquina</th><th scope="col">Impresso</th><th scope="col">Metros por hora</th><th scope="col">Último finalizado</th><th scope="col">Agora</th></tr></thead><tbody id="stats-machines"></tbody></table>
|
|
</section>
|
|
<section class="statbox"><h2>Retrabalho</h2>
|
|
<p class="faint stats-hint">Metros refeitos sobre o filme impresso no período (Por máquina), só os retrabalhos autorizados, pela data em que foram abertos. Meta de 0,4% por causa, 1,6% no total da casa; arte ruim aprovada pelo cliente fica fora da meta. <span id="stats-rework-film"></span></p>
|
|
<table class="log"><thead><tr><th scope="col">Causa</th><th scope="col">Refeito</th><th scope="col">Do impresso</th><th scope="col">Meta</th></tr></thead><tbody id="stats-rework"></tbody></table>
|
|
<h3 class="stats-sub">Da casa, por quem imprimiu</h3>
|
|
<table class="log"><thead><tr><th scope="col">Quem imprimiu</th><th scope="col">Refeito</th></tr></thead><tbody id="stats-rework-printers"></tbody></table>
|
|
<h3 class="stats-sub">Aguardando autorização</h3>
|
|
<ul class="plainlist" id="stats-rework-pending"></ul></section>
|
|
<section class="statbox"><h2>Por origem</h2>
|
|
<p class="faint stats-hint">Por onde o pedido entrou: o Site, os lotes do Dropflow ou a equipe, em Atendimento. O tempo vai do pagamento ao Finalizado, sem o tempo em Aguardando contato.</p>
|
|
<table class="log"><thead><tr><th scope="col">Origem</th><th scope="col">Pedidos</th><th scope="col">Metros</th><th scope="col">Recebido</th><th scope="col">Do pagamento ao Finalizado</th></tr></thead><tbody id="stats-origins"></tbody></table></section>
|
|
<section class="statbox"><h2>Artes tratadas</h2>
|
|
<p class="faint stats-hint">Pedidos do período em que o arquivo final aprovado não é a arte do cliente: alguém da equipe preparou. Por quem aprovou o arquivo.</p>
|
|
<table class="log"><thead><tr><th scope="col">Quem aprovou</th><th scope="col">Pedidos</th></tr></thead><tbody id="stats-treated"></tbody></table></section>
|
|
<section class="statbox"><h2>Tempo em cada etapa</h2>
|
|
<p class="faint stats-hint">Tempo mediano por pedido: um pedido que voltou para a etapa soma o tempo de cada passagem. O tempo em Aguardando contato não conta, aqui nem em “Do pagamento ao Finalizado”.</p>
|
|
<table class="log"><thead><tr><th scope="col">Etapa</th><th scope="col">Tempo mediano</th><th scope="col">Pedidos que passaram</th><th scope="col">Agora</th></tr></thead><tbody id="stats-stages"></tbody></table>
|
|
</section>
|
|
</section>
|
|
<section id="tab-users" class="page" hidden>
|
|
<div class="pagehead"><button class="btn primary" id="new-user" type="button">Novo usuário</button></div>
|
|
<p class="faint stats-note">Quem entra no Kanban e o que cada perfil pode fazer. Administrador: tudo, inclusive esta página.
|
|
Gestão: tudo, menos usuários; no quadro só puxa para trás, com motivo (Correção ou voltar uma etapa). Designer: vê todos os pedidos, aprova e recusa o arquivo final, pede correção.
|
|
Operador: escolhe a máquina ao entrar; vê o quadro todo, puxa da fila para a máquina dele, imprime e passa para a Revisão, e só move os cards da máquina dele. Revisor: confere a folha impressa e libera para Finalizado; o Administrador também pode liberar.
|
|
Vendedor: só consulta. Financeiro: vê o quadro, Pagamentos, Números e Cotações e cancela pedido, com o motivo; não move card nem mexe em arquivo.
|
|
Retrabalho: a Gestão abre, com a causa; o Administrador autoriza.</p>
|
|
<section class="statbox"><table class="log"><thead><tr><th scope="col">Nome</th><th scope="col">Perfil</th><th scope="col">Máquina agora</th><th scope="col">Último acesso</th><th scope="col"></th></tr></thead><tbody id="users-list"></tbody></table></section>
|
|
<div class="pagehead"><h2>Máquinas</h2><button class="btn" id="new-machine" type="button">Nova máquina</button></div>
|
|
<p class="faint stats-note">Cada pedido vai para a máquina do produto com menos metros em aberto, dentro do limite. No pedido dá para trocar.</p>
|
|
<div class="mtiles" id="machines-list"></div>
|
|
</section>
|
|
<section id="tab-integrations" class="page" hidden>
|
|
<section><div class="integ-list" id="integrations"></div></section>
|
|
<section id="event-log"><h2>Envios ao Tiny</h2>
|
|
<div class="filters" id="event-filters"></div>
|
|
<table class="log"><thead><tr><th scope="col">Quando</th><th scope="col">Pedido</th><th scope="col">Evento</th><th scope="col">Resultado</th></tr></thead><tbody id="events"></tbody></table>
|
|
<div id="events-more"></div>
|
|
</section>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="drawer" id="drawer" hidden>
|
|
<div class="scrim" id="scrim"></div>
|
|
<aside class="panel" id="panel" aria-label="Pedido"></aside>
|
|
</div>
|
|
<script src="/upload.js"></script><script src="/kanban.js"></script></body></html>
|