sign_final / templates /hompage.html
EL GHAFRAOUI AYOUB
C
0135475
raw
history blame
3.31 kB
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"/>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mohamed</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.6.1/socket.io.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
<script type="text/javascript" src="{{ url_for('static', filename='script.js') }}"></script>
<!-- Add this to the <head> section of your HTML file -->
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.12.0/css/dataTables.bootstrap5.min.css">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.0/flowbite.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.0/flowbite.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap">
<style>
html {
font-family: 'Inter', sans-serif;
}
body {
background-color: #1F2937;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.card {
max-width: 400px;
background-color: #4B5563;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card h1, .card h2 {
text-align: center;
margin-bottom: 20px;
}
input, button {
border: 1px solid #CBD5E0;
background-color: #4C566A;
color: #E5E7EB;
padding: 10px;
border-radius: 5px;
transition: all 0.3s ease;
}
input:focus, button:focus {
outline: none;
border-color: #2563EB;
}
button {
cursor: pointer;
}
button:hover {
background-color: #6B7280;
}
</style>
</head>
<body>
<div class="card">
<h1 class="text-2xl font-bold">محمد لغة الإشارة</h1>
<h2 class="text-4xl font-bold">ترجمة اللغة الإشارية</h2>
<form id="urlForm">
<input type="text" id="url" name="url" class="text-sm rounded-lg block w-full mb-4" placeholder="أدخل رابط الفيديو هنا..." required>
</form>
<button id="startStream" type="button" onclick="startVideo()" class="font-medium rounded-lg text-sm px-5 py-3 bg-gray-800 hover:bg-gray-600 focus:ring-gray-600">URL بث</button>
<button id="startCamera" type="button" onclick="startCamera()" class="font-medium rounded-lg text-sm px-5 py-3 bg-gray-800 hover:bg-gray-600 focus:ring-gray-600">كاميرا</button>
</div>
</body>
</html>