mxr612 c4efd778a9 style: 调整CSS样式和HTML模板格式
- 修改`styles.css`中的`input[type="submit"]`样式,增加宽度并调整边距
- 修复`scale.html`中的拼写错误,将`lable`改为`label`
- 更新`base.html`的meta描述和关键词,优化SEO
- 调整HTML模板中的格式和缩进,提高代码可读性
2025-04-22 21:09:49 +08:00

24 lines
776 B
HTML

{% extends 'base.html' %}
{% block head_extra %}
<title>{{ scale.title }}</title>
{% endblock %}
{% block main %}
<h1>{{ scale.title }}</h1>
<div>
{{ scale.instructions|safe }}
</div>
<form class="scale" action="/scales/{{ scale_id }}" method="post">
{% for id, question in scale['items'].items() %}
<label for="{{ id }}">{{ id }}. {{ question }}</label>
<div class="scale-button">
{% for option, label in scale.options.items() %}
<input type="radio" id="{{ id }}_{{ option }}" name="{{ id }}" value="{{ option }}" required>
<label for="{{ id }}_{{ option }}" title="{{label}}">{{ option }}</label>
{% endfor %}
</div>
{% endfor %}
<input type="submit" value="提交">
</form>
{% endblock %}