-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject-manager.html
More file actions
264 lines (250 loc) · 15.6 KB
/
Copy pathproject-manager.html
File metadata and controls
264 lines (250 loc) · 15.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Manager - EditKit</title>
<link rel="apple-touch-icon" sizes="180x180" href="favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon_io/favicon-16x16.png">
<link rel="manifest" href="favicon_io/site.webmanifest">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/page-transitions.css">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'fcp-dark': '#1C1C1E',
'fcp-gray': '#2A2A2D',
'fcp-border': '#3A3A3E',
'fcp-text': '#F2F2F7',
'fcp-text-secondary': '#A1A1AA',
'fcp-accent': '#0A84FF',
'fcp-success': '#30D158',
'fcp-destructive': '#FF453A',
},
fontFamily: {
'sans': ['Poppins', 'ui-sans-serif', 'system-ui', 'sans-serif'],
},
animation: {
'float': 'float 3s ease-in-out infinite',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'bounce-slow': 'bounce 2s infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-10px)' },
}
}
}
}
}
</script>
<style>
#toastContainer {
pointer-events: none;
}
.toast-message {
background: rgba(42, 42, 45, 0.95);
color: #F2F2F7;
border: 1px solid #3A3A3E;
border-radius: 0.75rem;
padding: 1rem 1.25rem;
min-width: 260px;
max-width: 320px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
opacity: 0;
transform: translateY(16px);
transition: opacity 0.3s ease, transform 0.3s ease;
pointer-events: auto;
}
.toast-message.show {
opacity: 1;
transform: translateY(0);
}
.toast-message.hide {
opacity: 0;
transform: translateY(-10px);
}
.toast-message a {
color: #0A84FF;
text-decoration: underline;
}
</style>
</head>
<body class="bg-fcp-dark text-fcp-text font-sans min-h-screen flex flex-col">
<!-- Navigation -->
<nav class="bg-fcp-gray border-b border-fcp-border">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="index.html" class="flex items-center space-x-3 group transition-transform hover:scale-105">
<img src="logo.png" alt="EditKit" class="h-10 w-10 transition-transform group-hover:rotate-3">
<span class="text-xl font-semibold tracking-tight group-hover:text-opacity-80 transition-colors">
<span class="text-fcp-text">Edit</span><span class="text-blue-400">Kit</span>
</span>
</a>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="index.html" class="px-3 py-2 rounded-md text-sm font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border transition-all hover:scale-105">Home</a>
<a href="lut-previewer.html" class="px-3 py-2 rounded-md text-sm font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border transition-all hover:scale-105 whitespace-nowrap">Color Grader</a>
<a href="subtitles.html" class="px-3 py-2 rounded-md text-sm font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border transition-all hover:scale-105">Subtitles</a>
<a href="fcpxml.html" class="px-3 py-2 rounded-md text-sm font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border transition-all hover:scale-105">FCPXML</a>
<a href="project-manager.html" class="px-3 py-2 rounded-md text-sm font-medium text-white bg-gray-700">Projects</a>
<a href="blog.html" class="px-3 py-2 rounded-md text-sm font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border transition-all hover:scale-105">Blog</a>
<a href="about.html" class="px-3 py-2 rounded-md text-sm font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border transition-all hover:scale-105">About</a>
</div>
</div>
<!-- Mobile menu button -->
<div class="md:hidden">
<button id="mobile-menu-button" class="bg-fcp-gray inline-flex items-center justify-center p-2 rounded-md text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border focus:outline-none">
<svg class="h-6 w-6" stroke="currentColor" fill="none" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="md:hidden hidden">
<div class="px-4 pt-2 pb-4 space-y-1 sm:px-6 bg-fcp-gray border-t border-fcp-border">
<a href="index.html" class="block px-3 py-2 rounded-md text-base font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border">Home</a>
<a href="lut-previewer.html" class="block px-3 py-2 rounded-md text-base font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border whitespace-nowrap">Color Grader</a>
<a href="subtitles.html" class="block px-3 py-2 rounded-md text-base font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border">Subtitles</a>
<a href="fcpxml.html" class="block px-3 py-2 rounded-md text-base font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border">FCPXML</a>
<a href="project-manager.html" class="block px-3 py-2 rounded-md text-base font-medium text-fcp-text bg-fcp-border">Projects</a>
<a href="blog.html" class="block px-3 py-2 rounded-md text-base font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border">Blog</a>
<a href="about.html" class="block px-3 py-2 rounded-md text-base font-medium text-fcp-text-secondary hover:text-fcp-text hover:bg-fcp-border">About</a>
</div>
</div>
</nav>
<!-- Main Content -->
<main id="swup" class="transition-fade flex-1 max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<!-- Header -->
<div class="text-center mb-12">
<h1 class="text-4xl md:text-5xl font-bold mb-4 text-fcp-text">
Project Manager
</h1>
<p class="text-lg text-fcp-text-secondary max-w-2xl mx-auto">
Analyze your Final Cut Pro projects. Upload an FCPXML file to view project metrics, asset details, and applied effects.
</p>
</div>
<!-- Upload Area -->
<div id="uploadSection" class="mb-8">
<div id="uploadArea" class="border-2 border-dashed border-fcp-border rounded-xl p-12 text-center hover:border-fcp-accent transition-colors cursor-pointer bg-fcp-gray">
<svg class="w-16 h-16 mx-auto mb-4 text-fcp-text-secondary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"></path>
</svg>
<h3 class="text-xl font-semibold mb-2 text-fcp-text">Drop FCPXML File Here</h3>
<p class="text-fcp-text-secondary mb-4">or click to browse</p>
<input type="file" id="fcpxmlInput" accept=".fcpxml" class="hidden">
<div class="flex gap-3 justify-center">
<button id="browseButton" class="px-6 py-2 bg-fcp-accent text-white rounded-lg hover:bg-blue-600 transition-colors">
Browse Files
</button>
<button id="loadSampleButton" class="px-6 py-2 bg-fcp-border text-fcp-text rounded-lg hover:bg-fcp-accent hover:text-white transition-colors">
Load Sample
</button>
</div>
</div>
</div>
<!-- Results Container (Hidden by default) -->
<div id="resultsContainer" class="hidden space-y-8">
<!-- Project Overview -->
<section class="bg-fcp-gray rounded-xl p-6 border border-fcp-border">
<h2 class="text-2xl font-bold mb-6 flex items-center text-fcp-text">
<svg class="w-6 h-6 mr-2 text-fcp-accent" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
</svg>
Project Tracking
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4" id="projectStats">
<!-- Stats will be populated by JavaScript -->
</div>
</section>
<!-- Asset Management -->
<section class="bg-fcp-gray rounded-xl p-6 border border-fcp-border">
<h2 class="text-2xl font-bold mb-6 flex items-center text-fcp-text">
<svg class="w-6 h-6 mr-2 text-fcp-accent" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"></path>
</svg>
Asset Management
</h2>
<div class="overflow-x-auto">
<table class="w-full text-sm" id="assetsTable">
<thead class="text-left border-b border-fcp-border">
<tr class="text-fcp-text">
<th class="pb-3 font-semibold">Asset Name</th>
<th class="pb-3 font-semibold">Type</th>
<th class="pb-3 font-semibold">Duration</th>
<th class="pb-3 font-semibold">Codec</th>
<th class="pb-3 font-semibold">Ingest Date</th>
</tr>
</thead>
<tbody id="assetsTableBody" class="text-fcp-text-secondary">
<!-- Asset rows will be populated by JavaScript -->
</tbody>
</table>
</div>
</section>
<!-- Timeline Health -->
<section class="bg-fcp-gray rounded-xl p-6 border border-fcp-border">
<h2 class="text-2xl font-bold mb-6 flex items-center">
<svg class="w-6 h-6 mr-2 text-fcp-accent" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
Timeline Health
</h2>
<div id="healthContainer" class="space-y-3">
<!-- Health info will be populated by JavaScript -->
</div>
</section>
<!-- Effects -->
<section class="bg-fcp-gray rounded-xl p-6 border border-fcp-border">
<h2 class="text-2xl font-bold mb-6 flex items-center">
<svg class="w-6 h-6 mr-2 text-fcp-accent" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"></path>
</svg>
Applied Effects
</h2>
<div id="effectsContainer" class="space-y-4">
<!-- Effects will be populated by JavaScript -->
</div>
</section>
<!-- New Analysis Button -->
<div class="text-center">
<button id="newAnalysisButton" class="px-6 py-3 bg-fcp-border text-fcp-text rounded-lg hover:bg-fcp-accent transition-colors">
Analyze Another Project
</button>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-fcp-gray border-t border-fcp-border mt-8">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<div class="text-center">
<p class="text-fcp-text-secondary text-sm mb-2">
© 2025-2026 EditKit. Streamlined workflow utilities for video editors.
</p>
<a href="https://github.com/ronlu-o/EditKit" target="_blank" rel="noopener noreferrer"
class="inline-flex items-center gap-2 text-fcp-text-secondary hover:text-fcp-accent transition-colors">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd"/>
</svg>
<span class="text-sm">View on GitHub</span>
</a>
</div>
</div>
</footer>
<div id="toastContainer" class="fixed bottom-4 right-4 sm:bottom-6 sm:right-6 flex flex-col items-end gap-3 z-50 pointer-events-none"></div>
<script src="js/main.js"></script>
<script src="js/project-manager.js"></script>
<script src="js/page-animations.js"></script>
</body>
</html>