Browse Source

show photos on scoreboard instead of names

master
Aaron Parecki 7 years ago
parent
commit
83d0cacc08
No known key found for this signature in database GPG Key ID: 276C2817346D6056
3 changed files with 19 additions and 1 deletions
  1. +9
    -0
      public/css/app.css
  2. +7
    -0
      resources/assets/sass/app.scss
  3. +3
    -1
      resources/views/scoreboard.blade.php

+ 9
- 0
public/css/app.css View File

@ -8753,6 +8753,15 @@ button.close {
display: inline-block;
}
.scoreboard .players {
padding: 4px 0;
}
.scoreboard .profile.float-left {
float: left;
margin-right: 4px;
}
.tweet {
border: 1px #d3e0e9 solid;
border-radius: 4px;

+ 7
- 0
resources/assets/sass/app.scss View File

@ -249,6 +249,13 @@
display: inline-block;
}
.players {
padding: 4px 0;
}
.profile.float-left {
float: left;
margin-right: 4px;
}
}

+ 3
- 1
resources/views/scoreboard.blade.php View File

@ -28,7 +28,9 @@
</div>
<div class="players">
@foreach($team->players as $player)
<a href="https://twitter.com/{{ $player->twitter }}">{{ '@'.$player->twitter }}</a>
<div class="profile float-left">
<a href="https://twitter.com/{{ $player->twitter }}" title="{{ $player->twitter }}"><img src="{{ $player->photo }}" style="border-color: {{ '#'.$team->color }}"></a>
</div>
@endforeach
</div>
</td>

Loading…
Cancel
Save