Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +144 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: win-superpower
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,144 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Antenna Stock Tracker</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
| 9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 10 |
+
<style>
|
| 11 |
+
body {
|
| 12 |
+
font-family: 'Inter', sans-serif;
|
| 13 |
+
background-color: #F7F8FC;
|
| 14 |
+
color: #2C3E50;
|
| 15 |
+
}
|
| 16 |
+
.status-ok {
|
| 17 |
+
border-left-color: #2ECC71;
|
| 18 |
+
}
|
| 19 |
+
.status-warning {
|
| 20 |
+
border-left-color: #F1C40F;
|
| 21 |
+
}
|
| 22 |
+
.status-critical {
|
| 23 |
+
border-left-color: #E74C3C;
|
| 24 |
+
}
|
| 25 |
+
.progress-ok {
|
| 26 |
+
background-color: #2ECC71;
|
| 27 |
+
}
|
| 28 |
+
.progress-warning {
|
| 29 |
+
background-color: #F1C40F;
|
| 30 |
+
}
|
| 31 |
+
.progress-critical {
|
| 32 |
+
background-color: #E74C3C;
|
| 33 |
+
}
|
| 34 |
+
.input-number::-webkit-inner-spin-button,
|
| 35 |
+
.input-number::-webkit-outer-spin-button {
|
| 36 |
+
-webkit-appearance: none;
|
| 37 |
+
margin: 0;
|
| 38 |
+
}
|
| 39 |
+
.input-number {
|
| 40 |
+
-moz-appearance: textfield;
|
| 41 |
+
}
|
| 42 |
+
</style>
|
| 43 |
+
</head>
|
| 44 |
+
<body class="min-h-screen">
|
| 45 |
+
<!-- Header -->
|
| 46 |
+
<header class="bg-white shadow-sm fixed top-0 left-0 right-0 z-10">
|
| 47 |
+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
| 48 |
+
<h1 class="text-xl font-bold text-gray-800 flex items-center">
|
| 49 |
+
<i class="fas fa-satellite-dish mr-2 text-blue-500"></i>
|
| 50 |
+
Antenna Stock Tracker
|
| 51 |
+
</h1>
|
| 52 |
+
<button id="reset-btn" class="px-3 py-1 text-sm border border-gray-300 rounded text-gray-600 hover:text-red-500 hover:border-red-300 transition-colors">
|
| 53 |
+
<i class="fas fa-redo mr-1"></i> Reset Data
|
| 54 |
+
</button>
|
| 55 |
+
</div>
|
| 56 |
+
</header>
|
| 57 |
+
|
| 58 |
+
<!-- Main Content -->
|
| 59 |
+
<main class="container mx-auto px-4 pt-20 pb-8">
|
| 60 |
+
<div class="flex flex-col lg:flex-row gap-6">
|
| 61 |
+
<!-- Left Column: Action Panel -->
|
| 62 |
+
<div class="lg:w-1/2">
|
| 63 |
+
<div class="bg-white rounded-lg shadow-md p-6">
|
| 64 |
+
<h2 class="text-lg font-semibold mb-4">Production Input</h2>
|
| 65 |
+
<div id="product-cards" class="space-y-4">
|
| 66 |
+
<div class="product-card bg-white rounded-lg shadow p-4 border border-gray-100">
|
| 67 |
+
<h3 class="font-medium text-gray-700 mb-3">Yagi-Uda Model 5</h3>
|
| 68 |
+
<div class="flex items-center space-x-3">
|
| 69 |
+
<input type="number" min="0" class="input-number w-20 px-3 py-2 border border-gray-300 rounded focus:ring-2 focus:ring-blue-500 focus:border-blue-500" value="0">
|
| 70 |
+
<button class="update-btn px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600 transition-colors">
|
| 71 |
+
Update Stock
|
| 72 |
+
</button>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
<div class="product-card bg-white rounded-lg shadow p-4 border border-gray-100">
|
| 76 |
+
<h3 class="font-medium text-gray-700 mb-3">Basic Dipole Antenna</h3>
|
| 77 |
+
<div class="flex items-center space-x-3">
|
| 78 |
+
<input type="number" min="0" class="input-number w-20 px-3 py-2 border border-gray-300 rounded focus:ring-2 focus:ring-blue-500 focus:border-blue-500" value="0">
|
| 79 |
+
<button class="update-btn px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600 transition-colors">
|
| 80 |
+
Update Stock
|
| 81 |
+
</button>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
</div>
|
| 87 |
+
|
| 88 |
+
<!-- Right Column: Inventory Dashboard -->
|
| 89 |
+
<div class="lg:w-1/2">
|
| 90 |
+
<div class="bg-white rounded-lg shadow-md p-6">
|
| 91 |
+
<h2 class="text-lg font-semibold mb-4">Material Inventory</h2>
|
| 92 |
+
<div id="material-cards" class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 93 |
+
<div class="material-card bg-white rounded-lg shadow p-4 border-l-4 border-green-500">
|
| 94 |
+
<div class="flex justify-between items-start mb-2">
|
| 95 |
+
<h3 class="font-medium text-gray-700">5mm Copper Wire</h3>
|
| 96 |
+
<span class="text-sm text-gray-500">meters</span>
|
| 97 |
+
</div>
|
| 98 |
+
<div class="text-2xl font-bold mb-4">500</div>
|
| 99 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 100 |
+
<div class="bg-green-500 h-2.5 rounded-full" style="width: 100%"></div>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
<div class="material-card bg-white rounded-lg shadow p-4 border-l-4 border-green-500">
|
| 104 |
+
<div class="flex justify-between items-start mb-2">
|
| 105 |
+
<h3 class="font-medium text-gray-700">RG-58 Coaxial Cable</h3>
|
| 106 |
+
<span class="text-sm text-gray-500">meters</span>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="text-2xl font-bold mb-4">200</div>
|
| 109 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 110 |
+
<div class="bg-green-500 h-2.5 rounded-full" style="width: 100%"></div>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
<div class="material-card bg-white rounded-lg shadow p-4 border-l-4 border-green-500">
|
| 114 |
+
<div class="flex justify-between items-start mb-2">
|
| 115 |
+
<h3 class="font-medium text-gray-700">N-Type Connector</h3>
|
| 116 |
+
<span class="text-sm text-gray-500">units</span>
|
| 117 |
+
</div>
|
| 118 |
+
<div class="text-2xl font-bold mb-4">1000</div>
|
| 119 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 120 |
+
<div class="bg-green-500 h-2.5 rounded-full" style="width: 100%"></div>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
<div class="material-card bg-white rounded-lg shadow p-4 border-l-4 border-green-500">
|
| 124 |
+
<div class="flex justify-between items-start mb-2">
|
| 125 |
+
<h3 class="font-medium text-gray-700">Plastic Insulator</h3>
|
| 126 |
+
<span class="text-sm text-gray-500">units</span>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="text-2xl font-bold mb-4">4000</div>
|
| 129 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 130 |
+
<div class="bg-green-500 h-2.5 rounded-full" style="width: 100%"></div>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
</main>
|
| 138 |
+
|
| 139 |
+
<!-- Reset Confirmation Modal -->
|
| 140 |
+
<div id="reset-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
|
| 141 |
+
<div class="bg-white rounded-lg p-6 max-w-md w-full mx-4">
|
| 142 |
+
<h3 class="text-lg font-semib{"ok":false,"message":"terminated"}
|
| 143 |
+
<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=Ultronprime/win-superpower" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 144 |
+
</html>
|