updated with github

This commit is contained in:
2026-05-26 11:55:56 +08:00
parent 4709bb791b
commit 809f73c1f5
11 changed files with 1818 additions and 482 deletions
+1635 -279
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -126,10 +126,10 @@
.toggle-btn {
background: none;
border: none;
font-size: 1.2em;
font-size: 1.5em;
color: var(--text-muted);
cursor: pointer;
padding: 2px 6px;
padding: 4px 10px;
border-radius: 4px;
transition: background 0.2s ease, color 0.2s ease;
}
+1 -1
View File
@@ -5,7 +5,7 @@
<head>
<meta charset="UTF-8">
<title>Canvas with PDK Library Component Name & Rotation</title>
<title>Canvas</title>
<script src="https://unpkg.com/react@18/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js" crossorigin></script>
<script src="https://unpkg.com/reactflow@11/dist/umd/index.js" crossorigin></script>
+20 -10
View File
@@ -1,12 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard</title>
<!-- Importing a clean, modern font -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
<style>
/* Base Dark Theme for EDA */
:root {
@@ -60,7 +61,8 @@
}
.logout-btn:hover {
color: #ef4444; /* Red hover for logout */
color: #ef4444;
/* Red hover for logout */
}
/* Main Content Container */
@@ -137,7 +139,7 @@
border: none;
border-radius: 6px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.2s ease, transform 0.1s ease;
display: flex;
align-items: center;
@@ -163,6 +165,7 @@
}
</style>
</head>
<body>
<!-- Top Navigation -->
@@ -174,7 +177,7 @@
<!-- Main Dashboard -->
<div class="container">
<h2>Welcome back, <strong>{{ username }}</strong>!</h2>
<div class="section-title">Your Recent Layouts</div>
<ul class="project-list">
<li class="project-card">
@@ -186,19 +189,26 @@
Ring_Modulator_Test.gds
</li>
</ul>
<!-- Canvas Link -->
<form action="/canvas" method="GET" class="new-project-form">
<button type="submit" class="new-project-btn">
<span>+</span> New PIC Layout
</button>
</form>
</div>
<!-- System Footer -->
<footer>
Powered by mxpic core
</footer>
<div class="new-project-form" style="margin-top: 15px;">
<button type="button" class="new-project-btn" onclick="location.href='/open-project'">
Open Project
</button>
</div>
<!-- System Footer -->
<footer>
Powered by mxpic core
</footer>
</body>
</html>