mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-03 20:12:59 +00:00
205 lines
11 KiB
HTML
205 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="cs">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Aplikační Rozcestník</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
|
|
<style>
|
|
.card {
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-gray-100 min-h-screen">
|
|
<header class="bg-gradient-to-r from-blue-600 to-indigo-700 text-white shadow-lg" style="margin-bottom: 20px;">
|
|
<div class="container mx-auto px-4 py-6 flex items-center">
|
|
|
|
<div>
|
|
<h1 class="text-3xl font-bold">Poppe + Potthoff - Firemní Aplikace</h1>
|
|
<p class="mt-2 text-blue-100">Rychlý přístup ke všem důležitým systémům</p>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="container mx-auto px-4 py-8">
|
|
<!-- Search -->
|
|
<div class="mb-8 max-w-xl mx-auto">
|
|
<div class="relative">
|
|
<input type="text" id="search" placeholder="Hledat aplikaci..." style="margin-bottom: 20px;"
|
|
class="w-full px-4 py-3 rounded-lg shadow-sm border-gray-200 focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:outline-none">
|
|
<div class="absolute right-3 top-3 text-gray-400">
|
|
<i class="fas fa-search"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Apps Grid -->
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
|
<!-- 1. Car trips app -->
|
|
<div class="card bg-white rounded-xl shadow p-6 border-t-4 border-blue-600" data-name="zápis cest aut project">
|
|
<div class="rounded-full w-14 h-14 flex items-center justify-center bg-blue-100 text-blue-600 mb-4">
|
|
<i class="fas fa-car-side text-2xl"></i>
|
|
</div>
|
|
<h2 class="text-xl font-bold text-gray-800 mb-2">Záznam jízdy služebního vozu</h2>
|
|
<p class="text-gray-600 mb-4">Systém pro evidenci služebních jízd.</p>
|
|
<a href="/evidence-aut" class="block text-center bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-lg transition-colors">
|
|
Otevřít aplikaci
|
|
</a>
|
|
</div>
|
|
|
|
<!-- 2. Lunches -->
|
|
<div class="card bg-white rounded-xl shadow p-6 border-t-4 border-green-600" data-name="obědy obedy jídlo lunch">
|
|
<div class="rounded-full w-14 h-14 flex items-center justify-center bg-green-100 text-green-600 mb-4">
|
|
<i class="fas fa-utensils text-2xl"></i>
|
|
</div>
|
|
<h2 class="text-xl font-bold text-gray-800 mb-2">Objednávka obědů</h2>
|
|
<p class="text-gray-600 mb-4">Portál pro objednávku a přehled firemních obědů</p>
|
|
<a href="http://ppc-app/pwkweb2" class="block text-center bg-green-600 hover:bg-green-700 text-white font-medium py-2 px-4 rounded-lg transition-colors">
|
|
Otevřít aplikaci
|
|
</a>
|
|
</div>
|
|
|
|
<!-- 3. OSTicket -->
|
|
<div class="card bg-white rounded-xl shadow p-6 border-t-4 border-orange-600" data-name="osticket pomoc podpora support ticket">
|
|
<div class="rounded-full w-14 h-14 flex items-center justify-center bg-orange-100 text-orange-600 mb-4">
|
|
<i class="fas fa-headset text-2xl"></i>
|
|
</div>
|
|
<h2 class="text-xl font-bold text-gray-800 mb-2">OSTicket</h2>
|
|
<p class="text-gray-600 mb-4">Systém technické podpory a hlášení problémů</p>
|
|
<a href="http://osticket/" class="block text-center bg-orange-600 hover:bg-orange-700 text-white font-medium py-2 px-4 rounded-lg transition-colors">
|
|
Otevřít aplikaci
|
|
</a>
|
|
</div>
|
|
|
|
<!-- 4. Canboard tasks -->
|
|
<div class="card bg-white rounded-xl shadow p-6 border-t-4 border-purple-600" data-name="canboard úkoly úkolníček tasks">
|
|
<div class="rounded-full w-14 h-14 flex items-center justify-center bg-purple-100 text-purple-600 mb-4">
|
|
<i class="fas fa-tasks text-2xl"></i>
|
|
</div>
|
|
<h2 class="text-xl font-bold text-gray-800 mb-2">Kanboard</h2>
|
|
<p class="text-gray-600 mb-4">Správa úkolů a projektů v přehledném kanban stylu</p>
|
|
<a href="http://kanboard/" class="block text-center bg-purple-600 hover:bg-purple-700 text-white font-medium py-2 px-4 rounded-lg transition-colors">
|
|
Otevřít aplikaci
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Separator with heading -->
|
|
<div class="my-10 text-center">
|
|
<div class="relative">
|
|
<div class="absolute inset-0 flex items-center">
|
|
<div class="w-full border-t border-gray-300"></div>
|
|
</div>
|
|
<div class="relative flex justify-center">
|
|
<span class="bg-gray-100 px-4 text-sm text-gray-500">WINDOWS SDÍLENÉ SLOŽKY</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Windows Folders Grid - smaller and more subtle cards -->
|
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
|
<!-- 1. Telefonní seznam -->
|
|
<div class="card bg-white rounded-lg shadow-sm p-4 border border-gray-200" data-name="telefonní seznam telefony kontakty">
|
|
<div class="flex items-center">
|
|
<div class="rounded-full w-10 h-10 flex items-center justify-center bg-gray-100 text-gray-600 mr-3">
|
|
<i class="fas fa-phone-alt"></i>
|
|
</div>
|
|
<div class="flex-1">
|
|
<h3 class="text-md font-medium text-gray-800">Telefonní seznam</h3>
|
|
<p class="text-xs text-gray-500 mb-2">Aktuální telefonní seznam společnosti</p>
|
|
</div>
|
|
</div>
|
|
<button onclick="openWindowsFolder('M:\\X. IT\\0. PUBLIC\\Aktuální telefonní seznam')" class="block w-full text-center bg-gray-200 hover:bg-gray-300 text-gray-700 text-sm py-1 px-3 rounded transition-colors mt-2">
|
|
<i class="fas fa-folder-open mr-1"></i> Otevřít složku
|
|
</button>
|
|
</div>
|
|
|
|
<!-- 2. Řízená dokumentace -->
|
|
<div class="card bg-white rounded-lg shadow-sm p-4 border border-gray-200" data-name="řízená dokumentace dokumenty">
|
|
<div class="flex items-center">
|
|
<div class="rounded-full w-10 h-10 flex items-center justify-center bg-gray-100 text-gray-600 mr-3">
|
|
<i class="fas fa-file-alt"></i>
|
|
</div>
|
|
<div class="flex-1">
|
|
<h3 class="text-md font-medium text-gray-800">Řízená dokumentace</h3>
|
|
<p class="text-xs text-gray-500 mb-2">Přístup k firemní řízené dokumentaci</p>
|
|
</div>
|
|
</div>
|
|
<button onclick="openWindowsFolder('M:\\06. ŘÍZENÁ DOKUMENTACE')" class="block w-full text-center bg-gray-200 hover:bg-gray-300 text-gray-700 text-sm py-1 px-3 rounded transition-colors mt-2">
|
|
<i class="fas fa-folder-open mr-1"></i> Otevřít složku
|
|
</button>
|
|
</div>
|
|
|
|
<!-- 3. Management úkolů -->
|
|
<div class="card bg-white rounded-lg shadow-sm p-4 border border-gray-200" data-name="management úkolů úkoly projekty">
|
|
<div class="flex items-center">
|
|
<div class="rounded-full w-10 h-10 flex items-center justify-center bg-gray-100 text-gray-600 mr-3">
|
|
<i class="fas fa-clipboard-list"></i>
|
|
</div>
|
|
<div class="flex-1">
|
|
<h3 class="text-md font-medium text-gray-800">Management úkolů</h3>
|
|
<p class="text-xs text-gray-500 mb-2">Systém pro správu a sledování firemních úkolů</p>
|
|
</div>
|
|
</div>
|
|
<button onclick="openWindowsFolder('M:\\10. MANAGEMENT ÚKOLŮ')" class="block w-full text-center bg-gray-200 hover:bg-gray-300 text-gray-700 text-sm py-1 px-3 rounded transition-colors mt-2">
|
|
<i class="fas fa-folder-open mr-1"></i> Otevřít složku
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<footer class="bg-gray-800 text-gray-400 py-6 mt-12">
|
|
<div class="container mx-auto px-4 text-center">
|
|
<p>© 2025 Poppe + Potthoff</p>
|
|
<p class="mt-2 text-sm">Created by <a href="https://tdvorak.dev" class="text-blue-400 hover:text-blue-300">TDvorak</a></p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script>
|
|
// Search functionality
|
|
const searchInput = document.getElementById('search');
|
|
const appCards = document.querySelectorAll('.card');
|
|
|
|
searchInput.addEventListener('input', function() {
|
|
const searchTerm = this.value.toLowerCase();
|
|
|
|
appCards.forEach(card => {
|
|
const cardName = card.getAttribute('data-name').toLowerCase();
|
|
const cardTitle = card.querySelector('h2') || card.querySelector('h3');
|
|
const cardDesc = card.querySelector('p');
|
|
const titleText = cardTitle ? cardTitle.textContent.toLowerCase() : '';
|
|
const descText = cardDesc ? cardDesc.textContent.toLowerCase() : '';
|
|
|
|
if (cardName.includes(searchTerm) || titleText.includes(searchTerm) || descText.includes(searchTerm)) {
|
|
card.style.display = 'block';
|
|
} else {
|
|
card.style.display = 'none';
|
|
}
|
|
});
|
|
});
|
|
|
|
// Function to open Windows Explorer with a specific path using our integrated Go server
|
|
function openWindowsFolder(path) {
|
|
// Call our Go server to open the folder in Windows Explorer
|
|
fetch(`/open?path=${encodeURIComponent(path)}`)
|
|
.then(response => {
|
|
if (!response.ok) {
|
|
throw new Error('Failed to open folder');
|
|
}
|
|
console.log('Folder opened successfully');
|
|
})
|
|
.catch(error => {
|
|
console.error('Error opening folder:', error);
|
|
alert('Could not open folder. Make sure the server is running.');
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |