Spaces:
Sleeping
Sleeping
Create templates/index.html
Browse files- templates/index.html +59 -0
templates/index.html
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="ja">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8"/>
|
| 5 |
+
<meta name="viewport" content="width=device-width,initial-scale=1"/>
|
| 6 |
+
<title>IR/PR Co-Pilot Pro</title>
|
| 7 |
+
<link rel="stylesheet" href="/static/styles.css"/>
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<header>
|
| 11 |
+
<h1>IR/PR Co-Pilot Pro</h1>
|
| 12 |
+
<div class="sub">TDnet/EDINET/決算書→要約・Q&A・PPT自動生成</div>
|
| 13 |
+
</header>
|
| 14 |
+
|
| 15 |
+
<main>
|
| 16 |
+
<section class="card">
|
| 17 |
+
<h2>1. EDINET から取込</h2>
|
| 18 |
+
<div class="grid">
|
| 19 |
+
<label>EDINETコード
|
| 20 |
+
<input id="edinetCode" placeholder="例: E01234"/>
|
| 21 |
+
</label>
|
| 22 |
+
<label>日付(YYYY-MM-DD)
|
| 23 |
+
<input id="edinetDate" placeholder="例: 2024-08-13"/>
|
| 24 |
+
</label>
|
| 25 |
+
</div>
|
| 26 |
+
<button id="btnIngestEdinet">取込を実行</button>
|
| 27 |
+
<div id="ingestEdinetResult" class="muted"></div>
|
| 28 |
+
</section>
|
| 29 |
+
|
| 30 |
+
<section class="card">
|
| 31 |
+
<h2>2. PDFをアップロードして取込(APIキー不要)</h2>
|
| 32 |
+
<input id="pdfFiles" type="file" accept="application/pdf" multiple/>
|
| 33 |
+
<button id="btnIngestUpload">アップロードして取込</button>
|
| 34 |
+
<div id="ingestUploadResult" class="muted"></div>
|
| 35 |
+
</section>
|
| 36 |
+
|
| 37 |
+
<section class="card">
|
| 38 |
+
<h2>3. スライド&想定Q&Aを生成</h2>
|
| 39 |
+
<label>質問/テーマ(RAG検索クエリ)
|
| 40 |
+
<textarea id="query" rows="3">直近決算の要点をまとめて</textarea>
|
| 41 |
+
</label>
|
| 42 |
+
<button id="btnGenerate">生成する</button>
|
| 43 |
+
<div id="generateStatus" class="muted"></div>
|
| 44 |
+
<div id="downloadLinks" class="downloads"></div>
|
| 45 |
+
</section>
|
| 46 |
+
|
| 47 |
+
<section class="card">
|
| 48 |
+
<h2>ログ</h2>
|
| 49 |
+
<pre id="log"></pre>
|
| 50 |
+
</section>
|
| 51 |
+
</main>
|
| 52 |
+
|
| 53 |
+
<footer>
|
| 54 |
+
<span>© IR/PR Co-Pilot Pro</span>
|
| 55 |
+
</footer>
|
| 56 |
+
|
| 57 |
+
<script src="/static/app.js"></script>
|
| 58 |
+
</body>
|
| 59 |
+
</html>
|