projetando / index.html
henboff's picture
undefined - Initial Deployment
835c922 verified
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Projetando - Dashboard de Manutenção</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.splash-screen {
animation: fadeIn 0.5s ease-out;
}
.splash-content {
animation: slideUp 0.8s ease-out 0.3s both;
}
.logo {
animation: pulse 2s infinite ease-in-out;
}
.loading-spinner {
animation: rotate 1.5s linear infinite;
}
.main-content {
display: none;
opacity: 0;
transition: opacity 0.8s ease;
}
.fade-in {
opacity: 1;
}
</style>
</head>
<body class="bg-gray-100 font-sans">
<!-- Splash Screen -->
<div id="splash" class="splash-screen fixed inset-0 flex items-center justify-center bg-gradient-to-br from-blue-600 to-blue-800 z-50">
<div class="splash-content text-center px-4">
<div class="logo mb-8">
<i class="fas fa-cogs text-white text-6xl"></i>
</div>
<h1 class="text-4xl font-bold text-white mb-2">PROJETANDO</h1>
<p class="text-xl text-blue-100 mb-8">Dashboard de Manutenção Industrial</p>
<div class="loading-spinner inline-block text-white text-2xl mb-6">
<i class="fas fa-circle-notch"></i>
</div>
<div class="text-blue-200">
<p>Carregando dados dos equipamentos...</p>
<div class="w-full bg-blue-500 bg-opacity-30 rounded-full h-2 mt-2">
<div id="progress-bar" class="bg-white h-2 rounded-full" style="width: 0%"></div>
</div>
</div>
</div>
</div>
<!-- Main Content (hidden initially) -->
<div id="main" class="main-content min-h-screen">
<!-- Header -->
<header class="bg-white shadow-sm">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center">
<i class="fas fa-cogs text-blue-600 text-2xl mr-3"></i>
<h1 class="text-2xl font-bold text-gray-800">PROJETANDO</h1>
</div>
<nav class="hidden md:block">
<ul class="flex space-x-6">
<li><a href="#" class="text-blue-600 font-medium">Dashboard</a></li>
<li><a href="#" class="text-gray-600 hover:text-blue-600">Equipamentos</a></li>
<li><a href="#" class="text-gray-600 hover:text-blue-600">Ordens de Serviço</a></li>
<li><a href="#" class="text-gray-600 hover:text-blue-600">Relatórios</a></li>
</ul>
</nav>
<div class="flex items-center">
<button class="md:hidden text-gray-600">
<i class="fas fa-bars text-xl"></i>
</button>
<div class="ml-4 hidden md:block">
<span class="text-gray-700">Eng. Responsável</span>
</div>
</div>
</div>
</header>
<!-- Main Dashboard -->
<main class="container mx-auto px-4 py-8">
<div class="mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Visão Consolidada de Manutenção</h2>
<p class="text-gray-600">Monitoramento em tempo real do status dos equipamentos e ordens de serviço</p>
</div>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
<i class="fas fa-industry text-xl"></i>
</div>
<div>
<p class="text-gray-500">Equipamentos</p>
<h3 class="text-2xl font-bold">42</h3>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
<i class="fas fa-check-circle text-xl"></i>
</div>
<div>
<p class="text-gray-500">Operacionais</p>
<h3 class="text-2xl font-bold">35</h3>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4">
<i class="fas fa-tools text-xl"></i>
</div>
<div>
<p class="text-gray-500">OS em Andamento</p>
<h3 class="text-2xl font-bold">5</h3>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-red-100 text-red-600 mr-4">
<i class="fas fa-exclamation-triangle text-xl"></i>
</div>
<div>
<p class="text-gray-500">Críticos</p>
<h3 class="text-2xl font-bold">2</h3>
</div>
</div>
</div>
</div>
<!-- Main Dashboard Content -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Equipment Status -->
<div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
<div class="p-6 border-b">
<h3 class="text-xl font-semibold text-gray-800">Status dos Equipamentos</h3>
</div>
<div class="p-6">
<div class="h-64 flex items-center justify-center">
<p class="text-gray-500">Gráfico de status dos equipamentos será exibido aqui</p>
</div>
</div>
</div>
<!-- Recent OS -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="p-6 border-b">
<h3 class="text-xl font-semibold text-gray-800">Ordens de Serviço Recentes</h3>
</div>
<div class="divide-y">
<div class="p-4 hover:bg-gray-50 cursor-pointer">
<div class="flex justify-between items-center mb-1">
<span class="font-medium">OS-2023-045</span>
<span class="text-xs px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full">Em Andamento</span>
</div>
<p class="text-sm text-gray-600">Máquina de Moldagem #12</p>
<p class="text-xs text-gray-500 mt-1">Iniciada: 15/11/2023</p>
</div>
<div class="p-4 hover:bg-gray-50 cursor-pointer">
<div class="flex justify-between items-center mb-1">
<span class="font-medium">OS-2023-044</span>
<span class="text-xs px-2 py-1 bg-green-100 text-green-800 rounded-full">Concluída</span>
</div>
<p class="text-sm text-gray-600">Esteira Transportadora #5</p>
<p class="text-xs text-gray-500 mt-1">Concluída: 14/11/2023</p>
</div>
<div class="p-4 hover:bg-gray-50 cursor-pointer">
<div class="flex justify-between items-center mb-1">
<span class="font-medium">OS-2023-043</span>
<span class="text-xs px-2 py-1 bg-red-100 text-red-800 rounded-full">Urgente</span>
</div>
<p class="text-sm text-gray-600">Compressor Principal</p>
<p class="text-xs text-gray-500 mt-1">Iniciada: 13/11/2023</p>
</div>
<div class="p-4 hover:bg-gray-50 cursor-pointer">
<div class="flex justify-between items-center mb-1">
<span class="font-medium">OS-2023-042</span>
<span class="text-xs px-2 py-1 bg-blue-100 text-blue-800 rounded-full">Programada</span>
</div>
<p class="text-sm text-gray-600">Forno Industrial #3</p>
<p class="text-xs text-gray-500 mt-1">Programada: 17/11/2023</p>
</div>
</div>
</div>
</div>
</main>
</div>
<script>
// Simulate loading process
document.addEventListener('DOMContentLoaded', function() {
let progress = 0;
const progressBar = document.getElementById('progress-bar');
const splash = document.getElementById('splash');
const main = document.getElementById('main');
const loadingInterval = setInterval(() => {
progress += Math.random() * 10;
if (progress > 100) progress = 100;
progressBar.style.width = `${progress}%`;
if (progress >= 100) {
clearInterval(loadingInterval);
// Fade out splash screen
splash.style.opacity = '0';
splash.style.transition = 'opacity 0.5s ease';
// After fade out, show main content
setTimeout(() => {
splash.style.display = 'none';
main.style.display = 'block';
// Fade in main content
setTimeout(() => {
main.classList.add('fade-in');
}, 50);
}, 500);
}
}, 300);
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=henboff/projetando" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>