Skip to content

Commit

Permalink
チーム画像を表示
Browse files Browse the repository at this point in the history
  • Loading branch information
tyoshii committed May 30, 2016
1 parent 000571e commit 06e5e5f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion fuel/app/views/layout/team.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
{% block content %}

<div id="team-name">
<h1><a href="{{ global.team.href }}/">{{ global.team.name }}</a></h1>
<table>
<tr>
<td><img src="/favicon.ico"></td>
<td><h1><a href="{{ global.team.href }}/">{{ global.team.name }}</a></h1></td>
</tr>
</table>
</div>

<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion fuel/app/views/team/player/personal.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<tr>
<td rowspan="2">
<img />イメージ
<img class="usericon" src="/image/usericon/default.jpg">
</td>
<th>名前</th>
<td>{{ player.name }}</td>
Expand Down
5 changes: 5 additions & 0 deletions public/css/bms.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,8 @@ table#batter td.E input {
.min-width-100 {
min-width: 100px;
}

img.usericon {
max-width: 200px;
max-height: 200px;
}

0 comments on commit 06e5e5f

Please sign in to comment.