<!doctype html>
<html lang="ru">
<head>
    <meta charset="utf-8">
    <title>Прогнозы с разбивкой по дням</title>
    <link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    
    <link href="/static/tipper.css?123" rel="stylesheet">
    
</head>
<body>


    <div class="sport-menu">
        <div style="display: flex; margin-bottom: 0px;">
            <a href="/football" style="margin-right: 50px;">Футбол</a>
            <a href="/handball" style="margin-right: 50px;">Гандбол</a>
            <a href="/tennis" style="margin-right: 50px;">Теннис</a>
            <a href="/football-by-days" style="margin-right: 50px;">Футбол (по дням)</a>
            <a href="/handball-by-days" style="margin-right: 50px;">Гандбол (по дням)</a>        
            <a href="/tennis-by-days" style="margin-right: 50px;">Теннис (по дням)</a>        
            <a href="/best-strategies">Статистика по лучшим стратегиям</a>
        </div>
    </div>
    

<div style="display: flex-column; margin: 20px 50px;">

    
    {{range .Days}}
    <div>{{.Date}}</div>
    <table class="table">
        {{range .Tips}}
        <tr>
            <td>{{.Time}}</td>
            <td><span style="font-size: 0.9rem;">{{.Champ}}.</span> {{.Name}}</td>
            <td>{{.Strategy}}</td>
            <td>{{.Result}}</td>
            <td>{{if eq .Status 1}}<span style="color:green;">Выигрыш</span>{{else}}<span style="color:red;">Проигрыш</span>{{end}}</td>
            <td><a href="{{.Link}}" target="_blank">Flashscore</a></td>
        </tr>
        {{end}}
    </table>
    {{end}}
</div>



</div>

</body>
</html>