Add client/server split and TTS app
Set up FastAPI server, vanilla UI, and deployment scripts for the TTS app, including DB/ffmpeg wiring and Apache config.
This commit is contained in:
32
client/templates/index.html
Normal file
32
client/templates/index.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>TTS 저장/조회/삭제</title>
|
||||
<link rel="stylesheet" href="/static/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<section class="panel left">
|
||||
<div class="panel-header">입력 텍스트</div>
|
||||
<textarea id="text-input" rows="16" placeholder="텍스트를 입력하세요"></textarea>
|
||||
<button id="save-btn" class="primary">mp3 저장</button>
|
||||
</section>
|
||||
|
||||
<section class="panel right">
|
||||
<div class="panel-header">파일리스트</div>
|
||||
<ul id="tts-list" class="tts-list"></ul>
|
||||
|
||||
<div class="right-actions">
|
||||
<button id="edit-btn" class="secondary">편집</button>
|
||||
<button id="delete-btn" class="danger hidden">삭제</button>
|
||||
<button id="cancel-btn" class="secondary hidden">취소</button>
|
||||
</div>
|
||||
<a id="download-link" class="hidden" href="#" download>mp3 다운로드</a>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<script src="/static/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user