wip
This commit is contained in:
parent
9499323b9d
commit
265505d25d
@ -2,5 +2,5 @@ $(document).ready(function () {
|
|||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
console.log("refresh");
|
console.log("refresh");
|
||||||
location.reload();
|
location.reload();
|
||||||
}, 2000);
|
}, 10 * 1000);
|
||||||
});
|
});
|
||||||
|
@ -17,13 +17,6 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- <div class="notification is-link banner">
|
|
||||||
<p>FALCON
|
|
||||||
<figure class="image is-64x64">
|
|
||||||
<img src="/assets/img/falcon-transparent-white.png" alt="white falcon" />
|
|
||||||
</figure>
|
|
||||||
</p>
|
|
||||||
</div> -->
|
|
||||||
<nav class="navbar is-link">
|
<nav class="navbar is-link">
|
||||||
<div class="navbar-brand">
|
<div class="navbar-brand">
|
||||||
<a class="navbar-item" href="#"></a>
|
<a class="navbar-item" href="#"></a>
|
||||||
|
@ -1,246 +1,61 @@
|
|||||||
{{define "title"}}Falcon UI{{end}}
|
{{define "title"}}Falcon Printer{{end}}
|
||||||
|
|
||||||
{{define "body"}}
|
{{define "body"}}
|
||||||
|
|
||||||
<div class="container is-fluid">
|
<div class="container is-fluid">
|
||||||
<hr>
|
<hr>
|
||||||
<h3 class="title is-3">Panel principal</h3>
|
<h3 class="title is-3"><i class="fas fa-barcode" aria-hidden="true"></i> Etiquetadora</h3>
|
||||||
<div class="columns is-multiline">
|
<div class="columns is-multiline">
|
||||||
<div class="column is-12">
|
<div class="column is-3">
|
||||||
|
<form action="">
|
||||||
<nav class="panel is-link">
|
<nav class="panel is-link">
|
||||||
<p class="panel-heading"><i class="fas fa-chart-line" aria-hidden="true"></i> Estadísticas turno</p>
|
<p class="panel-heading"><i class="fas fa-box" aria-hidden="true"></i> F5 CO 1</p>
|
||||||
<div class="panel-block">
|
<div class="panel-block">
|
||||||
<table class="table">
|
<label class="label">Orden Fabricación
|
||||||
<thead>
|
<div class="select is-fullwidth">
|
||||||
<tr>
|
<select id="po" name="po">
|
||||||
<th>Paq.Etiquetados</th>
|
<option>Select dropdown</option>
|
||||||
<th>Eti.Leídas</th>
|
<option>With options</option>
|
||||||
<th>Paq.Confirmados</th>
|
</select>
|
||||||
</tr>
|
</div>
|
||||||
</thead>
|
</label>
|
||||||
<tbody>
|
</div>
|
||||||
<tr>
|
<div class="panel-block">
|
||||||
<td><span class="tag is-primary is-medium">000</span></td>
|
<label class="label">Orden Cliente
|
||||||
<td><span class="tag is-primary is-medium">000</span></td>
|
<div class="select is-fullwidth">
|
||||||
<td><span class="tag is-primary is-medium">000</span></td>
|
<select id="co" name="co">
|
||||||
</tr>
|
<option>Select dropdown</option>
|
||||||
</tbody>
|
<option>With options</option>
|
||||||
</table>
|
</select>
|
||||||
|
</div>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-2">
|
<div class="column is-3">
|
||||||
|
<form action="">
|
||||||
<nav class="panel is-link">
|
<nav class="panel is-link">
|
||||||
<p class="panel-heading"><i class="fas fa-barcode"></i> Etiquetas leídas ATA12</p>
|
<p class="panel-heading"><i class="fas fa-box"></i> F8 CO 2</p>
|
||||||
<div class="panel-block">
|
<div class="panel-block">
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th><abbr title="Unidad de almacén">UA</abbr></th>
|
|
||||||
<th>Origen</th>
|
|
||||||
<th>Fecha</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tfoot>
|
|
||||||
<tr>
|
|
||||||
<th><abbr title="Unidad de almacén">UA</abbr></th>
|
|
||||||
<th>Origen</th>
|
|
||||||
<th>Fecha</th>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
<tbody>
|
|
||||||
{{if .BarcodesATA12}}
|
|
||||||
{{ range .BarcodesATA12}}
|
|
||||||
<tr>
|
|
||||||
<td>{{ .Barcode}}</td>
|
|
||||||
<td>{{ .LoadingBed}}</td>
|
|
||||||
<td>{{ .FormatCreatedAt}}</td>
|
|
||||||
</tr>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-10">
|
<div class="column is-3">
|
||||||
|
<form action="">
|
||||||
<nav class="panel is-link">
|
<nav class="panel is-link">
|
||||||
<p class="panel-heading"><i class="fas fa-box"></i> Paquetes ATA12</p>
|
<p class="panel-heading"><i class="fas fa-box"></i> F12 CO 3</p>
|
||||||
<div class="panel-block">
|
<div class="panel-block">
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th><abbr title="Unidad de almacén">UA</abbr></th>
|
|
||||||
<th>PO</th>
|
|
||||||
<th>CO</th>
|
|
||||||
<th>Calidad</th>
|
|
||||||
<th>Código SAP</th>
|
|
||||||
<th>Producto</th>
|
|
||||||
<th>Peso</th>
|
|
||||||
<th>Desvío</th>
|
|
||||||
<th><abbr title="Paquete confirmado">Conf.</abbr></th>
|
|
||||||
<th><abbr title="Nivel 3">N3</abbr></th>
|
|
||||||
<th>SAP</th>
|
|
||||||
<th>Fecha</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tfoot>
|
|
||||||
<tr>
|
|
||||||
<th><abbr title="Unidad de almacén">UA</abbr></th>
|
|
||||||
<th>PO</th>
|
|
||||||
<th>CO</th>
|
|
||||||
<th>Calidad</th>
|
|
||||||
<th>Código SAP</th>
|
|
||||||
<th>Producto</th>
|
|
||||||
<th>Peso</th>
|
|
||||||
<th>Desvío</th>
|
|
||||||
<th><abbr title="Paquete confirmado">Conf.</abbr></th>
|
|
||||||
<th><abbr title="Nivel 3">N3</abbr></th>
|
|
||||||
<th>SAP</th>
|
|
||||||
<th>Fecha</th>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
<tbody>
|
|
||||||
{{ if .BundlesATA12 }}
|
|
||||||
{{ range .BundlesATA12 }}
|
|
||||||
<tr>
|
|
||||||
<td><a href="">{{ .Nromatricula }}</a></td>
|
|
||||||
<td><a href="">{{ .Po }}</a></td>
|
|
||||||
<td><a href="">{{ .Co }}</a></td>
|
|
||||||
<td>{{ .Calidad }}</td>
|
|
||||||
<td>{{ .Matnr }}</td>
|
|
||||||
<td>{{ .SeccionTipo }}</td>
|
|
||||||
<td>{{ .PaquetePeso }}</td>
|
|
||||||
<td>{{ .FormatDesvio }}</td>
|
|
||||||
{{if .Confirmed }}
|
|
||||||
<td class="has-background-primary has-text-white">Sí</td>
|
|
||||||
{{ else }}
|
|
||||||
<td class="has-background-danger has-text-white">No</td>
|
|
||||||
{{ end }}
|
|
||||||
{{if .L3Sended }}
|
|
||||||
<td class="has-background-primary has-text-white">Sí</td>
|
|
||||||
{{ else }}
|
|
||||||
<td class="has-background-danger has-text-white">No</td>
|
|
||||||
{{ end }}
|
|
||||||
{{if .SAP }}
|
|
||||||
<td class="has-background-primary has-text-white">Sí</td>
|
|
||||||
{{ else }}
|
|
||||||
<td class="has-background-danger has-text-white">No</td>
|
|
||||||
{{ end }}
|
|
||||||
<td>{{ .FormatCreatedAt }}</td>
|
|
||||||
</tr>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
<div class="column is-2">
|
|
||||||
<nav class="panel is-link">
|
|
||||||
<p class="panel-heading"><i class="fas fa-barcode"></i> Etiquetas leídas ATA345</p>
|
|
||||||
<div class="panel-block">
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th><abbr title="Unidad de almacén">UA</abbr></th>
|
|
||||||
<th>Origen</th>
|
|
||||||
<th>Fecha</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tfoot>
|
|
||||||
<tr>
|
|
||||||
<th><abbr title="Unidad de almacén">UA</abbr></th>
|
|
||||||
<th>Origen</th>
|
|
||||||
<th>Fecha</th>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
<tbody>
|
|
||||||
{{if .BarcodesATA345}}
|
|
||||||
{{ range .BarcodesATA345}}
|
|
||||||
<tr>
|
|
||||||
<td>{{ .Barcode}}</td>
|
|
||||||
<td>{{ .LoadingBed}}</td>
|
|
||||||
<td>{{ .FormatCreatedAt}}</td>
|
|
||||||
</tr>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="column is-10">
|
</div>
|
||||||
<nav class="panel is-link">
|
</nav>
|
||||||
<p class="panel-heading"><i class="fas fa-box"></i> Paquetes ATA345</p>
|
</form>
|
||||||
|
</div>
|
||||||
|
<div class="column is-3">
|
||||||
|
<nav class="panel is-success">
|
||||||
|
<p class="panel-heading has-text-white"><i class="fas fa-robot"></i> ROBOT</p>
|
||||||
<div class="panel-block">
|
<div class="panel-block">
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th><abbr title="Unidad de almacén">UA</abbr></th>
|
|
||||||
<th>PO</th>
|
|
||||||
<th>CO</th>
|
|
||||||
<th>Calidad</th>
|
|
||||||
<th>Código SAP</th>
|
|
||||||
<th>Producto</th>
|
|
||||||
<th>Peso</th>
|
|
||||||
<th>Desvío</th>
|
|
||||||
<th><abbr title="Paquete confirmado">Conf.</abbr></th>
|
|
||||||
<th><abbr title="Nivel 3">N3</abbr></th>
|
|
||||||
<th>SAP</th>
|
|
||||||
<th>Fecha</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tfoot>
|
|
||||||
<tr>
|
|
||||||
<th><abbr title="Unidad de almacén">UA</abbr></th>
|
|
||||||
<th>PO</th>
|
|
||||||
<th>CO</th>
|
|
||||||
<th>Calidad</th>
|
|
||||||
<th>Código SAP</th>
|
|
||||||
<th>Producto</th>
|
|
||||||
<th>Peso</th>
|
|
||||||
<th>Desvío</th>
|
|
||||||
<th><abbr title="Paquete confirmado">Conf.</abbr></th>
|
|
||||||
<th><abbr title="Nivel 3">N3</abbr></th>
|
|
||||||
<th>SAP</th>
|
|
||||||
<th>Fecha</th>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
<tbody>
|
|
||||||
{{ if .BundlesATA345 }}
|
|
||||||
{{ range .BundlesATA345 }}
|
|
||||||
<tr>
|
|
||||||
<td><a href="">{{ .Nromatricula }}</a></td>
|
|
||||||
<td><a href="">{{ .Po }}</a></td>
|
|
||||||
<td><a href="">{{ .Co }}</a></td>
|
|
||||||
<td>{{ .Calidad }}</td>
|
|
||||||
<td>{{ .Matnr }}</td>
|
|
||||||
<td>{{ .SeccionTipo }}</td>
|
|
||||||
<td>{{ .PaquetePeso }}</td>
|
|
||||||
<td>{{ .FormatDesvio }}</td>
|
|
||||||
{{if .Confirmed }}
|
|
||||||
<td class="has-background-primary has-text-white">Sí</td>
|
|
||||||
{{ else }}
|
|
||||||
<td class="has-background-danger has-text-white">No</td>
|
|
||||||
{{ end }}
|
|
||||||
{{if .L3Sended }}
|
|
||||||
<td class="has-background-primary has-text-white">Sí</td>
|
|
||||||
{{ else }}
|
|
||||||
<td class="has-background-danger has-text-white">No</td>
|
|
||||||
{{ end }}
|
|
||||||
{{if .SAP }}
|
|
||||||
<td class="has-background-primary has-text-white">Sí</td>
|
|
||||||
{{ else }}
|
|
||||||
<td class="has-background-danger has-text-white">No</td>
|
|
||||||
{{ end }}
|
|
||||||
<td>{{ .FormatCreatedAt }}</td>
|
|
||||||
</tr>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user