+ {# 인증 방식: 사용자가 못 바꾸는 값 -> 버튼처럼 안 보이게 읽기전용 뱃지 스타일로 변경 #}
+
-
-
활동
-
0분
-
환율 -분/시간 기준
-
-
-
-
인증 방식
-
- 타이머
- 수동입력
-
-
타이머/수동 중 실제 입력 경로에 따라 자동으로 선택돼요 (변경 불가)
-
-
-
-
인증 사진 (선택)
-
- {% if form.photo_url.errors %}
-
{{ form.photo_url.errors.0 }}
- {% endif %}
-
+ {# photo_url 필드 하나뿐이라 라벨도 하나로 통일 #}
+
+
인증 사진 URL (선택)
+
+ {% if form.photo_url.errors %}
+
{{ form.photo_url.errors.0 }}
+ {% endif %}
+
-
+
-
-
+
+
+
+{% endblock %}
+{% block nav %}{% endblock %}
+{% block extra_js %}
+
-
-
\ No newline at end of file
+ });
+ })();
+
+{% endblock %}
\ No newline at end of file
diff --git a/ledger/templates/ledger/main_convert.html b/ledger/templates/ledger/main_convert.html
index e22f86b..4998244 100644
--- a/ledger/templates/ledger/main_convert.html
+++ b/ledger/templates/ledger/main_convert.html
@@ -1,143 +1,85 @@
+{% extends 'base.html' %}
{% load static %}
-
-
-
-
+{% block title %}도파민 가계부 - 변환해서 보기{% endblock %}
+
+{% block extra_css %}
+
+{% endblock %}
+{% block header %}
-
-
-
-
-
-
-
-
-
-
-
-
-

-
+{% endblock %}
+
+{% block content %}
+
+
+
+
+
+
+ {{ converted_unit_label }}
+ {{ balance_display }}
+
+
+
+
-
-
-
- -
- 오늘 예산
- 4시간 0분
-
- -
- 사용
- -30분
-
- -
- 적립
- +33분
-
-
-
-
-
지출 시간으로 보기
-
-
+ {# 예산/사용/적립 요약은 convert에서는 표시 안 함 (디자인 변경) #}
-
+
+
-
-
-
-
- -
- 독서 40분 완료
- +33분
-
- -
- 숏폼 지출
- -30분
-
+
+ {% for record in today_records %}
+ -
+
+ {% if record.is_positive %}
+

+ {% else %}
+

+ {% endif %}
+
{{ record.label }}
+
+ {{ record.value_display }}
+
+ {% empty %}
+ -
+ 오늘 기록이 아직 없어요
+
+ {% endfor %}
+
-
-
+ {% if is_overspent %}
-

-
예산 시간을 다 썼어요
+

+
예산 시간을 다 썼어요. 초과분은 크루가 보고 있어요.
+ {% endif %}
-
-
기록하기
-
-
-
-
-
-
-
+ 기록하기
-
-
\ No newline at end of file
+{% endblock %}
\ No newline at end of file
diff --git a/ledger/templates/ledger/main_progress.html b/ledger/templates/ledger/main_progress.html
index e17886f..f70bdc3 100644
--- a/ledger/templates/ledger/main_progress.html
+++ b/ledger/templates/ledger/main_progress.html
@@ -1,148 +1,99 @@
+{% extends 'base.html' %}
{% load static %}
-
-
-
-
-
- 도파민 가계부 - 홈
-
-
-
-
+{% block title %}도파민 가계부 - 홈{% endblock %}
+
+{% block extra_css %}
+
+{% endblock %}
+{% block header %}
+{% endblock %}
-
+{% block content %}
-
-
+
+
-
-
-
- 오늘 남은 숏폼 시간
- 2시간 30분
-
+
+
+ 이번 주 숏폼 시간
+ {{ balance_display }}
+
-
-
-
+
+
+
-
-
-
+
-
- 오늘 예산
- 4시간
+ 이번 주 예산
+ {{ budget_display }}
-
사용
- -30분
+ -{{ spent_display }}
-
적립
- +33분
+ +{{ earned_display }}
-
+
+
-
-
-
-
-
+
+
+
+
+ {% for record in today_records %}
-
-

-
독서 40분
+ {% if record.is_positive %}
+

+ {% else %}
+

+ {% endif %}
+
{{ record.label }}
- +33분
+ {{ record.value_display }}
+ {% empty %}
-
-
-

-
숏폼 지출
-
- -30분
+ 오늘 기록이 아직 없어요
-
-
+ {% endfor %}
+
+
-
-
+ {% if is_overspent %}
-

-
예산 시간을 다 썼어요
+

+
예산 시간을 다 썼어요. 초과분은 크루가 보고 있어요.
+ {% endif %}
- 기록하기
-
-
-
-
-
-
+ 기록하기
-
-
\ No newline at end of file
+{% endblock %}
\ No newline at end of file
diff --git a/ledger/templates/ledger/record_choice.html b/ledger/templates/ledger/record_choice.html
index b67621c..bc3eb6c 100644
--- a/ledger/templates/ledger/record_choice.html
+++ b/ledger/templates/ledger/record_choice.html
@@ -1,41 +1,44 @@
+{% extends "base.html" %}
{% comment %}
와이어프레임 "기록하기-지출/수입 선택 시트" 기준 화면.
- 별도 폼 없이 링크 두 개만 있는 단순 진입 화면.
- '지출' 클릭 시 spend_record_create(뷰)로, '수입' 클릭 시 earn_record_create(뷰)로 이동.
- URL name은 프로젝트 urls.py 컨벤션(ledger:xxx)에 맞춰뒀으니 실제 이름 다르면 바꿔줘야 함.
+
+프레임(크기·배경·중앙정렬)은 base.html + common.css가 담당하므로
+ 이 파일엔 // 없이 content 블록만 채움.
{% endcomment %}
{% load static %}
-
-
-
-
-
- 무엇을 기록할까요? - 도파민 가계부
-
-
-
-
-
- 무엇을 기록할까요?
+{% block title %}무엇을 기록할까요? - 도파민 가계부{% endblock %}
+
+{% block extra_css %}
+
+{% endblock %}
+
+{% block content %}
+
+{% endblock %}
+{% block nav %}{% endblock %}
\ No newline at end of file
diff --git a/ledger/templates/ledger/spend_record_form.html b/ledger/templates/ledger/spend_record_form.html
index 22940e0..da3c6c3 100644
--- a/ledger/templates/ledger/spend_record_form.html
+++ b/ledger/templates/ledger/spend_record_form.html
@@ -1,3 +1,4 @@
+{% extends "base.html" %}
{% comment %}
와이어프레임 "(MVP) 지출 선택 화면" 기준
SpendRecordForm 필드 대응:
@@ -7,93 +8,97 @@
주의: forms.CATEGORY_CHOICES의 첫 번째 값('short_form')과 아래 hidden input value가
일치해야 함. 카테고리가 늘어나면 이 화면도 선택 UI로 바꿔야 함.
+
+프레임(크기·배경·중앙정렬)은 base.html + common.css가 담당하므로
+ 이 파일엔 // 없이 content 블록만 채움.
{% endcomment %}
{% load static %}
-
-
-
-
-
- 숏폼 지출 기록 - 도파민 가계부
-
-
-
-
-
- {# 잔액 0 이하일 때 뷰에서 context로 내려주는 플래그 #}
- {% if budget_exhausted %}
- ⚠ 이번 주 예산을 다 썼어요
- {% endif %}
+{% block title %}숏폼 지출 기록 - 도파민 가계부{% endblock %}
-