Major UI overhaul and upload system improvements

- Removed hierarchy view and integrated functionality into index.html
- Added book-based document grouping with dedicated book-documents.html page
- Implemented comprehensive multi-file upload system with drag-and-drop reordering
- Added HTML-PDF matching functionality with download capability
- Enhanced upload workflow with 3-step process (File Selection, Book Settings, Order & Match)
- Added book conflict resolution (existing book vs new edition)
- Improved document order adjustment with one-click sort options
- Added modular header component system
- Updated API connectivity for Docker environment
- Enhanced viewer.html with PDF download functionality
- Fixed browser caching issues with version management
- Improved mobile responsiveness and modern UI design
This commit is contained in:
Hyungi Ahn
2025-08-25 15:58:30 +09:00
parent f95f67364a
commit 4038040faa
21 changed files with 3875 additions and 2603 deletions

View File

@@ -3,8 +3,12 @@
*/
class DocumentServerAPI {
constructor() {
this.baseURL = '/api'; // Nginx 프록시를 통해 접근
// 도커 백엔드 API (24102 포트)
this.baseURL = 'http://localhost:24102/api';
this.token = localStorage.getItem('access_token');
console.log('🐳 API Base URL (DOCKER BACKEND):', this.baseURL);
console.log('🔧 도커 환경 설정 완료 - 버전 2025012380');
}
// 토큰 설정
@@ -184,6 +188,10 @@ class DocumentServerAPI {
return await this.uploadFile('/documents/', formData);
}
async updateDocument(documentId, updateData) {
return await this.put(`/documents/${documentId}`, updateData);
}
async deleteDocument(documentId) {
return await this.delete(`/documents/${documentId}`);
}