Spaces:
Paused
Paused
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Flare Project Admin</title> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | |
<script src="project.js" defer></script> | |
</head> | |
<body> | |
<div class="container mt-4"> | |
<h1>Flare Project Admin Panel</h1> | |
<div class="mb-3"> | |
<button class="btn btn-success" id="newProjectBtn">+ New Project</button> | |
<button class="btn btn-primary" id="newVersionBtn">+ New Version</button> | |
<button class="btn btn-secondary" id="saveChangesBtn">Save Project</button> | |
<button class="btn btn-warning" id="publishVersionBtn">Publish Version</button> | |
</div> | |
<div id="projectDetails" class="mb-4"> | |
<!-- Project details will be injected here --> | |
</div> | |
<div> | |
<h3>Intents</h3> | |
<button class="btn btn-outline-primary mb-2" id="addIntentBtn">+ Add Intent / API</button> | |
<!-- Intents list will be injected by JS --> | |
</div> | |
<div> | |
<h3>Spark Project List</h3> | |
<ul id="sparkProjectList" class="list-group mb-4"> | |
<!-- Spark projects will be listed here --> | |
</ul> | |
<button class="btn btn-info" onclick="loadSparkProjects()">Get Spark Project List</button> | |
</div> | |
</div> | |
<!-- Include modals --> | |
<div id="modals"> | |
<!-- Add/Edit API Modal --> | |
<!-- (addIntentModal.html content here) --> | |
<!-- New Project Modal (if used) --> | |
<!-- (newProjectModal.html content here) --> | |
<!-- New Version Modal --> | |
<!-- (newVersionModal.html content here) --> | |
</div> | |
</body> | |
</html> | |