All checks were successful
Build and deploy / Validate source (push) Successful in 9s
Build and deploy / Integration suite on a real stack (push) Successful in 3m36s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m24s
The board Dropstar drew on 2026-10-23: Arte recebida, Arte conferida, Imprimindo, Correção, Revisão, Finalizado. - Fila de impressão leaves the board: Arte conferida is the queue. It takes an order only with every item's final approved, keeps the finals as approved, orders its cards for printing and has the room's "Baixar" and the automatic folder. Orders that were in the queue move there once, with a line in their history - Revisão checks the printed sheet, and the new Revisor profile is the only one that sends an order to Finalizado (the superadmin too, for support) - who moves what, from the server (MOVES): the designer the artwork, asking for corrections and bringing the new art back; the operator Arte conferida to Imprimindo to Revisão; admin and gestão everything else, Correção included; a step back belongs to whoever makes the move it undoes - Tiny: Arte conferida is "Preparando envio" and Finalizado "Pronto para envio", for delivery orders too - Prova OK still comes before Finalizado; the customer's portal shows the new steps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
130 lines
8.7 KiB
HTML
130 lines
8.7 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="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap">
|
|
<link rel="stylesheet" href="/kanban.css">
|
|
</head><body>
|
|
<form id="login" class="login" hidden>
|
|
<div class="brand"><i aria-hidden="true">D</i>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" hidden>
|
|
<header class="top">
|
|
<div class="brand"><i aria-hidden="true">D</i>Kanban DTF</div>
|
|
<nav class="tabs" aria-label="Seções">
|
|
<button type="button" data-tab="board" aria-selected="true">Produção <span class="count" id="count-board"></span></button>
|
|
<button type="button" data-tab="quotes" aria-selected="false">Cotações <span class="badge" id="badge-quotes"></span></button>
|
|
<button type="button" data-tab="payments" aria-selected="false">Pagamentos <span class="badge warn" id="badge-payments"></span></button>
|
|
<button type="button" data-tab="stats" aria-selected="false">Números</button>
|
|
<button type="button" data-tab="integrations" aria-selected="false">Integrações <span class="badge warn" id="badge-integrations" title="A pasta da fila precisa de atenção"></span></button>
|
|
<button type="button" data-tab="users" aria-selected="false" hidden>Usuários</button>
|
|
</nav>
|
|
<div class="searchbox">
|
|
<label class="search">
|
|
<svg width="16" height="16" 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="search" type="search" placeholder="Buscar em pedidos e cotações: cliente, CPF/CNPJ, nº" 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>
|
|
|
|
<div class="refresh">
|
|
<button class="btn ghost" id="refresh" type="button"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 12a9 9 0 1 1-2.64-6.36"></path><path d="M21 3v6h-6"></path></svg>Atualizar</button>
|
|
<select id="refresh-every" aria-label="Atualizar sozinho a cada">
|
|
<option value="0">Desligado</option><option value="10">10 s</option><option value="30">30 s</option>
|
|
<option value="60">1 min</option><option value="300">5 min</option><option value="900">15 min</option>
|
|
</select>
|
|
</div>
|
|
<div class="morewrap account">
|
|
<button class="btn ghost" id="account" type="button" aria-haspopup="menu" aria-label="Minha conta"><span id="initials">·</span></button>
|
|
<div class="menu" id="account-menu" role="menu" hidden>
|
|
<div class="menu-head"><b id="who"></b><span id="who-role"></span></div>
|
|
<button class="menuitem" id="my-password" type="button">Minha senha</button>
|
|
<button class="menuitem" id="logout" type="button">Sair</button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<p id="status" role="status"></p>
|
|
<main>
|
|
<section id="tab-board">
|
|
<div class="bar"><h1>Produção</h1><span class="muted" id="board-summary"></span>
|
|
<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"><h1>Cotações</h1><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>
|
|
<h1>Pagamentos</h1>
|
|
<section id="payments"></section>
|
|
</section>
|
|
<section id="tab-stats" class="page" hidden>
|
|
<div class="pagehead"><h1>Números</h1><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>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.</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"><h1>Usuários</h1><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; manda o pedido para Correção e traz de volta. Designer: vê todos os pedidos, aprova e recusa o arquivo final, pede correção.
|
|
Operador: ligado a uma máquina, vê só os pedidos dela; imprime e passa para a Revisão. Revisor: confere a folha impressa e libera; é o único que manda para Finalizado.
|
|
Vendedor: só consulta.</p>
|
|
<section class="statbox"><table class="log"><thead><tr><th scope="col">Nome</th><th scope="col">Perfil</th><th scope="col">Máquinas</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>
|
|
<h1>Integrações</h1>
|
|
<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 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>
|