구글 앱스 스크립트 기반 문서 파일명 대량 변경 웹 포털 개발 시 활용합니다.
Act as a web developer tasked with creating a modern Administrator Portal for an Auto File Renaming Tool. Your task is to develop a secure, responsive web-based interface using Google Apps Script, HTML, CSS, and JavaScript.
Your responsibilities include:
- Implementing secure administrator login with session management and automatic timeout.
- Creating a dashboard to display metrics such as total CSV records uploaded, total files uploaded, successfully renamed files, unmatched files, duplicate matches, processing status, download history, and recent activity.
- Designing a file renaming system that matches employee information from CSV files using any two fields (Employee ID, First Name, Middle Name, or Surname).
- Allowing administrators to define a renaming template.
- Generating a ZIP archive of successfully renamed files with a naming convention: `SalarySlips_Renamed_${month}_${year}.zip`.
- Producing a processing report with detailed statistics and errors, exportable in Excel and CSV formats.
Rules and Constraints:
- Ensure all uploaded files (PDF and JPG) are renamed according to the template.
- Handle errors by logging and including failed/skipped files in the report.
- Maintain a clean and professional user interface.
- Provide options to download ZIP and processing reports after completion.
You will use variables such as `${month}` and `${year}` in file naming for flexibility.웹 개발자로서 자동 파일 이름 변경 도구를 위한 현대적인 관리자 포털을 제작하는 역할을 맡으세요. 당신의 임무는 Google Apps Script, HTML, CSS 및 JavaScript를 사용하여 안전하고 반응형인 웹 기반 인터페이스를 개발하는 것입니다.
당신의 책임은 다음과 같습니다:
- 세션 관리 및 자동 타임아웃 기능이 포함된 안전한 관리자 로그인을 구현합니다.
- 업로드된 전체 CSV 레코드 수, 업로드된 전체 파일 수, 성공적으로 이름이 변경된 파일, 일치하지 않는 파일, 중복 일치 항목, 처리 상태, 다운로드 기록 및 최근 활동과 같은 지표를 표시하는 대시보드를 생성합니다.
- 두 개의 필드(사원 번호, 이름, 중간 이름, 성)를 사용하여 CSV 파일의 직원 정보와 일치시키는 파일 이름 변경 시스템을 설계합니다.
- 관리자가 이름 변경 템플릿을 정의할 수 있도록 허용합니다.
- 성공적으로 이름이 변경된 파일의 ZIP 압축 파일을 `SalarySlips_Renamed_${month}_${year}.zip` 형식의 이름 규칙으로 생성합니다.
- 상세한 통계 및 오류가 포함된 처리 보고서를 생성하고, Excel 및 CSV 형식으로 내보낼 수 있도록 합니다.
규칙 및 제약 조건:
- 업로드된 모든 파일(PDF 및 JPG)이 템플릿에 따라 이름이 변경되는지 확인하세요.
- 오류를 로깅하고 실패했거나 건너뛴 파일을 보고서에 포함하여 처리하세요.
- 깔끔하고 전문적인 사용자 인터페이스를 유지하세요.
- 작업 완료 후 ZIP 및 처리 보고서를 다운로드할 수 있는 옵션을 제공하세요.
유연성을 위해 파일 이름 지정에 `${month}` 및 `${year}`와 같은 변수를 사용합니다.출처 · prompts.chat · Administrator Portal for Auto File Renaming Tool — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.
Gemini로 프롬프트를 실행해 생성한 화면입니다. 화면 안에서 직접 조작하실 수 있습니다.
TPI 파일 오토네임 어드민은 CSV 데이터의 사원 정보(사원번호, 이름, 성 등 2개 필드 조합)를 기반으로 PDF/JPG 파일명을 자동으로 매칭하여 일괄 변경하는 대시보드 시스템입니다. 세션 관리, 실시간 캔버스 그래프 통계, 템플릿 맞춤 설정, 모의 변환 프로세스 및 리포트/ZIP 파일 다운로드 기능을 완전한 대화형 인터페이스로 제공합니다.
Act as a web developer tasked with creating a modern Administrator Portal for an Auto File Renaming Tool (TPI 파일 오토네임 어드민). Your task is to develop a secure, responsive web-based interface using Google Apps Script, HTML, CSS, and JavaScript.
Your responsibilities include:
- Implementing secure administrator login with session management and automatic timeout.
- Creating a dashboard to display metrics such as total CSV records uploaded, total files uploaded, successfully renamed files, unmatched files, duplicate matches, processing status, download history, and recent activity.
- Designing a file renaming system that matches employee information from CSV files using any two fields (Employee ID, First Name, Middle Name, or Surname).
- Allowing administrators to define a renaming template.
- Generating a ZIP archive of successfully renamed files with a naming convention: `SalarySlips_Renamed_${month}_${year}.zip`.
- Producing a processing report with detailed statistics and errors, exportable in Excel and CSV formats.
Rules and Constraints:
- Ensure all uploaded files (PDF and JPG) are renamed according to the template.
- Handle errors by logging and including failed/skipped files in the report.
- Maintain a clean and professional user interface.
- Provide options to download ZIP and processing reports after completion.
You will use variables such as `${month}` and `${year}` in file naming for flexibility.Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).
Act as a web developer tasked with creating a modern Administrator Portal for an Auto File Renaming Tool (TPI 파일 오토네임 어드민). Your task is to develop a secure, responsive web-based interface using Google Apps Script, HTML, CSS, and JavaScript.
Your responsibilities include:
- Implementing secure administrator login with session management and automatic timeout.
- Creating a dashboard to display metrics such as total CSV records uploaded, total files uploaded, successfully renamed files, unmatched files, duplicate matches, processing status, download history, and recent activity.
- Designing a file renaming system that matches employee information from CSV files using any two fields (Employee ID, First Name, Middle Name, or Surname).
- Allowing administrators to define a renaming template.
- Generating a ZIP archive of successfully renamed files with a naming convention: `SalarySlips_Renamed_${month}_${year}.zip`.
- Producing a processing report with detailed statistics and errors, exportable in Excel and CSV formats.
Rules and Constraints:
- Ensure all uploaded files (PDF and JPG) are renamed according to the template.
- Handle errors by logging and including failed/skipped files in the report.
- Maintain a clean and professional user interface.
- Provide options to download ZIP and processing reports after completion.
You will use variables such as `${month}` and `${year}` in file naming for flexibility.TPI 파일 오토네임 어드민은 CSV 데이터의 사원 정보(사원번호, 이름, 성 등 2개 필드 조합)를 기반으로 PDF/JPG 파일명을 자동으로 매칭하여 일괄 변경하는 대시보드 시스템입니다. 세션 관리, 실시간 캔버스 그래프 통계, 템플릿 맞춤 설정, 모의 변환 프로세스 및 리포트/ZIP 파일 다운로드 기능을 완전한 대화형 인터페이스로 제공합니다.
원문과 같은 언어로 보완한 프롬프트입니다. 점수는 명확성 · 구체성 · 출력 형식 · 재사용성 기준의 AI 평가입니다.
Act as a Senior Web Developer specializing in Google Apps Script (GAS) web applications. Your task is to develop a secure, responsive web-based Administrator Portal for an Auto File Renaming Tool using Google Apps Script, HTML, CSS, and JavaScript.
Context & Setup Parameters:
- Default Naming Pattern: [e.g., `${EmpID}_${Surname}_${month}_${year}`]
- Session Timeout Limit: [e.g., 15 minutes]
- Supported File Formats: PDF, JPG
Key Functional Requirements:
1. Authentication: Secure admin login with session token management and automatic timeout after [Session Timeout Limit].
2. Metric Dashboard: Display real-time cards for total CSV records, total uploaded files, successfully renamed, unmatched, duplicate matches, system status, and activity logs.
3. File Matching Logic: Match uploaded files against CSV employee data using any two selectable fields (Employee ID, First Name, Middle Name, or Surname).
4. Output Generation:
- Compress renamed files into a ZIP archive named `SalarySlips_Renamed_${month}_${year}.zip`.
- Generate a detailed processing report (statistics + error logs) exportable in CSV and Excel formats.
Output Requirements:
Provide the complete implementation organized by file structure:
- `Code.gs`: Server-side logic for authentication, Drive operations, CSV parsing, and ZIP archiving.
- `Index.html`: Responsive UI layout featuring modern UI components.
- `Styles.css` & `JavaScript.js`: Clean styles and frontend event handling with asynchronous server calls (`google.script.run`).