|
@ -38,18 +38,22 @@ |
|
|
<div class="part1 col-md-6"> |
|
|
<div class="part1 col-md-6"> |
|
|
<div class="story-box qbox part-box"> |
|
|
<div class="story-box qbox part-box"> |
|
|
<h1>{{story.title}}</h1> |
|
|
<h1>{{story.title}}</h1> |
|
|
<p class="story-text" title="{{paragraph_part[0].author}}, {{paragraph_part[0].create_at}}, {{paragraph_part[0].like_num}}">{{paragraph_part[0].text}}</p> |
|
|
|
|
|
<img src="{{story.avatar}}" style="width: 80%"> |
|
|
<img src="{{story.avatar}}" style="width: 80%"> |
|
|
<hr> |
|
|
<hr> |
|
|
{% for p in paragraph_part[1:] %} |
|
|
|
|
|
<p class="story-text" title="{{p.author}}, {{p.create_at}}, {{p.like_num}}">{{p.text}}</p> |
|
|
|
|
|
|
|
|
{% for p in paragraph_part %} |
|
|
|
|
|
<p class="story-text" title="{{p.author}}, {{p.create_at}}, {{p.like_num}}"> |
|
|
|
|
|
{{p.text}} |
|
|
|
|
|
{% if is_tree and p.id != tail %} |
|
|
|
|
|
<small><a href="?tail={{p.id}}"> ← 回到这里</a></small> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</p> |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div style="font-size:90%;"> |
|
|
<div style="font-size:90%;"> |
|
|
<ul> |
|
|
<ul> |
|
|
<li>点击“续!”进行创作。</li> |
|
|
<li>点击“续!”进行创作。</li> |
|
|
{% if story.is_tree %} |
|
|
|
|
|
|
|
|
{% if is_tree %} |
|
|
<li>从第二天开始,在每天的10:00/16:00/22:00,对应故事线赞数总和最高且自身赞数不小于{{min_like_num}}的续写将入选,成为这个角色默认展示故事的一部分。</li> |
|
|
<li>从第二天开始,在每天的10:00/16:00/22:00,对应故事线赞数总和最高且自身赞数不小于{{min_like_num}}的续写将入选,成为这个角色默认展示故事的一部分。</li> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<li>在每天的10:00/16:00/22:00,赞数最高且不小于{{min_like_num}}的续写将入选,成为这个角色最终故事的一部分。如果没有,所有都会被保留进入下一时段。</li> |
|
|
<li>在每天的10:00/16:00/22:00,赞数最高且不小于{{min_like_num}}的续写将入选,成为这个角色最终故事的一部分。如果没有,所有都会被保留进入下一时段。</li> |
|
@ -61,7 +65,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="part2" id="part2"> |
|
|
<div class="part2" id="part2"> |
|
|
<div class="paragraph-list twin front part-box"> |
|
|
|
|
|
|
|
|
<div class="paragraph-list twin front part-box"> |
|
|
<h1 style="margin: -8px -5px 20px">备选后续</h1> |
|
|
<h1 style="margin: -8px -5px 20px">备选后续</h1> |
|
|
<span style="margin:8px" class="sort-by"> |
|
|
<span style="margin:8px" class="sort-by"> |
|
|
{% if sort_by == 'like' %} |
|
|
{% if sort_by == 'like' %} |
|
@ -74,6 +78,9 @@ |
|
|
{% for p in pagination.items %} |
|
|
{% for p in pagination.items %} |
|
|
<div class="qbox"> |
|
|
<div class="qbox"> |
|
|
<small>No. {{p.id}}</small> |
|
|
<small>No. {{p.id}}</small> |
|
|
|
|
|
{% if is_tree %} |
|
|
|
|
|
<small><a href="?tail={{p.id}}"> ← 查看后续</a></small> |
|
|
|
|
|
{% endif %} |
|
|
<p class="story-text">{{p.text}}</p> |
|
|
<p class="story-text">{{p.text}}</p> |
|
|
<div class="text-end" title="{{p.create_at}}"> |
|
|
<div class="text-end" title="{{p.create_at}}"> |
|
|
{% for emoji, num, reacted, kind in p.reaction_status() %} |
|
|
{% for emoji, num, reacted, kind in p.reaction_status() %} |
|
@ -109,6 +116,7 @@ |
|
|
<h1 style="text-align:right;margin:-8px -8px 16px">续!</h1> |
|
|
<h1 style="text-align:right;margin:-8px -8px 16px">续!</h1> |
|
|
<form action="create" method="post"> |
|
|
<form action="create" method="post"> |
|
|
<input type="hidden" name="story-id" value={{story_id}}> |
|
|
<input type="hidden" name="story-id" value={{story_id}}> |
|
|
|
|
|
<input type="hidden" name="tail" value={{tail}}> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<textarea class="form-control" name="text" rows="11" placeholder="来续写{{story.title}}的故事吧!(不超过 140 字)" required maxLength="140"></textarea> |
|
|
<textarea class="form-control" name="text" rows="11" placeholder="来续写{{story.title}}的故事吧!(不超过 140 字)" required maxLength="140"></textarea> |
|
|
</div> |
|
|
</div> |
|
|