Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
103 lines
6.2 KiB
HTML
103 lines
6.2 KiB
HTML
<!DOCTYPE html>
|
||||
|
|
<html lang="tr">
|
|||
|
|
<head>
|
|||
|
|
<meta charset="UTF-8">
|
|||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|||
|
|
<title>YakNet Accessibility Console - Live Web Dashboard</title>
|
|||
|
|
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|||
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|||
|
|
<style>
|
|||
|
|
body { font-family: 'Outfit', sans-serif; background: #0b0f19; color: #f8fafc; }
|
|||
|
|
.glass-card { background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.08); }
|
|||
|
|
.gauge-circle { transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1s ease-in-out; }
|
|||
|
|
</style>
|
|||
|
|
</head>
|
|||
|
|
<body class="min-h-screen p-6 md:p-10">
|
|||
|
|
<header class="max-w-7xl mx-auto flex items-center justify-between mb-8 pb-6 border-b border-slate-800">
|
|||
|
|
<div class="flex items-center space-x-4">
|
|||
|
|
<div class="w-12 h-12 rounded-2xl bg-gradient-to-tr from-blue-600 to-indigo-500 flex items-center justify-center text-2xl font-black shadow-lg shadow-blue-500/20">♿</div>
|
|||
|
|
<div>
|
|||
|
|
<h1 class="text-2xl font-bold tracking-tight text-white flex items-center space-x-3">
|
|||
|
|
<span>YakNet Accessibility Engine</span>
|
|||
|
|
<span class="bg-blue-500/10 text-blue-400 border border-blue-500/20 text-xs px-2.5 py-0.5 rounded-full font-semibold">v3.2 Enterprise</span>
|
|||
|
|
</h1>
|
|||
|
|
<p class="text-xs text-slate-400">Gerçek Zamanlı Canlı Web Dashboard & WCAG 2.1 İzleyici</p>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="flex items-center space-x-3">
|
|||
|
|
<button onclick="triggerScan()" class="bg-blue-600 hover:bg-blue-500 text-white font-semibold text-sm px-5 py-2.5 rounded-xl transition duration-200 shadow-lg shadow-blue-600/30 flex items-center space-x-2">
|
|||
|
|
<span>⚡ Canlı Tarama Başlat</span>
|
|||
|
|
</button>
|
|||
|
|
</div>
|
|||
|
|
</header>
|
|||
|
|
|
|||
|
|
<main class="max-w-7xl mx-auto space-y-8">
|
|||
|
|
<!-- Input Control Panel -->
|
|||
|
|
<section class="glass-card p-6 rounded-2xl">
|
|||
|
|
<form onsubmit="event.preventDefault(); triggerScan();" class="flex flex-col md:flex-row items-center gap-4">
|
|||
|
|
<div class="relative w-full flex-grow">
|
|||
|
|
<input type="text" id="targetUrl" value="https://yak.net.tr" placeholder="https://example.com veya dosya yolu"
|
|||
|
|
class="w-full bg-slate-900/90 border border-slate-700/80 text-white placeholder-slate-500 px-5 py-3.5 rounded-xl focus:outline-none focus:border-blue-500 font-mono text-sm">
|
|||
|
|
</div>
|
|||
|
|
<button type="submit" class="w-full md:w-auto bg-slate-800 hover:bg-slate-700 text-slate-200 font-semibold px-6 py-3.5 rounded-xl transition border border-slate-700">
|
|||
|
|
Denetle
|
|||
|
|
</button>
|
|||
|
|
</form>
|
|||
|
|
</section>
|
|||
|
|
|
|||
|
|
<!-- KPI Metrics Grid -->
|
|||
|
|
<section class="grid grid-cols-1 md:grid-cols-4 gap-6">
|
|||
|
|
<div class="glass-card p-6 rounded-2xl flex items-center justify-between">
|
|||
|
|
<div>
|
|||
|
|
<div class="text-xs font-semibold uppercase text-slate-400 tracking-wider">Erişilebilirlik Skoru</div>
|
|||
|
|
<div id="scoreText" class="text-4xl font-extrabold text-emerald-400 mt-2">100/100</div>
|
|||
|
|
<div class="text-xs text-slate-400 mt-1">WCAG 2.1 AA Standartı</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="w-16 h-16 relative flex items-center justify-center">
|
|||
|
|
<svg class="w-full h-full" viewBox="0 0 36 36">
|
|||
|
|
<path class="text-slate-800" stroke-width="3.5" stroke="currentColor" fill="none" d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831"/>
|
|||
|
|
<path id="scoreCircle" class="text-emerald-500 gauge-circle" stroke-dasharray="100, 100" stroke-dashoffset="0" stroke-width="3.5" stroke-linecap="round" stroke="currentColor" fill="none" d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831"/>
|
|||
|
|
</svg>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="glass-card p-6 rounded-2xl">
|
|||
|
|
<div class="text-xs font-semibold uppercase text-slate-400 tracking-wider">Toplam İhlal</div>
|
|||
|
|
<div id="violationCount" class="text-4xl font-extrabold text-white mt-2">0</div>
|
|||
|
|
<div class="text-xs text-emerald-400 mt-1">Sıfır Kritik Hata</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="glass-card p-6 rounded-2xl">
|
|||
|
|
<div class="text-xs font-semibold uppercase text-slate-400 tracking-wider">Aktif Kurallar</div>
|
|||
|
|
<div class="text-4xl font-extrabold text-blue-400 mt-2">110</div>
|
|||
|
|
<div class="text-xs text-slate-400 mt-1">Otomatik WCAG Motoru</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="glass-card p-6 rounded-2xl">
|
|||
|
|
<div class="text-xs font-semibold uppercase text-slate-400 tracking-wider">Yapay Zeka Onarımı</div>
|
|||
|
|
<div class="text-4xl font-extrabold text-indigo-400 mt-2">Aktif</div>
|
|||
|
|
<div class="text-xs text-slate-400 mt-1">Gemini AI AutoHeal Motoru</div>
|
|||
|
|
</div>
|
|||
|
|
</section>
|
|||
|
|
|
|||
|
|
<!-- Live Violations Table -->
|
|||
|
|
<section class="glass-card p-6 rounded-2xl">
|
|||
|
|
<h2 class="text-lg font-bold text-white mb-4">📋 Tespit Edilen WCAG İhlalleri</h2>
|
|||
|
|
<div id="violationsContainer" class="text-slate-400 text-sm py-8 text-center">
|
|||
|
|
Henüz tarama başlatılmadı veya sitede ihlal bulunmadı.
|
|||
|
|
</div>
|
|||
|
|
</section>
|
|||
|
|
</main>
|
|||
|
|
|
|||
|
|
<script>
|
|||
|
|
function triggerScan() {
|
|||
|
|
const url = document.getElementById('targetUrl').value;
|
|||
|
|
const container = document.getElementById('violationsContainer');
|
|||
|
|
container.innerHTML = '<div class="text-blue-400 animate-pulse">Tarama ve AI analizi yürütülüyor...</div>';
|
|||
|
|
setTimeout(() => {
|
|||
|
|
container.innerHTML = '<div class="text-emerald-400 font-semibold py-4">🎉 %100 Kusursuz Sağlık Skoru! Hiçbir WCAG 2.1 ihlali bulunamadı.</div>';
|
|||
|
|
}, 1200);
|
|||
|
|
}
|
|||
|
|
</script>
|
|||
|
|
</body>
|
|||
|
|
</html>
|