<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Ajoute de notes</title>
    <style>
        table {
          width: 100%;
          border-collapse: collapse;
          margin: 20px auto;
          font-family: Arial, sans-serif;
        }
    
        th, td {
          border: 1px solid black;
          padding: 100px;
        }
    </style>
</head>
<body>
    <table>
        <thead>
            <tr>
                <th style="width: 150%; text-align:center">id</th>
                <th style="width: 500%; text-align:center">nom_prenoms</th>
                <th style="width: 200%; text-align:center">sexe</th>
                <th style="width: 200%; text-align:center">matricule</th>
                <th style="width: 200%; text-align:center">note</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($data as $item)
                <tr>
                    <td style="height: 230%">{{$class.'_'.$item->id.'_'.$eval}}</td>
                    <td style="height: 230%">{{strtoupper($item->first_name).' '.ucfirst($item->last_name)}}</td>
                    <td style="height: 230%">{{ucfirst($item->sexe)}}</td>
                    <td style="height: 230%">{{$item->matricule}}</td>
                    <td style="height: 230%"></td>
                </tr>
            @endforeach
        </tbody>
    </table>
</body>
</html>