{% extends "base.html" %} {% block content %}
{# 헤더 섹션 #}

서버 관리 대시보드

IP 처리 및 파일 관리를 위한 통합 관리 도구

{# 메인 작업 영역 #}
{# IP 처리 카드 #}
IP 처리
{# 작업 유형 선택 #}
{# 프로파일 선택 (동적) #} {# 기존 스크립트 선택 (Legacy) #} {# XML 파일 선택 (조건부) #} {# IP 주소 입력 #}
{# 공유 작업 카드 #}
공유 작업
{# 시스템 제어 패널 #}
시스템 제어 (System Control) - 위 "IP 주소" 입력란의 대상을 제어합니다.
(클릭하여 열기)
{# 진행바 #} {# 파일 관리 도구 #}
파일 관리 도구
ZIP
백업
파일 정리 (Quick Move)
{# 통합 파일 관리 섹션 (탭 인터페이스) #}
{# ===================== [TAB 1] 처리된 파일 ===================== #}
현재 스테이징 폴더(data/temp/staging)에 있는 파일들입니다.
{% if files_to_display and files_to_display|length > 0 %} {% for file_info in files_to_display %} {% endfor %} {% else %} {% endif %}
파일명 작업
표시할 파일이 없습니다.
{# 페이지네이션 (기존 로직 유지) #} {% if total_pages > 1 %} {% endif %}
{# ===================== [TAB 2] 백업 및 저장소 ===================== #}
{# 서브 탭 (Pills) #}
{# ----- 서브탭 1: 일별 백업 (기존 아코디언 스타일 유지 + 파일 목록 테이블화) ----- #}
{% if server_info_files and server_info_files|length > 0 %}
{% for folder_name, info in server_info_files.items() %}

{# 폴더 액션 버튼 (버튼 밖으로 이동하여 HTML 표준 준수) #}

{# 백업 파일 테이블 (내부 검색/정렬은 생략하거나 필요시 추가) #}
{% for file in info.files %} {% endfor %}
파일명 보기
{{ file }}
{% endfor %}
{# 백업 페이지네이션 #} {% if total_backup_pages > 1 %} {% endif %} {% else %}
백업된 파일이 없습니다.
{% endif %}
{# ----- 서브탭 2: MAC ----- #}
{% with table_id="tableMac", files=mac_files, folder="mac", empty_msg="MAC 파일이 없습니다." %} {% include "snippets/repo_file_table.html" %} {% endwith %}
{# ----- 서브탭 3: GUID ----- #}
{% with table_id="tableGuid", files=guid_files, folder="guid", empty_msg="GUID 파일이 없습니다." %} {% include "snippets/repo_file_table.html" %} {% endwith %}
{# ----- 서브탭 4: GPU ----- #}
{% with table_id="tableGpu", files=gpu_files, folder="gpu", empty_msg="GPU 파일이 없습니다." %} {% include "snippets/repo_file_table.html" %} {% endwith %}
{# 파일 보기 모달 #} {% endblock %} {% block extra_css %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}