You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.3 KiB
71 lines
2.3 KiB
9 months ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
<title>Fabric</title>
|
||
|
<link rel="stylesheet" href="static/stylesheet/bootstrap.min.css" />
|
||
|
<link rel="stylesheet" href="static/stylesheet/style.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
||
9 months ago
|
<a class="navbar-brand" href="#">
|
||
|
<img
|
||
|
src="static/images/fabric-logo-gif.gif"
|
||
|
alt="Fabric Logo"
|
||
|
height="40"
|
||
|
/>
|
||
|
</a>
|
||
9 months ago
|
<button id="configButton" class="btn btn-outline-success my-2 my-sm-0">
|
||
|
Config
|
||
|
</button>
|
||
|
<button
|
||
|
class="navbar-toggler"
|
||
|
type="button"
|
||
|
data-toggle="collapse"
|
||
9 months ago
|
data-target="#navbarCollap se"
|
||
9 months ago
|
aria-controls="navbarCollapse"
|
||
|
aria-expanded="false"
|
||
|
aria-label="Toggle navigation"
|
||
|
>
|
||
|
<span class="navbar-toggler-icon"></span>
|
||
|
</button>
|
||
9 months ago
|
<button
|
||
|
id="updatePatternsButton"
|
||
|
class="btn btn-outline-success my-2 my-sm-0"
|
||
|
>
|
||
|
Update Patterns
|
||
|
</button>
|
||
9 months ago
|
<div class="collapse navbar-collapse" id="navbarCollapse"></div>
|
||
|
<div class="m1-auto">
|
||
|
<a class="navbar-brand" id="themeChanger" href="#">Dark</a>
|
||
|
</div>
|
||
|
</nav>
|
||
|
<main>
|
||
|
<div class="container" id="my-form">
|
||
|
<select class="form-control" id="patternSelector"></select>
|
||
9 months ago
|
<textarea
|
||
|
rows="5"
|
||
|
class="form-control"
|
||
|
id="userInput"
|
||
|
placeholder="start typing or drag a file (.txt, .svg, .pdf and .doc are currently supported)"
|
||
|
></textarea>
|
||
9 months ago
|
<button class="btn btn-primary" id="submit">Submit</button>
|
||
|
</div>
|
||
|
<div id="configSection" class="container hidden">
|
||
|
<input
|
||
|
type="text"
|
||
|
id="apiKeyInput"
|
||
|
placeholder="Enter OpenAI API Key"
|
||
|
class="form-control"
|
||
|
/>
|
||
|
<button id="saveApiKey" class="btn btn-primary">Save API Key</button>
|
||
|
</div>
|
||
|
<div class="container hidden" id="responseContainer"></div>
|
||
|
</main>
|
||
|
<script src="static/js/jquery-3.0.0.slim.min.js"></script>
|
||
|
<script src="static/js/bootstrap.min.js"></script>
|
||
|
<script src="static/js/index.js"></script>
|
||
|
</body>
|
||
|
</html>
|