tweak hint
This commit is contained in:
parent
dba06e7e70
commit
98a4f0e9cb
2 changed files with 9 additions and 3 deletions
|
@ -21,11 +21,12 @@
|
|||
</div>
|
||||
<script defer>$(function(){ window.cil.forEach(function(uuid){ $('#ci_'+uuid).addClass('marked'); }) });</script>
|
||||
{% else %}
|
||||
<span _="init get localStorage.getItem('x_add_episode') then if it then add .hidden to #x_add_episode"
|
||||
id="x_add_episode">
|
||||
<p _="init get localStorage.getItem('x_add_episode') then if it then add .hidden to #x_add_episode"
|
||||
id="x_add_episode"
|
||||
class="hint">
|
||||
<a href={% url 'catalog:edit' item.url_path item.uuid %}>使用编辑功能</a>批量获取或手工添加单集子条目后可开启分集短评。
|
||||
[<a _="on click add .hidden to #x_add_episode then call localStorage.setItem('x_add_episode', 1)">不再提示</a>]
|
||||
</span>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% for comment in comments %}
|
||||
|
|
|
@ -76,6 +76,11 @@ details {
|
|||
color: var(--pico-muted-color);
|
||||
}
|
||||
|
||||
.hint {
|
||||
color: var(--pico-muted-color);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.oneline {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
|
Loading…
Add table
Reference in a new issue