style(dispatch): 플랫폼 로고 크기 통일(쇼피 확대) + 배치 표 글자 키움
- shopee 로고는 여백이 많아 작아 보여 height 34px(tiktok 26px)로 맞춤 - 배치 목록 td 15px / th 13px 로 가독성 향상 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,16 @@
|
|||||||
{% extends "erp_base.html" %}
|
{% extends "erp_base.html" %}
|
||||||
|
|
||||||
|
{% block head_extra %}
|
||||||
|
<style>
|
||||||
|
/* 배치 목록 가독성: 표 글자 약간 키움 */
|
||||||
|
.dsp-batches.erp-table td { font-size:15px; }
|
||||||
|
.dsp-batches.erp-table th { font-size:13px; }
|
||||||
|
/* 플랫폼 로고: 아이콘마다 여백이 달라 시각 크기를 맞춘다 */
|
||||||
|
.dsp-pf-logo { height:26px;width:auto;max-width:120px;vertical-align:middle;object-fit:contain; }
|
||||||
|
.dsp-pf-logo[src*="shopee"] { height:34px; }
|
||||||
|
</style>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<section class="dsp">
|
<section class="dsp">
|
||||||
{% include "dispatch/_nav.html" %}
|
{% include "dispatch/_nav.html" %}
|
||||||
@@ -10,7 +21,7 @@
|
|||||||
<a class="erp-btn erp-btn-primary" href="/dispatch/batches/new" data-ko="+ 새 업로드" data-en="+ New Upload">+ 새 업로드</a>
|
<a class="erp-btn erp-btn-primary" href="/dispatch/batches/new" data-ko="+ 새 업로드" data-en="+ New Upload">+ 새 업로드</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="erp-table-wrap">
|
<div class="erp-table-wrap">
|
||||||
<table class="erp-table">
|
<table class="erp-table dsp-batches">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th data-ko="날짜" data-en="Date">날짜</th>
|
<th data-ko="날짜" data-en="Date">날짜</th>
|
||||||
@@ -28,8 +39,7 @@
|
|||||||
<td>
|
<td>
|
||||||
{% set pf = (b.platform or '')|lower %}
|
{% set pf = (b.platform or '')|lower %}
|
||||||
{% if pf in ['tiktok', 'shopee'] %}
|
{% if pf in ['tiktok', 'shopee'] %}
|
||||||
<img src="/static/dispatch/courier/{{ pf }}.png" alt="{{ b.platform }}" title="{{ b.platform }}"
|
<img class="dsp-pf-logo" src="/static/dispatch/courier/{{ pf }}.png" alt="{{ b.platform }}" title="{{ b.platform }}" />
|
||||||
style="height:22px;width:auto;max-width:100px;vertical-align:middle;object-fit:contain;" />
|
|
||||||
{% else %}{{ b.platform }}{% endif %}
|
{% else %}{{ b.platform }}{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td><a href="/dispatch/batches/{{ b.id }}" style="font-weight:600;" class="dsp-bname"
|
<td><a href="/dispatch/batches/{{ b.id }}" style="font-weight:600;" class="dsp-bname"
|
||||||
|
|||||||
Reference in New Issue
Block a user