Files
astrbot_plugin_jx3/templates/pages/shitu.html
T
2026-09-05 22:41:53 +08:00

52 lines
1.8 KiB
HTML

{# template-title: 师徒招募 #}
{# template-components: data-table #}
<div class="container data-page">
<h1>{{ title }}</h1>
<div class="data-page__meta">
{{ server }}
{% if keyword %} · 关键词:{{ keyword }}{% endif %}
· 更新时间:{{ update_time }}
</div>
<table class="data-table">
<thead>
<tr>
<th>职业</th>
<th>角色名称</th>
<th>等级</th>
<th>体型</th>
<th>帮会</th>
<th>阵营</th>
<th>信息</th>
</tr>
</thead>
<tbody>
{% for item in items %}
<tr>
<td>
<div class="icon-label">
{% if icons.sect.get(item.forceName) %}
<img class="icon-label__icon" src="{{ icons.sect[item.forceName] }}" alt="{{ item.forceName }}">
{% endif %}
<span>{{ item.forceName }}</span>
</div>
</td>
<td class="data-cell--name data-cell--nowrap">{{ item.roleName }}</td>
<td class="data-cell--nowrap">{{ item.roleLevel }}</td>
<td class="data-cell--nowrap">{{ item.bodyName }}</td>
<td>{{ item.tongName }}</td>
{% set camp_name = item.campName or '未知' %}
<td class="data-cell--camp data-cell--nowrap">
<img class="data-camp-icon" src="{{ icons.img.get(camp_name) or icons.img.get('未知') }}" alt="{{ camp_name }}" title="{{ camp_name }}">
</td>
<td class="data-cell--copy">{{ item.comment }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>