Spaces:
Running
Running
Delete static/index.html
Browse files- static/index.html +0 -47
static/index.html
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html lang="en">
|
3 |
-
<head>
|
4 |
-
<meta charset="UTF-8">
|
5 |
-
<title>Flare Project Admin</title>
|
6 |
-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
7 |
-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
|
8 |
-
<script src="project.js" defer></script>
|
9 |
-
</head>
|
10 |
-
<body>
|
11 |
-
<div class="container mt-4">
|
12 |
-
<div id="loginPanel">
|
13 |
-
<h1>Login</h1>
|
14 |
-
<input type="text" id="usernameInput" class="form-control mb-2" placeholder="Username">
|
15 |
-
<input type="password" id="passwordInput" class="form-control mb-2" placeholder="Password">
|
16 |
-
<button class="btn btn-primary" onclick="login()">Login</button>
|
17 |
-
<div id="loginError" class="text-danger mt-2" style="display:none;">Invalid credentials</div>
|
18 |
-
</div>
|
19 |
-
|
20 |
-
<div id="mainPanel" style="display:none;">
|
21 |
-
<h1>Flare Project Admin Panel</h1>
|
22 |
-
|
23 |
-
<div class="mb-3">
|
24 |
-
<button class="btn btn-success" id="newProjectBtn">+ New Project</button>
|
25 |
-
<button class="btn btn-primary" id="newVersionBtn">+ New Version</button>
|
26 |
-
<button class="btn btn-secondary" id="saveChangesBtn">Save Project</button>
|
27 |
-
<button class="btn btn-warning" id="publishVersionBtn">Publish Version</button>
|
28 |
-
</div>
|
29 |
-
|
30 |
-
<div id="projectDetails" class="mb-4">
|
31 |
-
<!-- Project details will be injected here -->
|
32 |
-
</div>
|
33 |
-
|
34 |
-
<div>
|
35 |
-
<h3>Intents</h3>
|
36 |
-
<button class="btn btn-outline-primary mb-2" id="addIntentBtn">+ Add Intent / API</button>
|
37 |
-
</div>
|
38 |
-
|
39 |
-
<div>
|
40 |
-
<h3>Spark Project List</h3>
|
41 |
-
<ul id="sparkProjectList" class="list-group mb-4"></ul>
|
42 |
-
<button class="btn btn-info" onclick="loadSparkProjects()">Get Spark Project List</button>
|
43 |
-
</div>
|
44 |
-
</div>
|
45 |
-
</div>
|
46 |
-
</body>
|
47 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|