Skip to content

Commit 3a2ddd2

Browse files
fix
1 parent 94e9eed commit 3a2ddd2

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

templates/contest.html

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -58,31 +58,33 @@
5858
</div>
5959
</nav>
6060

61-
<div class="row container-fluid">
62-
<div>
63-
<h1>{{contestname}}</h1>
64-
</div>
65-
<h4 class="col-1"></h4>
66-
{% if current_user.is_authenticated== True %}
67-
<div>
68-
<div class="twitter">
69-
<a href="//twitter.com/share" class="twitter-share-button" data-text="AtCoderEditorialsで{{contestname}}の解法を書きました!" data-url="https://atcoder-editorials.herokuapp.com/search/{{problem_id}}/1" data-lang="ja">
70-
</a>
61+
<div class="jumbotron jumbotron-fluid container-fluid">
62+
<div class="row container-fluid">
63+
<div>
64+
<h1>{{contestname}}</h1>
65+
</div>
66+
<h4 class="col-1"></h4>
67+
{% if current_user.is_authenticated== True %}
68+
<div>
69+
<div class="twitter">
70+
<a href="//twitter.com/share" class="twitter-share-button" data-text="AtCoderEditorialsで{{contestname}}の解法を書きました!" data-url="https://atcoder-editorials.herokuapp.com/search/{{problem_id}}/1" data-lang="ja">
71+
</a>
72+
</div>
7173
</div>
74+
{%endif%}
7275
</div>
73-
{%endif%}
74-
</div>
7576

7677

77-
<div class="container-fluid">
78-
<a class="h5" href="https://atcoder.jp/contests/{{contest_id}}/tasks/{{problem_id}}" target="_blank">問題ページ</a>
79-
<h4 class="col-1"></h4>
80-
<a class="h5" href="https://img.atcoder.jp/{{contest_id}}/editorial.pdf" target="_blank">公式editorial</a>
81-
<h4 class="col-1"></h4>
82-
83-
{%if tag==None%}
84-
<span class="badge badge-pill badge-secondary w-auto">投票がありません</span> {%else%}
85-
<span class="badge badge-pill badge-secondary w-auto">{{tag}}</span> {%endif%}
78+
<div class="container-fluid">
79+
<a class="h5" href="https://atcoder.jp/contests/{{contest_id}}/tasks/{{problem_id}}" target="_blank">問題ページ</a>
80+
<h4 class="col-1"></h4>
81+
<a class="h5" href="https://img.atcoder.jp/{{contest_id}}/editorial.pdf" target="_blank">公式editorial</a>
82+
<h4 class="col-1"></h4>
83+
84+
{%if tag==None%}
85+
<span class="badge badge-pill badge-secondary w-auto">投票がありません</span> {%else%}
86+
<span class="badge badge-pill badge-secondary w-auto">{{tag}}</span> {%endif%}
87+
</div>
8688
</div>
8789

8890
<br> {% if current_user.is_authenticated== True %}
@@ -109,11 +111,10 @@ <h4 class="card-header text-white bg-info col-10" data-toggle="collapse" data-ta
109111
</div>
110112
{% else %}
111113
<div class="container-fluid">
112-
<h4>「投稿」「いいね」「タグ投票」をするにはログインが必要です</h4>
114+
<h4>「投稿」「いいね」「タグ投票」をするにはログインが必要です</h4>
113115
</div>
114116
{%endif%}
115117

116-
117118
<div>
118119
{% if editorials.items|length >0 %}
119120

@@ -173,7 +174,7 @@ <h4 class="card-header text-light bg-light text-dark col-10" data-toggle="collap
173174
<br> {% endfor %}
174175
</div>
175176
{%else%}
176-
<h4 class='container-fluid '>まだ投稿がありません</h4>
177+
<h4 class='container-fluid '>まだ投稿がありません</h4>
177178
<br> {%endif%}
178179
</div>
179180

0 commit comments

Comments
 (0)