Merge branch 'feat_9' of github.com:felixfoertsch/mahlowat into feat_9

This commit is contained in:
Karl
2017-08-17 16:52:29 +02:00
7 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -7,9 +7,12 @@ function print_result_detail_table($answers, $data){
echo "<th class='hidden-xs hidden-sm'>Deine Wahl</th>";
for($i = 0; $i < sizeof($data['lists']); $i = $i + 1) {
$classname = string_to_css_classname($data['lists'][$i]['name']);
$list_name_short = $data['lists'][$i]['name_x'];
$list_logo = $data['lists'][$i]['logo'];
echo "
<th class='hidden-xs hidden-sm list-$classname'>
{$data['lists'][$i]['name_x']} (".calculate_points($data['answers'][$i], $answers).")
<img class='img-responsive img-list-logo-small' src='img/lists/$list_logo' title='$list_name_short Logo'>
(".calculate_points($data['answers'][$i], $answers).")
</th>";
}
echo "</tr>\n";